Hi,
I have a program (see below) which has only 1 parameter - the parameter is of a data dictionary type.
The dropdown values on this parameter are as follows:-
'COP' - Copy
'DEL' - Delete
'DIS' - Display
'EDQ' - Lock/Unlock
'INS' - Insert
'LIS9' - Delimit
'MOD' - Change
INSS - Create for action is not converted to change.
Basically I want to grey out some of these parameters so the user is not able to choose them.
I believe there is a 'SELECT_OPTIONS_RESTRICT' function but not sure how to use it.
e.g. from the above selection how woulld I grey out the 'COP' - Copy & 'DEL' - Delete options.
Some code snippet showing how this is done would be appreciated.
Many thanks in advance.
Raj
REPORT Z_TMP_RESTRICT LINE-COUNT 65 LINE-SIZE 132 NO STANDARD PAGE HEADING. * Normal Screen Selection Options PARAMETERS: p_oper TYPE pspar-actio DEFAULT 'DIS'. INITIALIZATION. * Think I have to use the 'SELECT_OPTIONS_RESTRICT' function here? START-OF-SELECTION. Write:/ 'Select option restricted'.