Skip to Content
0

Execute different form scenarios in HCM PNF process

Dec 14, 2016 at 09:33 AM

50

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Kalyan Chakravarthi Dec 30, 2016 at 03:27 AM
0

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/

Share
10 |10000 characters needed characters left characters exceeded
tek prince Jan 05, 2017 at 12:07 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded