Modification Groups on Selection Screens

Assigning a Modication Group on the Selection Screen

Effect

The screen object ( comment , underline, parameter , ...) is assigned to the modification group ( SCREEN-GROUP1). You can use this to modify the screen using AT SELECTION-SCREEN OUTPUT in a report or a PBO routine in the database program SAPDBldb.

You must specify the name of the modification group as a direct value, that is, without inverted commas. It may be up to three characters long.

Example

TABLES SAPLANE. 
... 
SELECT-OPTIONS S_PTYPE FOR SAPLANE-PLANETYPE MODIF ID ABC. 
... 
AT SELECTION-SCREEN OUTPUT. 
LOOP AT SCREEN. 
  IF SCREEN-GROUP1 = 'ABC'. 
	SCREEN-INTENSIFIED = '1'. 
	MODIFY SCREEN. 
  ENDIF. 
ENDLOOP.

All screen objects belonging to the SELECT-OPTION S_PTYPE (text, input fields, pushbuttons) are set to output attribute INTENSIFIED.