on 10-26-2020 8:38 PM
Hi experts
I have BPC 10.1, one classic BPC environment and four models. I need to execute a script logical from model A that delete information in Model B
I tried to do it, using the next code.
*XDIM_MEMBERSET P_FUENTE = 05,01, 98, 99
*XDIM_MEMBERSET P_SEGMENTO = BAS(%P_SEGMENTO_SET%)
*XDIM_MEMBERSET VERSION = C_RFE
*XDIM_MEMBERSET P_VARIABLE = VV001,VV002,VV003,VV004,VV005,VV006,VV021,VV013,VV011,VV017
*XDIM_MEMBERSET TIEMPO = %TIEMPO_1%
*DESTINATION_APP = Finanzas
*SKIP_DIM = P_CANAL,P_CLIENTE,P_PRODUCTO
*ADD_DIM P_CECO = NACECO, P_ELEMENTOGASTO = NAEGASTO, P_GERACTCECO = NAGER
*WHEN VERSION
*IS C_RFP
*REC(EXPRESSION = 0)
*ENDWHEN
But sometimes this code fail erasing all information stored in Finanzas model, because in the current model or model where I ran this code, doesn't exist all information existing in Finanzas model. How I can perform this erase in the finanzas model executing the code from other model?
Thanks a lot
Would "*WHEN_REF_DATA = MASTER_DATA" help for this case? Check
https://blogs.sap.com/2011/03/21/why-the-new-script-logic-keyword-whenrefdata/ for more information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Install BADI RUNLOGIC_PH.
This is the correct way to execute scripts in another model.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.