2007 Jul 06 2:38 PM
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
2007 Jul 06 2:44 PM
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
2007 Jul 06 2:46 PM
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
2007 Jul 06 2:54 PM
i forgot the APPEND RANGE...
just add append range before clear wa_itab..