Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Authority Check problem at selection screen

Former Member
0 Kudos

Hi,

I've have a Z report where i'm using in the screen an input field for ALV layout.

When i call the value request event, it's for some unknown reason calling an authority check for BUKRS.

Though the value is "7755" it's validating "0001". The obj is: The report doesn't has any standard coding and isn't a copy of one; and i've checked tx. SU22 and this check isn't assign to the Z report.

The message is: "You don't have authorization for Society 0001". and the obj. is: F_FAGL_LDR

Please some help.

Thanks a lot.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

HI,

IF the Bukrs is the SELECT-OPTION then check the values in the Debugging Mode. What values exactly it is holding.

9 REPLIES 9

Former Member
0 Kudos

Please put breakpoint on keyword 'AUTHORITY-CHECK' and then execute the report.

Let me know if after clicking F8 in debug mode, the debugger stop anywhere.

Regards,

Surpreet

0 Kudos

Hi Surpreet,

I did what you asked. It stops at the Authority-check when i execute the programm.

0 Kudos

Now just copy and send this authority check code to your Security team, they need to give you the exact access.

Or for time being just change SY-SUBRC to 0 in debug mode, they way you can by pass it for now in DEV box.

However make sure that your have this access in INT and PRD boxes.

Regards,

Surpreet

Former Member
0 Kudos

HI,

IF the Bukrs is the SELECT-OPTION then check the values in the Debugging Mode. What values exactly it is holding.

0 Kudos

Hi Avinash,

it's a obligatory parameter, and the exact value is '7733'.

0 Kudos

Hi,

Check the Message class and message number you have used is correct incase of Authority check failed for the object F_FAGL_LDR.

0 Kudos

Hi,

i'm not calling the authority check, that's the problem actually. The authority check it's being call by something else. I need to eliminate that.

thanks

0 Kudos

HI,

Check for the FM you have used in the program these might be calling the authority object. Please post the code so that we can have better idea.

0 Kudos

Hi,

Problem Solved.

In the report attributes was define a Logic BD.

thanks!