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

Problem in Capturing Item text (BAPI_PO_CREATE1 )

Former Member
0 Likes
1,541

HI Experts

I have a problem with the BAPI BAPI_PO_CREATE1 for PO creation.

When I pass the values to the BAPI and passing Header text in the table I_PO_HEADER_TXT and Item text in the table I_PO_ITEM_TXT.

But after the execution of BAPI I_PO_HEADER_TXT is getting cleared and the same is beiong populated in the table I_PO_ITEM_TXT.

Is there any way to differentiate Item text and Header text??/

Thnks in Advance.

Hari Krishna

2 REPLIES 2
Read only

Former Member
0 Likes
892

Hi,

For header texts, pass '00000' as the value to structure field POTEXTHEADER-PO_ITEM.

Read BAPI documentation regarding header & item texts

4. Examples of population of BAPI_PO_CREATE1 interface:

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

Regards

Vinod

Edited by: Vinod Kumar on May 21, 2010 4:14 PM

Read only

0 Likes
892

Hi Vinod,

where do you find that documentation?

Rgds

Vincent