Overview Screen Selection Notes
Procedure
To exclude certain marked entries from selection-relevant functions, the entry selection must be reset in the user routine before the function (e.g. event 03). The entries must be marked again after the function (e.g. event 04) to tell the user that these entries were not processed.
Execution
If the user is in the overview screen, the field STATUS-MODE contains the constant value LIST_BILD.
-
Activities before performing the function called The selection flag of the table record <MARK> or
<XMARK>) must be given the constant value UEBERGEHEN (skip) in the individual routine before the function The selection flag reset should be noted in the variables.
IGNORED_ENTRIES_EXIST for further processing.
-
Procedure
LOOP AT EXTRACT. <eintrag überprüfen>. IF <nicht prozessierbar> <ggffs. HyperLink: TX.SM30_EXIT_IGNORE IGNORED_ENTRIES_EXIST v> = 'X'. setzen> MOVE UEBERGEHEN TO <XMARK>. READ TABLE TOTAL WITH KEY <VIM_EXTRACT_KEY> BINARY SEARCH. MOVE UEBERGEHEN TO <MARK>. MODIFY TOTAL INDEX SY-TABIX. MODIFY EXTRACT. endif. ENDLOOP. -
Activities after performing the called function
After performing the function, the entries with the skip flag are re-set to 'marked' in the standard and the user is informed of the non-processing of the function in a message. If this is the only activity after the event, no user EXIT routine is required, provided the variable IGNORED_ENTRIES_EXIST was correctly set.
If other activities than re-setting the selection are required, they must be realized 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.
-
Procedure
LOOP AT TOTAL. CHECK <MARK> EQ UEBERGEHEN. <eigene Aktionen> ENDLOOP. PERFORM MARK_IGNORED_ENTRIES CHANGING NUMBER. <eigene Aktionen>NUMBER is of type I and contains the number of records skipped.