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: 

diffrence bt parametres and select-options.

former_member181995
Active Contributor
0 Kudos

hello gurus,

i need help abt diff in parameters and select-options.

regards amit

1 ACCEPTED SOLUTION

0 Kudos

Hi,

For PARAMETERS you can force VALUE CHECK aginst the check table.

For SELECT-OPTIONS its not possble.

SELECT-OPTIONS can be used in SELECT QUERIES with "IN" where as parameters cannot be used.

SELECT-OPTIONS gives you an internal table which you can use as a RANGE table where as PARAMTERS Is jsut one filed.

SELECT-OPTIONS needs FOR(Need a TABLES statement) where as PARAMETERS are TYPED to some global or local data.

PARAMTERS are one type which can be used to represent CHECKBOX, RADIOBUTTON ad DROPDOWN which is not possible for SELECT-OPTIONS.

Regards,

Sesh

.

7 REPLIES 7

gopi_narendra
Active Contributor
0 Kudos

Parameter is just a single value for ex: 24 (just one value)

Select Options is a range of values ie for ex :1 to 100 (100 Values)

PARAMETERS     : p_kunnr  LIKE kna1-kunnr.
SELECT-OPTIONS : so_kunnr FOR  kna1-kunnr.

Regards

Gopi

0 Kudos

Hi,

For PARAMETERS you can force VALUE CHECK aginst the check table.

For SELECT-OPTIONS its not possble.

SELECT-OPTIONS can be used in SELECT QUERIES with "IN" where as parameters cannot be used.

SELECT-OPTIONS gives you an internal table which you can use as a RANGE table where as PARAMTERS Is jsut one filed.

SELECT-OPTIONS needs FOR(Need a TABLES statement) where as PARAMETERS are TYPED to some global or local data.

PARAMTERS are one type which can be used to represent CHECKBOX, RADIOBUTTON ad DROPDOWN which is not possible for SELECT-OPTIONS.

Regards,

Sesh

.

Former Member
0 Kudos

Regards,

Santosh

Former Member
0 Kudos

HI

Parameter:we can give only one one value

salection option::we can give ranges.it act as table.

PARAMETERS : p_ebeln LIKE ekko-ebeln.

SELECT-OPTIONS : s_ebeln FOR ekko-ebeln.

http://www.sap-basis-abap.com/abap/difference-between-select-options-and-parameters.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba66935c111d1829f0000e829fbfe/content.htm

Reward all helpfull answers.

Regards.

Jay

Former Member
0 Kudos

hi,

parameters: used for giving input [single value]

can make as amndatory one.

default option used is EQ

select-options: used to give a range of i/p values.

select-options can be made as a parameter and wise versa isn't possible.

internally uses concept of internal table for sleelct-options.

it has 4 parameters HIGH, SIGN, LOW, OPTION.

if nothing is gievn then it displays all values for the input as default comaprison option is BT.

if useful reward some points.

with regards,

SURESH.A

Former Member
0 Kudos

Hi Amit

Parameters:

In parameters you can give single input.

Select options:

in selct options you can give multiple inputs like Range of inputs.

if its useful reward points.

Thanks

senthil