cancel
Showing results for 
Search instead for 
Did you mean: 

Usage of Bapi_Transaction_Commit ?

Former Member
0 Kudos

Hi,

How can I use Bapi_Transaction_Commit in conjunction with a standard BAPI_A( for e.g) in webdynpros?

wdContext.currentBAPI_AElement.modelobject.execute();

The above source code would immediately execute the Bapi without knowing about the Bapi_Transaction_Commit.

Or am I missing something crucial?

Regards

MK

Accepted Solutions (0)

Answers (1)

Answers (1)

htammen
Active Contributor
0 Kudos

Hi MK,

the BAPI´s you´re using in a Transaction may not write data directly to the database. Writing data to the database has to be done by using

call function xxx

in update task

When you use this in your BAPIs the data is written when you call Bapi_Transaction_Commit and not earlier.

Talk to your R/3 developer. They should know this handling.

Regards

Helmut