I made a stupid careless mistake in coding IF statement with 2 NOT EQUAL checks.
The wrong coding.
if tt_mbewa2-lfgja NE v_ersda(4) AND
tt_mbewa2-lfmon NE v_ersda+4(2).
DELETE tt_mbewa2.
endif.
Instead of using AND, i should user OR
Correct Coding
if tt_mbewa2-lfgja NE v_ersda(4) OR
tt_mbewa2-lfmon NE v_ersda+4(2).
DELETE tt_mbewa2.
endif.
No comments:
Post a Comment