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

Events that can be used in both the classical and interactive reports

1557


How is conversion of data types done between abap/4 & db layer?

1125


Can we reuse a userexit?

1434


What do you understand by work area and internal tables in abap? Why do we use it?

1047


When you prefer lsmw?

974


How to write a bdc – how do you go about it?

1108


How to create any functions?

977


What is an abap?

956


What is the function of the correction system? : abap data dictionary

1010


What are the differences between a database index and a match code? : abap data dictionary

1162


What are the page headers for secondary lists?

986


Which infotype records can not be deleted ? : abap hr

1040


What is the collect statement?

1087


What are null values?

949


What are the basic functions of database utility?

1108