on 08-12-2015 4:00 PM
Dear Pals,
I have the issue where employee an employee (Pernr - 404756) is reporting to manager (Pernr - 853429) as per the organisational structure.
Employee belongs to company code - HS01 and
Manager belongs to company code - HS02
Note: Both employee and manager are in different company codes.
Issue: In ESS when the Employee clicks on ' Create Leave Request' the particular error is displayed rather than landing the Leave request page.
Error is attached.
After analysis we found for other set of employees where employee and manager belongs to HS01 company code there is no issues.
So we have understood there is something to do with some Authorisation where it is not able to connect with manager who is in different company code.
Now the customer want to maintain data as it is right now and also we should overcome the error.
Could you please tell whether anyone faced such issue or know how to tackle
Thanks and Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it's looks like your using custom class to identify the approver for this employee.
In this class it's not able to identify the reporting manager as per that logic.
Try to maintain 002 relation ship for this employee position id to that manager position id and check it.
Debug this custom class ZCL_HCM_SWF_COMMON in method GET_LINE_MANAGER and check wat parameters are passing to fetch the line manager.
This error will come if there is no rule group identified for that employee.
check in PTARQ t-code, click on Determine Rule group button and check is it showing the rule group or not for that employee.
If it's not showing any thing then Check the WEBMO feature is any rule group assigned or not assigned for this company code HS01?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shankar,
I checked 'Determine Rule Group' in PTARQ and Rule group exist. Also in the feature WEBMO values are there.
Btw my issue is half resolved, thanks for the team members who replied.
What I did was:
Created a profile in OOSP with the Org.unit details of the manager and assigned profile to the Employee user id. Now Leave request screen is accessible.
But this will give more authorisation to the employee of different Org.unit which he should not be. Now looking into some evaluation path or other feasibilty
Thanks all
Ram
check in ST22 dump for this user, what error you see? compare the roles assigned to the user and check the customisation as per working one in PTARQ etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.