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: 

BAPI_GOODSMVT_CREATE

Former Member
0 Kudos
197

Hi, everyone:

I use BAPI: BAPI_GOODSMVT_CREATE to do GR for production order by TCODE: SE37. It posts successfully, and generates a material movement document. But I cannot find the material document by TCODE: MB03. I have set the parameter 'TESTRUN' blank. What's wrong?

Thanks in advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
125

I know the answer: COMMIT the transaction. How stupid am I.

2 REPLIES 2

Former Member
0 Kudos
125

Hi Donnie

Call a BAPI_TRANSACTION_COMMIT after this and only then the material document no will be in database.

Try executing hte functions as test sequences in SE37.

Thanks,

Naveen

Former Member
0 Kudos
126

I know the answer: COMMIT the transaction. How stupid am I.