Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Script Logic Error

Hello Experts,

I am new to BPC and am trying the following script logic:

*FOR %MONTH% =2008.JAN,2008.FEB,2008.MAR,2008.APR,2008.MAY,2008.JUN,2008.JUL,2008.AUG,2008.SEP

	*IS "%MONTH%"
		*REC(EXPRESSION = ([ACCOUNT].[AccumDepr] = ([ACCOUNT].[AccumDepr] + [ACCOUNT].[Depreciation])))


When I execute the above logic, the system throws an error saying: "Missing ) in paranthetical". I was able to analyze the script and realize that the error is occurring in the *REC statement of the WHEN statement. To me, the script looks okay, but obviously not. Could you please shed some light on this?

Also, am I using the *FOR loop correctly?

Thanks for your help in advance.

Former Member
Not what you were looking for? View more on this topic or Ask a question