Skip to Content
avatar image
Former Member

syntax error missing name after.operator

Dear Experts,

I am facing "syntax error missing name after .operator" when I am running the below script or executing the package

*SELECT(%EMPL%, ID, EMPLOYEE, PREVIOUSKEY <> "" AND NATIONAL = N)
*SELECT (%PREMP%, [PREVIOUSKEY], "EMPLOYEE", ID = %EMPL% AND NATIONAL = N)
*XDIM_MEMBERSET EMPLOYEE = %PREMP%

*XDIM_MEMBERSET COSTCENTER = BAS(HR)
//*XDIM_MEMBERSET COSTCENTER = C1000

//*XDIM_MEMBERSET TIME AS %TIM% = BAS(%TIME_SET%)
*XDIM_MEMBERSET TIME = $VAR1$.01

*XDIM_MEMBERSET VERSION = Plan

*XDIM_MEMBERSET HR_ACCOUNT = 7010,7060,7160,7390

*FOR %TT% = $VAR1$.01,$VAR1$.02,$VAR1$.03,$VAR1$.04,$VAR1$.05,$VAR1$.06,$VAR1$.07,$VAR1$.08,$VAR1$.09,$VAR1$.10,$VAR1$.11,$VAR1$.12

*WHEN EMPLOYEE
*IS %PREMP%
*REC(EXPRESSION = ((%VALUE% *([VERSION].[Plan],[HR_ACCOUNT].[HEAD_COUNT],[TIME].[%TT%],[EMPLOYEE].[%EMPL%]))*(1+((10)/100))), TIME = %TT%, VERSION = "Plan", EMPLOYEE = %EMPL%)

*ENDWHEN
*NEXT

*COMMIT

Error is showing at bold letter script.

This logic we are using to calculate the some percentage on the gl accounts values and paste it into the year what I give in package.

We are using sap BPC 10.1 NW and SP24 EPM.

Help me to overcome with this error.

Appreciate for your help

Regards,

Raj

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 29, 2017 at 02:36 PM

    Please read:

    https://blogs.sap.com/2014/01/31/how-to-ask-questions-about-script-logic-issues/

    Please provide advanced script for DM package!

    How the data is passed to $VAR1$?

    Add comment
    10|10000 characters needed characters exceeded

    • Please explain the calculation logic you want to achieve using this script! Starting from details of EMPLOYEE dimension!

      P.S. There is no "magic" solution to write to multiple members, full script has to be redesigned.