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

Default value for select-options

Former Member
0 Likes
497

How to give more than one default value for a select-option field which has no intervals?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
454

Hi,

Try like this....

select-options:s_matnr for mara-matnr default '10' to '20'.

Reward if helpful.

3 REPLIES 3
Read only

pavel_parshenkov2
Participant
0 Likes
454

Hi,

1) first way:

create system variant for your programs.

(se38 variant with prefix name 'CUS&' )

in this variant fill selection-options with your default values.

create transaction (se93) for your report with this variant.

2) second way:

in INITIALIZATION event.

add code:

s_value-opti = 'EQ'.

s_value-sign = 'I'.

s_value-low = 'value1'.

append s_value.

s_value-low = 'value2'.

append s_value.

Best regards.

Read only

Former Member
0 Likes
455

Hi,

Try like this....

select-options:s_matnr for mara-matnr default '10' to '20'.

Reward if helpful.

Read only

Former Member
0 Likes
454

U can give it in Initialization ..

INITIALIZATION.

s_pernr-sign = 'I'.

s_pernr-option = 'EQ'.

s_pernr-low = '10000000'.

append s_pernr.

s_pernr-low = '10000001'.

append s_pernr.