Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Screen Select-Options

Former Member
0 Likes
617

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
588

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

5 REPLIES 5
Read only

Former Member
0 Likes
589

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

Read only

Former Member
0 Likes
588

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.

Read only

Former Member
0 Likes
588

Hi!

Check this thread...

Regards

Tamá

Read only

SantoshKallem
Active Contributor
0 Likes
588

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

Read only

Former Member
0 Likes
588

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