2006 Dec 07 11:38 AM
Hi,
Can you send me the differences between select-options and Ranges
Thanks in advance
Hi,
Can you send me the differences between select-options and Ranges
Thanks in advance
2006 Dec 07 11:40 AM
Here both SELECT-OPTIONS & RANGES works for the same purpose. They both are used for the range selection from selection screen. The main diff. between them is, while we use SELECT-OPTIONS system implicitly creates the select options internal table which contains the fields of SIGN,OPTION,LOW & HIGH. But in case of RANGES, this internal table should be defined explicitly.
The difference is, because ranges doesn't show on the selection screen, you will have to fill it yourself, meaning you will have to fill fields sign, option, low & high all manually.
Best Regards,
Vibha
*Please mark all the helpful answers
2006 Dec 07 11:43 AM
Hi Raja ,
Select option is same as ranges .
The only diff i can say is select-options is used in selection screen where as ranges can be created in your program and then used for further processing.
You can define a range in your program in this was
data : r_matnr type range of matnr.
Regards
Arun
2006 Dec 07 11:46 AM
2006 Dec 07 11:46 AM
chk this wiki FAQ from SDN
How are RANGES different from SELECT-OPTIONS?
They are the same, except SELECT-OPTIONS will provide an interface
on the selection screen for the user to input data.
also chk this link for more of them
https://www.sdn.sap.com/irj/sdn/wiki
Message was edited by:
chandrasekhar jagarlamudi
2006 Dec 07 11:47 AM
Hi,
SELECT-OPTIONS: Declare an internal table that is also linked to input fields on a selection screen
RANGES: Declare an internal table with the same structure as in select-options, but without linking it to a selection screen.
FOR FURTHER DOCUMENTATION PLEASE GO THROUGH THE LINK
Difference Between Select-Options & Ranges
Statical Declaration
Selection tables
Regards,
pankaj singh.
reward if helpful
2006 Dec 07 11:48 AM
links
http://72.14.203.104/search?q=cache:btyoj86smhEJ:www.sap-img.com/abap/difference-between-select-opti...Select-optionsandrangesIN+ABAP&hl=en&gl=in&ct=clnk&cd=1
http://www.sap-img.com/abap/difference-between-select-options-ranges.htm
2006 Dec 07 11:50 AM
Hi,
Please check the link http://www.sap-img.com/abap/difference-between-select-options-ranges.htm
Regards,
Hema.
2006 Dec 07 11:51 AM
Hi Raja Reddy,
There is no difference between SELECT-OPTIONS and RANGES in functionality wise.
Generally SELECT-OPTIONS keyword related with SELECTION-SCREEN and RANGES Keyword related with Program and Function modules.
Regards
Bhupal Reddy