cancel
Showing results for 
Search instead for 
Did you mean: 

Leave request not approved but posted

Former Member
0 Kudos
1,932

Hi,

There is a pending work item in user's task list but when user click the request for processing, it returns blank screen.

When checked container of work item REQ-Status is POSTED,  while _Workitem-WorkitemStatus is STARTED. I also checked table PTREQ_HEADER for Document ID and it has 3 entries and Version 3 has Status POSTED.

User (Approver) said that he has not processed the request so how the leave has been posted? I am trying to find the reason but do not understand how is it happening. There are few such issue have reported earlier but frequency is very less and random for this issue. Not able to simulate the error in Quality environment.

Regards,

Amitesh

View Entire Topic
Former Member
0 Kudos

Is it happening for any particular user i.e. either requestor or approver ? There are cahnces of having authorization issue. Please tell user to check t-code SU53 just after the incident.

Thanks,

Prakash

Former Member
0 Kudos

Dear Prakash,

Since status of Doc Id in PTREQ_HEADER is Approved/Posted so blank screen is coming as there is no data available for the request. The real issue is how the workitem status is changing to POSTED without workflow completion.

Regards,

Amitesh Prashar

former_member201570
Active Participant
0 Kudos

Hi ,

As the standard functionality only one level of approver is there , so first level is approved the status will be POSTED . in your case three level approver is there so after each level ( up to last level ) the status has to change POSTED to START . So enhancement has to do for the same. The below link will help you .

Customizing the ESS Leave Approval using Business Workflow - ERP Human Capital Management - SCN Wiki

regards,

shamsu

Former Member
0 Kudos

Thank you Former Member

I check workflow template and we have a custom task to reset the status from APPROVED to SENT.

The problem with the instance having error is that TS12300097 is setting value of status (_Wi_Object_ID - STATUS)  to POSTED instead of APPROVED. Since in custom code check is in place to reset the value from Approved to Sent but as status is not Approved but Posted so check fails and status does not change to Sent.

Can you please help me to understand how status is changing to POSTED instead of approved by task TS12300097? My initial thought was that may be PTARQPOST was run so that status was changed to Posted before it was reset to Sent. But same user is having few task assigned with same error at different time, so I am not sure if there is no issue with the standard task.

Thank you