‎2011 Jan 19 6:36 AM
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
‎2011 Jan 19 11:31 AM
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
‎2011 Jan 19 11:57 AM
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
‎2011 Jan 19 3:45 PM
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.