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

HR-ABAP Infotype Authorization issue!

Former Member
0 Likes
449

Hello Experts,

Need your quick suggestions and inputs, which we're currently facing in our project.

We're using the PNPCE Logical Database for processing/retrieving the records from infotypes and ALV reports are generated.

Currently, we have an authorization control which will restrict the user roles in accessing certain infotypes. Thus, the user role is assigned with necessary infotype access in PFCG.

Now the issue is if a particular user role donot have the authorization to infotye XXXX, which is defined in the Global Declaration (Top Include) in the INFOTYPES statement. Eg: INFOTYPES: XXXX.

Thus, when the report is executed, the following XXXX infotype authorization is checked as it is defined in INFOTYPES statement, but since the user role is not given the XXXX infotype authorization in PFCG the report execution fails when it checks the infotype authorization when it enters GET PERAS. Thus, a blank screen is thrown with standard SAP error... "No authorization for XXXX infotype".

Is there any way this error message which blocks the execution of the report be by-passed? If yes, please help to suggest the necessary steps to do so. Thus, the report execution should not be blocked and the ALV report should be displayed with blank values for those XXXX infotypes which donot have authorization even though defined in INFOTYPES statement in Top Include.

Hope am much clear in describing the major issue that we're currently facing.

Any inputs to get this issue resolved will be highly appreciated.

Thanks in anticipation.

Regards,

Sundar

Hello Experts,

Need your quick suggestions and inputs, which we're currently facing in our project.

We're using the PNPCE Logical Database for processing/retrieving the records from infotypes and ALV reports are generated.

Currently, we have an authorization control which will restrict the user roles in accessing certain infotypes. Thus, the user role is assigned with necessary infotype access in PFCG.

Now the issue is if a particular user role donot have the authorization to infotye XXXX, which is defined in the Global Declaration (Top Include) in the INFOTYPES statement. Eg: INFOTYPES: XXXX.

Thus, when the report is executed, the following XXXX infotype authorization is checked as it is defined in INFOTYPES statement, but since the user role is not given the XXXX infotype authorization in PFCG the report execution fails when it checks the infotype authorization when it enters GET PERAS. Thus, a blank screen is thrown with standard SAP error... "No authorization for XXXX infotype".

Is there any way this error message which blocks the execution of the report be by-passed? If yes, please help to suggest the necessary steps to do so. Thus, the report execution should not be blocked and the ALV report should be displayed with blank values for those XXXX infotypes which donot have authorization even though defined in INFOTYPES statement in Top Include.

Hope am much clear in describing the major issue that we're currently facing.

Any inputs to get this issue resolved will be highly appreciated.

Thanks in anticipation.

Regards,

Sundar

1 REPLY 1
Read only

suresh_datti
Active Contributor
0 Likes
389

Have you explored the option of using the BAdI HRPAD00AUTH_CHECK?

~Suresh