Hi altogether,
I have a strange behavior with the leave request in combination with concurrent employment and multiple approvers.
When I start the WDA application, the popup comes up for choosing the correct assignment. This seems to work perfectly, because I can only edit or delete leave requests belonging to this assignment. The others can only be seen in the overview.
The problem is, that the application uses the wrong initiator when I start a new leave request. The application always uses the personal number of the assignment as initialtor, which has the system user in infotype 0105, subtype 0001. Result is, that the approvers are alway the same. I implemented the BAdI PT_ABS_REQ because of multiple approvers. In the method GET_MULTIPLE_APPROVERS objid is always the same mentioned personal number. Choosing the assignment when starting the appilcation has no impact on that.
In my testcase I have two assignments 001 and 002. Opening a new leave request with chosen assignment 002 gives me the 001 approver. This is wrong because 001 has one approver in one organizational unit. 002 has two approvers from two completely different org-units. After sending the request it is matched with the correct assignment in the overview.
Do I miss some customizing?
thanks in advance
Christian