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

Using TMVL in logic script

$
0
0

I am passing TIME as "2015.TOTAL" in DM package.

I want to have my *XDIM_MEMBERSET TIME = 2014.12,2014.11,2014.10

 

For that I am using following script:

 

*XDIM_MEMBERSET CATEGORY = Forecast

*SELECT(%YR3%,"[YEAR]",TIME,"[ID]='%TIME_SET%'")

*XDIM_MEMBERSET TIME=TMVL(-1,%YR3%.01),TMVL(-2,%YR3%.01),TMVL(-3,%YR3%.01)

*WHEN ACCOUNT.RE_TYPE

*IS "X"

*REC(FACTOR = 1,ACCOUNT = "100302",FLOW = "F_RES",INTERCO ="I_NONE",AUDITTRAIL="INPUT")

*ENDWHEN

*COMMIT


When we run this in UJKT and validate, the output is as shown below:

 

*XDIM_MEMBERSET CATEGORY = Forecast

*XDIM_MEMBERSET TIME= 2015.01 , 2015.01 , 2015.01 (Desired is 2014.12,2014.11,2014.10)

*WHEN ACCOUNT.RE_TYPE

*IS X

*REC(FACTOR = 1,ACCOUNT = 100302,FLOW = F_RES,INTERCO =I_NONE,AUDITTRAIL=INPUT)

*ENDWHEN

*COMMIT


Viewing all articles
Browse latest Browse all 5414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>