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

BAPI BAPI_GOODSMVT_CREATE with IDOC MBGMCR

Former Member
0 Likes
1,596

We'll receive a MBGMCR Idoc and we'll trigger it via WE20 to the BAPI_GOODSMVT_CREATE.

It looks like it will work, the IDOC is processed with a positive return code but we are looking how to post he BAPI_TRANSACTION_COMMIT through this technic ?

Thanks for your help

We'll receive a MBGMCR Idoc and we'll trigger it via WE20 to the BAPI_GOODSMVT_CREATE.

It looks like it will work, the IDOC is processed with a positive return code but we are looking how to post he BAPI_TRANSACTION_COMMIT through this technic ?

Thanks for your help

3 REPLIES 3
Read only

0 Likes
933

Best way would be to write a wrapper FM and call both BAPI's in it..

Read only

Clemenss
Active Contributor
0 Likes
933

Hi Roland,

you will not need to do the BAPI_TRANSACTION_COMMIT because the IDOC status management will do for you.

Regards,

Clemens

Read only

Former Member
0 Likes
933

Hi Clemens,

Thanks: you're right, the Document was saved, it works perfectly.

I was looking for a document dated on Friday, the idoc was much older....

After some rest during the week-end, it's easier.

Roland