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: 

select-options and parameters

Former Member
0 Kudos

hi,

In How many ways we can define select-options and parameters.

4 REPLIES 4

Former Member
0 Kudos

PARAMETERS for single fields

SELECT-OPTIONS for complex selections

Check this link for defining Parameters and select options

http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba68335c111d1829f0000e829fbfe/content.htm

Regards,

Maha

Former Member
0 Kudos

hi uday,

Usually we use PARAMETERS for single value input and

SELECT-OPTIONS is used to give a range of input values for a single field

SELECT-OPTIONS implicitly consists of internal table with fields

OPTIONS

LOW

HIGH

SIGN

eg:

DATA: G_VBELN TYPE VBAK-VBELN.

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.

PARAMETERS : P_VBELN LIKE VBAK-VBELN.

SELECT-OPTIONS: S_VBELN FOR G_VBELN.

SELECTION-SCREEN END OF BLOCK B1.

o/p:

P_VBELN: _________________.

S_VBELN:___________ TO ____________.

reward if helpful

regards.

shashikanth naram.

Former Member
0 Kudos

Former Member
0 Kudos

Hi uday Kiran,

There is only one method to define SELECT-OPTIONS but there is two methods are available to define PARAMETERS.

SELECT-OPTIONS:

TABLES:MARA

SELECT-OPTIONS: S_MATNR FOR MARA-MATNR.

PARAMETERS:

TABLES:MARA

1.PARAMETES : S_MATNR TYPE MATNR.

2.SELECT-OPTIONS: S_MATNR FOR MARA-MATNR NO-EXTENSION NO INTERVALS.

Reward points if helpful.

Kiran Kumar.G.A

Have a Nice Day..