Skip to Content
avatar image
Former Member

Execute different form scenarios in HCM PNF process

Hi,

I have a scenario, where I want to cancel the current workflow and start a new workflow process from the current HCM P&F FPM form .

I want to cancel the current process which is pending at some level. In cancellation too it should go through some approval levels, Any help will be highly appreciated.

Regards,

tek

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 30, 2016 at 03:27 AM

    I assume you would cancel the workflow based on some conditions that you validate.

    In case of Cancel workflow, it will actually complete the workflow. In case of restart the same process, you might check to do this programatically. Function Module "HRASR_PROCESS_EXECUTE" can be used here.

    Try to check this blog post:

    https://blogs.sap.com/2014/10/20/hcm-pf-using-fm-to-start-process/

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 05, 2017 at 12:07 PM

    Hi Kalyan,

    Thanks for your reply and sharing the blog, Below is my scenario.

    1. In the process browser List I am showing list of request created by Form Scenario (Example (A)).

    2. On click of the button (Display) on the process browser, I want to show another Form Scenario (B) with all the fields values filled from the lead selection which is in Form Scenario(A) based on the Reference_Number and start the new Workflow and process which is (B).

    Regards,

    Tek

    Add comment
    10|10000 characters needed characters exceeded