Feb 21, 2018 at 07:49 AM | 81 Views | Last edit Feb 23, 2018 at 01:57 AM 3 rev.
We have implemented structural authorization for Appraisal’s and using P_HAP_DOC for the structural profiles.
We have few exceptional scenarios like Employee/Manager transfer where the appraisal document control (edit) access is granted based on S-S relationship. Since, there is no valid S-S relationship the Managers (ex) are not able to act on the forms though they act as appraisers (appraiser in the header data) in the appraisal document.
Do I need to modify the Structural profile to allow the Mangers(ex) to edit the forms?? I would not prefer this option as there would be an impact to the current design.
Are there any badi or program can help to skip the authorization checks for the exceptional scenarios?
Your inputs would be greatly appreciated.
Actually there are two different situations.
1, the appraisee can no longer access the appraisal document ?
2, the appraiser can no longer access the appraisal document ?
Processing tab when configuring the template.
check whether the appraisee's user is authorized to access the appraiser's data.
the appraisee can still access the document.
to access the appraiser/manager's data.
then it becomes kind of complicated.
should be authorized to access the appraisee's data during the appraisal document's validity period.
As a workaround, you can consider using the badi HRHAP00_AUTHORITY.
For details of this badi, the following wiki page can be referred to.
exactly your case now, then the change on the template is needed.
To touch the configuration of a template in use should always be careful.
As we have already set the check box" No Authorization Check for Appraiser " Appraisee is able to access the form, so no issue with situation 1 so far.
Issue is with situation 2, " appraiser no longer access the appraisal document " . As we have already using the badi HRHAP00_AUTHORITY, i will check the logic to enable the access to old managers .i think we do not need to touch the template configuration.
I am thinking if we can skip the authorization check in the authority badi for exceptional scenarios, my issue is solved.
Can we use the HRHAP00_AUTHORITY for POWL appraisal document filtering ? would be helpful if you can point to the enhancement area to get the documents in powl tabs.