cancel
Showing results for 
Search instead for 
Did you mean: 

BPC Deleting information to other model

former_member725997
Discoverer
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

baiming_gao
Explorer
0 Kudos

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.

former_member186338
Active Contributor
0 Kudos

Sorry, but wrong idea!

former_member186338
Active Contributor
0 Kudos

Install BADI RUNLOGIC_PH.

This is the correct way to execute scripts in another model.

https://pdfslide.net/documents/how-to-implement-runlogicph-keyword-in-sap-bpc-version-for-netweaver....