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_Change header text question

Former Member
0 Likes
876

Hi all,

if I'm calling the Bapi_po_change . If I'm sending in an empty po header text table. will the old text stay or will it be overwritten?

example code

....

Refresh it_potextheader.

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

purchaseorder = wa_new_po

TABLES

return = it_bapi_return "bapi return messages

poitem = it_poitem "po item

poitemx = it_poitemx "po item change flags

potextheader = it_potextheader "header text

potextitem = it_potextitem. "item text

...

??? whats the result of the po header text

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

Hi,

I believe it will stay..Unless you pass the PO number Text ID and blank Text line..

The value will not be overwritten..

Thanks,

Naren

Hi all,

if I'm calling the Bapi_po_change . If I'm sending in an empty po header text table. will the old text stay or will it be overwritten?

example code

....

Refresh it_potextheader.

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

purchaseorder = wa_new_po

TABLES

return = it_bapi_return "bapi return messages

poitem = it_poitem "po item

poitemx = it_poitemx "po item change flags

potextheader = it_potextheader "header text

potextitem = it_potextitem. "item text

...

??? whats the result of the po header text

2 REPLIES 2
Read only

Former Member
0 Likes
690

Hi,

I believe it will stay..Unless you pass the PO number Text ID and blank Text line..

The value will not be overwritten..

Thanks,

Naren

Read only

Former Member
0 Likes
689

Thanks thats what I was thinking also, I just wasn't sure.