cancel
Showing results for 
Search instead for 
Did you mean: 

Do not allow a user to send data via input form (BPC 10.1 Embedded)

Former Member
0 Kudos

Hello,

Edit: I have use an analysis authorization and now I am able to visualize the data that is assigned in the DAP. However, I can not change to 'Edit Mode', it says that I do not have enough autorization. More strange thing is that if I change my DAP to 'All members' with access 'write' I am able to change to 'Edit Mode'.

Refer to this comment:

http://answers.sap.com/comments/152129/view.html

I have created a user with the minimum authorization objects:

However when the user logs in EPM, he can still press the "Edit Mode" button and save data:

What can I do so the user cannot save data?

Thank you.

Accepted Solutions (0)

Answers (4)

Answers (4)

marc_roeder
Product and Topic Expert
Product and Topic Expert

seems I'm running out of comment depth...

I'm not so worried about the generated role. BPC will know how to interpret the !!!

But slowly, I'm running out of ideas. If the authorization log looks the same for your DELTEST2, you can try to look at the place where the DAP and the backend authorizations are merged.

Go to transaction SE37 and open function module "RSEC_INTERSECTION_BPC". Set an external break-point at the first loop (as the restricted user). When you open your workbook (also as restricted user) the debugger will come up and you can inspect the variables i_thx_bw_auts (the BW-sided authorizations) and i_thx_bpc_auths (the DAP authorizations).

These two sets of authorizations will be intersected to produce the effective authorization. Maybe that gives you a hint what's going on.

If that doesn't help, the only thing I can recommend is opening a ticket -- the support coleagues will have better chances when they can look at the system directly.

Best regards,
Marc

Former Member
0 Kudos

Thanks for sharing this Marc!

Former Member
0 Kudos

Hi Marc,

Thank you so much for your answer.

We have our user DELTEST2 assigned to the DAP "ALL", as you can see:

The problem seems to be in the BPC-side authorizations, because when we inspect the function module "RSEC_INTERSECTION_BPC", the internal table "i_thx_bpc_auths" does not contain the dimensions "ZDATATYPE" and "ZENTITY", as it can be shown in the next figure:

Where this internal table "i_thx_bpc_auths" obtains its values from? We thought it was from DAP in the BPC-size but it does not seem that.

Thanks.

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

the table is called RSBPCE_DAP_DET.

It's read in function module RSEC_READ_BPC_AUTHS. In the same Function group you will find more suggestively-named functions handling authorization questions.

By the way: if you added your provider to the model after you defined the DAP, you might have to save the DAP again (there' a provider column in the DAP table).

Best regards,
Marc

Former Member
0 Kudos

Hi Marc,

It seems the authorization S_USER_GRP was missing. We have added it and now we are able to see just the members assigned to the DAP.

However, we still have a problem. For instance, I have added my user the DAP SLOVAKIA:

And when I log into EPM I am able to see just these two entities. However, when I click in "Edit Mode" in order to be able to send data; it says that I do not have enough authorizations.

This is my analysis authorization:

And I have added the activity change:

I have notice that if I change the Slovakia DAP to 'All members' with 'write' access, I am able to change to 'Edit Mode' and send data. But only if I select 'All members'; when I select just a few (like in the image) I can not do it.

Any ideas?

Thank you.

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

if it explicitly states that you have no authorization, a good starting point is transaction RSECPROT. There you will see why you were refused to write.

Of course, you need to make sure the cells you want to enter are also input-enabled. If you change a value on the lowest level and the cell was marked as input-ready, then you should be able to write with your configuration.

Best regards,
Marc

former_member200327
Active Contributor
0 Kudos

In same t/a RSECADMIN you can run any query with selected user. Run it with log and it will show you what authorizations you are missing.

Former Member
0 Kudos

Thank you Gersh for your answer,

With only the 6 authorizations (3 for the cubes and 3 for the aggregation cubes):

I have done what you told me, but it seems everything is correct:

However, I get the message when I log into EPM:

Thank you again.

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Christina,

the issue might be that you selected * for "BI Analysis Authorizations". That means you assigned all analysis authorizations to the role. This includes 0BI_ALL, which is the super-authorization granting access to everything and overrules the DataAccessProfile.

You might want to create an explicit analysis authorization and assign this one instead. If you want to maintain your authorizations on the BPC side, you can be generous with this analysis authorization because it will be intersected with the DAP at runtime.

Best regards,
Marc

Former Member
0 Kudos

Thank you for your answer Marc,

But I am still a bit loss with this "BI Analysis Authorizations" object.

At the bottom, I have the six analysis authorizations that I have created in order to restrict the user to view some dimensions:

For example for ZPVFORECAST

But if I select this 6 authorizations, (3 for the cubes and 3 for the aggregation cubes), when I try to log in EPM it says that the query is invalid (I suppose that this is because I do not have enough authorizations).

Thanks in advance.

former_member186338
Active Contributor
0 Kudos

In general when you work with BPC it's better to use BPC authorization logic by DAP.

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

It looks like your analysis authorizations are missing the Activity, Provider, Validity fields to work.
You can add them using the Insert Special Characteristics-button.

You may want to check the help page for more details on defining analysis authorizations.

Best regards,
Marc

Former Member
0 Kudos

I have changed the 6 analysis authorizations, but when I add them to the "BI Analysis Authorizations" object (just them, I deselect the other options):

I received the error when I log into EPM:

Thank you again.

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

a few ideas what you could check:

  • check the query in transaction RSRT to see whether it works there. This can help to decide whether the issue is more on the BW authorization side or more on the BPC/EPM side
  • if the query works as expected in RSRT, try the query in a different BPC-enabled frontend. Analysis Office usually is a bit more generous when it comes to showing error messages than EPM. You can specify the BPC environment/model in Analysis Office under "Planning Model" of the "Components" tab of the "Design" panel.
    In RSRT, you can specify the environment/model like this (no blanks between the tokens!):

  • check the authorization trace (transaction RSECPROT -- you need to add the restricted user to the table under "Configure Log Recording" first to enable logging)
Former Member
0 Kudos

Hi Marc,

First of all, thank you for your answer.

1. Your colleague Gersh Voldman told me the same, I have answer in the post below this one. The query works as expected.

2. I tried Analysis Office but the error message was exactly the same:

3. I add my user (DELTEST) to the resctricted users and I tried to log into EPM again.Then I checked the DIsplay Error Log and this is the message I have received:

Activity 03 is display, but I have already selected the authorization objects "Manage environment" and "Grant user access to a BPC environment".

Also in Analysis Authorizations I have the following:

What I am doing wrong?

Thank you!

marc_roeder
Product and Topic Expert
Product and Topic Expert
0 Kudos

From what you describe here, it seems that the issue is on the DAP-side.

The query executes ok with all authorizations green if you use RSRT (as seen in the sceenshot you used to answer Gersh). This means that without environment/model context, the authorization is sufficient.

Are you sure you have the right environment/model combination for your user? An did you maintain a DAP (data access profile) in BPC? Without DAP, you will have no analysis authorizations at all when running in BPC context.

Maybe kb article 2403016 helps...

Best regards,
Marc

Former Member
0 Kudos

Hi Marc,

I have a DAP called ALL, which have all Write Access for all the relevant dimensions:

I have my user DELTEST2 (I know before was DELTEST, I am just making some changes) added to that DAP:

If I go to SU01 to see the authorization, I have a new one that has been created when I assign the user to the DAP:

If I open it, we can see the first problem:

It says "!!!!" so there is something wrong.

I have tried to change it:

But even with this change I still have the same problem when I open the query: "This query is invalid. Please contact your administrator".

I really appreciate your effort (Marc and Gersh) trying to help me.

Thanks a lot

Former Member
0 Kudos

Hi again Marc,

I think the problem is in the configuration of the Analysis Authorization, I have created a new post where I explain what I have done (https://answers.sap.com/questions/129303/data-access-profiles-configuration.html?childToView=129378#answer-129378)

I am very curious about the NOTE3 I wrote at the buttom.

Thank you

former_member186338
Active Contributor
0 Kudos

Please read: http://service.sap.com/~sapidb/011000358700001239962013E

6.8 Authorization Levels and Their Precedence (Embedded only)

Former Member
0 Kudos

Hi Vadim,

Thank you for your answer.

I have already read the security guide, but I don't understand why you told me to read the section 6.8. As I said I have already created the authorization objects, the problem is that the user can use the "Save Data" input and that is something I want to restrict.

Maybe, I should use a Data Access Profile and set all dimensions to just read in order to avoid the user to write?

former_member186338
Active Contributor
0 Kudos

"Maybe, I should use a Data Access Profile and set all dimensions to just read in order to avoid the user to write?" Something like 🙂