on 2015 Jul 01 10:30 PM
We are in the process of upgrading from BPC SP14 to BPC SP18 and all of our script logics are working fine in SP14 production environment, but the same logic is failing in SP18 environment.
For example the below code:
*XDIM_MEMBERSET CURRENCY=LOCAL
*XDIM_MEMBERSET CMACCT=A_VOLUME
*XDIM_MEMBERSET CMDRIVER=D_NONE
*XDIM_MEMBERSET CMVENDOR=V_99
*XDIM_MEMBERSET FIN<>F_99
*XDIM_MEMBERSET VERSIONBASE=MASTER
*XDIM_FILTER TIME=[TIME].PROPERTIES("YEAR")=$FISYR$
*XDIM_FILTER CMRAW=[CMRAW].PROPERTIES("BUYER")=$BUYERCODE$
*RUNALLOCATION
*FACTOR=1
*DIM CMACCT WHAT=A_VOLUME; WHERE=<<<
*DIM CMDATASRC WHAT=DS_BW; WHERE=DS_BW,DS_MANOVERRIDE,DS_NEGOVERRIDE,DS_AUTOOVERRIDE
*DIM PRDCNG_COPLANT WHAT<>P_NONE; WHERE=P_NONE
*ENDALLOCATION
*COMMIT
This logic fails and this is error we get:
RUN_LOGIC:
Suppressed zero-value records:8,109
Failed
Application: VOLUME Package Status : ERROR
When I go and look in the formula log, I do not see any errors.
We have a go-live on July 15th and struggling to resolve this, has anyone encountered this? Please help.
Attached is the screen shot of the error/ package log
Request clarification before answering.
Note 2158885 should resolve your problem. Next time please specify your BPC version. Tks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, the note was just released and that solved the problem, thanks for answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For $FISYR$ and $BUYERCODE$ user enters the values in the prompt screen, which in this case is 2016 and CN respectively.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can see that there are no errors in the log:
Records succeeded to write back :32364
Please correct the script itself (remove strange things...)
Vadim
P.S. May be $FISYR$ and $BUYERCODE$ are not passed correctly? Test script in the DM package with fixed 2016 and CN
P.P.S. Please, show the DM package advanced script to see how you get variables $FISYR$ and $BUYERCODE$
Looks like originally the system was 7.0
Anyway, correct DM advanced script to (using standard chain DEFAULT_FORMULAS_LOGIC!):
PROMPT(TEXT,%BUYERCODE%,"YOU MUST Enter a Single Buyer Code (ex: GA)")
PROMPT(TEXT,%FISYR%,"YOU MUST Enter a Fiscal Year (ex: 2011)")
INFO(%EQU%,=)
INFO(%TAB%,;)
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,TAB,%TAB%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,EQU,%EQU%)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,LOGICFILENAME,BUYER_ALLOC_REQ_QTY.LGF)
TASK(/CPMB/DEFAULT_FORMULAS_LOGIC,REPLACEPARAM,BUYERCODE%EQU%%BUYERCODE%%TAB%FISYR%EQU%%FISYR%)
Second: the script itself contains absolutely old (From BPC 7.0 How-To):
*START_BADI DAPP
...
Have to be properly replaces with standard:
*DESTINATION_APP=...
And other things in the script have to be analyzed!
Vadim
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 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.