‎2008 Jun 12 5:33 PM
How to update HEADER TEXT in purchase orders using BAPI_PO_CREATE or BAPI_PO_CREATE1?Please advice for both types.
‎2008 Jun 12 5:38 PM
YOu can pass the text information to the TABLES Parameter:
POTEXTHEADER in BAPI_PO_CREATE1.
But if you want to UPDATE the text, you should use the FM
BAPI_PO_CHANGE.
Pass the text information to the POTEXTHEADER tables parameters.
Regards,
Ravi Kanth Talagana
‎2008 Jun 13 8:42 AM
Thanks for your reply. I need to know how to send "header text " into PO using BAPI_PO_CREATE. I could send ITEM TEXT as structure is available in BAPI_PO_CREATE.Please reply
‎2008 Jun 13 9:49 AM
Hi Srini ,
IF you are using the BAPI_PO_CREATE , we are not having the parameter to pass Header Text.
If you want to get Header Text directly then Use BAPI_PO_CREATE1 wiht a parameter POTEXTHEADER (I am not sure it is there in 4.7).
If BAPI_PO_CREATE1 does not exist in 4.7 then use create_text function module to update the the Header text
Hope it helps
Rgds
Sree M
Edited by: Sree Merugu on Jun 13, 2008 5:10 PM
‎2008 Jun 13 9:57 AM
hi ,
you can use the structure BAPIMEPOTEXTHEADER in BAPI_PO_CREATE1.
i hope this will solve your problem.