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

Former Member
0 Likes
495

hi,

i want to set default range for material in my select-options s_matnr.

range for both <b>equal to</b> and <b>not equal to</b>.

what shoud i write in INITIALIZATION event.

thanks

raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
472

Suppose you want to set the default range is 100 to 500.

INITIALIZATION.

s_matnr-low = '100'.

s_matnr-high = '500'

4 REPLIES 4
Read only

Former Member
0 Likes
473

Suppose you want to set the default range is 100 to 500.

INITIALIZATION.

s_matnr-low = '100'.

s_matnr-high = '500'

Read only

0 Likes
472

hi,

at a time u can set onlu eq or ne.

chk out this:

initialization.

s_matnr-sign = 'EQ'. or 'NE'.

s_matnr-low = '111'.

s_matnr-high = '333'.

Read only

0 Likes
472

Hei, ignore my previous mail.

the following will work:

REPORT ztest1 .

tables: mara.

select-options: s_matnr for mara-matnr.

INITIALIZATION.
s_matnr-low = '100'.
s_matnr-high = '500' .
s_matnr-SIGN = 'I'.
s_matnr-OPTION = 'EQ'.

  APPEND s_matnr.

Read only

Former Member
0 Likes
472

thanks