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: 

Change Purchase Order

Former Member
0 Kudos
83

Hi expert,

I want to change the Purchage Order, in the Purchase Order i want to change the Line Item data against the Item No. This is basically called staus change. How it can be possible.

I m Using BAPI_PO_CHANGE, what is the required table to do it and is their any method table which has to pass in this BAPI ?

Its urgent Plz help

1 REPLY 1

Former Member
0 Kudos
27

Hi,

declare and fill the poitem and poitemx fields that are related to ITEM of a PO and use the BAPI

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

purchaseorder = lw_po-ebeln

poheader = lw_poheader

poheaderx = lw_poheaderx

TABLES

return = lt_return

poitem = lt_poitem

poitemx = lt_poitemx

poaddrdelivery = lt_poaddrdelivery

poschedule = lt_poschedule

poschedulex = lt_poschedulex

pocond = lt_pocond

pocondx = lt_pocondx.

Regards

ANJI