Skip to Content
0
Oct 26, 2020 at 08:38 PM

BPC Deleting information to other model

38 Views

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