Dear All
I am trying to call a logic script for top down allocation. For which there are user prompts to select entity, time dimension, besides that we are providing a combobox with certain property in Product dimension.
We are passing these parameters to script logic. After reading SCN blogs, we got to know that a script logic can be invoked thru a process chain.
We have choosen FX_restatement process. But the package fails with the following error. Let me know if any other process chain to be used. Totally 3 parameters needs to goto the logic script. i.e entity, time and a property of product dimension using a combobox.
Could you please assist us.?
Error in Package status....
[Selection]
--------------------------------------------------------------
SELECTION = /BPCDEMO/MT_PLANNING/PRIVATEPUBLICATIONS/MTHADANI/TempFiles/FROM.TMP@@@SAVE@@@@@@EXPAND@@@|DIMENSION:MT_ENTITY|3001_PC3|DIMENSION:TIME|2015.08
COMBOBOX = LEVEL1
[Message]
-------------------------------------------------------------
Failed to analyze instruction /CPMB/FX_RESTATEMENT_LOGIC,LOGICFILENAME,MT_ALLOC_
model: MT_PLANNING. Package status: RUNNING
Advanced dynamic script..
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,CURRENCY_DIM%,%TIME_DIM%")
PROMPT(COMBOBOX,%COMBOBOX%,"Select Level:",0,LEVEL0,{LEVEL0,LEVEL1,LEVEL2,LEVEL3}]
INFO(%EQU%,=)
INFO(%TAB%,;)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SUSER,%USER%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SAPP,%APP%)
TASK(/CPMB/FX_RESTATMENT_LOGIC,SELECTION,%SELECTION%)
'TASK(/CPMB/FX_RESTATEMENT_LOGIC;REPLACEPARAM,COMBOBOX%EQU%%COMBOBOX%)
TASK(/CPMB/FX_RESTATEMENT_LOGIC,LOGICFILENAME,MT_ALLOC_LG.LGF)
Logic script :
*XDIM_MEMBERSET MT_ACCOUNT = PL010
*XDIM_MEMBERSET MT_RPTCURRENCY = %RPTCURRENCY_SET%
*XDIM_MEMBERSET MT_ENTITY = %ENTITY_SET%
*XDIM_MEMBERSET TIME = %TIME_SET%
*SELECT(%PRODSET%,"ID",MT_PRODUCT,"GROUP='$COMBOBOX$'")
*FOR %PROD% = %PRODSET%
*FOR %TIME% = %TIME_SET%
*RUNALLOCATION
*FACTOR = USING/TOTAL
*DIM MT_CATEGORY WHAT = Plan; WHERE = Plan; USING = Actual; TOTAL = <<<;
*DIM MT_PRODUCT WHAT = %PROD%_ND; WHERE = BAS(%PROD%); USING = <<<; TOTAL = <<<;
*DIM TIME WHAT = %TIME%; WHERE = %TIME%; USING = TMVL(-12,%TIME%) ; TOTAL = <<<;
*ENDALLOCATION
*WHEN MT_ACCOUNT
*IS PL010
*REC(EXPRESSION = 0,MT_CATEGORY = Plan, MT_PRODUCT = %PROD%_ND,TIME = %TIME%)
*ENDWHEN
*NEXT
*NEXT
thanks in advance
thanks
prasad