07-02-2007 8:41 AM
hello gurus,
i need help abt diff in parameters and select-options.
regards amit
07-02-2007 8:45 AM
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
.
07-02-2007 8:43 AM
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
07-02-2007 8:45 AM
hI,
PLZ GO THROUGH THE BELOW LINKS
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
REGARDS,
Nagaraj
07-02-2007 8:45 AM
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
.
07-02-2007 8:47 AM
07-02-2007 8:51 AM
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
07-02-2007 8:53 AM
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
07-02-2007 8:55 AM
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