Detail Screen Selection Notes
Procedure
To exclude the current entry from the selection-relevant function, the entry selection must be reset in the user routine before the function (e.g. event 03). The entry must be appropriately marked again after the function (e.g. event 04), so that the user can be shown that this entry has not been processed.
Execution
If the user is in the single screen, the field STATUS-MODE contains the constant value DETAIL_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 current entry is in the header line of EXTRACT and in the field symbols <TABLE1> or <TABLE1_TEXT> for the text table read. The variable contains
NEXTLINE the index of the current entry in the table
The re-setting of the selection flag must be noted in the variable IGNORED_ENTRIES_EXIST for the further flow control.
-
Procedure
READ TABLE TOTAL WITH KEY EXTRACT BINARY SEARCH. <eintrag überprüfen>. MOVE UEBERGEHEN TO <MARK>. MODIFY TOTAL INDEX SY-TABIX. <XMARK> = <MARK>. MODIFY EXTRACT INDEX NEXTLINE. -
Activities after performing the called function
After performing the function, the entry is reset to marked in the standard, and the user is informed of the non-performance of the function by 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 resetting the flag are required, they must be realized in a user routine (e.g. event 04), in which, among other things the skip flag is re-set to marked, and an appropriate message is output. The routine 'MARK_IGNORED_ENTRIES' can do this. It can be called at the end of the EXIT routine. The not-processed entry is in the header entry of the table TOTAL
-
PERFORM MARK_IGNORED_ENTRIES.
Entry existence checks should always use the table TOTAL.