cancel
Showing results for 
Search instead for 
Did you mean: 

write to secure dimension using script logic

Former Member
0 Kudos

Hi,

we have ENTITY as one of the secure dimensions in BPC, so each user has access to a limited number of entities. Would a script (default logic) be able to write to entities the user does not have access to?

So, if I have access to entity A and the default logic includes a *REC statement that should write to entity B, would this *REC statement work? Or would it fail because of insufficient access rights?

Thanks,

Arnold

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

"Would a script (default logic) be able to write to entities the user does not have access to?" - No!

It will fail!

Vadim

former_member186338
Active Contributor
0 Kudos

P.S. If you want to write to secured members you can change the user using badi described in

Vadim

Former Member
0 Kudos

Hi  Vadim,

Does it work the same way for BPC 10.0?

Regards

former_member186338
Active Contributor
0 Kudos

Yes, why not the badi code has to be adjusted...

former_member186338
Active Contributor
0 Kudos

By the way, I was unable to find the correct object/method to implement impersonate for BPC 10. mentioned that it's possible:

May be he can help?

Vadim

former_member200327
Active Contributor
0 Kudos

Hi Vadim,

Can you please remind me which part of the code didn't work in 10.x? Then I can tell how it should be replaced.

Regards,

Gersh

former_member186338
Active Contributor
0 Kudos

lo_impersonate type ref to ZUJR_IMPERSONATE

Just look on the link!

Thanks in advance!

Vadim

former_member186338
Active Contributor
0 Kudos

P.S. By the way there is a link on the How-To page: Enterprise Performance Management (EPM) How-to Guides - Business Process Expert - SCN Wiki

In BPC 10 section: How to bypass BPC security in default logic using RUNLOGIC_PH


But it is linked to nothing...

former_member200327
Active Contributor
0 Kudos

Hi Vadim,

You are looking at the wrong part of the HTG. To get functionality working, you need just to do what part 5.1 is saying - import the transport. The part you are referring, is how to use that functionality in Write-Back. This part has changed, but it has nothing to do with functionality of IMPERSONATE BADI.

So, you can just import the transport and use the BADI.

Regards,

Gersh

former_member186338
Active Contributor
0 Kudos

Ups, my mistake! Just don't read the HTG, only looked on the code at the end and on the user comment...

Thank you for correcting!

Vadim

Answers (0)