Populating ranges

Question:
RANGES: r_fiscal FOR mkpf-mjahr.
What is the difference between using:
s_fiscal-sign = 'I'.
s_fiscal-option = 'EQ'.
s_fiscal-low = '2002'.
APPEND s_fiscal TO r_fiscal.
s_fiscal-low = '2003'.
APPEND s_fiscal TO r_fiscal.
and
s_fiscal-sign = 'I'.
s_fiscal-option = 'EQ'.
s_fiscal-low = '2002'.
s_fiscal-high = '2003'.
APPEND s_fiscal TO r_fiscal.
Which is the better usage?
Thanks
Answer:
The second example will not work for '2003'. Use the first example or change 'EQ' to 'BT' (gets everything between 2002 and 2003).
Robert Crouser
Answer:
Oh sorry, that was a typo..In the second case, I meant 'BT'..So, are they the same?
Answer:
In effect, yes, since in a 4-character field you can't have a 2002.1 , 2002.2, 2002.5, etc

More Articles:

Call method CL_GUI_FRONTEND_SERVICES?
Passing data to a user exits?
Whether the following is the whole method for data transfer?
Error handling?
Problem loading an internal table to an Excel spreadsheet?
How do I calculate the length of a string.?