whats the difference between range & select-option??
Answer Posted / 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 |
Post New Answer View All Answers
Explain the disadvantage of using exec sql statement in abap?
What are the different types of mode (run code) in call transaction method?
Explain what is the difference between primary key and unique key?
What is occurs in internal table?
What is get cursor field?
What is an rdbms?
What is alv programming in abap? When is this grid used in abap? : abap hr
10) How to get Item Header in Sales Order?
What is IMG in SAP?
Have you worked with support? How ticket comes to you? What were the timings for resolving tickets types of severity?
How we format the data before writing a statement in the report?
What are the differences between se01, se09 and se10?
What are the contents in technical specifications?
What is an update type with reference to a match code id?
What are the data types of internal tables?