cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to analyze instruction /CPMB/FAIL_SWITCH_TO_PLAN Optimize Model

0 Kudos

Hi good day,

When I run a light optimization to a model I get the following error:

"Failed to analyze instruction / CPMB / FAIL_SWITCH_TO_PLAN"

I am working SAP BPC 10.1 NW SP09 Hana

They know how to solve this problem?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David,

Have a look at SAP note http://service.sap.com/sap/support/notes/2136128

Also try the following:

Did you change the real time load mode in BW?

Try change that model back to the following then try again.

Andy

0 Kudos

Hi Andy, Thanks for your answer

I tried with the two modes load mode in BW and does not work the optimize.


I have seen the note you mention but the version in which work is SP09, in the note refers SP07.

you have any other ideas of error?

Regards,

Former Member
0 Kudos

Hi David,

Which BPC version and SP level are you running?

Have you try to implementation the post-implementation steps?

Andy

0 Kudos

Hi Andy,

The version is SAP BPC 10.1 NW SP 09

steps have been implemented according to the guidance provided by SAP.

thanks for your help.

former_member200327
Active Contributor
0 Kudos

Did you modify delivered Package or Process Chain? /CPMB/FAIL_SWITCH_TO_PLAN supposed to be a name of a Process Type in that chain, but I don't see such type in delivered PC.

Can you post screen shot of your Process chain with "Detail View On" and Dynamic Script from the Package?

Former Member
0 Kudos

Hi David,

Try delete the package and create it again.

I see you try to run from web admin, can you try to run from epm add in?

Andy

0 Kudos

Hi Andy,

In the package that runs from the EPM-AddIn he pulled off the line where you run "/ CPMB / FAIL_SWITCH_TO_PLAN" and runs correctly when run from the web manager shows error.

Thanks Andy...

0 Kudos

Hi Gersh,

Thanks for your answer.

in the package of EPM-AddIn remove the line code "/ CPMB / FAIL_SWITCH_TO_PLAN" is executed correctly , the error shown to optimize the model from the web admin.

That process chain you want to see?

Thanks for your help..

Regards.

former_member200327
Active Contributor
0 Kudos

Delivered PC for this is /CPMB/LIGHT_OPTIMIZE.

0 Kudos

Hi Gersh,

This is Process Chain " /CPMB/LIGHT_OPTIMIZE."

image1

image 2


Thanks for your help.

Former Member
0 Kudos

Hi David,

Do you get this error from all your models? or just one?

If possible, maybe try delete all the data in the model and load it again.

Andy

former_member200327
Active Contributor
0 Kudos

You can see that in this PC there is no step with name /CPMB/FAIL_SWITCH_TO_PLAN. It looks like you are referring to this step in your Dynamic script. Can you please show that script here?

Former Member
0 Kudos

Hi David,

Were you able to resolve the issue? We just completed BW Sp13 and CPMBPC 800 SP19 upgrade.

We are seeing the same error.

Please advise.

Regards,

Vivek

0 Kudos

Hi Andy,

The error is in all models.

Regards,

Former Member
0 Kudos

Hi David,

Please check the SAP Note 2136128. This helped resolve our issue.

Regards,

Vivek

0 Kudos

Hi Vivek,

there is still the issue.

The version de bpc is 10.1NW-810.

Thanks.

0 Kudos

Hi Gersh,

/CPMB/FAIL_SWITCH_TO_PLAN if it exists in the process chain

This is Package:

This is Script:

TASK(/CPMB/SWITCH_TO_LOAD,INFOCUBE,%APPBINAME%)

TASK(/CPMB/SWITCH_TO_PLAN,INFOCUBE,%APPBINAME%)

TASK(/CPMB/FAIL_SWITCH_TO_PLAN,INFOCUBE,%APPBINAME%)

TASK(/CPMB/ROLL_UP,DTA_CUBE,%APPBINAME%)

TASK(/CPMB/CREATE_STATISTICS,DTA_CUBE,%APPBINAME%)

TASK(/CPMB/LIGHT_COMPRESS,DTA_CUBE,%APPBINAME%)

------

Regards,

former_member200327
Active Contributor
0 Kudos

In the Process Chain screen shot you provided that line has Process Type /CPMB/SWITCH_TO_PLAN, not /CPMB/FAIL_SWITCH_TO_PLAN.

It looks like you have discrepancy between Process Chain and DMP script that calls it. This can happen during upgrade or if you ran ENVIRONMENTSHELL activation for DM Packages. Problem is that it keeps PC and DMP in sync for delivered DMP only. I can see that your DMP is custom. So, you can try running program UJS_ACTIVATE_CONTENT with "Activate BI Business Content" checked or try activating LO PC from RSA1.

If after that you still don't have /CPMB/FAIL_SWITCH_TO_PLAN in your PC then try deleting your DMP and creating it again as Andy suggested.

Answers (0)