cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow is not getting triggered

Former Member
0 Kudos

Hi,

I have done the configuration in swu3 , still the leave request workflow is not getting triggered.

Can anyone help me . I am trying to access from SAP inbox.

I have also maintain in view V_T554S_WEB standard template 12300111.

When i go to transaction swi1 I can see workitems,but when I go to log -> Agents it says no selected agent . Can anyone tell me what is missing ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

in WF WS12300111 you dont need any modification, once you set the rule group as Line manager, leave request will pick the

manager according to the employee org assignment

So you need to ensure employee is assigned to a position with correct organisation structure

check in PP01, PPOSW or PPOME

Rule 0168 should be used

or implement the badi ie PT_GEN_REQ

Now you can also have manual entry and select an approver for checking purposes.

APproval task TS12300097.

If you use above badi, ensure all methods are copied from standard ie START_WF mainly.

Answers (2)

Answers (2)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

in the rule group what customisation is done

ie table V_PTARQ_TPROCESS

If the WF is unable to find the agent as per above config then you ll not see the workitem in the inbox

Please make sure if you are using line manager as next agent then you have set the organisation structure correctly

of the employee and his position is reporting to manager etc

also you can use badi to determine the next agent ie PT_GEN_REQ

Former Member
0 Kudos

Hi Siddharth,

Thanks for reply . I have selected line manager in the view "V_PTARQ_TPROCESS". I am facing one problem in agent assignment. I am not able to select org assignment. I followed below procedure.

1. Transaction SWDD

2. Enter WS12300111 and version 003 (12300111 is maintained in V_T554S_WEB)

3. Click on Basic Data

4. Agent Assignment for task

5. Select attribute and general task

When I select row "General workflow for documents" and select org assignment ,it says Please position the cursor correctly.

Please help

Thanks

Former Member
0 Kudos

Hello Siddharth,

Could you please suggest.

Thanks

Former Member
0 Kudos

I think you are missing step for "Agent assignment".

In below article go through step "Assign Agents for Tasks"...

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/103e2cf0-ec95-2b10-d198-a2d5edfbd...

Former Member
0 Kudos

Hi Saurabh,

Thanks for reply , but this step is already done. I have organization structure assgined to the task.

please let m know

Former Member
0 Kudos

Hi All,

Anyone can suggest please.