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_PO_CREATE1

Former Member
0 Likes
849

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

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
558

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

1 REPLY 1
Read only

ferry_lianto
Active Contributor
0 Likes
559

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