Application Development 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: 

range

Former Member
0 Kudos
64

hi,

can you please tell me how to append range in local class??:

MOVE: wa_objects-low TO r_values-low,

wa_objects-high TO r_values-high,

'I' TO wa_range_values-sign,

'EQ' TO wa_range_values-option.

APPEND r_values.

thank you in advance,

Maja

3 REPLIES 3

Former Member
0 Kudos
44

Hi,

In the classes you can't define ranges using RANGES key word, instead you need to use

data r_range TYPE RANGE OF..

so it will create a RANGE TABLE , then you need to create the LINE of this table type using DATA LIKE LINE..

Just check syntaxes by doing F1.

Reward points if useful.

Regards,

Atish

Former Member
0 Kudos
44

hi! suppose u have an internal table....

loop at itab into wa_itab.

wa_itab-sign = range-low.

wa_itab-option = range-option.

wa_itab-low = range-low.

wa_itab-high = rang-high.

clear wa_itab.

endloop.

hope this might help you...

Reward if usefull

Regards,

Mackoy

0 Kudos
44

i forgot the APPEND RANGE...

just add append range before clear wa_itab..