cancel
Showing results for 
Search instead for 
Did you mean: 

BPS TMVL Fonction

Former Member
0 Kudos

Hello,

We have copied a planning function type formula from BW version 3.5 to BW version 7.0.

This function works fine in BW3.5, but we have a problem when we check the code in 7.0 version...

We have put this code:

DATA MONTH TYPE 0CALMONTH.

MONTH = '200012'.

MONTH = TMVL ( MONTH, -1 ).

When we check the code, we have the following message:

<b>'TMVL function only works for time characteristics contained'</b>Message number UPF099.

What can we do to solve our problem ?

Thanks a lot.

Best regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

do you have 0calmonth in the aggregation level?

Former Member
0 Kudos

Hi Brun,

I just checked it because I was curious.

I can only use calyear, but a function like this gives no error message:

DATA JAHR TYPE 0CALYEAR.

JAHR = 2008.

JAHR = TMVL ( JAHR, -1).

maybe those little ' ' around your Month are wrong?

regards

Cornelia