on 10-11-2005 3:13 PM
Dear all,
I'm using global variables (i.e. defined in planning area)in my FOX formulas by using VARV-command.
I'm doing this for fiscal year, which has default value current year. However I'd like to use this variable also for next year thus creating the following code:
DATA CURYEAR TYPE 0FISCYEAR.
DATA NEXTYEAR TYPE 0FISCYEAR.
CURYEAR = VARV(Z021VA01).
NEXTYEAR = CURYEAR+1.
This gives a syntax error. Anabody any idea how I can use offset in the FOX for my variables?
Thanks in advance!
Kind regards, Harjan
if u use
NEXTYEAR = CURYEAR + 0001.
This should work.
NS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harjan,
Unfortunately you can not use offsets in the FOX formula. The only solutions is to find a good ABAP developper to create a routine!
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.