Hi all,
I have requirement for 2 level approval for leave request.
I have copied standard workflow WS21500001 for my requirement.
After 1 st level approval, status will change from SENT to APPROVED in table PTREQ_HEADER
1.Please help me how to change this status again from APPROVED to SENT in the table PTREQ_HEADER from Workflow.
I tried using the class CL_PT_REQ_WF_ATTRIBS with method APPROVE(Example for Status Change from Workflow).But unable to change the status in table PTREQ_HEADER .
Please tell which parameters I need to pass to the APPROVE method to change the status(I passed Request ID but still not changed the status).
2.How to fetch next approver and pass to N_PROCESSOR to show in NWBC as 2 level approver.
Regards,
Nageswara Rao