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

how to create an authorization for infotypes in a program?

Former Member
0 Likes
633

Hi all,

I am creating a program that will return an error message " The user is not authorized to view infotype XXXX".

I am using HR programming ..GET Peras..

Need your assistance. I will aprreciate your professional response...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
591

Hi,

1. For this we have to use the

authorisation object

P_ORGIN

2. It has got the following fields, on which authorisations can be controlled.

AUTHC Authorization level

INFTY Infotype

PERSA Personnel Area

PERSG Employee Group

PERSK Employee Subgroup

SUBTY Subtype

VDSK1 Organizational Key

Regards,

Harish

Hi all,

I am creating a program that will return an error message " The user is not authorized to view infotype XXXX".

I am using HR programming ..GET Peras..

Need your assistance. I will aprreciate your professional response...

3 REPLIES 3
Read only

Former Member
0 Likes
592

Hi,

1. For this we have to use the

authorisation object

P_ORGIN

2. It has got the following fields, on which authorisations can be controlled.

AUTHC Authorization level

INFTY Infotype

PERSA Personnel Area

PERSG Employee Group

PERSK Employee Subgroup

SUBTY Subtype

VDSK1 Organizational Key

Regards,

Harish

Read only

piyush_mathur
Active Participant
0 Likes
591

Hi,

If you are using LDB, then no need to check for the authorization. I

Read only

0 Likes
591

thanks guys.. but how to get the message that will informthe user that he/she is not authorized to access a certain infotype?