Hello Peter !
Is that all you want is to identify that "flexi" leave type ?
Get REQ.REQID from the log of the unwanted work item which can be neither approved nor rejected by the manager.
Pass this in the field REQUEST_ID of PTARQ_DEDUCTION table and collect the leave type from QUOTATEXT field.
Regards,
S.Suresh.