Fonction SAP BAPI_TRANSACTION_COMMIT - Execute external Commit when using BAPIs

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
WAIT BAPITA-WAIT C 1 X Using the command `COMMIT AND WAIT`

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Messages

Functionality
This method executes a COMMIT WORK command. It is required fortransactions developed outside the SAP system that change data in theSAP system by using BAPI calls.
When you call BAPIs in your program that change data in the SAP system,you must then call this method to write the changes to the database.

Notes
Messages are returned in the parameter 'Return'. The documentation forthis parameter contains the return values and their meanings.

Further information
Use the method BapiService.TransactionRollback to prevent changes to thedatabase being committed.

Description
Error messages for the method.

Value range
There are not any messages if the parameter WAIT is not set or it isset to SPACE. If the COMMIT WORK command is not successfully executed,the system crashes.
If the parameter WAIT is set to a value, the following error messagemay be returned:
Type Code Message
E S&101 Posting could not be carried out

Description
The default value of this parameter is SPACE. If the parameter containsthe value SPACE or it does not contain a value at all, then a simpleCOMMIT WORK is executed.
If the parameter WAIT contains a value other than SPACE, a COMMIT WORKAND WAIT command is executed.

187687BAPI_PO_CREATE and Commit Work
1517301Prevent 'commit work' in BAPI_PO_CREATE etc.
1467042BAPI_ALM_NOTIF_CREATE : Message IX011 - Partner function ...
1111161FAQs when you are working with specification BAPIs
1168772Minimum authorization profile for JRA
1261055CDESK: Error message occurs from Change Documents
1171915Duet 1.5 SP0: Fix for activity attachment upload issue
1157144BAPI_ALM_NOTIF_SAVE processes message I::000
809747BAPIs and update
782947Programming interfaces for RE-FX
604300FAQ: BAPI_ALM_NOTIF* and BAPI_SERVNOT*
770626Dump SAVE_ERROR when creating service order via BAPI
760146Downloaded HR Employees are not created in SMOMITABT
744403Confirmation BAPI's do not produce any results
732628Blcks remain actve for unncssrly lng time with specfctn BAPI
420646EnjoySAP purchase orders via BAPI not updated in SE37
369518Transfer stock not reached if posted with BAPI
576050BAPI account pool creation and change in a LUW
198747Post BAPIs for actual postings CO: no update
450442BAPI: Data is not updated
392934Problem with text changes by means of BAPI or IDocs
322419CO documents are not cancelled