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

Declaring values

Former Member
0 Likes
451

How to declare a field in the selection screen as single value, ranges or multiple values

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
422

Hi,

Its very Basic Question.

For single values use-Parameters:p_int type i.

For ranges use Select-options:s_matnr for mara-matnr NO-EXTENSION.

For multilple values same as Ranges just remove the NO-EXTENSION.

3 REPLIES 3
Read only

Former Member
0 Likes
422

Take a look at the SAP help.

Read only

Former Member
0 Likes
422

Hi,

To declare a single value you have to use PARAMETER and for defining a range you have to define SELECT-OPTION.

For example:

parameters:
p_matnr type mara-matnr.

select-options:
s_matnr for mara-matnr.

Thanks & Regards,

Navneeth K.

Read only

Former Member
0 Likes
423

Hi,

Its very Basic Question.

For single values use-Parameters:p_int type i.

For ranges use Select-options:s_matnr for mara-matnr NO-EXTENSION.

For multilple values same as Ranges just remove the NO-EXTENSION.