cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Web Dynpro with UWL using Workflow!!

Former Member
0 Kudos

Hi,

My scenario:

If manager wanted to give promotion for an employee, he gives the comments and once he do submit,

the same should be placed in UWL list and HR can open the UWL link and it should be opened with the data which manager has filled.

Then HR can able to approve/reject that promotion.

I am using FM 'SAP_WAPI_START_WORKFLOW' to trigger the workflow and passing the input variable( employee number here) through

workflow container. (table type swt_cont).

In handle default I am receiving the parameter 'WI_ID' (workitem id). I am not sure about the workflow part that what is to be done here using

the parameter which we are passing the through container.

Whether I am using the correct FM to trigger workflow. Could you please help me to move forward.

Thanks,

GS

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sathiskumar,

   I had developed a same proces for  like a multilevel approval process where the work item will be accessed from UWL. I followed the following approach so you can certainly try that.

1. Created a class for wokflow with the event 'STARTED'.

2. Created a Workflow which gets sratrted with a event.

3.  From  your WDA application on a particular option start thw workflow by using class '

     'CL_SWF_EVT_EVENT=>RAISE' with object Type as class name , event as event name. You

     can pass your wda application specific parameter in objec

     key.

Once you workflow triggered further for next approver you can read parameter & workflow ID

from your WDA application by using

   'WDEVENT->GET_DATA'   & further you can continue the workflow with modifying container using

   SAP_WAPI_WRITE_CONTAINER or can complete the workflow.

Let me know if you need any specific info on these.

Regards,

Monishankar Chatterjee

Answers (0)