Skip to Content
0
Former Member
Jul 19, 2007 at 03:11 PM

Access to time char with TMVL in FOX is not working with offset other than0

132 Views

Hi,

In the FOX Planning function, TMVL is not working as desired if we give any other offset other than 0.

Could you pls guide.

  • Sample Code *************

DATA PFROM TYPE ZPERSTRT.

DATA PTO TYPE ZPEREND.

PFROM = OBJV().

PTO = OBJV().

MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM.

MESSAGE I000(ZSEM) WITH 'PTO1' PTO.

PTO = TMVL(PFROM, 3).

MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM.

MESSAGE I000(ZSEM) WITH 'PTO2' PTO.

  • Sample Code *************

  • Output *************

S:ZSEM:000 PFROM1 2007001

S:ZSEM:000 PTO1 2007012

Error in function TMVL for value 0000000 and offset 3

S:ZSEM:000 PFROM2 2007001

S:ZSEM:000 PTO2 0000000

  • Output *************

Does Fiscal Year Variant plays any role here. If so how do we control this increment or decrement of the Fiscal Year Period.

Regards,

Durga

Message was edited by:

Durga BW