cancel
Showing results for 
Search instead for 
Did you mean: 

Time Sheet Data Approval and WorkFlow.

Former Member
0 Kudos

Dear All,

I am using Standard Task TS31000007 for time-sheet data approval.

i have maintained the data-entry profile and assign the 'Task' TS31000007.

Following are the problems encountered :

1.When i am saving the time-sheet data i am getting error : Unable to save your data

2. In MSS i am not able to get the time-sheet data for approval.

I want to save the time-sheet data . and it should get submitted to approver for the approval.

Need help step-by-step to configure the workflow for approving the time-sheet data.

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

have you configured this

V_ptreq_team with cats approval MSS_LCA_EE

ALso check all the customisation done for CATS approval in SPRO

Former Member
0 Kudos

Thanks for your help ...

My problem is resolved.

but i am getting the following error.now when i approve.

-


com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)

at com.sap.xss.hr.cat.approve.blc.FcCatApprove.rfcExecute(FcCatApprove.java:307)

at com.sap.xss.hr.cat.approve.blc.FcCatApprove.rfcReview(FcCatApprove.java:435)

at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApprove.rfcReview(InternalFcCatApprove.java:263)

at com.sap.xss.hr.cat.approve.blc.FcCatApproveInterface.onReview(FcCatApproveInterface.java:379)

at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApproveInterface.onReview(InternalFcCatApproveInterface.java:153)

at com.sap.xss.hr.cat.approve.blc.wdp.InternalFcCatApproveInterface$External.onReview(InternalFcCatApproveInterface.java:337)

at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListInterface.onEvent(VcCatApproveDrillDownListInterface.java:128)

at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface.onEvent(InternalVcCatApproveDrillDownListInterface.java:127)

at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface$External.onEvent(InternalVcCatApproveDrillDownListInterface.java:217)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:534)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)

at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseReviewAndSaveEvent(FPMComponent.java:947)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseReviewAndSaveEvent(FPMComponent.java:1110)

at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownList.fireEvent(VcCatApproveDrillDownList.java:330)

at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownList.fireEvent(InternalVcCatApproveDrillDownList.java:166)

at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListInterface.blcEvent(VcCatApproveDrillDownListInterface.java:228)

at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListInterface.blcEvent(InternalVcCatApproveDrillDownListInterface.java:163)

at com.sap.xss.hr.cat.approve.vac.dd.VcCatApproveDrillDownListView.onActionReview(VcCatApproveDrillDownListView.java:303)

at com.sap.xss.hr.cat.approve.vac.dd.wdp.InternalVcCatApproveDrillDownListView.wdInvokeEventHandler(InternalVcCatApproveDrillDownListView.java:178)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)

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:319)

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:149)

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.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)

at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)

at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)

at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)

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:319)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

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:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

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(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE

at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)

at com.sap.xss.hr.cat.approve.model.approval.CatsApproval.hrmss_Cat_Wd_Approval(CatsApproval.java:178)

at com.sap.xss.hr.cat.approve.model.approval.Hrmss_Cat_Wd_Approval_Input.doExecute(Hrmss_Cat_Wd_Approval_Input.java:137)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)

Pls help.

Answers (5)

Answers (5)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

there are standard Sap_ESS* roles, please check this

Former Member
0 Kudos

Hi ,

I have given following roles assigned to approver:

SAP_BC_EMPLOYEE

SAP_BC_ENDUSER

SAP_EMPLOYEE_ERP

SAP_ESSUSER_ERP

SAP_HR_EMPLOYEE_DE_ERP

SAP_HR_EMPLOYEE_US_ERP

SAP_HR_PA_XF_EXPERT

I have also given P_ORIGIN authorization

apart from this what others authorization object / role i have to assign?

Former Member
0 Kudos

Hi Siddharth,

I have a scenario where a Time Administrator in HR entering time in CAT2 is not allowed to approve his own time entry in CAPS but allowed to approve other employee's timesheet.

I have maintained the infotype 0316 in P_PERNR with PSIGN value = E. the time admin can still approve with this authorization. am i missing anything ?

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

This error occurs when the customisation is not available for table

ie Configuration for screen areas CTS and CTD is missing. View

V_PT_FIELD_SEL is meant to hold the relevant information.

Please have a look at the client 000 for the default customisation.

So, What you need to do is write table TPT_FIELD_SEL_C on a transport

and transport it to client. You will then have all the setting

you need for the application to work.

Here is the path

In the IMG (transaction SPRO), go to

- SAP Customizing Implementation Guide

- Cross-Application Components

- Time Sheet

- Specific Setting for CATS regular

- CATS regular

- Approve Working Time

- Define Field Selection for Individual Approval View

- Define Field Selection for Detail View

Former Member
0 Kudos

Hi ,

Would you just explain me in details what need to be done excatly.

Regards

Former Member
0 Kudos

Hi ,

My issue is resolved.

what i did is that : i deleted the setting which u mention and recreated.thats all.

i have one querry. i have given the sap_all to approver profile .But i dont want to have this authorization.

what are the authorization object necessary for approver.

Thanks once again for your kindly help.

0 Kudos

Hi Siddharth,

I am facing the same kind of issue.

In table TPT_FIELD_SEl_C, field value TABNAME is not moving from development to QAS using transport.

In development I am having value in TABNAME field. In QAS the field TABNAME is blank. So i am getting the same error "Exception condition "NOT_FOUND" raised" in QAS.

Any help from you to solve the issue?

Regards,

Bala

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

What message you get in portal?

Just launch the application in uwl, Note in MSS timesheet, The timesheet are combined as it is meant

for mass approval

Former Member
0 Kudos

Hi,

Basically i am not accessing the MSS by using UWL.

I have just done the configuration as mention in my early querry.

Also i am not getting any message / error.

The only problem i am facing right now i am not getting any workitem to approve in MSS.

Your suggestion and help is most appreciable.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Take the workitem ID from CATSDB for the pernr and check using SWIA

to which approver it is assigned! Please check who is approver for the pernr!! Then login as him!

Former Member
0 Kudos

Hi Siddarth,

I have done exactly the same way as you have said. I can see the workitem in the Managers Worklist. Status for these timesheet is 20 . But the same workitem is not visible when I am logging into MSS using his MSS userid in portal.

From Backend using transaction PPMDT I can see all the timesheets that needs to be approved by the manager. Please help me out How i can see the same in MSS Portal.

Regards,

Pravesh D.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

Make sure that the Task is set as general in pftc and also ensure that the supervisor is maintained

for this pernr, Cause this task works when there is a manager maintained, Check the position and its reporting structure in ppome

Former Member
0 Kudos

Hi ,

i have already done this things.

Still i am not able to get the workitem for approving .

Regards

Pravesh

Former Member
0 Kudos

hi Siddharth Rajora

i am able to save the time sheet data.

Now i am not getting the workitem to approve the timesheet in manager.

I am doing this in ESS/MSS 6.0

Pls help.