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.
Showing results for 
Search instead for 
Did you mean: 

adding two po line item using BAPI_PO_CHANGE

Former Member
0 Kudos

Hi all,

I'm using the 'BAPI_PO_CHANGE' for updating the netprice amount and to add a new PO line item. The amount is changing. But the new line item is not generated. In the PO ITEM table, i'm passing 2 records. first record's po item no is '00001' and second record's po item no is '00002'. In the same way i'm adding 2 records for PO_ITEMX, POSCHEDULE, POSCHEDULEX, POCONDHEADER, POCONDHEADERX, POCOND, POCONDX, POLIMITS, POCONTRACTLIMITS, POSERVICES.

Could anyone help me in this.?




Former Member
0 Kudos


I am also facing same problem , i need to add new line item and hange currency for certain condition types.

if u get any solution plz do reply.


0 Kudos

I've never had any difficulty using BAPI_PO_CHANGE to add new line items. Are you setting PO_ITEMX as in this example?

gw_itmdx-po_item    = gw_items-ebelp.
gw_itmdx-po_itemx   = 'X'.