cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_TRANSACTION_COMMIT via PI

Former Member
0 Kudos

Hi All,

i have to realize to transfer goods movements from lotus notes to the sap via pi.

I have setup all configurations in the pi. I use the BAPI_GOODSMVT_CREATE for the transaction.

The interface works fine. As return value i get a document-number of the movement, but physically the movement wasn't created.

I think the fault of this fact is, that BAPI_TRANSACTION_COMMIT have to be called after the movement, to commit changes in the database.

Now my question is: Is it possible to call the BAPI_TRANSACTION_COMMIT via PI or someway else?

Thanks for your help and inspirations...

regards

Accepted Solutions (1)

Accepted Solutions (1)

holger_stumm2
Active Contributor
0 Kudos

In the PI RFC Adapter, there is an tickmark "Advanced Mode".

Some new fields are coming up. One is: "Send Confirm Transaction" . For more control, you can select "Commit handling for BAPI calls. (See SAP Documentation)

If all this fails, you can do it the old fashion way: Write a Z-Wrapper function module, that is wrapping the original BAPI call and adds a "COMMIT" at the end.

hth

hs

Former Member
0 Kudos

Hi,

thank you very much for your quick answer!

Problem is solved! I didn't guess it in this point.

Thanks again.

Answers (0)