cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BRFPLUS data object Level authorization

0 Likes
2,318

I want to give user Access BRFplus to maintain a specific decision table. I followed several notes I found in the community but unfortunately I was not successful. Even worse it's bloocking everything (error "You have no authorization to Display object functions for Profile operations"

I must say, that I have only some ABAP knowledge but now object programming knowledge.

What I have implemented so far:

1. Create role "ZBRF_BUSINESS" containing the ID of the decision table to be maintained

2. New Object type ZCL_APP_EXIT

3. Implement method "Constructor"

4. Authority Check

5. Test User with additonal role

Thank you for any help.
Regards,

Roland

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Likes

Hi Akshat,


The Exit is filled in in the "Application Exit class" field.

I have used the external breakpoint. But it did not stopp the session. I doubt if this method is firing..

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes

Ok. I noticed another thing that might be causing the issue. I see that you have implemented an instance constructor. Did you try using a static constructor (called CLASS_CONSTRUCTOR)?

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Roland,

At the outset, what you have done looks correct. My advice to you would be to try to debug your implementation of the AUTHORITY_CHECK method. Even with little knowledge of ABAP, it should be easy to do this.

Akshat

0 Likes

Hi Akshat,
Thank you for your fast answer. I have set a breakpoint into the Methode but it does not stopp. I'm even not sure if it's called? If I login with my testuser I can change everything in BRFplus not only the inteded decision table.

Is there a diffrent way to debug methods?

Thank you for your help.

Regards,
Roland

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes

You can try setting an external breakpoint (as opposed to a session breakpoint). Also, it just occurred to me that you may have forgotten to assign your application exit class (ZCL_APP_EXIT) to your BRF+ application (I think it's on the "General" tab).