‎2006 Aug 30 6:56 AM
Hello All,
Below I have a scenario like this in HR Module,
Some users doesnt have authorization to read infotype 0008 which has been assigend in the standard authority object.
My requirement is when the above user runs one particular report which has got a PNP ldb attached to it he should be authorized to read the inofype 0008.
how to over ride this.
Is this possible, and please give your valuable suggestions.
Thanks,
‎2006 Aug 30 7:10 AM
check this .
<b>
DBPNPAUT 19 * Check if the user has any authorizations to read the requested
22 * that users having only P_PERNR authorizations will fail this
24 * Users having only P_PERNR authorizations may need other authorizations
26 * Workaround: we may give the user authorizations for P_ORGIN
32 ** the corresponding authorization information.
39 * is_authorized TYPE boolean. "XYVAHRK055732
119 * CALL METHOD hrac_badi->check_min_infty_authorization
125 * is_authorized = is_authorized.
126 * IF NOT is_authorized = hrac_badi->true.
129 * ENDIF. " NOT IS_AUTHORIZED = HRAC_BADI->TRUE.
178 * is_authorized TYPE boolean.
182 * CALL METHOD hrac_badi->check_authorization
193 * is_authorized = is_authorized.
196 * IF is_authorized = hrac_badi->true.
198 * ELSE. " IS_AUTHORIZED = HRAC_BADI->TRUE.
200 * ENDIF. " (ELSE) IS_AUTHORIZED = HRAC_BADI->TRUE.
209 * Form for initializing the authorization BADI exit.</b>
Regards
Prabhu
‎2006 Aug 30 7:10 AM
check this .
<b>
DBPNPAUT 19 * Check if the user has any authorizations to read the requested
22 * that users having only P_PERNR authorizations will fail this
24 * Users having only P_PERNR authorizations may need other authorizations
26 * Workaround: we may give the user authorizations for P_ORGIN
32 ** the corresponding authorization information.
39 * is_authorized TYPE boolean. "XYVAHRK055732
119 * CALL METHOD hrac_badi->check_min_infty_authorization
125 * is_authorized = is_authorized.
126 * IF NOT is_authorized = hrac_badi->true.
129 * ENDIF. " NOT IS_AUTHORIZED = HRAC_BADI->TRUE.
178 * is_authorized TYPE boolean.
182 * CALL METHOD hrac_badi->check_authorization
193 * is_authorized = is_authorized.
196 * IF is_authorized = hrac_badi->true.
198 * ELSE. " IS_AUTHORIZED = HRAC_BADI->TRUE.
200 * ENDIF. " (ELSE) IS_AUTHORIZED = HRAC_BADI->TRUE.
209 * Form for initializing the authorization BADI exit.</b>
Regards
Prabhu