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

adding two po line item using BAPI_PO_CHANGE

Former Member
0 Likes
687

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.?

Regards,

Shanthi

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.?

Regards,

Shanthi

2 REPLIES 2
Read only

Former Member
0 Likes
568

Hii,

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.

Thanks

Read only

0 Likes
568

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'.