08-12-2007 12:18 PM
Hi,
Is there any fm to get the old and new data of order operations?
Any help would be highly appreciated.
Regards,
Pitambar
08-12-2007 12:18 PM
Hi,
To get the old and new values you can use FM CO_BO_OPR_OF_ORDER_GET
CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
EXPORTING
aufnr_imp = v_aufnr
* CHECK_DELETED = ' '
get_old = 'X'
* FLG_STATUS = ' '
* FLG_WORK = ' '
* SORT_BY_SEQ = ' '
* GET_ALT_SEQ = 'X'
* FLG_PROV = ' '
* FLG_QUAL = ' '
* FLG_CONV = ' '
flg_oproll = 'X'
TABLES
afvgd_get = it_new
afvgt_old = it_old.
Regards,
Gaurav
<b>Reward points if helpful</b>