I am not sure this can be/cannot be done. Need some suggestions here people. Any would be rewarded.
Situation is that i want to restrict the data before it enters the "ODS_Two" from "ODS_One" in the update rules by datapackages using a particular field. I have a start routine in place already and i made the corresponding changes, let me know if this works???
Previous:
LOOP AT DATA_PACKAGE.
IF DATA_PACKAGE-recordmode EQ 'R'.
DATA_PACKAGE-recordmode = 'X'.
MODIFY DATA_PACKAGE.
ENDIF.
ENDLOOP.
Modified:
LOOP AT DATA_PACKAGE.
IF DATA_PACKAGE-recordmode EQ 'R'.
DATA_PACKAGE-recordmode = 'X'.
MODIFY DATA_PACKAGE.
ENDIF.
IF DATA_PACKAGE-/BIC/Restrict_Field EQ 'Field'
DATA_PACKAGE-recordmode = 'D'.
ENDIF.
ENDLOOP.
Thank you