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

Updating Script Logic EPM 10 NW to include movement types for Opening Balances

$
0
0

Hello Everyone,

I have been asked to update 3 script logic files in EPM 10 NW, SP 13. I am to include a specific movement type (type 100) for the opening balances for the first period of each year. I haven't worked with EPM 10 on the NW stack that much and I am not sure how to update the logic files to give the correct answers. I am attaching a copy of the request with a sample of the outcome they would like to see after running the logic files. I don't know if I should just add it in as a another XDim_Memberset or should I add it to the rec statement or create a new rec statement. If someone could help me figure out what I am supposed to do and how to write the code I would greatly appreciate it.

 

This is the 1st script logic that I am to update it is the copy actuals script logic

 

//*SELECT(%MONTHS%,"[ID]","TIME","[ACTUAL] = 'A’")

*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
*XDIM_MEMBERSET PROFITCENTER = %PROFITCENTER_SET%
//*XDIM_MEMBERSET TIME = %MONTHS%
*XDIM_MEMBERSET TIME = %TIME_SET%

//*FOR %TIME% = %MONTHS%

*FOR %TIME% = %TIME_SET%

*WHEN ACCOUNT
*IS BAS(10007), BAS(100099)
*WHEN TIME
*IS = TMVL(-1,%TIME%)


*REC(FACTOR = 1, FLOW = Opening, AUDITTRAIL = Calc_OB, TIME = %TIME%)
*ENDWHEN
*ENDWHEN

*NEXT

 

This is the 2nd script logic that I am to update it is the copy opening history logic

 

//*SELECT(%CURRCAT%,"[ID]","CATEGORY","[CCAT] = 'Y'")
*SELECT(%MONTHS%,"[ID]","TIME","[ACTUAL] = 'P’,'A'")

*XDIM_MEMBERSET RPTCURRENCY = LC
//*XDIM_MEMBERSET PROFITCENTER = %PROFITCENTER_SET%
//*XDIM_MEMBERSET TIME = %MONTHS%
*XDIM_MEMBERSET TIME = BAS(2013.TOTAL),BAS(2014.TOTAL),BAS(2015.TOTAL),BAS(2016.TOTAL)
*XDIM_MEMBERSET CATEGORY = 2013_LE2

*FOR %TIME% = %MONTHS%

*WHEN ACCOUNT
*IS BAS(10007), BAS(100099)
*WHEN TIME
*IS = TMVL(-1,%TIME%)


*REC(FACTOR = 1, FLOW = Opening, AUDITTRAIL = Calc_OB, TIME = %TIME%)
*ENDWHEN
*ENDWHEN

*NEXT

 

This is the 3rd script logic copy opening plan

 

*SELECT(%CURRCAT%,"[ID]","CATEGORY","[CCAT] = 'Y'")
*SELECT(%MONTHS%,"[ID]","TIME","[ACTUAL] = 'P’")

*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET PROFITCENTER = %PROFITCENTER_SET%
*XDIM_MEMBERSET TIME = %MONTHS%
*XDIM_MEMBERSET CATEGORY = %CATEGORY%

*FOR %TIME% = %MONTHS%

*WHEN ACCOUNT
*IS BAS(10007), BAS(100099)
*WHEN TIME
*IS = TMVL(-1,%TIME%)


*REC(FACTOR = 1, FLOW = Opening, AUDITTRAIL = Calc_OB, TIME = %TIME%)
*ENDWHEN
*ENDWHEN

*NEXT

 

 

Thanks,

Eleasha


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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