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-OPTIONS

Former Member
0 Kudos

Hi EXPERTS !

in SELECT-OPTIONS after enterning value int SELECT-OPTIONS s_matnr it should come in gray ie than user go to second SELECT-OPTIONS s_matnr1 and enter value into it .

plz help me in this .

thanks

1 REPLY 1

prasanth_kasturi
Active Contributor
0 Kudos

Hi,

check this code

after entering values in s_matnr if we press enter it will be grayed out

tables : mara.

SELECT-OPTIONS : s_matnr for mara-matnr MODIF ID m,

s_matnr1 for mara-matnr MODIF ID m1.

AT SELECTION-SCREEN OUTPUT.

if not s_matnr is initial.

loop at screen.

if screen-group1 = 'M'.

screen-input = 0.

modify screen.

endif.

  • if not s_matnr1 is initial.

  • loop at screen.

  • if screen-group1 = 'M1'.

  • screen-input = 0.

  • modify screen.

  • endif.

  • endloop.

  • endif.

regards

prasanth

endloop.

endif.