1 、定義select-options screen 和事件處理於一個單元data: number(4) type n value '1100'.selection-screen begin of screen 1100 as subscreen.selection-screen begin of block block_0 with frame title text-000.selection-screen begin of line.selection-screen comment 1(8)
1.日期類型(D,Date)在sap裡Date類型通過隱含的轉換函式變為CHARACTER*8.Elementary data type = D 內部長度和 輸出長度都等於8System data type = DATS 內部長度 = 8 輸出長度 = 10所有的日期類型在sap裡都會通過轉換函式存為 'YYYYMMDD'格式. Most of the times both type 'D' and 'DATS' behaves similarly except when they are
1、建立一個Form,並在form上添加下列控制項 ComponentfunctionSAPFunctions1SAP ActiveX-component to connect RFC/BAPIGridStringgrid to show the data's in the formButton1Button to start the procedure2、原始碼如下(使用RFC_READ_TABLE函數讀取成本中心) unit
1 系統內部轉換命令(一般建議不直接使用) SYSTEM-CALL CONVERT ID id DATA data ENCODING encoding ENDIAN endian IGNORE_CERR ignore_cerr N n POSITION position REPLACEMENT replacement LEN len BUFFER buffer ERR err.Text and lines are
1.英文編碼function Encode7bit(Src:String):String;var Dst:String; i:Integer; CurS,NextS:Byte; TStr:String;begin for i:=1 to Length(Src) do begin //當前是字元按8位分組的第8位,無需編碼(8個字元已縮短為7個) if (i mod 8)=0 then Continue; //取當前位為數字
〖Environment(環境)〗 OS:WINDOWS XP DB:ORACLE 10.2〖Symptom(現象) 〗啟動sqlplus,然後登陸資料庫,出現錯誤,具體資訊如下:C:/Documents and Settings/netshong>sqlplusSQL*Plus: Release10.2.0.1.0 - Production on星期一7月24 13:46:02 2006Copyright (c) 1982, 2005, Oracle. All rights
When install SAP, we occured the following problem: ERROR 2010-08-29 20:50:40.390CJS-30023 Process call 'E:/usr/sap/DEV/SYS/exe/uc/NTAMD64/dipgntab.exe -rwr40 -srctt DDNTT -srctf DDNTF -dsttt DDNTT -dsttf DDNTF -ttonly TT' exits with error code -1.
使用者的開發Key儲存在DEVACCESS表中,如果由於審計需要刪除一些使用者的開發Key,而系統有限制SM30, SE16 or SE16N 等事務碼的使用,你就可以通過一個小程式去刪除開發Key。 代碼如下:REPORT ZBCDEVACCESS.* ===================================================================* TITLE: Delete Record from Table DEVACCESS*