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

Select Option Help

Former Member
0 Likes
662

hi experts,

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

5 REPLIES 5
Read only

vinod_vemuru2
Active Contributor
0 Likes
627

Hi,

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

Thanks,

Vinod.

Read only

Former Member
0 Likes
627

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

Read only

Former Member
0 Likes
627

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.

Read only

Former Member
0 Likes
627

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

Read only

Former Member
0 Likes
627

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