Hi Suman,
Those code were added to the start routine of 2LIS_ITM transfer rule. Does that mean only reversal entry being updated to ODS and everything else getting deleted? We have issues of not updating delta for some records coming in from R/3 for PO item and some quantity populated in negative entry after after image. So trying to troubleshoot where the issue is. STORNO is updated with reversal indicator and Record mode is updated with below code:
READ TABLE I_DATAPAK INTO LS_DATAPAk
WITH KEY
EBELN = TRAN_STRUCTURE-EBELN
EBELP = TRAN_STRUCTURE-EBELP.
IF SY-SUBRC = 0.
RESULT = LS_DATAPAK-ROCANCEL.
ENDIF.
Records updated in ODS, is it only bringing records going to get deleted in SAP or already deleted?
Thanks,