cancel
Showing results for 
Search instead for 
Did you mean: 

BPC MS 10 Default logic doesn't run

Former Member
0 Kudos

Hello everybody,

We've created a input template for the end user. When the user wants to click on the "Save Data' button the 'default script logic' is not running automatically.

We've reinstalled our BPC environment on our test system and copied the Shell environment to test the default script logic. When we created a simple script in the defaul logic script and run it manually, the status is ok.

Default Script Logic:

*WHEN Category

*IS "Actual"

*REC(FACTOR=1,Category=Budget)

*ENDWHEN

*COMMIT

Question

Do you have any idea why the default logic is not activated automatically when the end user is pushing the 'Save Data' button from the input template?

Thank you,

Ksenia

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186498
Active Contributor
0 Kudos

Hi Ksenia,

have you compiled you default.lgf? (in lgx)

because the input schedule will always call the LGX version of the default logic (by design).

Regards

     Roberto

cecilia_petersson2
Active Participant
0 Kudos

Hi Ksenia,

Have you got a scope in the Default Script, or the scripts called by it? If, for example, you post data to Entity E_1000, this Entity has to be included in the scope for the Default Logic to be triggered, for example *XDIM_MEMBERSET=E_1000 or *XDIM_MEMBERSET=%ENTITY_SET%.

/Cecilia

former_member186498
Active Contributor
0 Kudos

Hi Cecilia,

never use an *XDIM_MEMBERSET in default logic, this because it runs on every data send and so it's not good to insert a scope (that often would be wrong), *XDIM_FILTER are ok to set a scope for some instructions.

Regards

     Roberto

Former Member
0 Kudos

Hi Roberto,

Just out of curiousity why not use *XDIM_MEMBERSET in the default logic? In the IFRS Starter Kit they use that in the default logic. Will it take longer time for the system to process the *XDIM_MEMBERSET compared to *XDIM_FILTER?

Brgds

Mattias

former_member186498
Active Contributor
0 Kudos

Hi Mattias,

you're right "never" is too strong. The reason isn't related with the performance (ok several  *COMMIT in default logic will cause performance issues) but with the behaviour, when you send data from a data entry, etc., after the default logic is triggered and will receive the scope from the changed values as a combination of the whole member values of all the dimensions.
If you use an *XDIM_MEMBERSET (or *XDIM_ADDMEMBERSET) in the default logic you will change the scope, so it rare to be used.

*XDIM_FILTER like *WHEN just filter and doesn't redefine the scope.

Regards

     Roberto