Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9041

Re: BPC 7.5 Script Logic - If / Then logic

$
0
0

We have a couple of examples

1) during our Plan time we need to run with Prior year and current year

 

 

//***************************during spring plan you must add in section TIME=LU-TIME.PRYEAR****************************************

 

*DESTINATION_APP = REPORTING

 

*ADD_DIM DATASRCRPT=DS_PROXY, VERSIONCOMP=VCNONE, ACCTRPT=A_INTMKTCOVSPND

 

*RENAME_DIM CMACCT=PROFIT_HIER, FIN=FINRPT, CMDATASRC=RAW_OWNER

 

*WHEN FIN

 

*IS *

 

*REC(EXPRESSION=%VALUE%,CMACCT=FIN.RPTFIN_ID,CMDATASRC=CMRAW.RPTRAW,FIN=FIN.RPTFIN)

 

*ENDWHEN

 

 

2) We have sections of code that should be run during PLAN but it slows down the job normally so only should run during that time

 

 

//*************************

 

//for 2 weeks for vol refresh - can always stay, but can slow things down

 

//okay to have both CSL Y and N since we are not pushing in CSL

 

//*************************

 

//During spring plan and volume refresh for the 2 weeks you need to also inclide DS_INPUT then turn off once we are done

 

*XDIM_MEMBERSET CURRENCY=USD

 

*XDIM_MEMBERSET CMACCT=A_INTMKTCOVSPND

 

*XDIM_MEMBERSET CMDATASRC=DS_INPUT

 

*XDIM_MEMBERSET VERSIONBASE=%CURR_VERSION%

 

*XDIM_MEMBERSET TIME= %CUR_PERIOD%

 

*XDIM_MAXMEMBERS TIME=1

 

*XDIM_MEMBERSET FIN=%FINSC%

 

*XDIM_MEMBERSET CMRAW=%CSL_REL_ALL%

 

//*************************

 

//ONLY AT SPRING PLAN AND VOLUME REFRESH - Comment back - 09/09/2014

 

//*************************

 

*DESTINATION_APP = REPORTING

 

*ADD_DIM DATASRCRPT=DS_CMFEED, VERSIONCOMP=VCNONE, ACCTRPT=A_INTMKTCOVSPND

 

*RENAME_DIM CMACCT=PROFIT_HIER, FIN=FINRPT, CMDATASRC=RAW_OWNER

 

*WHEN FIN

 

*IS *

 

*REC(EXPRESSION=%VALUE%,CMACCT=FIN.RPTFIN_ID,CMDATASRC=CMRAW.RPTRAW,FIN=FIN.RPTFIN)

 

*ENDWHEN

 

 

 

 

Thank you

 


Viewing all articles
Browse latest Browse all 9041

Trending Articles



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