06-04-2009 2:02 PM
Ok,
This should be a quick one...
I have the following selection in the code:
SELECT LOW SIGN OPTI FROM TVARVC INTO
(L_S_RANGE-HIGH, L_S_RANGE-SIGN, L_S_RANGE-OPT)
WHERE NAME = 'ZIP_PPER_CUR' "in TVARVC
AND TYPE = 'S'.
ENDSELECT.
So I read the LOW -value from the TVARVC-table into a value for L_S_RANGE-HIGH
The question is: How can I use offset for the value stored in L_S_RANGE_HIGH?
The value stored is type 0fiscper: 0062009
And I'd like to append 0052009 into e_t_range.
How do I do this? I tried to use another variable in the midle but it didn't seem to work.
I'm in a real hurry with this, maximum points will be assigned for the one who helps!
-m-
06-04-2009 2:10 PM
HI,
If its date field then try this FM
FKK_DTE_ADD_MONTH
feel free to ask if any doubt.
Regards,
Vijay
06-04-2009 2:55 PM
Yes it is a date.
To be exact it is type fiscper (2009006).
I don't want to do anything too complicated.
I want just to read a value from TVARVC-table (where we store dates) into a value for L_S_RANGE-HIGH
and then manipulate the value stored in L_S_RANGE-HIGH by using offset to go back one month: 2009006 --> 2009005
Should be simple?
I tried to store the value temporarily into another variable, use offset and then store it back into L_S_RANGE-HIGH but it didn't work.
-m-
06-04-2009 3:56 PM