Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Ranges

Former Member
0 Likes
682

What is the use of " RANGES s_carrid1 FOR spfli-carrid" .

6 REPLIES 6
Read only

Former Member
Read only

Former Member
0 Likes
654

Hi,

ranges is also useful for giving the selections.these are same as like select-options.but the diff is ranges will not create an internal table internally like select-options.

rgds,

bharat.

Read only

Former Member
0 Likes
654

this is just the declaration similar to select option

this will store the values for carrid

s_carrid1-sign = 'I'.
s_carrid1-option = 'BT'.
s_carrid1-low = '100'.
s_carrid1-high = '1000'.
append s_carrid1.

Read only

Former Member
0 Likes
654

Hi

It is used to group a range of values into an internal table like thing, which is created similar to the selection table when we decalre select0options on the selection screen

the selection table consiist of the field SIGN,OPTION,LOW and HIGH fields

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
654

hi,

it consists of range of values cassid..

select-options contains the same but select-options does the user interactions, gives a screen to enter the values.

but ranges does not..

Ranges contains the values (low--high) , when used get all the values b/w low and high values given and present in DB..

rewards if useful..

regards,

nazeer

Read only

Former Member
0 Likes
654

ranges are just like select-options but select options are appearing in selection screen and user can give the input to it during run time. but ranges are not appearing in the selection screen so programmers has to fill the data for ranges. you can use ranges like select-option in your select query also ( with IN operator).

regards

shiba dutta