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 collect statement?explain with example?
How do you find the menu path for a given transaction in SAP?
What is a match code in sap?
what is the table name of stock of material
why we use matchcode object?without using match codes how we use search helps?
What is the difference between value table and check table?
What are text elements in smartforms ?
What is a multiple line field? : abap bdc
Explain the advantages and disadvantages of different types of bdc's?
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
where do we define LDB to a program ?
What is an interactive report?