09-21-2008 2:04 PM
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...
09-21-2008 2:30 PM
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
09-21-2008 2:30 PM
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
09-21-2008 3:23 PM
Hi,
If you are using LDB, then no need to check for the authorization. I
09-22-2008 2:24 AM
thanks guys.. but how to get the message that will informthe user that he/she is not authorized to access a certain infotype?