I have this fundamental question.
We have this manager who belongs to company code 0050 but manages employees who are in company code 0040.
And the reason is since the manager work office is near to the office of company code 0040.
1. Is it proper assignment in SAP. If so how to be handled from ESS side as we are getting error when employee access Leave request form in ESS.
2. Or there is any other method to handle the situation
Note: Attached dump from ST22 when leave request page is accessed