cancel
Showing results for 
Search instead for 
Did you mean: 

2 Level approval for Leave Request Workflow WS21500001

nagrao_kollu
Participant
0 Kudos
679

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

View Entire Topic
I042439
Advisor
Advisor
0 Kudos

Hi Nageswara

The following link answers your question - with details and examples:

Customizing the ESS Leave Approval using Business Workflow - ERP Human Capital Management - SCN Wiki

regards,

Modak