Enterprise Administration > Implementing Windchill ESI > Implementing Windchill ESI in an SAP Environment > SAP API Structures > Change Document > BAPI_TRANSACTION_COMMIT
  
BAPI_TRANSACTION_COMMIT
This API is used to commit a transaction to the SAP system. It is executed if the return message generated from the BAPI_DOCUMENT_CREATENEWVRS2 function is a success. When this API completes execution, all document data sent from Windchill is committed to the DRAW, DRAK, and DRAT SAP database tables. For more information on howWindchill ESI interprets the results of the SAP API calls, see the Windchill Enterprise Systems Integration Customizer's Guide - SAP.
* 
No data is passed through the BAPI_TRANSACTION_COMMIT function module, but it is necessary to call this module to commit data to the database. For more information on how SAP APIs are called in sequence to execute eachWindchill ESI business function, see the Windchill Enterprise Systems Integration Customizer's Guide - SAP. The following table provides details on this API.
Windchill Attribute Name
API Structure
API Field
API Field Description
Value If Default
Source
Transform
N/A
HEADER
WAIT
Wait
X
Default
N/A