首先得明白BAPI_TRANSACTION_COMMIT这个BAPI的作用。它功劳很大,在SAP里面很多的BAPI直接调用是不会有结果的,因为需要COMMIT一下才能生效,比如生成资产编号的BAPI:BAPI_FIXEDASSET_CREATE1,如果对他直接在SE37中调用运行或者使用SE38调用它,虽然可以得到一个资产编号,但是在AS03里面查询,系统会很白痴得提示你:该资产编号...
【转载】关于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传入 ...
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 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 Managed Tags: ABAP Development A very clear error message off what you have done wrong. It even tells you what to do and which note to read. Normally SAP is not so clear in what it means. Why did you post the question and why don't just read the error message and the note...