What is the purpose of BAPI_TRANSACTION_COMMIT?
Page 1 of 1
What is the purpose of BAPI_TRANSACTION_COMMIT?
-BAPI_TRANSACTION_COMMIT is used when you want to update data into database table.
-Before updating into database table the data to be updated is stored in the UPDATE LOG.
-When the system invokes this Functiona module or 'Commit Work' statement then the database table is updated with the data stored in update log.
-Each BAPI Function Module has its own COMMIT WORK. This is stateless and it is good in some situations.You could not combine multiple update BAPIs into a single LUW( Logical Unit of Work ). In some applications you need to have more controle on LUW's. Hence, SAP R/3 4.0 onwords SAP changed its feature that all updates should be in stateful and allow the client programmer that BAPI_TRANSACTION_COMMIT to be called whenever he is needed.
-Before updating into database table the data to be updated is stored in the UPDATE LOG.
-When the system invokes this Functiona module or 'Commit Work' statement then the database table is updated with the data stored in update log.
-Each BAPI Function Module has its own COMMIT WORK. This is stateless and it is good in some situations.You could not combine multiple update BAPIs into a single LUW( Logical Unit of Work ). In some applications you need to have more controle on LUW's. Hence, SAP R/3 4.0 onwords SAP changed its feature that all updates should be in stateful and allow the client programmer that BAPI_TRANSACTION_COMMIT to be called whenever he is needed.
govind- Admin
- Posts : 54
Join date : 2012-01-31
Similar topics
» What is SAPscript and explain its purpose?
» what is the purpose of “Protect and EndProtect”?.
» What is the purpose of a “Document type” in SAP?
» What is the purpose of defining Internal orders.?
» What is the basic purpose of creating a Profit Center?
» what is the purpose of “Protect and EndProtect”?.
» What is the purpose of a “Document type” in SAP?
» What is the purpose of defining Internal orders.?
» What is the basic purpose of creating a Profit Center?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Mon Aug 20, 2012 4:37 pm by Admin
» Difference between Type and Like
Thu Jun 07, 2012 2:40 pm by Admin
» How to handle table control fields in Module Pool program?
Wed May 09, 2012 2:41 am by govind
» Three tables inner join in SAP
Thu May 03, 2012 4:47 pm by Uma_ABAP
» Creating table type in ABAP
Sat Apr 28, 2012 9:03 pm by Uma_ABAP
» Creating user defined types and structures in ABAP
Sat Apr 28, 2012 8:55 pm by Uma_ABAP
» Creating Dynamic Internal Table and Dynamic Field catalog in SAP-ABAP
Fri Apr 27, 2012 11:00 am by Admin
» Copy Custom PF-Status from Standard program to Custom Program in ALV
Thu Apr 26, 2012 9:52 pm by Uma_ABAP
» Calculate/find number of working days between two dates in SAP
Tue Apr 24, 2012 2:06 pm by Uma_ABAP