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

BAPI_PO_CREATE1

I am using BAPI_PO_CREATE1 to create a PO via ME21N. I am able to create the PO, but I need

1. Be able to populate the Header text. Its under Header -> Texts -> Header Text. In POTEXTHEADER I tried by poplating PO_ITEM TEXT_ID TEXT_LINE but that did not work.

2. I need to populate the shipping point, Shipping condition, route and loading group. Shipping Point is entered by user, I go extract all the other fields and execute BAPI using the data. I could not find these fields in the BAPI. Any ideas. thank you

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 18, 2007 at 06:26 PM

    Hi,

    1. Be able to populate the Header text. Its under Header -> Texts -> Header Text. In POTEXTHEADER I tried by poplating PO_ITEM TEXT_ID TEXT_LINE but that did not work.

    Please check these examples:

    Parameter: POTEXTHEADER

    PO_NUMBER

    PO_ITEM = 00000

    TEXT_ID = F01

    TEXT_FORM = *

    EXT_LINE = HEADER TEXT

    Parameter: POTEXTITEM

    PO_NUMBER

    PO_ITEM = 00010

    TEXT_ID = F05

    TEXT_FORM = *

    EXT_LINE = ITEM TEXT, ITEM 00010

    2. I need to populate the shipping point, Shipping condition, route and loading group. Shipping Point is entered by user, I go extract all the other fields and execute BAPI using the data. I could not find these fields in the BAPI.

    Please check OSS Note 765494, the BAPI does not yet support the maintenance of shipping data.

    Regards,

    Ferry Lianto

    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.