Application Development and Automation 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: 
Read only

authority checks

Former Member
0 Likes
534

HI All,

How to disable the authority checks for SAP ABAP HR custom report?

Its custom program. But authority check will come Sourcecode is FM HRPAD00AUTH_CHECK_ORGIN_ZZ and perform CHECK_ORGIN_CON. as per the ABAP trace indicating 90% of the time spent for ABAP processing to "Perform CHECK_ORGIN_CON". User is getting TIME_OUTs after 15min. when running in dialog mode.

In background the job is taking 1hour, but business requirement is to run it in foreground to retrieve necessary data.

could please suggest me How to solve this problem

Thanks,

Srinivas

3 REPLIES 3
Read only

dhirendra_pandit
Active Participant
0 Likes
469

Don't pass any authorization profile in the field p_profl.

The standard profile values are available as follows:-

ALL ALL

ALL_01 ALL_01

ALL_02 ALL_02

ALL_03 ALL_03

ALL_04 ALL_04

CACS_SB_SEAR Admin. Determination

CACS_SEAR Admin. and User Det.

Regards

Dhirendra

Read only

0 Likes
469

HI,

We didn't maintain any authority checks in my custom program. That authority checks are come from standard program.

I'm not able to understand your answer. Please tell me more clear.

Thanks,

Srini

Read only

0 Likes
469

Authority checks are in place for a reason. If the user should have the ability to run the report and view the results, then give him/her the appropriate role/profile.

As far as the foreground run, defeating the time out is easily done depending on your code and how it runs, but I'm not going to tell you how it's done since you didn't search for the answer. I would suggest you tell your business that they either need to reduce the selection criteria or switch to a background run with an email/PDF delivery of the report (or something similar). You haven't given a valid reason why it needs to run in the foreground.