Good day Experts
I have an issue with a Logic Script in BPC 10.0 for NetWeaver, using the Logic Script Editor in the Administration Workspace
I have a TIME Dimension with Several Properties, amongst which "INPUTVALUE5" and "INPUTVALUE6" which contain TIME member IDs of INPUT Members for years 3 ahead and Year 4 ahead for the Base- member selected for the calculation.
I have a piece of script logic that needs to run after the user have captured values for "INPUTVALUE5" and "INPUTVALUE6"
*SELECT(%TIMEVAR5%,"[INPUTVALUE5]",TIME,"[ID]='%TIME_SET%'")
*SELECT(%TIMEVAR6%,"[INPUTVALUE6]",TIME,"[ID]='%TIME_SET%'")
//
*XDIM_MEMBERSET ACCOUNT = <ALL>
*XDIM_MEMBERSET CATEGORY = ACT_YTD_DEC
*XDIM_MEMBERSET DATASRC = COG_YTD_INP
*XDIM_MEMBERSET DETAIL = NO_DETAIL
*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
*XDIM_MEMBERSET FLOW = F99
*XDIM_MEMBERSET INTCO = I_NONE
*XDIM_MEMBERSET RPTCURRENCY = LC
*XDIM_MEMBERSET TIME = %TIMEVAR5%
*XDIM_ADDMEMBERSET TIME = %TIMEVAR6%
//
*WHEN ENTITY
*IS <> "GLOBAL"
*WHEN TIME
*IS %TIMEVAR5%
*WHEN ACCOUNT.BALANCESHEET
*IS "Y"
*REC(EXPRESSION=(((([CATEGORY].[ACT_YTD_DEC],[DATASRC].[COG_YTD_INP],[TIME].[%TIMEVAR5%])+([CATEGORY].[ACT_YTD_DEC],[DATASRC].[COG_YTD_INP],[TIME].[%TIMEVAR6%]))/2)),CATEGORY="PLAN_YR5",DATASRC="MAN_INPUT",TIME=%TIME_SET%)
*ELSE
*WHEN ACCOUNT.ADDBALANCESHEET
*IS "Y"
*REC(EXPRESSION=((([CATEGORY].[ACT_YTD_DEC],[DATASRC].[COG_YTD_INP],[TIME].[%TIMEVAR5%])+([CATEGORY].[ACT_YTD_DEC],[DATASRC].[COG_YTD_INP],[TIME].[%TIMEVAR6%]))/2),CATEGORY="PLAN_YR5",DATASRC="MAN_INPUT",TIME=%TIME_SET%)
*ENDWHEN
*ENDWHEN
*ENDWHEN
*ENDWHEN
*COMMIT
When validating the script I receive the error description "Comma without preceding colon ( after RET ? )" on the first *REC instruction (when commented the error appears for the next *REC statement.
Please, can somebody tell me what I am doing wrong?
Thanks in advance.
Regards,
Marthinus Viljoen