‎2007 Sep 04 11:28 AM
hii experts..plaease tell me what is the use of BAPI_TRANSACTION_COMMIT and COMMIT WORK...
‎2007 Sep 04 11:33 AM
Hi Sugumar
there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
Regards
Wiboon
‎2007 Sep 04 11:30 AM
Hello Sugumar
If you call the BAPI locally it is the same as COMMIT WORK. However, if you want to commit on a <b>remote </b>system you have to use the BAPI.
Regards
Uwe
‎2007 Sep 04 11:32 AM
hiii...if you dont mind pl explain the function of COMMIT WORK...
‎2007 Sep 04 11:35 AM
Hi,
Please try to help yourself - from the ABAP editor, put yuor cursor on the command COMMIT and press the F1 key. Yuo will be taken to the help for that command explaining how to use it and what it does.
The function module BAPI_TRANSACTION_COMMIT simply performs this command - it is used for remotely commiting data when performing RFC calls.
Gareth.
‎2007 Sep 04 11:32 AM
<b>BAPI_TRANSACTION_COMMIT</b>
Execute external Commit when using BAPIs
This method executes a COMMIT WORK command. It is required for
transactions developed externally to the R/3 System that change data in
the R/3 System via BAPI calls.
When you call BAPIs in your program that change data in the R/3 System,
afterwards you must call this method to write the changes to the
database.
<b>COMMIT WORK</b>
The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
‎2007 Sep 04 11:33 AM
Hi Sugumar
there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
Regards
Wiboon