BAPI的程式框架
Log on
(Source code)
Call BAPI
(Source code)
Call BAPI
(Source code)
Call BAPI BapiService.TransactionCommit() (Source code)
Call BAPI
(Source code)
Call BAPI
(Source code)
Call BAPI BapiService.TransactionCommit() (Source code)
Log off
5 相關函式
'BALW_BAPIRETURN_GET2':取生成返回訊息
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
TYPE = 'E'
CL = 'BC_BOR'
NUMBER = 163
PAR1 = MSG1_HLP
PAR2 = MSG2_HLP
IMPORTING
RETURN = RETURN.
BAPI_TRANSACTION_COMMIT 和 API_TRANSACTION_ROLLBACK: BAPI事務函式
BUFFER_SUBSCRIBE_FOR_REFRESH和BUFFER_REFRESH_ALL: 緩衝區處理函式
'TRANSACTION_BEGIN ,'TRANSACTION_STATUS' 和'TRANSACTION_END' 的呼叫示例
call function 'TRANSACTION_BEGIN' "94702/KB
importing "94702/KB
transaction_id = transaction_id "94702/KB
exceptions "94702/KB
others = 1. "94702/KB
call function 'BAPI_PO_CREATE' "94702/KB
exporting "94702/KB
po_header = po_head "94702/KB
importing "94702/KB
purchaseorder = h_ebeln "94702/KB
tables "94702/KB
po_items = po_item "94702/KB
po_item_schedules = po_sched "94702/KB
po_item_account_assignment = po_acct "94702/KB
po_item_text = po_text "94702/KB
return = return "94702/KB
exceptions "94702/KB
others = 0. "94702/KB
call function 'TRANSACTION_STATUS' "94702/KB
importing "94702/KB
status = status_of_transaction "94702/KB
exceptions "94702/KB
others = 1. "94702/KB
if status_of_transaction = commit_work. "94702/KB
commit work and wait. "94702/KB
endif. "94702/KB
call function 'TRANSACTION_END' "94702/KB
exporting "94702/KB
transaction_id = transaction_id "94702/KB
exceptions "94702/KB
others = 1. "94702/KB
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8356764/viewspace-927276/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 建立BAPI程式的步驟API
- BAPIAPI
- about bapiAPI
- SAP BAPI BAPI_GOODSMVT_CREATE Goods movementAPIGo
- (原創)BAPI 修改銷售訂單的方法 ‘BAPI_SALESORDER_CHANGE’API
- 所謂BAPIAPI
- Debug BAPIAPI
- 專案上遇到的BAPIAPI
- sap 獲取計劃訂單bapi_PP 常用bapiAPI
- MRP List - bapiAPI
- BAPI BASICA CONCEPTAPI
- Relationship between BAPI and RFCAPI
- BAPI_SALESORDER_CREATEFROMDAT2 BAPI建立VA01 銷售訂單API
- ABAP 查詢系統BAPI的方法API
- BAPI的簡單實現步驟API
- 什麼是 SAP BAPIAPI
- BAPI Step by step GuidanceAPIGUI
- SAP常用BAPI函式API函式
- SAP MM BAPI_PO_CREATE1的用法API
- BAPI的簡單實現步驟(轉)API
- What is the different between ALE, IDOC and BAPI?API
- 視窗程式的框架框架
- BAPI_GOODSMVT_CREATE to post Goods MovementAPIGo
- MM採購合同和計劃協議,建立物料主資料分類的特性值 BAPI :BAPI_CONTRACT_CREATE協議API
- 【MM】基於收貨的發票校驗Bapi DemoAPI
- 物料異動函式BAPI_GOODSMVT_CREATE的使用函式APIGo
- BAPI獲取物料可用數及MRPAPI
- SAP各種BOM詳解(包含常用BAPI)API
- 如何利用BAPI SD_SALESDOCUMENT_CHANGE修改Sales Order的欄位API
- SAP SD基礎知識之SD常用BAPIAPI
- 【程式設計框架】Android可配置的ScrollView框架程式設計框架AndroidView
- SAP S4系統建立Customer和Vendor的BAPIAPI
- 【轉載】使用 BAPI_BUPA_CREATE_FROM_DATA 建立BPAPI
- bapi獲取物料的可用數量及MRP資訊(MD04)API
- c++程式框架C++框架
- 視窗程式框架框架
- MRP資訊彙總BAPI(Z_IF_MRP_TOTAL_LIST)API
- 我與小程式的故事以及小程式框架選型框架