Error after second level approval in ESS leave request

Hi Experts
I am using custom workflow for Ess Leave request process which is copied from WS21500001.
I have added custom class methods to change status from approved to sent.
Then another method i have set next appovaer.
The problem i m facing is that I am getting an error on portal after second approval approves the request.
i.e Field syomol has not been assigned yet.
from st22 i found its generating from
Include LPT_ARQ_REQUEST_UIAF06  - Form   execute_approver_update
By debugging i found that Its not getting next approval with status T as there is only first approval with status 'A'
This results in unassigned field symbol. and then error.
Please help me resolve this issue.
Please confirm why next approver is not found in method.

Hi All
Thanks for your reply.
I checked why it was giving a dump.
This execute_approver_update subroutine takes approval data from table ptreq_approver .
I filled this with resp actor id after request is approved and status is changed to sent.
For every emp its unique actor id is saved in ptreq_actor table agaist his pernr.
   SELECT SINGLE actor_id FROM PTREQ_ACTOR INTO actor_id WHERE objid = nextApprover_pernr.
    wa_appr-mandt = sy-mandt.
    wa_appr-request_id = Request_ID. "Req.requestID ( from Workflow )
    wa_appr-version_no = version_no. "Req.Version ( from Workflow )
    wa_appr-seqnr = seqnr. "Same as version no but in char
    wa_appr-approver_ins = actor_id. "Employee actor id from ptreq_actor
    wa_appr-status = 'T'. "Manual
    append wa_appr to it_appr.
    INSERT PTREQ_APPROVER FROM TABLE it_appr .
    commit work and wait.
This resolved my issue.
Thanks

Similar Messages

  • Next level approver in ESS leave request

    hi friends
    Am working in ESS leave request workflow. In my scenerio there are 4 level approver. I have function module SWX_GET_MANAGER  i have copied and customized to ZSWX_GET_MANAGER with my logic to get the next level approvers. If i entered the PERNR it return all the approver for that employee. How do the workflow know he is the 2nd level approver, he is the 3rd level approver. How can i achieve it. kindly help me...
    Regards
    vijay

    Hi Vijay,
    I think you will need to use a loop and a counter so you know the approval level. You can use this to get the manager who belongs to the level.
    Regards,
    Martin
    PS I hope you will show in the thread which solution you got so others will benefit. This forum is about sharing knowledge and one way is to give the solution in your thread, or value the appropriate answers.

  • Error in second level approval

    Hi,
    I have the request workflow in which there is 2 level of approval. Level 1 approval is working fine but when I attach the level 2 approval on the "Approve" response of level 1 approval and level 1 manager approve it, it gives me the error " An unknown error code was passed. Contact your system administrator"
    Below are the logs :
    INFO,13 Feb 2011 23:40:14,963,[XELLERATE.DATABASE],DB read: select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1058
    DEBUG,13 Feb 2011 23:40:14,964,[XELLERATE.DATABASE],select mil_key, mil_name, mil_sequence, mil_day, mil_hour, mil_minute,mil_create_multiple, mil_cancel_while_pending, mil_comp_on_rec, mil_required_complete, mil_retry_period, mil_retry_count, evt_key, mil_default_assignee, mil_assign_to_manager from mil where mil_key=1058
    INFO,13 Feb 2011 23:40:14,965,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,965,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getMilestoneInfo left.
    DEBUG,13 Feb 2011 23:40:14,965,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess entered.
    DEBUG,13 Feb 2011 23:40:14,965,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,965,[XELLERATE.DATABASE],DB read: select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = 1707
    DEBUG,13 Feb 2011 23:40:14,965,[XELLERATE.DATABASE],select orc.orc_status, orc.pkg_key from orc orc where orc.orc_key = 1707
    INFO,13 Feb 2011 23:40:14,966,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,966,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,966,[XELLERATE.DATABASE],DB read: select pkg.pkg_type from pkg pkg where pkg_key=128
    DEBUG,13 Feb 2011 23:40:14,966,[XELLERATE.DATABASE],select pkg.pkg_type from pkg pkg where pkg_key=128
    INFO,13 Feb 2011 23:40:14,967,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,967,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket entered.
    DEBUG,13 Feb 2011 23:40:14,967,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket left.
    DEBUG,13 Feb 2011 23:40:14,967,[XELLERATE.SERVER],Class/Method: tcDataBase/getError entered.
    DEBUG,13 Feb 2011 23:40:14,967,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,967,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_PARENT_APPROVAL_COM'
    DEBUG,13 Feb 2011 23:40:14,967,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.SCHTM_PARENT_APPROVAL_COM'
    INFO,13 Feb 2011 23:40:14,969,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 1, TOTAL: 2
    DEBUG,13 Feb 2011 23:40:14,969,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable entered.
    DEBUG,13 Feb 2011 23:40:14,969,[XELLERATE.SERVER],Class/Method: tcDataBase/isActionLoggable left.
    DEBUG,13 Feb 2011 23:40:14,969,[XELLERATE.SERVER],Class/Method: tcDataBase/logError entered.
    ERROR,13 Feb 2011 23:40:14,969,[XELLERATE.DATABASE],Error: Error Keyword: DAE.UNKNOWN_CODE
    Description: An unknown error code was passed.
    Remedy: Contact your system adminstrator.
    Action: E
    Severity: C
    Help URL:
    Detail:
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataBase/logError left.
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataBase/getError left.
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isAction - Value: E
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isCode - Value: DAE.UNKNOWN_CODE
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDescription - Value: An unknown error code was passed.
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isRemedy - Value: Contact your system adminstrator.
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDetail - Value:
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcErrorList/addError entered.
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isAction - Value: E
    DEBUG,13 Feb 2011 23:40:14,987,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isCode - Value: DAE.UNKNOWN_CODE
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDescription - Value: An unknown error code was passed.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isRemedy - Value: Contact your system adminstrator.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDetail - Value:
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/addError entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/addReject entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/addReject left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/addError left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/addError left.
    ERROR,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkApprovalProcess Error : Process referenced by the scheduleitem is complete.No task for this process can be inserted.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataObj/insert left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    ERROR,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataObj/save Error :Insertion of dataobject into database failed
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/getErrors entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcErrorList/getErrors left.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataBase/getError entered.
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,988,[XELLERATE.DATABASE],DB read: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    DEBUG,13 Feb 2011 23:40:14,988,[XELLERATE.DATABASE],select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.INSERT_FAILED'
    INFO,13 Feb 2011 23:40:14,989,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataBase/substitute entered.
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataBase/substitute entered.
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isAction - Value: E
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isCode - Value: DOBJ.INSERT_FAILED
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDescription - Value: Insert failed.
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isRemedy - Value:
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDetail - Value:
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcErrorList/addError entered.
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isAction - Value: E
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isCode - Value: DOBJ.INSERT_FAILED
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDescription - Value: Insert failed.
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isRemedy - Value:
    DEBUG,13 Feb 2011 23:40:14,989,[XELLERATE.SERVER],Class/Method: tcDataObj:handleErr - Data: poError.isDetail - Value:
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcErrorList/addError entered.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcErrorList/addReject entered.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcErrorList/addReject left.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcErrorList/addError left.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcErrorList/addError left.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcDataObj/doRollback entered.
    ERROR,13 Feb 2011 23:40:14,990,[XELLERATE.DATABASE],Class/Method: tcDataBase/rollbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.insertResponseMilestones(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.tcProvisioningOperationsBean.updateTask(Unknown Source)
    at com.thortech.xl.ejb.beans.tcProvisioningOperationsSession.updateTask(Unknown Source)
    at com.thortech.xl.ejb.beans.tcProvisioningOperations_b03yxm_EOImpl.updateTask(tcProvisioningOperations_b03yxm_EOImpl.java:772)
    at Thor.API.Operations.tcProvisioningOperationsClient.updateTask(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Source)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy67.updateTask(Unknown Source)
    at com.thortech.xl.webclient.actions.RequestAction.setApproveDeny(Unknown Source)
    at com.thortech.xl.webclient.actions.RequestAction.requestDetail(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at com.thortech.xl.webclient.actions.tcLookupDispatchAction.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcActionBase.execute(Unknown Source)
    at com.thortech.xl.webclient.actions.tcAction.execute(Unknown Source)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.CSRFFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.thortech.xl.webclient.security.SecurityFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    INFO,13 Feb 2011 23:40:14,990,[XELLERATE.DATABASE],Class/Method: tcDataBase/setTransaction: ##########setTransaction getting called from: #######
    DEBUG,13 Feb 2011 23:40:14,990,[XELLERATE.SERVER],Class/Method: tcDataObj/doRollback left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcDataObj/save left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcErrorList/removeErrorReceiver entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcErrorList/removeErrorReceiver left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/insertResponseMilestones left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/addUndoMilestones entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/addRecoveryMilestones entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkChildren entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcSCH/getOriginalSchStatus entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcSCH/getOriginalSchStatus left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkChildrenIfCompleted entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcSCH/getOriginalSchStatus entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcSCH/getOriginalSchStatus left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket entered.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.SERVER],Class/Method: tcScheduleItem/getStatusBucket left.
    DEBUG,13 Feb 2011 23:40:14,991,[XELLERATE.DATABASE],select sch.sch_key, sch.sch_rowver, osi.osi_rowver from sch sch, osi osi, dep dep, sta sta where sch.sch_key=osi.sch_key and osi.mil_key=dep.mil_key and sch.sch_status=sta.sta_status and sta.sta_bucket=? and dep.dep_key=? and osi.orc_key=?
    INFO,13 Feb 2011 23:40:14,992,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkRecoveredItem entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkRetryItem entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcScheduleItem/updateObjectInstanceStatus entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getString entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcBusinessObj/CurrentString entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery entered.
    DEBUG,13 Feb 2011 23:40:14,992,[XELLERATE.DATABASE],select orc.orc_target, orc.orc_parent_key, pkg.pkg_name from orc orc left outer join orc parorc on parorc.orc_key=orc.orc_parent_key and orc.orc_key=? left outer join pkg pkg on parorc.pkg_key=pkg.pkg_key where orc.orc_key=?
    INFO,13 Feb 2011 23:40:14,993,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,993,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery left.
    DEBUG,13 Feb 2011 23:40:14,993,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery entered.
    DEBUG,13 Feb 2011 23:40:14,993,[XELLERATE.DATABASE],select obi.obi_key, obi.obi_rowver from obi obi where obi.orc_key=?
    INFO,13 Feb 2011 23:40:14,994,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,994,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery left.
    DEBUG,13 Feb 2011 23:40:14,994,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,994,[XELLERATE.DATABASE],DB read: select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1055 and mst.sta_key=sta.sta_key and sta.sta_status='C' and mst.ost_key=ost.ost_key
    DEBUG,13 Feb 2011 23:40:14,994,[XELLERATE.DATABASE],select mst.ost_key, ost_status from mst mst, sta sta, ost ost where mst.mil_key=1055 and mst.sta_key=sta.sta_key and sta.sta_status='C' and mst.ost_key=ost.ost_key
    INFO,13 Feb 2011 23:40:14,995,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,996,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery entered.
    DEBUG,13 Feb 2011 23:40:14,996,[XELLERATE.DATABASE],select count(*) as counter from mil mil where mil_name = 'Provide Information' and mil_key = ?
    INFO,13 Feb 2011 23:40:14,997,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcScheduleItem/execCacheQuery left.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcScheduleItem/checkOrderContentItem entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcBusinessObj/getSqlOperationFromMembers left.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcDataObj/addErrorReceiver entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcErrorList/addErrorReceiver entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcErrorList/addErrorReceiver left.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcDataObj/addErrorReceiver left.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcDataObj/registerChild entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcDataObj/registerChild left.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcORC/initialize entered.
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.SERVER],Class/Method: tcDataBase/readPartialStatement entered.
    INFO,13 Feb 2011 23:40:14,997,[XELLERATE.DATABASE],DB read: select * from orc where orc_key=1707
    DEBUG,13 Feb 2011 23:40:14,997,[XELLERATE.DATABASE],select * from orc where orc_key=1707
    INFO,13 Feb 2011 23:40:14,999,[XELLERATE.PERFORMANCE],Query: DB: 2, LOAD: 0, TOTAL: 2
    DEBUG,13 Feb 2011 23:40:14,999,[XELLERATE.SERVER],Class/Method: tcORC/initialize left.
    DEBUG,13 Feb 2011 23:40:14,999,[XELLERATE.SERVER],Class/Method: tcDataObj/addErrorReceiver entered.
    DEBUG,13 Feb 2011 23:40:14,999,[XELLERATE.SERVER],Class/Method: tcErrorList/addErrorReceiver entered.
    DEBUG,13 Feb 2011 23:40:15,000,[XELLERATE.SERVER],Class/Method: tcDataObj/addErrorReceiver left.
    DEBUG,13 Feb 2011 23:40:15,000,[XELLERATE.SERVER],Class/Method: tcORC/setOrderContentItemStatus entered.
    DEBUG,13 Feb 2011 23:40:15,000,[XELLERATE.DATABASE],select /*+ USE_NL(ORC STA)*/ sta.sta_bucket, count(sta.sta_bucket) as bkt from orc orc, sta sta where orc.orc_status=sta.sta_status and orc.orc_parent_key=? and (orc.orc_required_complete is null or orc.orc_required_complete=?) group by sta.sta_bucket
    INFO,13 Feb 2011 23:40:15,001,[XELLERATE.PERFORMANCE],Query: DB: 1, LOAD: 0, TOTAL: 1
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/init entered.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/init left.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount entered.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount left.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount entered.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount left.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount entered.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount left.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount entered.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount left.
    DEBUG,13 Feb 2011 23:40:15,001,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount entered.
    DEBUG,13 Feb 2011 23:40:15,002,[XELLERATE.SERVER],Class/Method: tcORC/getStatusCount left.
    Regards,
    Saurabh

    Do you anything attached in the assignment tab etc ..? you never know if that could be failing ..
    Thanks
    Suren

  • ESS leave request 2 level workflow??

    Hi friends,
    Does anyone know how to create a 2 level workflow in ESS leave request?? im not able to find any solution for this.
    looking forward for your reply...
    thanks in advance
    sudhir

    Hi Sudhir,
    You dont have to create a new status for such scenarios. The Java WD Leave Application lists all the Leave Requests that are in SENT status. So after the first approval is done, the status is set to APPROVED in case if it is approved. Now, we have to reset it to the status SENT if you have one more level of approval.
    This can be achieved in 2 ways.
    1) Changing your Standard Class's coding as suggested by SAP in the above thread.
    2) You create one custom BOR with one method - RESETSTATUS - Which resets the status of the Leave Request back to <b>SENT</b>. You can get the required coding from <i>APPROVE</i> method of the above mentioned class.
    I followed the second method.
    I hope this should clear our problem.
    Regards
    <i><b>Raja Sekhar</b></i>

  • ESS leave request two-level workflow

    Hi All,
    We have a requirement for a two-level ESS leave workflow and need to know what would be the approach which can be taken to modify the standard 12300111 workflow.
    The status should be as follows
    STATUS                                                STATUS                                                  STATUS
    (SENT)                      Approves              (PENDING)                 Approves                (APPROVED)
    First Level approver -
    >   Second level approver -
    >
    As we can see, we need to add a new status namely, PENDING to the backend PTREQ tables. Can anyone please provide some kind of leads/info on this.
    Thanks and Regards
    Reshma

    Hi,
    You can take a copy of that standard workflow 12300111 and build your logic accordingly.and give that workflow number in SPRO settings.
    Kind Regards
    Hari SankarM

  • In ESS-Leave Request -A critical error has occured.

    In ESS when tried to enter the Leave which is under Leave request the below error occured:
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE  
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.lea.blockcale.FcBlockCale.getBcData(FcBlockCale.java:232)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCale.getBcData(InternalFcBlockCale.java:250)
         at com.sap.xss.hr.lea.blockcale.FcBlockCaleInterface.getBcData(FcBlockCaleInterface.java:135)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCaleInterface.getBcData(InternalFcBlockCaleInterface.java:224)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalFcBlockCaleInterface$External.getBcData(InternalFcBlockCaleInterface.java:276)
         at com.sap.xss.hr.lea.blockcale.VcBlockCale.onInit(VcBlockCale.java:261)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCale.onInit(InternalVcBlockCale.java:275)
         at com.sap.xss.hr.lea.blockcale.VcBlockCaleInterface.onInit(VcBlockCaleInterface.java:163)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCaleInterface.onInit(InternalVcBlockCaleInterface.java:144)
         at com.sap.xss.hr.lea.blockcale.wdp.InternalVcBlockCaleInterface$External.onInit(InternalVcBlockCaleInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:564)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1246)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:354)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:547)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:591)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:822)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:684)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: CREATE OBJECT: The class  was not found., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.lea.model.LeaveRequestAdaptiveModel.pt_Arq_Eecale_Get(LeaveRequestAdaptiveModel.java:434)
         at com.sap.xss.hr.lea.model.Pt_Arq_Eecale_Get_Input.doExecute(Pt_Arq_Eecale_Get_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 60 more

    I found out the solution and solved this issue.
    Deleted the leave request which was created with error i.e: from the custom table zxx_vacr noted down the id initiater ( which had error) and in the Test Environment for Leave request (PTARQ) gave the PERNR and deleted the documents ( gave the id iniater in the document status ).
    To check the error work flow go to SWIA and check for that Workflow (Leave) raised by the PERNR at that duration ( check in IT2001 for the duration) and give it here.
    After deleting it check in the portal for the leave request.

  • Steps required for second level approval Workflow

    Hi,
    Can any one explain me step by step procedure  of how to configure 2 level approval process in SRM.I have activated the second level approval for SC.But after  this what i have to do. Where can i set the value conditions in workflow?How system will decide for one level approval it has to go for a person "Y" and for 2nd level approval it has to go to Manager?
    kindly help me out in this
    regards
    subbramanyam

    I think you have to activate the below workflows in the system which automatically  identifies the number of levels that it should cross.
    WS14000133
    WS10000049
    WS14000134 ---> This Sub workflow determines,  is there any next approver or not?.

  • Team Calendar in ESS Leave Request (Error)

    Hello,
      we are configuring the Leave request in ESS and MSS in the portal (EP 7.0, ECC 6.0, latest release). The Leave Request process and application, Time accounts and Workflows all working fine and the customizing is done in the IMG.
      Only under ESS -> Leave Request -> Team Calendar we are getting this Error:
    java.lang.Exception: No Views found: Missing customizing
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar._checkData(FcTeamCalendar.java:799)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar._getData(FcTeamCalendar.java:751)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendar.initialReadData(FcTeamCalendar.java:385)
         at com.sap.xss.ser.tecl.fc.wdp.InternalFcTeamCalendar.initialReadData(InternalFcTeamCalendar.java:319)
         at com.sap.xss.ser.tecl.fc.FcTeamCalendarInterface.initialReadData(FcTeamCalendarInterface ....etc.
    I have maintained the Customzing in IMG for Team Calendar as the following:
    00000001     SAP Standard     01.01.1800     31.12.1999     Approval Mode     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Attendance Overview     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Administrator Mode     View Group (MSS)
    00000001     SAP Standard     01.01.1800     31.12.1999     Request Mode     View Group (MSS)     ESS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.1999     Team View Mode     View Group (MSS)
    Would you please help?
    Many Thanks and Regards,
    Nazih

    Hi Bryan,
    1. First of all make sure that the Internet Graphic Server is activated + up and running on your SAP ERP System (see also SAP Note  704604)
    2. Then you have to set the Customizing Parameters for the Team Calendar in IMG (SAP ERP System):
    a. Tcode: PTARQ -> Customizing
    b. Working Time -> Team Calendar
    c. Node Create Rule Group -> Example: 00000001 (SAP Standard)
    d. Node Adjust WEBMO Feature -> Assign all Nodes to your Rue Group
    e. Node Spec. Absecne to be displayed -> Here i assume you have set up the Leave Request Process and WF already, so you only need to assign this to your Rule Group:
    Example.
    00000001     SAP Standard     01     0100     Leave     01.01.1800     31.12.9999
    f. Node Select Employee -->
    Here you need to set the Group of your Employee which should be displayed in the team calendar:
    Example.
    00000001     SAP Standard     01.01.1800     31.12.9999     Approval Mode     View Group (MSS)     MSS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     CATS Approval     View Group (MSS)     MSS_LCA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     Attendance Overview     View Group (MSS)     MSS_LEA_EE     PPOME_P
    00000001     SAP Standard     01.01.1800     31.12.9999     Administrator Mode     View Group (MSS)     MSS_LEA_EE     PPOME_P
    00000001     SAP Standard     01.01.1800     31.12.9999     Request Mode     View Group (MSS)     ESS_LEA_EE
    00000001     SAP Standard     01.01.1800     31.12.9999     Team View Mode     View Group (MSS)     MSS_LEA_EE     PPOME_P
    ---> Tipp: Check all Settings and Leave Types also with an HR Consultant before maintaing these in the ESS Customizing...
    Regards,
    Nazih

  • ESS Leave Request - Error while creating a leave record

    Hi Friends,
      Some of the ESS leave request(not workflow) has gone into error when the system tryies to create a leave record in background. I can view these error request using the report RPTARQDBVIEW. This happens when the background program(PTARQPOST) tries to create a leave record. In some cases  the status of the leave request is set to error(the status attribute of the container element(Req) has the value Error),but we are not able to find what is actual error.Is there any log where we can check what is the problem? Please advice.

    May be
    Internally the pernr might not be locked or some one may be maintaing the pernr for whom you are trying to post.

  • Second level approval of SC before first level completed?

    Hi all!
    This one may be quite obvious, but my customer has requested that a second level approver should recieve a workitem as soon as that same item has been handled in the initial step.
    Is it possible to bypass the sequential process (as hinted by the Java applet), using branches?
    And, of course, does the approval_branch parameter have anything to do with it? I've tried, to no avail.
    Thanks, again!
    Best regards,
    Mike

    Hello,
    Parallel approval is not in the SRM workflow scope.
    What can be done is item level approval where an approver works on some items and a second one on the others at the same time. But a same item cannot be sent twice in 2 different task (In that case, the "branch" parameter will be handle by the system. But you cannot influence it.)
    Some people think that parallel approval could reduce the time of the approval process. But the best way to reduce it is to reduce the number of approvers
    Rgds,
    Pierre

  • ESS leave request - Change Approver

    Hi,
    We have a situation in which a employees dotted line manager will approve the leave request instead of a direct manager. We have a custom relationship to establish the dotted line manager. Now, In the ESS leave request there is a Approver field which shows the Employees direct manager. Can we customize the logic using a BADI or User exit to show the dotted manager?.  Please let me know which enhancement is to be used for this requirement.
    Thanks in Advance for your assistance.
    Ramesh

    in the customizing for the definition of the processes per rule group
    you set the selection for the next processor to "Manual Entry".
    or for the BADI
    Another way is to use the BAdI Control Processing Processes for Time
    Management Web Applications (PT_GEN_REQ) and implement the methode
    IF_EX_PT_GEN_REQ~FIND_RESP_AND_DEFAULT_NEXT_PRC.
    Method FIND_RESP_AND_DEFAULT_NEXT_PRC of badi
    PT_GET_REQ  might be utilised here.
    Please have a look at the  method
    CL_PT_REQ_SEARCH_NEXT_P~SEARCH_NEXT_PROCESSOR.
    If you are implementing the badi then make sure you copy all the methods
    and implement the one, as mentioned.

  • ESS leave request workflow WS04200009...error-u r not one of the possible a

    hi all
    i m working on ESS leave request workflow WS04200009....but when i create a leave request from user's A/c i got an error at that leave req create screen that's-- u r not one of the possible agent of the task...
    pls do help if anyone no solution.
    thanks in advance .
    Raj

    Try making this task a General Task..use tcode PFTC and change the attribute of this task to a general task. That might help solve the issue.

  • Second Level Authorization for ESS

    Hi,
    I have an issue regarding ESS . The requirement is to provide a second level authorization when anybody clicks on the content in ESS. i,e a logon screen. On successful authentification the user has to see the required info. We should also be able to provide a 5 min idle time out. Can anybody help me with this.
    Thanks,
    Abhishek

    Abhishek, Did you find any solution for second level authentication for ESS?

  • How to change approver for a leave request in ESS

    Hi Team,
    When person employee A requests for leave it goes to Employee B being the manager in Org assignment.
    But when CEO applies for leave as no body is there on top of him , I want to make HR Director as the agent to approve the leave request.
    could you please tel me if any BADI or anywhere I can do the changes to  set the agent I want to make to approve the request.
    Please help.
    Thanks,
    Sourya prkash.

    Hi,
    There are two BADi's which can help you to deal with ESS leave requests PT_GEN_REQ and PT_ABS_REQ. just try to check out the above two badi's . There is a method in the default implementation class with name FIND_DEFAULT_AND_RESP_ACTOR..
    Regards
    Pavan

  • ESS Leave request workflow : ws12300111 : Customizing

    Dear experts,
    I need to customoze ESS leave request workflow WS12300111.
    Can you please tell me do I need to Copy this to a NEW workflow generating a new WF no or can I simply generate a new version for this only ? What is ideal ?
    1. Can anyone tell me step by step process(config) in ESS leave application workflow?.(SWFVISU????)
    2. Is workflow WS12300111, the only workflow that I need to look for leave application ?.
    3. If it is WS12300111 I don’t see any start event for this workflow. So how is it getting triggered?
    4. For the approval task TS12300097, agent determination is done by expression ‘&Agent_0001.Agents&’. How does it interact with Org.Structure.
    5. In my scenario, approver should be supervisor of the employee applying for leave. If it is pending with this approver for 5 days it should go to the next up level manager.
    For identifying first level approver is ‘&Agent_0001.Agents&’ enough.? For identifying 2nd level approval do I need to write a rule ?
    Kindly help.

    Hi Sourav,
    Try this step by step process(config) in ESS leave application workflow.
    ESS Scenario
    Workflow Process 20000081 u2013 Create Leave Request with HTML
    Steps for triggering the workflow:
    1) The employee logs with his user name in the ESS web page.
    2) The employee creates a leave request with an optional note and sends it to the appropriate approver (usually his supervisor). The approveru2019s name is automatically displayed in the leave request form and the employee can replace him with another if such a change is needed.
    3) The approver (us approver) logs on to sap system or to ESS
    web pages and reads his mails in the SAP Business Workplace. The employeeu2019s leave request form appears in the workflow inbox with approve and reject options.
    A) If the us approver approves the leave request, he pushes the
    button approve from his mailbox (processing status A with
    approve). A screen is appeared with a box (Table entry: 0001)
    and the approver must push the button continue in order that
    the workflow is continued. Then the form is sent to the
    employeeu2019s mailbox in Sap. When the employee opens his mails, he receives a note in his inbox that u201Cthe absence from u2026. To u2026..has been approved byu2026.u201D.After that the absence is
    automatically created in the sap system. Then the approver gets a mail (notification of completion & Return u2026u2026).
    B) When the approver cancels a leave request, he pushes the
    button reject and the processing status changes to u201CRu201D.
    Then the same form appears
    Realative OSS Notes:588262, 480103, 717560, 452841, 359197, 321439, 428394, 321439, 693368, 451998 (ITS), 197746 (ITS), 419297 (ITS)
    ITS - ESS stand-alone solution for 4.7
    This solution allows customers to schedule the 4.6C or 470
    install / upgrade independently from the Enterprise Portal or
    mySAP Workplace implementation and will be supported at least as long as SAP R/3 4.6C and R/3 Enterprise is supported.
    This ESS stand-alone menu is intended solely to allow independent scheduling of the 4.6C or 470 upgrade and the Enterprise Portal / mySAP Workplace installation. To use this solution, you have to take the following steps:
    1. If you do not already have R/3 4.6C, HR support package 8,
    please import HR support packages to at least this level. From
    HR support package 8 and above, the correct services are
    implemented. For 470, the corresponding recommended HR SP is 16 (See note 621589)
    2. Verify that the ITS you want to use does not contain a service or service-related files (HTML templates, MIME files) for the services PZLE, PZM3 or PZM3_start. If you find these files,
    delete them.
    3. Publish the services PZLE, PZM3 and PZM3_start from your R/3 4.6C system (or R/3 470 system whichever is the case) to your ITS using the SAP@Web Studio or the IACOR service.
    4. Maintain the username-employeenumber assignment in your system by customizing Infotype 0105, Subtype 0001 of those employees, who should be able to use ESS.
    5. Verify that your users have proper authorizations for
    executing RFCs (that is, authorization object S_RFC) from the
    function group EH08. If you run into problems, this is most
    likely due to missing RFC authorizations to start the service
    PZM3.
    6. Your users should now be able to access ESS by starting the service PZM3. They can do this by entering a URL like
    http://<ITS server>:<http port>/scripts/wgate/pzm3/!
    (the ! at the end is essential).
    7. ESS 4.70 Unicode System ITS 6.10 patch level 29 and above (With IE and Netscape). ITS 6.20, patch level 6 and above (With IE only).
    The ESS development tested these ITS versions.
    8. For Release 4.6C, ESS has the same browser requirements as the HTML (see also note 178788) and the mySAP Workplace 2.11 (if ESS is accessed through the mySAP Workplace 2.11).
    Hope it helps.Do award points if found helpful.
    Regards,
    Gourav

Maybe you are looking for

  • Select variable in where condition

    Hi Experts,                A field is stored in SAP, we want to add the same in where condition while selecting data thru IC. please guide.

  • Regarding Dunning PO -MAHN

    Hi MM Guru's I have maitained MAHN as an output type for PO dunning I have got Problems 1- MAHN should pop up automatically in Messege as i have already maintained the condition record via MN04 2-when I run ME9F  select MAHN and click on Output Messe

  • How to find WorkCenter

    Hi , There is a requirement where the client wants a report where when he enters PERNR he gets the required workcenter to which the pernr is assigned. The client insists to get this through pernr( means the input should be pernr and result should be

  • How to protect pdf

    Hi Is it possible in Adobe LiveCycle Designer to protect my code ? Want a password to open my files in Designer, but no password to open in Reader ! Have tried without luck ! Regards Jan

  • Installing Java Development Pieces on Client

    How do I install the missing java pieces on the client machine without installing an entire workflow/database instance? I've installed Workflow 2.6.2 on a Linux server. I've installed the 9.0.2 client on my Windows laptop. I can connect to the server