on 07-14-2016 5:11 PM
Hi,
I was trying to implemetn the RUNLOGIC_PH in order to call one package from a different model
The 2 models (caller and called) have different dimensions:
MODEL CALLER:
MODEL CALLED
As you can see some of them are common and some others aren't
So I have 2 scripts
The one in the model CALLER
*START_BADI RUNLOGIC_PH
QUERY = OFF
WRITE = ON
DEBUG = OFF
LOGIC = TEST_RUNLOGIC_SALES.LGF
APPSET = DAISY_BDG_LBP_BR
APP = SALES
//COMMON DIMENSIONS IN CURRENT AND CALLING MODEL
DIMENSION CATEGORY = %CATEGORY_SET%
DIMENSION ENTITY = %ENTITY_SET%
DIMENSION CTROBJ = <ALL>
DIMENSION INPUTCURRENCY = <ALL>
DIMENSION TIME = <ALL>
DIMENSION INTERCO = <ALL>
DIMENSION YEARV_SLS = <ALL>
//DIMENSION NOT IN CURRENT MODEL (CTRCOST) but in SALES
DIMENSION ACCOUNT_CC = <NONE>
DIMENSION CCENTER = <NONE>
DIMENSION DATASRC_CC = <NONE>
//DIMENSION NOT IN CALLING SCRIPT MODEL (SALES)
DIMENSION ACCOUNT_SLS = <ALL>
DIMENSION BU = <ALL>
DIMENSION CARSET = <ALL>
DIMENSION DATASRC_SLS = <ALL>
CHANGED = ENTITY, CATEGORY
*END_BADI
the script on the colled model is like this
*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
*START_BADI PL_STAT_VERT_PL
QUERY = OFF
WRITE = ON
DIMENSION CATEGORY = %CATEGORY_SET%
DIMENSION ENTITY = %ENTITY_SET%
DIMENSION CTROBJ = <ALL>
DIMENSION INPUTCURRENCY = <ALL>
DIMENSION TIME = <ALL>
DIMENSION INTERCO = <ALL>
DIMENSION YEARV_SLS = <ALL>
DIMENSION ACCOUNT_CC = <NONE>
DIMENSION DATASRC_CC = <NONE>
DIMENSION CCENTER = <NONE>
DIMENSION ACCOUNT_SLS = <ALL>
DIMENSION BU = <ALL>
DIMENSION CARSET = <ALL>
DIMENSION DATASRC_SLS = <ALL>
*END_BADI
problem is that when I run the package I've the error below:
EXECUTION BADI:RUNLOGIC_PH
QUERY: OFF
WRITE: ON
Member "<NONE>" not exist
Error in RUNLOGIC call.
doesn anyone have the same issue?
thanks
For testing use very simple script TEST_RUNLOGIC_SALES
without badi etc...
in the main script temporary comment line:
CHANGED = ENTITY, CATEGORY
Show results in ujkt!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks,
I was finally able to run the package on the other model
Now I'm facing an issue with the parallel execution.
Basically I've the entity as input parameter but the users could also chose the parent node total. In this case the procedure should split entity by entity to occupy different process
I inserted the line CHANGED = ENTITY in each script and done the customizing saying that is can use 4 process but if I check sm50 I see only one process
Any other setting is necessary?
thanks
Please provide full scripts!
"I inserted the line CHANGED = ENTITY in each script" - in each???
"done the customizing" - you have to perform all customizing according to the guide! Please show screenshots (without screenshots I have no idea what you have done)
P.S. "users could also chose the parent node total" - how?
User | Count |
---|---|
15 | |
3 | |
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.