Skip to Content
0
Former Member
Mar 29, 2010 at 09:12 PM

BI IP - Planning Function Type Formula Error "Characteristic not Supported"

83 Views

Hi all,

I have created a planning function type formula with very simple code. The code was copied from SAP Library and FISCPER was replaced with 0CALDAY. I continue to get an error 'Characteristic 0CALDAY is not supported".

The characteristic 0CALDAY is in the Infoprovider and the aggregation level. I have tried 'To Characteristic Usage' with both changed and in condition.

DATA D1 TYPE D.

DATA D2 TYPE D.

DATA I1 TYPE I.

DATA I2 TYPE I.

DATA CALDAY TYPE 0CALDAY.

FOREACH CALDAY.

  • CALCULATE 1ST DAY OF ZCALEND

D1 = C2DATE( CALDAY, S ).

  • CALCULATE LAST DAY OF CALDAY

D2 = C2DATE( CALDAY, E ).

  • CALCULATE THE DIFFERENCE BETWEEN LAST AND 1ST DAY MINUS TWO DAYS

I2 = 2.

I1 = D2 - D1 - I2.

MESSAGE I001(UPF) WITH 'DIFFERENCE' I1.

ENDFOR.

Thank you in advance for any help.

Teri