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

HEADER TEXT in purchase orders using BAPI_PO_CREATE

Former Member
0 Likes
3,111

How to update HEADER TEXT in purchase orders using BAPI_PO_CREATE or BAPI_PO_CREATE1?Please advice for both types.

4 REPLIES 4
Read only

Former Member
0 Likes
2,019

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

Read only

0 Likes
2,019

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

Read only

0 Likes
2,019

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

Read only

Former Member
0 Likes
2,019

hi ,

you can use the structure BAPIMEPOTEXTHEADER in BAPI_PO_CREATE1.

i hope this will solve your problem.