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

selection screen

Former Member
0 Likes
566

in selection screen ihave mention material type default halb to fert. how to assign in selection screen

selection-screen : s_matrt for mara-matrt deafult

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
543

hi Kuamr,

pls. have a look:

INITIALIZATION.

s_matrt-sign = 'I'.

s_matrt-option = 'EQ'.

s_matrt-low = 'FERT'.

s_matrt-high = 'HALB'.

APPEND s_matrt.

hope this helps

5 REPLIES 5
Read only

Former Member
0 Likes
543

under INITIALIZATIOn event you can declare

Read only

Former Member
0 Likes
543

write as :

select-options : s_matrt for mara-mtart default 'halb' to 'zert'.

Read only

JozsefSzikszai
Active Contributor
0 Likes
544

hi Kuamr,

pls. have a look:

INITIALIZATION.

s_matrt-sign = 'I'.

s_matrt-option = 'EQ'.

s_matrt-low = 'FERT'.

s_matrt-high = 'HALB'.

APPEND s_matrt.

hope this helps

Read only

Former Member
0 Likes
543

Hi,

u can do it like these two ways.


TABLES:mara.
select-options : s_matrt for mara-mtart.
INITIALIZATION.

s_matrt-sign = 'I'.
s_matrt-option = 'BT'.
s_matrt-low = 'HALB'.
s_matrt-high = 'FERT'.
APPEND s_matrt.


select-options : s_matrt for mara-mtart default 'halb' to 'fert'.

rgds,

bharat.

Read only

Former Member
0 Likes
543

To assign default values to a selection criterion, you use the following syntax:

SELECT-OPTIONS <seltab> FOR <f> DEFAULT <g> [TO <h>] ....

For your problem, following is the syntax:-

SELECT-OPTIONS : s_matrt FOR mara-mtart DEFAULT 'halb' TO 'fert'.

regards,

preet

reward is useful