Application Development 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: 

Want to update PO item text with BAPI_PO_CHANGE

Former Member
0 Kudos

Hi,

I need to update the PO item text value by using BAPI_PO_CHANGE but i didn't find any field TDLINE in this BAPI, can any one suggest how to update this item text value, is there any functional module for that.Kindly suggest.

Regards,

Venkat

4 REPLIES 4

Former Member
0 Kudos

In the tables tab...ders a table

POTEXTITEM

create a workarea of this type and

pass the text u want 2 change to it n run..

This will help..reward if it does

former_member404244
Active Contributor
0 Kudos

Hi,

check the below sample code

http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm

also u might be calling the bapi in loop ,so after u call bapi..immedaitely call the FM 'CREATE_TEXT' and try to fill the text deatils .

Reward if helpful.

Regards,

nagaraj

Former Member
0 Kudos

Hi,

First u upload the file & store it in internal table .

Then use SAVE_TEXT.

It will give the best result.

Reward pts if it is helpfull.

Regards

Srimanta

Former Member
0 Kudos

Hi,

In same bapi there is table called POTEXTITEM which include TDLINE field

pass value using internal table to this table