Hello expert ,
There is a requirement where based on the leave Type we will be having different set of approvers . So if leave type is sick leave , there is one set of approvers and if its compassenate , then the set of approvers is different . One way is to handle it in Workflow by using rule resolution where based on the leave type we are determining different approver . But If we want to implement the BADI PT_GEN_REQ and method set_and_default_next_processor , how can we determine the leave type in that method to set up the approver .