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
1,412

Dear All,

Am using this bapi creating goods receipts others but accouting document no is not getting generated,canone guide me what need to be passed.

Regards,

san

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
1,321

not enough information. Provide more details like where are you using and what have done and what are the return messages after the bapi call etc

7 REPLIES 7
Read only

former_member191735
Active Contributor
0 Likes
1,322

not enough information. Provide more details like where are you using and what have done and what are the return messages after the bapi call etc

Read only

0 Likes
1,321

Hi Sampath,

am using the BAPI_GOODSMVT_CREATE for creating the 501 movement type for that material document is getting generated but finance accounting document not getting generated.

Regards,

San

Read only

0 Likes
1,321

We're talking here in "ABAP General", are you sure you can rule out any configuration or functional cause? Not all goods movements are supposed to create accounting documents, if I remember correctly. Better speak to somebody with ERP MM knowledge about the problem. Also check the SCN forums for this topic.

Thomas

Read only

0 Likes
1,321

I agree with Thomas. Talk to MM person or if you can create manually, create manually and see if accounting document is generated for 501 movement type.

what is the BAPI return parameters ? i mean, what did you see in the return of the bapi. You should see info,warning and/or error message if any success/failure.

Read only

0 Likes
1,321

Dear Sampath/thomas,

Bapi is not returning any errors,and also checked with functional consultant manually its getting posted in the mb1c and migo. Please guide me what need to be passed for that one..

Regards,

Santosh.s.jajur

Edited by: santosh jajur on May 10, 2011 7:35 AM

Read only

0 Likes
1,321

Hi Santosh,

If you are able to post the document manually and The BAPI is not returning any error messages in the RETURN structure,

Can you confirm if you are doing a COMMIT WORK using BAPI_TRANSACTION_COMMIT and not passing an "X" to the input parameter "TESTRUN".

Regards,

Chen

Read only

Former Member
0 Likes
1,321

Hi Santhosh,

as per my knowledge this can be done using enhance ment implementation.

in your BAPI : BAPI_GOODSMVT_CREATE, export the document using EXPORT statement.

you need to create enhancemet implementation for BADI's

MB_QUAN_CHECK_BADI

MB_MIGO_BADI

import the above exported doc no here..

free memory id.

Regards,

Chinna