‎2007 Mar 22 5:13 PM
Hi all,
Within the selection screen, select-options. Is there a way to make these selec-option not modifyable. l know that in the variant it is possible to param these fields not modifyable. But my need is to make them not modifyable thru the Initialize event.
Regards.
Bob
‎2007 Mar 22 5:17 PM
Hi,
Check this example..
SELECT-OPTIONS: SO_DATE FOR SY-DATUM MODIF ID M1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
Disable for input.
IF SCREEN-GROUP1 = 'M1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Naren
‎2007 Mar 22 5:17 PM
Hi,
Check this example..
SELECT-OPTIONS: SO_DATE FOR SY-DATUM MODIF ID M1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
Disable for input.
IF SCREEN-GROUP1 = 'M1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Naren
‎2007 Mar 22 5:18 PM
bob,
u can try this stmt.
select-options : field for table-field default 'lowvalue' to 'highvalue'.
as well as use validations in the at selection-screen event for the structure screen.
Regards....
Arun.
Reward points if useful.
‎2007 Mar 22 5:18 PM
‎2007 Mar 22 5:19 PM
for every selection screen there will be one internal table. it is <b> screen </b>
check it in dubugging mode.
screen-input = 0
reward all helpfull
regards.
santhosh reddy
Message was edited by:
santhosh reddy
‎2007 Mar 22 5:28 PM
Hi Bob,
SELECT-OPTIONS S_PTYPE FOR SAPLANE-PLANETYPE DEFAULT 'ABC' TO 'XYZ' MODIF ID ABC.
...
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Thanks,
Vinay