BAPI BASICA CONCEPT
1, BAPIs Must not contain call transaction or submit report.
2, BAPI structure must not use includes or append.
3, BAPIs should not use dialogs.
4, Asynchronous BAPIs use the ALE interface in this way:
.Creates an IDOC from the BAPI data
.Sends the IDOC to the target system
.Receives the IDOC in the target system, create the BAPIs data from the IDOC and the BAPI.
.An ALE interface for a BAPIs is created in transaction BDBG.
5, Programming a BAPI consists of follow major tasks:
.Defining BAPI data structrues in se11.
.Program a RFC enabled BAPI function module for each method.
.Create a Business object for the BAPI in the BOR.
.Documentation the BAPI.
.Generate ALE interface for asychronous BAPIS.
.Generate and release.
6, Each BAPI must have its own fuction group. we would create related BAPIs in the same fuction pool. so they will by able to share global data.
7, Step by step to create BAPI.
.Define a structure for the BAPI.
.Write Function Moudle
.create the API Method Using the BAPI wizard.
.Final steps.
.Release the BAPI function module(in the function builder).
.Release the business object type(in the BOR objecttype->implemented).
.Release the BAPI as a mehtod in the BOR.
.For potential write BAPIS: Release the IDOC and its segments.
8, Every BAPI must have a return parameter that is either an export parameter or an export table
9, Every BAPI must have an extensionln and an extensionout parameter to enabel customer enhancements.
10, In BAPI technical conventions: All data elements for date fields have the format yyyymmdd
11, You cnanot use exceptions in a BAPI. Instead, all error messages are returned to the calling program using the standardized parameter RETURN.
12, The documentation developer then saves the active version of the function module and parameter documentation(otherwise the documentation cannot be translated).
13, BAPIS are not end user interfaces, they are programming interfaces that can be used in diverse application areas.
14, In generally, all R/3 currency data types have two digits after the decimal point.
15, If buffering has benn implemented for a business object type,all write BAPIs of this business object type must also be implemented with buffering.
16, BAPIs with buffering must not execute commit work or rollback work commands.
17,About BAPI Replicate(), Calling the SaveReplicate() methods in the receiving system.
18, About BAPI message, Note that for type A error messages(abort), an application log is not created, as in this case there is no commit work.
19, For sap internal development, each enhancement to a BAPI must be created in a project in the BAPI explorer.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/90072/viewspace-914025/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP BAPI BAPI_GOODSMVT_CREATE Goods movementAPIGo
- NEW CONCEPT ENGLISH 51 - 60
- sap 獲取計劃訂單bapi_PP 常用bapiAPI
- 什麼是 SAP BAPIAPI
- BACON: Supercharge Your VLM with Bag-of-Concept Graph to Mitigate HallucinationsMIT
- BAPI獲取物料可用數及MRPAPI
- ABAP 查詢系統BAPI的方法API
- 採購訂單查詢BAPI封裝API封裝
- SAP各種BOM詳解(包含常用BAPI)API
- SAP SD基礎知識之SD常用BAPIAPI
- C++霧中風景18:C++20, 從concept開始C++
- 請問測試中 Gauge 的 [Concept] 怎麼翻譯,怎麼理解。
- SciTech-Theory-Concept:natural+common -> Principle:process+research+investment -> Definition -> Theory -> Axiom
- 【轉載】使用 BAPI_BUPA_CREATE_FROM_DATA 建立BPAPI
- SAP MM 發票預製 Function Module - BAPI_INCOMINGINVOICE_PARKFunctionAPI
- 【MM】基於收貨的發票校驗Bapi DemoAPI
- BAPI_BATCH_CHANGE在更新後不自動更新批次特徵APIBAT特徵
- 如何利用BAPI SD_SALESDOCUMENT_CHANGE修改Sales Order的欄位API
- 外行假裝內行,我也來談談SAP BAPI和BADIAPI
- bapi獲取物料的可用數量及MRP資訊(MD04)API
- ABAP BAPI 複製標準專案模板實現專案立項API
- 如何查詢BAPI SD_SALESDOCUMENT_CHANGE裡欄位對應的資料庫儲存表API資料庫
- 多次呼叫 BAPI 之後,最後一次性 COMMIT WORK,會有什麼問題嗎?APIMIT