Application Development 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: 

Select Option Help

Former Member
0 Kudos

hi experts,

i need to make my select option LOW inactive and user should not edit ..

5 REPLIES 5

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

Very basic question. Check F1 help on LOOP AT SCREEN/MODIFY SCREEN and the event AT SELECTION-SCREEN OUTPUT.

Thanks,

Vinod.

Former Member
0 Kudos

Hi,

Try this logic

at selection-screen output.

loop at screen .

if screen-name = 's_low'.

screen-input = 0.

endif.

modify screen.

endloop

hope it helps you.

Preetham

Former Member
0 Kudos

Check the below code.

REPORT  zaatest.

DATA: v_matnr TYPE matnr.

SELECT-OPTIONS: s_matnr FOR v_matnr.

INITIALIZATION.

  s_matnr-low = '000031'.
  APPEND s_matnr.


  LOOP AT SCREEN.
    IF screen-name = 'S_MATNR-LOW'.
      screen-input = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Former Member
0 Kudos

HI,

Please try the below code.

DATA: w_matnr TYPE matnr.

SELECT-OPTIONS: s_matnr FOR v_matnr.

INITIALIZATION.

LOOP AT SCREEN.

IF screen-name = 'S_MATNR-LOW'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Thanks,

Mrinmoy

Former Member
0 Kudos

Moderator message - Please do not ask or answer basic questions - thread locked Rob