Skip to Content

BAPI_GOODMVT_CREATE, Goods return for Multiple account assigment

Hi All,

I am facing a issue while posting goods return document for Multiple account assigment PO item for below Scenario.

PO item : 10 , PO quantity : 3 , PO Net price 5000.

PO Account assigment : Distribution by quantity

item 1 , Quantity 1, WBS1, distribution 33.3

item 2, Quantity 1, WBS2 , distrubution 33.3

item 3, quantity 1, WBS2, distribution 33.3.

Partial GR performed for two quantity. GR posted for WBS1 and WBS 2.

Now I am trying to return two goods with proportion using BADI "MB_ACCOUNTING_DISTRIBUTE" CHANGE_DISTRIBUTION method. I have changed the proportion 1 to 1 ratio for two items, but badi check throws error "error in badi implmentation".

Goods return is posted correctly but due to wrong proportion Financial document calculated the wrong amount.

Could you please help and suggest the right way to return goods proportionally for multiple account assignment items.

Thanks in advance.

Idris Ahmed Khan.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 24, 2018 at 11:17 AM

    Hi All,

    It is solved by passing total quantity for multiple account assignment GR items in BAPI.

    Thanks for the help.

    Closing the question.

    Regards,

    Idris Ahmed Khan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.