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: 

Declaring values

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

Former Member
0 Kudos

Take a look at the SAP help.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.