Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the difference between domain and data element?

1004


Advantages and disadvantages of different types of bdc's?

1025


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.

2562


How you attach search help to data element? : sap abap data dictionary

1123


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?

2196


What is a view in sap? : abap data dictionary

1036


Explain the disadvantages of logical databases?

979


What are the 3 types of tables in sap? : abap data dictionary

1096


how to use table control?if suppose i have 6 records and i want more 4 records in sequence.How to handle this scenario?

2034


What are the two ways for restricting the value range for a domain ?

1202


What is meant by authorization? Did you ever work on it? : sap abap hr

941


What are two different ways to add fields to sap tables?

1024


Normally how many and what files get created when a transaction program is written? what is the XXXXXTOP program?

1112


Can we use flow logic control key words in abap/4 and vice-verse?

980


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?

1037