cancel
Showing results for 
Search instead for 
Did you mean: 

ESS Leave request WorkFlow not getting triggered

Former Member
0 Kudos

Hi All,

My work For the leave Application is not getting triggered in R/3.

I have checked following settings.

Work Flow is assigned in the SPRO for the leave type in the node.

Specify Processing of Processes for Types of Leave. as per the employee PSG

Workflow initial customization in the TCODE SWU3 is checked all are green except Guided Procedures.

I am using the workflow 12300111 work agent assignments are done for all the tasks and at the header level as well.

I am able to see the events for objects in SWEL.

There is no ST22 dump available. all the user have full acess.

Systems are registered in the portal as well as in UWL.

Pls help me out in solving this.

Regards,

Umesh Chaudhari

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Make sure that the task is a General task?

PFTC: Workflow Template

'12300111'

Go to Menu

-> Additional Data-> Classification > Display

check if is it selected as :

'General Task'

It should be general task.

Is the task Standard task 12300097 a general task?

it is not! Please make it a general task !!

You need to check the table V_T554S_WEB.

In this absence revelant you need to check

the workflow ws12300111. Please make sure

that you have entered the id 12300111

Also make sure if you are using the badi, then you need to copy all the methods like Start_WF.

Please check if you are using BADI

Se24 -> CL_PT_REQ_WF_PROCESSOR > START_WORKFLOW under this you have

PT_GEN_REQ there you can see your enhancements. There is a Z Badi

ZPT_GEN_REQ. Here you need to copy the method START_WF from class

CL_DEF_IM_PT_GEN_REQ. Then activate your Z Badi.

Former Member
0 Kudos

Hi Siddharth Rajora,

Thanks for your reply....

I have done the agent assignment and all correctly.

and yes i have already implemented the badi PT_GEN_REQ with th method FILTER_NEXT_PROCESSOR apart from this i have not implemented any method.

do you think i should be implementing the method START_WF .

Regards,

Umesh Chaudhari

Former Member
0 Kudos

Thanks alot Siddharth Rajora,.....

I implemented the method START_WF and now the workflow is getting triggered.

Thanks for your reply.

In future will i have to implement any other method of PT_GEN_REQ.

Regards,

Umesh Chaudhari.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1st check the task of the workflow is exits in SWFVISU T-code .

if all task is exits in SWFVISU t-code.

Then check the workflow statues by "swia" tcode and execute for today date and check the statues of the workflow trigger.

Usually the Process is you done with all the configuration related leaves attahed the work flow .

Employee log in on portal he apply for the leave .

This leaves go to his reporting manager for approval thru workflow 12300111.

Manager can see his leave request in his inbox ...and if he want to approve his leave ,, then he open employee work item ....

once he approve the leave ...then in SAP ( back end ) you need to run the report "RPTARQPOST" using tcode "se38" and click up on the execute ..its will give the Log of Leave Requests Posted that Have the Status "Approved" .

Once this report gets execute ...then in SAP ( back end ) you can see the leave taken by employee is posted in infotype 2001 ( absence ).

Cheers ,

Vivek

Former Member
0 Kudos

Hi Vivek,

SWFVISU will come in the picture only when i want the workitem to be displayed in UWL.

regarding swia there is no work item at all.

Regards,

Umesh Chaudhari

Former Member
0 Kudos

HI,

For time been give "SAP_ALL" profile to the employee and manager ...by SU01.

cheers

Vivek

Former Member
0 Kudos

there is SAP_ALL as well as SAP_NEW assigned to both employee and manager

Regards,

Umesh Chaudhari

Former Member
0 Kudos

Hi,

In SPRO settings Processing Processes -> Specify Processing Processes for Types of Leave ->

select one Type of leave ......check where you "Check on Requests Have to be approved" in "System Response".

Former Member
0 Kudos

This is done. even the work numbers are specified for the proper PSG.

Regards,

Umesh Chaudhari

Former Member
0 Kudos

Hi,

boss have u active the workflow ????????

Former Member
0 Kudos

Well Vivek

In my first post it self i have mentioned that workflow is active agent assignments are done.

Regards,

Umesh Chaudhari

Former Member
0 Kudos

Hi,

Do one thing Log in with the same user in SAP ....goto any other tcode ... it wont get executed from easy access...give /nws20000081 and try to do same thing from there ....and check

Former Member
0 Kudos

I am not using the work flow ws20000081.

I am using WS12300111.

Regards,

Umesh Chaudhari.

Former Member
0 Kudos

My dear friend give WS12300111 and execute ......i have just gave example .

Former Member
0 Kudos

Well Vivek,

Before suggesting any thing pls check with your self.

work flow 12300111 can not be tested like /nws12300111.

only way to checl is using the PTARQ. and this is very simillar to triggering it through the ESS Portal.

and from here also the work flow is not getting triggered.

Regards,

Umesh Chaudhari.

Former Member
0 Kudos

Hi,

Give me call on 09930960001 ....