Fiori - Approval for Timesheet & Leave Request

Hello Friends,
I am currently working on SAP Fiori Timesheet & Leave request approval. The application is working fine and going to manager for approval.
I have a concern here, the approval to manager happens only if I maintain relationship "A012" Managed by, then subordinates who are in that respective Org Unit submits timesheet/Leave request goes to manager for approval.
If I maintain One-on-One relationship "A002", then it is not showing up in manager's id for approval. When I checked in t-code "SWIA" to check with whom it is pending it shows the correct manager maintained in One-on-One relationship.
In my current project, there is only One-on-One relationship "A002", and we don't have relationship "A012". Please let me know whether the approval scenario will work or not.
We cannot ask the client to change the relationship now from "A002" to "A012".
Thanks & Regards,
S.Srikanth
Tags edited by: Michael Appleby

Hi Srikanth,
Can you please share the evaluation path rules for the Root and Navigation Objects that you used to solve? I'm having the exact same problem pulling in the B002 relationships.
Using SAP_MANG for the root:
10
B
008
Holder
S
20
S
A
012
Manages...
O
30
US
A
208
Is identical to
P
By adding the B002 Relationship to a rule based on MSSDIREC  (Line 25)
10
O
B
900
Manager under manager
S
20
O
B
900
Manager under manager
O
25
S
B
002
Is line supervisor of
S
30
S
A
008
Holder
P
40
S
A
008
Holder
US
I got RHSTRU00 to show the correct Evaluation, but Fiori doesn't pull in B002's yet. Do I need to adjust the Root one as well? Thanks for any ideas!
Scott

Similar Messages

  • 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

  • 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

  • Function Module BAPI_ABSENCE_CREATE for creating leave request.

    Hi Experts,
    I am using FM BAPI_ABSENCE_CREATE for creating leave request. I am passing all the data into this as import parameter. When i am executing this return table gives statement  EPG184Employee/applicant is not locked yet
    Please let me know what i have to follow.
    Thanks And Regards
    Ranjeet Singh

    Use the below function modules in sequence
    1) HR_EMPLOYEE_ENQUEUE'
    2) BAPI_ABSENCE_CREATE
    3) HR_EMPLOYEE_DEQUEUE
    Functionality
    Using this method, an Absences infotype record (2001) can be created.
    Notes
    Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.
    The key fields used by this method are described under the parameters.
    This method can only be used if the ENQUEUE method has already been called up for the business object EMPLOYEE. For more information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
    Note: Create absence
    Caution! This API method only writes the Absences infotype (2001). It should no longer be used as it can lead to inconsistent time data. Instead, please use the corresponding 'ManageCreation' API method for business object BUS7007.
    Regards,
    SaiRam

  • 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.

  • How to configure and test workflow for  Creating Leave Request

    Hi,
    When I select <b>leave request</b> iView in portals I get an R/3 screen titled "Create Leave Request".And when I fill in the details for <b>approver</b> and press<b> send</b> I get this error message <b>"You are not one of the possible agents of the task".</b>
    So help required to configure and test the workflow behind <b>Create leave request iView.</b>
    Regards,
    Pavanmeet.

    Pavanmeet,
    you have to set all activities in the workflow to "general task" as well, not only for WS12300111 itself (doubleclick on each symbol with the "triangle").
    check the status of the sent leave request in transaction PTARQ (Display Documents). Here the "next agent" & the "pers. no" of the next agent is of interest.
    logon with the user, that is saved in infotype 0105 of the above mentioned pers.no. there should be the approve request.
    you can check the status of the workitems with SWI1 (i assume your system is prepared for workflows , check SWU3)
    Message was edited by: Achim Hauck

  • Report for Pending Leave requests

    Hi,
    We are trying to use existing transaction codes which would give details of all ess leave requests submitted by employees in the portal during a certain timeframe and which are still pending action by managers (whether to reject or accept).
    The R3 report needs to include the following information:
    Leave Requestor - Name / ID
    Type of Leave Request
    Date Submitted in ESS
    From date of Leave
    To Date of Leave
    No. Hours of Leave
    Current Status of Leave Request
    Leave Approver - Name /ID
    Can anyone suggest if there is any Tcode ( apart from SWIA, SWI5, SWI6 etc..) which could be helpful to get information on whose side the action is pending.
    Regards
    Murali.

    Hi,
    you can use Tcode se38for running this report .
    Or else give a Tcode - PTARQ
    It gives you the total functionalities of Leave Requests.
    Its the sap standard interface provided to test the functionalities in R/3 side .
    Hope this helps .
    Reward if found useful .
    regards
    SureshP.

  • Auto approval for self registration request in OIM 11G R2

    Hi all,
    We have a requirement where we want end users to be able to self-register without needing any sort of approval. We are using OIM 11G R2 with the latest patchset.
    The way to do it in 11G R1 is explained in the following document:
    [http://docs.oracle.com/cd/E21764_01/doc.1111/e14316/unauth_selfservice.htm#BABFEIBF]
    But now that R2 does not have any request templates, we are not sure how to do this. Any help will be greatly appreciated. Thanks for your time.
    -sandeepc

    refer this.
    Configuring Auto-Approval for Self-Registration - Fails due to Organisation

  • How to add new fields for ESS leave request

    Hi friends,
    Can u please help me with my issue.......
    My issue is to add new fields in ess/leave request i.e...
    The component needs to be Checked-out through Net Weaver Development Infrastructure, make the necessary enhancements, and finally Check-it-in back to NWDI.
    Custom Function Modules are to be invoked apart from the standard ones that are already available in the Leave Request component – ess~lea inorder to accommodate the extra absence-type logic.
    can u please sujjest me where should i make changes in the given 14 components
    means in which view i have to add these fields.................
    Regards
    Rajesh

    Hi Rajesh ,
    Check whether u are able to find the ess dc's under inactive dc's in webdynpro
    If ur not able to find it then Check the landscape configurator in CMS and also the transport studio and confirm that ess packages are imported fine
    Ganesh ,
               for creating a DTR client u need to open the DTR perspective right click and "create clients" before that go to windows ->preferences of the NWDS and check the development infrastructure URL is gven correctly ...try pinging it once...
    Do check ur SLD is up or not!!!
    Regards
    Krishna
    Message was edited by:
            krishnagopal Mukundan

  • How to Get Approver details of Leave Request in SSHR in oracle apps r12

    Dear All,
    we have requirement to get the approver details of leave , Please let me know if there is any way .

    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

  • Failed to create delegate for component - Leave Request

    Hello Guru's,
    We are facing some issues with Time Management Applications:
    From the Portal before rendering the application we're getting the below error.
    Exception occured during processing of Web Dynpro application sap.com/ess~lea/LeaveRequest. The causing exception is nested.
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelection. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:141)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:747)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
    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:782)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    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:869)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
    at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
    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:332)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
    ... 57 more
    Caused by: java.lang.NoClassDefFoundError: com.sap.pcuigp.xssutils.pernr.model.grpinfo.Hrxssce_Pernr_Grp_Info
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.class$(InternalVcCEAssignmentSelection.java:25)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.<init>(InternalVcCEAssignmentSelection.java:45)
    ... 62 more
    We're on
    ERP 6.0 Stack 20,
    ECC EhP4 Stack 05
    SAP_APPL     600     0016
    SAP_HR     604     0014
    The other Web Dynpro Java applications are working fine.
    And this is happening only in QA Dev and Prod are working fine.
    Please help me with this issue.
    Thanks & Regards,
    Pramod

    Pramod,
    Check if your assigned resource (if standard, EMPLOYEE_LEAVEREQUEST_SERVICE05) has the same properties in qas agains dev.
    Also, to ensure that your ESS tables are equals in both systems, you can use SCMP transaction (to know the name of any table open it in customizing and press F1).
    If SAP customizing its OK, go for Portal. Check first your Leave Request page in Preview mode (by Content Administration);
    - if its OK, check the Portal Roles
    - if it doesn't work, consider: in a few cases some iview personalizations can produce a permanent error. if you're using custom iview, open the standard Leave Request page in Preview mode. also, some developments done through NWDI; in this case do a redeploy of application.
    - another common issue happens when there is no any absence / attendance defined in backend. so, for this case you can compare the customizing for rules and absence/attendance between qas and dev
    - finally, test with different users, because in another cases when you've a collision time or some incorrect time information for a certain employee, the Leave Request service show an error screen.
    best regards

  • Link for ESS leave request?

    Hi,
    Can some one tell me how to display Ess leave request form ( THR10_1, Lesson Time Data figure 74)
    Ejaz

    Hello,
    It's not a form, it's an Iview. You can access the Iview in 2 ways:
      1. Via Content administrator, on the following path:
    Portal Content
    Content Provided by SAP
    End User Content
    Employee Self-Service
    iViews
    Working Time
    Leave Request
      2. Via Portal Directly, on Links:
        ESS -> Working Time -> Submit Leave Request
       (opc). Or via the Service directly. But this is only used for testing purposes. You can access the service via the following url:
    http://HOST:PORT/webdynpro/dispatcher/sap.com/ess~lea/LeaveRequest
    Regards,
    Bentow.

  • Strategy of approval for a purchase request

    Hello,
    Someone knows programatically how to discover the tables and the line code where the strategy of approval is built?
    The fields Grupo de Liberacion and Estrategia liberac. are filled according to the selection ZTPP,etc.
    thank you.

    Hi Bhg,
    I am trying to discover what determines that "tab strategy" makes appears.
    When I fill the fields required in the Purchase Request me51n , sometimes there is no strategy, the "tab strategy" doesn't appears, and I have an error that says "Error: no approval strategy was determined"
    So, that's because I ask if there's a way programatically to know where is the validation that make appears or disappear the "tab strategy"
    Perhaps there's a user exit, that is validating this strategy.
    Thanks so much Bhg

  • Need multi level approval for Leave request workflow in ESS

    Hi All,
    Our requirement is for 5 levels of approvals for the leave request raised in ESS  means After employee raises leave request ,it has to be approved by 5 managers one after the other. In standard system only 1 level of workflow and approval  is available so please anybody suggest the solution . Thanks in advance.

    in addition to the above content your workflow consultatn have to create this ask him to
    refer this document
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    for multiple level of aproving the leave reqest and  and orgstructure have to be well formed
    ravindra

  • Upload leave request for approval

    Hi,
    I would like to know how to upload leave request for approval. I understand that i can use IT2001 for leave history. Can i do an LSMW for leave request for approval for 100 personnels? Thank you

    Hi,
    Data stored in IT2001 are not for ESS approval. ESS leave request data is stored in a host of tables which start with PTREQ. You can do PTREQ* lookup in SE11 and findout. There might be 3 or 4 tables which you need to look into.
    PTREQ_HEADER
    PTREQ_ATTABSDATA
    and maybe one more table.
    Then you can do a LSMW.
    Regards
    Srini
    Edited by: Sinivasan Rajamani on Apr 20, 2010 6:10 AM
    Edited by: Sinivasan Rajamani on Apr 20, 2010 6:13 AM

Maybe you are looking for

  • Problem while minimizing a panel

    Hi, I have a panel where there is html component init....which displays pdf file.. <containers:Panel                 id="myPanel"                 title="Panel"                 width="100%" height="100%"                 horizontalAlign="center"       

  • Create PDF From a backend web page

    Hello, this is my first post on the Adobe Forums I am trying to get a capture of a web page using Adobe Acrobe "Create PDF from Web Page" However, I cannot figure out how to capture a page after I have logged into the site. I thought that Adobe Acrob

  • OC4J Version with jDeveloper

    Hello, I've downloaded both jDeveloper 10g 10.1.3(J2EE) and 10.1.2, I'm developing for an OAS 9.0.4 and I want to know which version of OC4J they come with. I want to develop with exactly the same version of the production server. Maybe I must use th

  • Latest update, now does not show  apps are open

    I used to have a little arrow against the apps that were open. now Mail and Firefox are open but cannot tell that from the dock. Skype and Finder are the only ones, and they open on startup. Anyone know how to fix it? Thanks

  • Can't open PDFs saved from Safari

    Hi! Suddenly any PDFs I save from Safari can't be opened.  Said it's corrupted.  Also I can't search the PDFs opened in Safari.  All these didn't happen before.  What can I do?  Many thanks for any help!