Dumps in internal table due to modify/delete
– OBJECTS_NOT_NUMLIKE or
The table was declared normally like TYPE TABLE OF <dictionary-structure>.
I tried in a loop at a little (standard-)table to read the bigger standard table with a key:
READ TABLE itab INTO wa
WITH KEY …
to get the specific entry into the wa to delete or to modify it.
This is regulary creating a dump because the MODIFY or DELETE statement uses the complete line of the standard table as a key.
types: BEGIN OF ty_selected_line.
INCLUDE TYPE <ddic-structure>.
TYPES END OF ty_selected_line .
tt_selected_tab TYPE SORTED TABLE OF ty_selected_line
WITH UNIQUE KEY primary_key
DELETE lt_selected_tab USING KEY primary_key
bukrs = <fs>–bukrs AND
field2 = <fs>–field2.