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 difference between domain and data element?
Advantages and disadvantages of different types of bdc's?
when run my program in se38 it was showing output, when i take background execution and giving printer details it was shoing out put. but in SP01 when i give the Spool Request Number it was showing not yet processed entire page why it happens i dont know please give me a solution.
How you attach search help to data element? : sap abap data dictionary
i have executed a report via back ground job, in this report i have used enqueue and dequeue function modules on a table, but before releasing the lock(before dequeue function module is not call) job gives the dump, so the lock is not released the table, here my question is how to set the lock automatically release the there is a short dump before calling the dequeue module?
What is a view in sap? : abap data dictionary
Explain the disadvantages of logical databases?
What are the 3 types of tables in sap? : abap data dictionary
how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?
What are the two ways for restricting the value range for a domain ?
What is meant by authorization? Did you ever work on it? : sap abap hr
What are two different ways to add fields to sap tables?
Normally how many and what files get created when a transaction program is written? what is the XXXXXTOP program?
Can we use flow logic control key words in abap/4 and vice-verse?
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?