Quantcast
Channel: SCN : Discussion List - SAP Planning and Consolidation, version for SAP NetWeaver
Viewing all articles
Browse latest Browse all 5414

Usage of TMVL in scoping

$
0
0

Hi team,

 

 

We need to scope last 15 months for Time dimension and copy the data to new version.

 

The problem is we are unable to scope 15 months data. We dont have any specific property which identifies the last 15 months.

User doesnt want to change the Dimension.

We then tried using TMVL function as below. 

 

2014.01- base member of TIME dimension

 

*SELECT(%LAST_PER%,"ID",TIME,"ID=TMVL(-15,2014.01)

*SELECT(%HIST_PERS%,"[ID]",TIME,"[ID]>= %LAST_PER% AND [ID]<= 2014.01")

*XDIM_MEMBERSET VERSION = ACTUAL

*XDIM_MEMBERSET TIME_PERIOD = %HIST_PER%

 

*WHEN VERSION

*IS "ACTUAL"

*REC(EXPRESSION = %VALUE%, VERSION="FY15_P08")

*ENDWHEN

 

 

LGX OUTPUT

 

#dim_memberset=1

VERSION:ACTUAL,1 in total.

 

REC :%VALUE%

 

CALCULATION BEGIN:

QUERY PROCESSING DATA

QUERY TIME : 0.00 ms. 107  RECORDS QUERIED OUT.

QUERY REFERENCE DATA

CALCULATION TIME IN TOTAL :0.00 ms.

107  RECORDS ARE GENERATED.

CALCULATION END.

 

 

TIME scoping is not considered at all, Only Version scoping is taken.

Is there a way to scope TIME dimension with old periods.

 

We are on BPC 10.1 Classic model on HANA data base.

 

Thanks in advance


Viewing all articles
Browse latest Browse all 5414

Trending Articles