cancel
Showing results for 
Search instead for 
Did you mean: 

Approved Leave Request in ESS is takeing time to update in R/3

Former Member
0 Kudos

Dear Expert,

Once Leave is approved in ESS. Info type 2001 is takling almost 24 hrs or more to update the same in R/3 Backend.

Suggest me what will be the solution.

Regards,

Kamal Rawal

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

I am closing this thread as it is open for too long.

Former Member
0 Kudos

I am closing this thread as it is open for too long.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

If it is in wait state, Check the SWU3 jobs

And also recently I encountered the workitem stops at Rule 146, for leave request

ie

Agent determination for step '0000000146' failed

as a result, it just sits there., SO you can avoid this by deleting the binding.

I am speaking of Standard WF as an example

Former Member
0 Kudos

Green Tickmark is appearing in all nodes in SWU3 except the following

Maintain Runtime Environment

X Schedule Background Job for Shared-Memory Update of Container Factory

Maintain Definition Environment

X Check Entries from HR Control Tables

Maintain Additional Settings and Services

X Maintain Web Server

Guided Procedures

X Maintain Guided Procedures Gateway

In Standard WF:

Do I need to delete task Binding as well as Rule BInding ?

Do I need to set Agent Assignment for this task after deleting the binding ?

Regards,

Kamal Rawal

Edited by: Kamal Rawal on Apr 25, 2009 1:02 PM

Former Member
0 Kudos

there are two issues

1. workflow remaining in wait state

2. posting into 2001

can you kindly respond to the quiries posted in last response.

1. for posting issue what error do you see when you use ptarq transaction

2. is the workitem visible only in uwl or its also visible in ERP

There have been cases when the workitem is not cleared from uwl but cleared in erp. If you are looking at solution then request you to respond to questions carefully.

You must understand that the leave application follows unique way ot BPM where there is also a workflow and an application associated with it. The worklfow is a gneric document workflow that can beutilized by any process and an application specifically created for leave.

The application that is available for approval has a code tocomplete the workitem once the approval is successful. So unless you answer the questions carefully troubleshooting will be tough.

step 146 also calls application LeaveRequestAdmin as the task has a dummy method.

Request you to answer the questions carefully again.

According to your reply 'THERE IS ABSOLUTELY NOTHING WRONG IN SWU3' Either this issue is with uwl inbox synchronization or with the application for manger as well as HR administrator.

Edited by: Barin Desai on Apr 26, 2009 11:45 AM

Former Member
0 Kudos

Dear Barin,

In my test system I have entered the leave application and approved from ptarq and posted the same.

No error has encountered.

Workitem does not appear in Approvers UWL.

Workflow is stuck in Wait Status Change.

When I am executing RSWWCOND manually then workflow is getting completed.

But When I execute RSWWCOND in production system I am getting following error :

Report for Evaluating Pre-/Post-Conditions

Error during evaluation of a condition (SWW_WAIT_CONDITION)

Error during evaluation of a condition (SWW_WAIT_CONDITION)

Error during evaluation of a condition (SWW_WAIT_CONDITION)

Error during evaluation of a condition (SWW_WAIT_CONDITION)

Error during evaluation of a condition (SWW_WAIT_CONDITION)

When program RSWWCOND is executed in the system ?

What should I check and How can I trace the error in posting at run time ?

Regards,

Kamal Rawal

Former Member
0 Kudos

is it in the wait state at any particular task.

regards

Former Member
0 Kudos

It is in Waiting in Step no 00142 Wait for Status Change.

Not moving forward. What will be the reason. But if I am manually executing RSWWCOND

it is completing.

Regards,

Kamal Rawal

Edited by: Kamal Rawal on Apr 27, 2009 3:42 PM

Former Member
0 Kudos

can you please read value from container of REQ.STATUS for the workflow that is on waiting step at step 142?

also raise an oss message if you are looking at immediate response or correction.

before above can you plase confirm if you have scheduled RPTARQSTOPWF in bg.?

This is very important.

Edited by: Barin Desai on Apr 27, 2009 4:12 PM

Former Member
0 Kudos

Dear Barin,

REQ.STATUS is POSTED & RPTARQSTOPWF is schedulled.

I have already raised as OSS. Mr. Siddharth has suggested to remove the binding in Administrator Check then test and move to production.

What is the time schedule execution of program RSWWCOND.

Regards,

Kamal Rawal

Former Member
0 Kudos

your workflow is stuck on 142 that means that it is waiting for the state of your leave record in ptreq* tables to be changed. Once the approve takes an action then the same triggers this event. I am not sure if changing adminstrator bindings will help as the workflow is not at all reaching to the administrator.

the jobs can be scheduled every 10 mins.

this is not ideal situation as the workflow should be closed when the request status changes.

Kamal you have one node in swu3 where there is an option to schedule background job for condition evaluation. haven't that been scheduled?

also run report RHSOBJCH and solve the hrobject related issue.

It seems that the condition evaulation report is not scheduled in swu3 please check this carefully.

Edited by: Barin Desai on Apr 27, 2009 5:43 PM

Former Member
0 Kudos

Dear Barin,

"Schedule Background Job for Condition Evaluation " is tickmarked with Green. I believe this means Job is schedulled. Or Do I need to schedule - RSWWCOND manually from SM36.

Regards,

Kamal Rawal

Former Member
0 Kudos

HI Program RSWWCOND is scheduled. and It period is after every 30 min.

Regards,

Kamal Rawal

Former Member
0 Kudos

if its scheduled then the workitem will get completed once the job runs so there is no need to reschedule it.

you need to confirm if that job is getting executed.

Former Member
0 Kudos

Dear Barin,

When I checked the Log of RSWWCOND following error message is appearing.

27.04.2009 09:25:52 Job started 00 516 S

27.04.2009 09:25:53 Step 001 started (program RSWWCOND, variant &0000000000000, user ID WF-BATCH) 00 550 S

27.04.2009 09:25:53 Error during evaluation of a condition (SWW_WAIT_CONDITION) SWF_RUN 553 S

27.04.2009 09:25:53 Error during evaluation of a condition (SWW_WAIT_CONDITION) SWF_RUN 553 S

27.04.2009 09:25:53 Error during evaluation of a condition (SWW_WAIT_CONDITION) SWF_RUN 553 S

27.04.2009 09:25:53 Error during evaluation of a condition (SWW_WAIT_CONDITION) SWF_RUN 553 S

27.04.2009 09:25:53 Error during evaluation of a condition (SWW_WAIT_CONDITION) SWF_RUN 553 S

27.04.2009 09:25:54 '58' entries have been edited WL 010 S

27.04.2009 09:25:54 Job finished 00 517 S

Regards,

Kamal rawal

Edited by: Kamal Rawal on Apr 27, 2009 6:21 PM

Former Member
0 Kudos

cancel this job and reschedule and check if this error appears again.

Former Member
0 Kudos

This error is coming even when i execute manually from se38.

Regards,

Kamal Rawal

Former Member
0 Kudos

can you send some more details on the error log. is this happening for only wf12300111 or its a generic error for all the workitems?

Former Member
0 Kudos

Logon to ERP with approver's id

1. Use Transaction PTARQ

2. Click on button 'Approve Documents'

3. Click on F8

Please reply with what do you view in the output. Try to select the record and approve if any pending.

Please keep track of one of the records.

After approving

1. Click on button 'Post Document'

2. Donot select Test run check box, select display log

check if the respective records are updated in infotype 2001.

If the above is successful then confirm, we shall analyse the issue once you respond.

Please make sure you analyse the log as the updation may be ending in Error. The log will provide the details.

Edited by: Barin Desai on Apr 18, 2009 12:04 AM

Former Member
0 Kudos

Hi Barin,

After through checking the system I found that some of the requests are not getting posted due to error and some are posting to 2001 but status is still Approved.

Workflow is waiting in Wait Status even if it is posted.

What should be checked step by step.

Regards,

Kamal

Former Member
0 Kudos

Is this workitem in wait state in uwl or also in ERP?

Also please check the error log and confirm reason why some requests are not getting posted.

The mannual executing of posting program will give you reason.

thank you

barin

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

check the status of the record in RPTARQDBVIEW?

Former Member
0 Kudos

Hi,

You need to run the report RPTARQPOST for posting Portal leave data into SAP R/3 info type 2001.

But before that you need to Schedule this report with the time interval that you want to set.

To do this process T-code is u201CSM36u201D.

But you can set this with the help of your basis Team.

Regards,

Vivek Jadhav

Former Member
0 Kudos

Hi All,

RPTARQPOST report is scheduled and which has no errors. It runs after every 5 mins.

Still the approved leave data is not posting.

Regards,

Kamal Rawal

Former Member
0 Kudos

Hi,

Please run the report RPTARQPOST in the backend in order to update Absences infotype . This report is used to update the database that have the status as Approved.

For more information, check this link :

[http://help.sap.com/saphelp_erp60_sp/helpdata/en/f6/263359f8c14ef98384ae7a2becd156/frameset.htm]

Regards

Aditi

Former Member
0 Kudos

Hi Aditi,

Thank you very much.

Regards,

Kamal Rawal