Skip to Content
author's profile photo Former Member
Former Member

Errors BAPI_PO_ CHANGE

Hello Experts,

I am trying to add materials in PO using BAPI BAPI_PO_CHANGE.

There are three material items in the PO and each material has one tied empties (BOM material). Tied empties would be exlpode when changing the PO by using BAPI BAPI_PO_CHANGE.

After executing the program, two boms were exploded for first two materials. For the last material bom material is not exploding.

Getting below errors,

- E BAP003 Instance 45XXXXXX (PO) of object type PurchaseOrder could not be changed.

- Purchase order item still contains faulty account assignments.

Any help / suggestions where to search for cause would be appreciated.

Br,

Malla

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 08, 2011 at 05:12 AM

    Hi Malla,

    The error message signifies that the error is related to account assignment.

    You need to ensure the changes are working manually. i.e. Are you able to change the PO manually via T. Code ME22N.

    If yes, then, use 'BAPI_PO_GETDETAIL' and pass relevant data mapped to BAPI_PO_CHANGE.

    Hope this helps. If still facing any issues, please post your code.

    Regards,

    Pranav.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 08, 2011 at 06:23 AM

    Hi Malla

    Have you seen this message Purchase order item still contains faulty account assignments.Please shown this to functional people.Check the same manually in transaction.

    Regards,

    Madhu.

    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.