To exclude specified selected entries from the selection-relevant function, the entries must be deselected in the individual routine before the function (e.g. event 03). The entries must be reselected after the function (e.g. event 04), to show the user that these entries were not processed.
If the user is in the overview screen, theSTATUS-MODE field contains the constant LIST_BILD.
The entries with skip flag are reset to 'Selected' in the standard after performing the function, and the user is informed by message that the function was not performed. If this is the only activity after the event, no user EXIT routine is required, if the variable IGNORED_ENTRIES_EXIST has been set.
If other activities than resetting the selections are required, they must be performed in a user routine (e.g. event 04). This routine must convert the skip flag back into a selection and send a message. The routine 'MARK_IGNORED_ENTRIES' can do this. It can be called at the end of the EXIT routine.
LOOP AT TOTAL.
CHECK <MARK> EQ UEBERGEHEN.
PERFORM MARK_IGNORED_ENTRIES CHANGING NUMBER.
NUMBER is of type I and contains the number of records skipped.
Use the internal table
Entry existence checks should always use the tableTOTAL.