whats the difference between range & select-option??
Answer / parthan_feb25
mainly Select-options is used for selection screen..
where as ranges is used inside the program..
Ranges cannot visible in selection screen
Functionality wise there is no difference except SELECT-
OPTIONS are visible in the selection screen while Ranges
are not visible.
Both have same structure.
One restriction in Ranges is u can't use Range in Select
query if it has more than 2000 entries.
Ranges are used just like we use temporary internal tables.
eg: If u want to check for say 10 ranges in select query
for some field which is not there in ur selection screen
then u will populate the ranges and use it in the select
query. Syntax will remain same as select option.
RANGES: r_vbeln FOR vbak-vbeln.
r_range-sign = 'I'.
r_range-option = 'BT'.
r_range-low = 123.
r_range-high = 321.
APPEND r_range.
like this append all the ranges u want.
SELECT field list FROm vbak INTO TABLE i_vbak
WHERE vbeln IN r_vbeln.
Is This Answer Correct ? | 23 Yes | 4 No |
What is a data class? : abap data dictionary
In order to upload purchase order details, how you handle multiple values for a single field?
how to see the last updated record in a table?
Explain the advantages of different types of bdc's?
Give me the Full flow of SD and MM
What are the objects of the abap dictionary or what types of objects can be created in the abap dictionary? : abap data dictionary
Among "Move" and "Move Corresponding", which is efficient one and why ?
Which transaction code can I used to analyze the performance of ABAP program.?
What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary
What are the exact sequences in which the reporting events trigger.I mean starting from 1st to last.And how many times we can use At-Selection screen or Start-of-selection in a report??
how many types of interfaces are there in abap ?
Why do we use dynamic where conditions?