Application Development 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: 

problem for BAPI_GOODSMVT_CREATE....

Vinay3
Participant
0 Kudos
122

i am using BAPI_GOODSMVT_CREATE for stock update for mb1c tcode.....material document is generated but stock is not update.....and table is not update for stock.....

6 REPLIES 6

JL23
Active Contributor
0 Kudos
78

do you get stock when doing it manually in MB1C?

I think your material type is not customized from stock updates in this plant. Check in OMS2 (before you activate the missing activations , make sure you reversed your movements made before)

0 Kudos
78

my issue resolve.....no need for activation

JL23
Active Contributor
0 Kudos
78

can you share what the problem was?

0 Kudos
78

the bapi should end with commit bapi to complete the transaction....

wht r important point to be taken for using bapi

Edited by: vinay singh on Jan 25, 2012 10:36 AM

0 Kudos
78

Hi Vinay,

whenever you are using any BAPI, before that you need to test BAPI alone with data available as per the requirement.

I am sure that you have done that, and whenever you are testing any BAPI use tset sequence where you can defined on sequence what are the bapi you are going to call.

like

go to SE37---> Function Module --->Test ---> Test Sequence , here you need to mentione bapis

like in 1st row BAPI_GOODSMVT_CREATE and then second row BAPI_TRANSACTION_COMMIT

If you are testing bapi in this way then you never forget to call any of the FM during programing.

eduardo_hinojosa
Active Contributor
0 Kudos
78

Hi

See SAP Note 520813 - FAQ: BAPIs for goods movements.

Regards

Eduardo