所以我们在连续修改很多表,而这些表又相互关联,或者循环修改表,最好使用bapi_transaction_commit 下面是SAP给出的标准解释: By simply looking at BAPI_TRANSACTION_COMMIT code, we see quickly what is different from COMMIT WORK. It calls BUFFER_REFRESH_ALL function module right after COMMIT WORK. So BAPI...
SAP Managed Tags: ABAP Development Hi, If any record fails during commit I need to know which one failed In this case you have to commit each bapi call and make use of the return parameter of BAPI_TRANSACTION_COMMIT, for this you have to pass wait = X becasue when sy-subrc is 4 ...
SAP Managed Tags: ABAP Development Hi, i'm trying to create a notification(IW22) in a userexit depending on some condition. i'm calling the BAPI 'BAPI_ALM_NOTIF_CREATE'. Everything works fine and i'm getting the notification no in the BAPI. But when i'm doing commit calling the ...
SAP Managed Tags: ABAP Extensibility Hi, I have to create a contract with sliding scale conditions included in the contract. As I came to know that this can't be done directly by BAPI_CONTRACT_CREATE, I'm creating the contract first and then trying to modify it using BAPI_CONTRACT_CHANG...
SAP Managed Tags: ABAP Development I am Using BAPI "BAPI_ACC_DOCUMENT_POST" for FI Documents. in return table, I am getting : TYPE - S ID - RW MESSAGE - Document posted successfully: BKPFF 000030501310002013 STPCLNT600 After that when i am using BAPI_TRANSACTION_COMMIT, It cause a sh...
SAP Managed Tags: ABAP Development Hi Experts, My requirement is like this i am getting data from an external system and i am mapping that data in the SAP format. I am calling a Function module to update the required tables. In that function module two bapi's are being called for upda...
【转载】关于SAP PS模块的常用BAPI by calling the BAPIs “BAPI_PS_PRECOMMIT ” and “BAPI_TRANSACTION_COMMIT”, in that order. 必须先使用“BAPI_PS_PRECOMMIT ”,然后再使用“BAPI_TRANSACTION_COMMIT”,否则 ABAP的ke51利润中心BAPI创建BAPI_PROFITCENTER_CREATE,以及利润中心增强字段的bapi传入 ...