I'm fairly new to ABAP and i'm trying to delete entries from the internal table that don't contain certain value/s.
Below is a code that worked for me:
LOOP AT BASIS.
IF pa_WKZS = 'X' AND BASIS-ARBPL NE '2056'
DELETE BASIS.
ENDIF.
ENDLOOP.
If pa_WKZS is checked at selection I want it to only show ARBPL with value = 2056.
but how would I do the same for another checkbox that should only show 2301 2302 2303 for example. tried with strings but didn't have any luck. or am i approaching this from the wrong angle?
any help is appreciated!