This website is not affiliated with, sponsored by, or approved by SAP AG.

How to trigger a workflow in webdynpro programs

Business WorkFlow

Moderators: Snowy, thx4allthefish

How to trigger a workflow in webdynpro programs

Postby n199707 » Mon Mar 12, 2012 8:31 am

Hi Experts,

I am new to SRM Workflow, and I need to trigger a workflow in my webdynpro programs.
But I don't know how to do.

The requirement is as below.
1. Creating a web dynpro program
2. User can execute the program and input data on it. Such as Expense application, Leave application...
3. When the user click the "Apply" button on the form, the application will be sent to the boss.
***I want to trigger a workflow when the user click the "apply" button.***

I have achieved the similar functions in SAP ERP systems, by generating Events in the Add-on programs.
But I don't konw how to do it in SRM 7.0.

Any suggestions would be greatly appreciated.
Thanks and Best regards
n199707
 
Posts: 2
Joined: Mon Mar 12, 2012 8:20 am

Re: How to trigger a workflow in webdynpro programs

Postby shaikymulla » Mon Mar 19, 2012 10:40 am

hi,

creat a webdynpro program have some buttons like approve or reject in the webdynpro screen.
use these actions to trigger a workflow in SRM box with FM: SAP_WAPI_CREATE_EVENT or SAP_WAP_START_WORKFLOW
whichever is relevant in your case.

let me know if its able to solve this

thanks,
shaik.
shaikymulla
 
Posts: 2
Joined: Mon Mar 19, 2012 10:13 am


Return to Business WorkFlow

Who is online

Users browsing this forum: No registered users and 4 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.