on 02-13-2012 3:50 AM
Dear Masters,
I have just create one script logic below:
*XDIM_MEMBERSET RB_CATEGORY=PLAN
// Increase Revenue by the percentage entered by the user
[RB_ACCT].[#REVADJ] = [RB_ACCT].[REVENUE]*($Z_INCREASE_REV$/100)
when I validate and save, I see this errors:
LINE 3 syntax error: " ReferenceError: $$Z_INCREASE_REV$ is not defined
Please tell me : where is I have define this variable?
Thank you for your help
Best Regards
Chinh Pham
Thank you all of you
My issue was resolved by create script logic and report again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You dont have to modify the process chain.
Link the DM package to the process chain for running default logic. You need to add the below prompt statement in the advanced script of the DM package:
PROMPT(TEXT,%<variable_name>%,"<text to be displayed>",)
Then, in the logicfilename statement, mention the LGF version of your script.
And then, use a statement like:
TASK(<task name - the same name as in the above statement>,REPLACEPARAM,<variable name>%EQU%%<variable name>%)
Hope you got the idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are using these kind of variables, then you must capture the value of this variable though DM package. This variable should be defined in the advanced script of the DM package. Once the user executes the DM package, the user will be prompted to post some value against this variable, and then this value will be passes to the script logic.
Sometimes, even if you define the variable properly in the advanced script of the DM package, you might get error while validating the script logic. In this case, just ignore the error, and save the script logic. Remember, to use the LGF version of the script in the advanced script of the DM package.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
When you use dynamic variables you will get this error if you validate the script. Please save the logic without validation. Then if the dynamic variable is passed correctly from Data Manager, the script can work just fine.
http://help.sap.com/saphelp_bpc75_nw/helpdata/en/59/f145f708724b9c86d8a65dd57d5e4f/content.htm
Hope it helpss...
regards,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
I followed your guide but when I run package on DM package I have a errors:
Failed to analyze instruction ZBPC_PROT_EXP_RUN_LOGIC,TAB,%TAB%
ZBPC_PROT_EXP_RUN_LOGIC is process chain I created on BW
after that, I known that on BPC 7.5, I can use process chain : default_Formulas , no need create ZBPC prompt .
So I delete ZBPC_PROT_EXP_RUN_LOGIC on BW and package on DM but I still see the error above.
how can I refesh in order to the BPC run package I choose from /CPMB/DEFAULT_FORMULAR.
Thank you for your reply
Chinh Pham
Hi Chinh Pham,
Use the process chain name instead of the process variant in the advanced script of the DM package:
PROMPT(SELECTINPUT,,,,"%ENTITY_DIM%,%CATEGORY_DIM%,%CURRENCY_DIM%,%TIME_DIM%,%DATASRC_DIM%,RB_CUSTOMER,RB_PRODUCT")
PROMPT(TEXT,%Z_INCREASE_REV%,"Input Revenue Increase in Percent",)
INFO(%EQU%,=)
INFO(%TAB%,;)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,TAB,%TAB%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SUSER,%USER%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPPSET,%APPSET%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SAPP,%APP%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,SELECTION,%SELECTION%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,REVALUE_PLAN.LGF)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,Z_INCREASE_REV%EQU%%Z_INCREASE_REV%)
Run this and generate the report again.
Hope this helps,
Harini.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.