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

BAPI_PO_CREATE1 giving error Enter GL Account for multiple POs

Hi Experts,

I m using BAPI_PO_CREATE1 to create multiple POs in a loop. If I m only having a single PO in the file to process, the BAPI is creating the PO without any error. But if I have multiple POs, I m getting an error from the second PO on wards - saying Enter GL Account. I have cleared,refreshed all internal tables including the poaccount and poaccountx. Any suggestions please?

Thanks in advance!


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 27, 2013 at 02:54 AM

    Does it create PO for the second line if run alone ...if yes then it is the problem with code. Please share your sample code. Else if it gives error means it expects GL account to be passed with leading zeros..

    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.