2007 Jul 25 7:40 AM
What is the difference between Range & Select option.
2007 Jul 25 7:42 AM
Hi,
Check this link..
http://www.sap-img.com/abap/difference-between-select-options-ranges.htm
reward if it helps..
Regards,
Omkar.
2007 Jul 25 7:43 AM
Hi Dilip,
Range - It would give you values BETWEEN two entries made.
Select-Options - Here you can restrict with Individual values also. You can INCLUE, EXCLUDE single values.
<b><i>Reward points for useful answers.</i></b>
Best Regards,
Ram.
2007 Jul 25 7:45 AM
2007 Jul 25 7:45 AM
Hi,
Only difference b/w Range and Select-option is, if you are using Select-Option, the user can enter the value at the selection screen, however with Range option, it will not come to the selection screen but the value will be hard coded in the code itself.
check out this link
http://www.sap-img.com/abap/difference-between-select-options-ranges.htm
<b>Rewrd points</b>
Regards
2007 Jul 25 7:48 AM
Hi,
Both r same
except select-options provide an interface on selection screen for user to input data.
Reward if helpful,
pritha
2007 Jul 25 8:00 AM
SELECT-OPTIONS :-----This will create a internal table implicitly.The values you enter on selection screen are automatically passed to that internal table.
Example :----
SELECT-OPTIONS : s_vbeln for vbak-vbeln.
An internal table is created with name <b>s_vbeln</b> implicitly,with 4 fields
<b>1)High,2)Low,3)sign,4)Options. </b>
<b>RANGES</b> :------> This will not create a internal table and you have to create it explicitly, inorder to accept the values which you enter in selection screen.
eg: ---> <b>RANGES</b> r_vbeln for vbak-vbeln.
Here you need to create a internal table with name <b>r_vbel</b>n with 4 fields as above.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |