‎2010 May 21 11:34 AM
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
‎2010 May 21 11:42 AM
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 00010Regards
Vinod
Edited by: Vinod Kumar on May 21, 2010 4:14 PM
‎2010 Jun 17 1:52 PM