Skip to Content
Former Member
Nov 02, 2009 at 01:07 PM

Shipping data within BAPI_PO_CHANGE


Hi all.

I'm using BAPI_PO_CHANGE within BADI ME_PURCHDOC_POSTED in order to change shipping data (field PLIFZ only).

Since I couldn't do it within the BADI implemantation I'm trying to di it by using the above BAPI.

The table's name is POSHIPPINGEXP.

The following are the input parameters for the BAPI:

lv_pur_order = PO number.

lt_shippingexp-po_item = '00010'.

lt_shippingexp-plnd_delry = '10'. "Constatnt

lt_shippingexp-del_create_date = sy-datum.

call function 'BAPI_PO_CHANGE'


purchaseorder = lv_pur_order


return = lt_return[]

poshippingexp = lt_shippingexp[].

Somehow I keep getting same result: Success message with "No data was changed".

What's wrong with these parameters ? Something's missing ? maybe parameters POSHIPPING & POSHIPPINGX ?

And Is it possible to update IM_EKPV within the BADI ME_PURCHDOC_POSTED ? If yes - how ?

I'll apriciate your help.

Thanks in advance,