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_GOODSMVT_CREATE

Former Member
0 Likes
581

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
Read only

Former Member
0 Likes
509

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

2 REPLIES 2
Read only

Former Member
0 Likes
509

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

Read only

Former Member
0 Likes
510

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