05-17-2006 7:43 AM
Hi all,
how to get the old and current condition data in IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM ?.
Likewise in SMOD/CMOD, xkonv /ykonv represents old/new pricing, how about in ME_PROCESS_PO_CUST
05-17-2006 8:19 PM
As far as I remember you don't get condition data in that BADI. If you want, you can use enhancements LMEKO001 and LMEKO002 (SMOD).
05-17-2006 8:19 PM
As far as I remember you don't get condition data in that BADI. If you want, you can use enhancements LMEKO001 and LMEKO002 (SMOD).
08-12-2016 10:31 PM
Yes, you can read old data in IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM:
DATA wstr_item_old TYPE mepoitem.
CALL METHOD im_item->get_previous_data
IMPORTING
ex_data = wstr_item_old
EXCEPTIONS
no_data = 1
OTHERS = 2.
Or use SMOD/COMD EXIT_SAPMM06E_017 (MM06E005)