Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM TRANSACTION_BEGIN

VenuAnumayam
Participant
0 Likes
1,964

Hello,

Can you please let me know what is the main purpose/use of this FM? I can't find much from the help documentation. Can we use it along with any of the BAPI's? Thanks.

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
1,537

Hi, All BAPIs implicitly carry out a separate COMMIT WORK.

If a COMMIT WORK AND WAIT is required, or if batch maintenance is to be included om a transaction, the implicit COMMIT of the BAPIs has to be suppressed.

This is done by calling function module 'TRANSACTION_BEGIN' before calling the individual BAPI. Thus the calling program takes over transaction control. The transaction is terminated by calling function module 'TRANSACTION_END'. A database COMMIT is then carried out by calling BAPI BAPI_TRANSACTION_COMMIT.

[Reference>>>|http://sapworld.proboards10.com/index.cgi?board=MaterialManagement&action=display&thread=163]

4 REPLIES 4
Read only

Former Member
0 Likes
1,537

Hi,

Please check [this|https://www.sdn.sap.com/irj/scn/advancedsearch?query=transaction_begin++++&cat=sdn_all]

~Satya

Read only

former_member156446
Active Contributor
0 Likes
1,538

Hi, All BAPIs implicitly carry out a separate COMMIT WORK.

If a COMMIT WORK AND WAIT is required, or if batch maintenance is to be included om a transaction, the implicit COMMIT of the BAPIs has to be suppressed.

This is done by calling function module 'TRANSACTION_BEGIN' before calling the individual BAPI. Thus the calling program takes over transaction control. The transaction is terminated by calling function module 'TRANSACTION_END'. A database COMMIT is then carried out by calling BAPI BAPI_TRANSACTION_COMMIT.

[Reference>>>|http://sapworld.proboards10.com/index.cgi?board=MaterialManagement&action=display&thread=163]

Read only

0 Likes
1,537

Thanks All.