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

Goods issue

Former Member
0 Likes
718

Hi,

I have done Goods issue thru bapi 'Bapi_goodsmvt_create".Now I want to check whether Goodsissue is successful or not.Thru mb1a, I think I cannot check whether issue has been successful or not, rather we do Goods issue thru mb1a. Please help me how can I check whether issue is successful or not.

Rgds,

khadeer.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
688

Hello

After you call function analize Return table. If this table empty - issue is successful.

Else - see at error codes in this table.

6 REPLIES 6
Read only

Former Member
0 Likes
689

Hello

After you call function analize Return table. If this table empty - issue is successful.

Else - see at error codes in this table.

Read only

Former Member
0 Likes
688

You can check the success of the BAPI

using the RETURN parameter or using the export parmeters

MATERIALDOCUMENT
MATDOCUMENTYEAR

if the value in the material document then it is success.

After the success Don't forget to call the

BAPI_TRANSACTION_COMMIT

Read only

0 Likes
688

hi vijay,

Khadeer here. Return table is empty for 'bapi_goodsmvt_create'. Thru debugging I got the mblnr and year.Once return table is empty then, shall we have to call 'bapi_transaction_commit' .

one more thing, Shall we have to get the mat.doc. number and year thru debugging only or any other way.Please explain me.

With warm regards,

khadeer

Read only

Former Member
0 Likes
688

Hi,

Check the T code MB31.

Sudheer. A

Read only

Former Member
0 Likes
688

Hi ,

BAPI will return the MBLNR , then u can cross check data with Tcode MB03.

If its a MIGO , u can check in me23n >po history , if its GI u can check that one is VL03n->document flow, etc

regards

Prabhu

Read only

Former Member
0 Likes
688

Hi,

Check the return table of your BAPI function module..

If that is initial... you goods movement is successful

regards

padma