Skip to Content

Leave Workflow resubmission problem

Dear Expert

We have implemented a leave workflow base on standard workflow 12300111, which has more than one approval layer. After the second manager reject the request, the request goes to “Resubmission” and by the “Dummy” method send it back to “&_WF_INITIATOR&” of the initiator.

Now, after resubmission of the request by the initiator, SAP sends it to the second manager that is not true as our organizational process. According to our business process after each rejection the request must be send back to the initiator and then must send it to the first manager and then other higher managers. In a word after each rejection the request must throw same as new request.

We have written a background method which set the next processor as the first manager and have putted it after the Standard task “TS12300116” (Process Request by Employee) in workflow. But the method does not work and the “Next processor” does not change.

Please guide me to implement the above process.

We now use SAP ECC 6 EHP5 and use NWBC as internet based portal.

Vest Regard

Afshin

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 28, 2012 at 01:20 AM

    Hi Afshin,

    Ok well the first thing to understand about the Leave Request workflow is that it is more about leave requests than about workflow. Instead of writing a background method you should try the exit options in enhancement spot PT_GEN_REQ.

    BTW that dummy method isn't really calling the method... it's calling either the Web Dynpro Java - or hopefully in EHP5 the Web Dynpro ABAP - application for the leave request via the task visualization entry in transaction SWFVISU.

    But regardless, it's the leave request app that has the real control here.. workflow is just there to launch the approver/author back into the application.

    Hope that helps

    Regards,

    Jocelyn

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.