Table for Leave request

Hi,
When Leave is ceated in ESS, after approval it shows in IT2001 but while in process i.e. before approval in which table leave gets saved.
How to find out the leave in process? In which table Data gets captured? or what is Tranaction code?
Please guide.
Thanks,
Abhay

Hi ,
You can find everything in transaction PTARQ.
The main tables for PTARQ are :
PTREQ_HEADER :Request Header
PTREQ_items : Request Items
PTREQ_attabsdata : Request Data for Attendances/Absences
Check following query.
You will find the exact relation ship between these three tables :
select SINGLE item_list_id into w_item_list_id
        from ptreq_header
        where request_id = request_id
        AND VERSION_NO = ( SELECT MAX( VERSION_NO ) FROM ptreq_h
        where request_id = request_ID and status = 'SENT').
select single ITEM_INS
        from ptreq_items
        into w_item_ins
        where ITEM_LIST_ID = w_item_list_id.
select single *
        from ptreq_attabsdata
        into wa_ptreq_attabsdata
        where ITEM_ID = w_item_ins.
       STARTDATE = wa_ptreq_attabsdata-begda.
       ENDDATE = wa_ptreq_attabsdata-endda.
       CUSTOMERFIELD1 = wa_ptreq_attabsdata-CUSTOMER01.
       CUSTOMERFIELD2 = wa_ptreq_attabsdata-CUSTOMER02.
Regards,
Kalpesh

Similar Messages

  • Approve Button not visible in Tasks for Leave request in Tasks- MSS

    Dear gurus,
    Approve Button not visible in Tasks for Leave request in Tasks- MSS, anything missing on config end????
    Any suggestions....
    regards,
    Rajasekar.

    hello Bala,
    there was some config missing in UWL, now it is working and here we have got some button launch dynpro ..this is leading to pop where we can approve or reject....
    Thanks alot Bala..
    In this we are getting more info, Display details in SAP GUI, View History, View all Time Approval and Attachments of Documents which leads to leave request details. These may be too flashy for the Manager who are from the typcial production centers....industries...So is there any way out for Hiding these.
    Regards,
    Raj

  • Master  table for RFQ(Request For Quotation). Field name is RFQ

    hi,
    I need to know the master table for RFQ(Request For Quotation) number . The field name is ANFNR . In the T.code ME42, i found that it is using the structure RM06E. But i need to know its corresponding master table

    the table EKKO (EKPO Items table) and you can find the Quote number in EBELN field. Don't go by the structure / field name on the screen
    Forgot to metnion that you need to use the right document category and the document type.
    Regards,
    Ravi
    Note : Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • Adobe form for leave request

    Dear experts,
    There is no standard leave request form provided by SAP. We are developing an adobe form which lists the employee's quota and leaves taken earlier along with the current leave details. This form should be displayed to the approvers from the leave workflow.
    When the approver clicks on the work item, the leave request form should popup. There are two technical challenges in this requirement -
    1. This requirement is similar to the standard ones for travel request and expense request - In travel request and expense request, SAP has provided standard forms and the workflow container is a standard importing parameter in these adobe forms. This container is helpful in deriving most of the content on the adobe form. However, there is no such link in case of leave request. How does the workflow information be passed to the adobe form? ( i will have to display employee details, quota, current leave, approvers list, approvers comments, etc).
    2. For leave request, the approval task is TS12300097 that has "Java Webdynpro" as visualization type. Whereas for travel and expense workflow approval tasks, the visualization type is "ABAP Webdynpro". I am assuming the "JAVA WD" will make it really tough to call the adobe form from the work item.
    Any thoughts, suggestions on this requirement will be of great help.
    Thanks

    Hi Abdul
    which version u r currently working on?? check in swfvisu t-code where you can find the below task
    I'm not that good at technical level, but still I try to help you with my limited knowledge.Instead of trying from binding rule, try with Function Module via  BOR Object Method.  you can get that function module at the time Adobe form creation. Can't you consider that Adobe form as a attachment in the work item???
    Check this links
    Adobe forms using Workflow with normal SAP | SCN
    Calling the Adobe form in a workflow step for A... | SCN
    Hope this Info will be Helpful
    Cheers
    Pradyp

  • Configuration steps for leave request in ESS/MSS

    Hi
    I want to configure for leave request approval from ESS/MSS (EP 7.0 and ECC 6.0)
    What are the configuration steps if any doc please send.
    Thanks & Regards

    Hi Rao,
    Go through this link for leave request cofiguration steps.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/leave%2brequest%2bconfiguration%2bsteps
    Also visit this link for ESS related issue resolution and hints.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/commonIssuesandHintsin+ESS
    Reagrds,

  • Work flow for Leave request without ESS

    Dear All,
    For one of our client, we have configure workflow for leave request, first is it possible to do tht?
    If so how to do it?, here we dont have ESS/MSS. Is there any standard workflow available?
    Thanx

    There is standard workflow task which give by SAP to approve leave request i.e. 12300111.
    But I am not sure this workflow task will work with out Portal or not.

  • Create Z service for leave request

    Hi All,
    with reference to "ESS in MSS"
    Leave request :
    "In a similar fashion you can create a Z service for leave request and attach the resource of Leave request which is standard one to it
    EMPLOYEE_WORKTIME_LEAVEREQUEST05 to the Sub Area MSS_HCM_SUB_RELATEDACTIVITY_ESS. "
    how do i create a z service for leave request?
    Regards

    I think you wish to use ESS Leave Request in MSS.......
    Tcode SPRO...
    Cross-Application Components -> Homepage Framework -> Services
    Define Services
    Copy existing and create your own....
    EMPLOYEE_WORKTIME_LEAVEREQUEST
    to
    ZXXX_EMPLOYEE_WORKTIME_LEAVEREQUEST
    EMPLOYEE_WORKTIME_LEAVEOVERVIEW
    to
    ZXXX_EMPLOYEE_WORKTIME_LEAVEOVERVIEW
    Associate a Z resource or existing resource with it....
    Then map this Z service with Sub area
    "Assign Services to Subareas"
    Do not forget to give "Position"
    Revert back if you face any issue......
    Edited by: Saurabh Agarwal on Jul 20, 2011 12:32 PM

  • Error message for Leave request (Related to some Old Question)

    Hi Experts,<br />
    <br />
    We are facing an Error when only 1 employee in the company opens his Leave request page, the same page is working for others perfectly.<br />
    <br />
    this Error is the same as the one in the below posts:<br />
    <br />
    1. Link: Re: Error message for Leave request<br />
    <br />
    and I tried going through their solutions such as:<br />
    <br />
    1. Please check if you have the leave config done on ECC side under Personnel Management --&gt; Employee Self services --&gt; Service Specific settings --&gt; Working time --&gt; Leave request .<br />
    2. At the least you should have assign the default rule to your PSG to the standard leave type given. Otherwise create your own rule groups and Specify Processing processes for type of leave set up.<br />
    3. explicitly activate WEBMO Feature although it was activated<br />
    <br />
    But the Error is still coming for this specific Employee, even though his Vacation Quota is created and available for deduction.<br />
    <br />
    Please Help me in solving this issue.<br />
    <br />
    Regards,<br />
    Abdulrahman

    Index: 0, Size: 0:
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at java.util.ArrayList.RangeCheck(ArrayList.java:507)
         at java.util.ArrayList.get(ArrayList.java:324)
         at com.sap.aii.proxy.framework.core.JcoBaseList.get(JcoBaseList.java:268)
         at com.sap.aii.proxy.framework.core.AbstractList.get(AbstractList.java:230)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCList.get(DynamicRFCList.java:281)
         at com.sap.tc.webdynpro.progmodel.context.Node$ModelElementList.getElement(Node.java:2549)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
         at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)
         at com.sap.xss.hr.lea.form.FcForm.setLeadSelectionForSubtype(FcForm.java:700)
         at com.sap.xss.hr.lea.form.FcForm.setVisibility(FcForm.java:943)
         at com.sap.xss.hr.lea.form.FcForm.prepareCommand(FcForm.java:308)
         at com.sap.xss.hr.lea.form.wdp.InternalFcForm.prepareCommand(InternalFcForm.java:2041)
         at com.sap.xss.hr.lea.form.FcFormInterface.prepareCommand(FcFormInterface.java:116)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface.prepareCommand(InternalFcFormInterface.java:1887)
         at com.sap.xss.hr.lea.form.wdp.InternalFcFormInterface$External.prepareCommand(InternalFcFormInterface.java:1983)
         at com.sap.xss.hr.lea.form.edit.VcFormEdit.onInit(VcFormEdit.java:299)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEdit.onInit(InternalVcFormEdit.java:1084)
         at com.sap.xss.hr.lea.form.edit.VcFormEditInterface.onInit(VcFormEditInterface.java:165)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface.onInit(InternalVcFormEditInterface.java:204)
         at com.sap.xss.hr.lea.form.edit.wdp.InternalVcFormEditInterface$External.onInit(InternalVcFormEditInterface.java:280)
         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: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.AbstractApplicationProxy.create(AbstractApplicationProxy.java:220)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1288)
         at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:355)
         at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:548)
         at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:592)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:864)
         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: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)

  • Requirement for Leave Request.

    Hi All,
               I have a requirement for leave request in Portal. Basically employee will have two managers. Now my scenario is, if there is no line manager then the Approver field must be defaulted with the next manager.
    Is there any BADI for this?
    Thanks!
    Deepak.

    Hi 
    I am facing the same issues, when you wrote the udpate has been done by"I copied the Iview and used the handler IviewLauncher"
    Can you shre more details , and the steps ,  Many thanks

  • How to create iView for Leave Request Approval for ESS Tab in Portal

    Hello ,
    I am new to  Enterprise portal. I got a requirement for creating iViews.
    How to create iView for Leave Request Approval for ESS Tab in Portal.??
    Please give me clearly or provide any document.
    Thanks
    Risha

    Hi Risha,
    is it customized application ?
    If so in SWFVISU transaction maintaain the entry .
    Use transaction SWFVISU to prepare standard setting for your Workitem in the UWL. --Parameters for Work Item Visualization in the UWL.
    Have a look at below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/d516690e854c7090ae15bf492a869f/content.htm

  • Tables for deleted request.

    Hi experts,
    Is there any table which stores the deleted request number?
    Tahnks,
    Abhishek.

    Hi,
    Use below tables for Transport Requests E070 and E071.
    Regards
    Jana

  • Regarding the exact link for configurate type for leave request

    Hi all:
       I am trying to  Customize Types of Leave/ Absence Types for Leave Requests following the route Personnel Management u2192 Employee Self-Service u2192 Service-Specific Settings u2192 Working Time u2192 Leave Request u2192 Processing Processes u2192 Specify Processing Processes for Types of Leave, but it turns not be there, maybe it is because of the sap version, could you please tell
    me the exact route for  Customize Types of Leave/ Absence Types ?
    thank you very much

    sorry , the above link is correct , I found the above linke missing like personnel management--employee self-servce, because Basis didn't delopy some pakcage , could you please tell me what package missed.
    thank you very much .
    Edited by: jingying Sony on May 7, 2010 7:58 AM

  • Auto Approval Workflow for leave request Management.

    Hi Guru's,
    I am working on leave request Workflow i.e WS12300111.
    Now i have to implement the auto approval of workitem if the approver doesnt take any action in 3days.
    1. i have implemented deadline monitoring i.e in Latest end tab
    refer date/time :- Expression Date : %DATUM% Time : %UZEIT%    3 days Action : Modeled  Display test
    Outcome : Reminder Mail
    In outcome tab i have activated Processing obsolete.
    i have created an activity if the deadline is reached so that it should auto approve the workitem.
    in that activity i have created a copy of class CL_PT_REQ_WF_ATTRIBS created 1 method auto_approve. and used function module PT_ARQ_REQUEST_EXECUTE so that it will change the status from SENT to APPROVE.
    But when i apply leave in portal , workflow starts but it doesnt reach to branch auto approve after the deadline is reached.
    Please suggest is the deadline monitoring implemented correctly or not .
    whether the auto approve method used is correct or not
    or there is another solution to this
    I have checked the SWU3 setting and it is green.
    Please Advise
    Thanks in Advance
    chitis

    Hi Rick ,
    Thanks for the Reply.
    But is there something wrong in deadline monitoring i have maintained for the task.
    could you please share the procedure for implementing deadline monitoring specific to auto approval of the workitem.
    thanks in advance
    chitis

  • Need table for Transport Request component

    Hi,
    I need the name of the table that stores the TR name and all the Objects to be transported in them.
    Thnx in advance,
    Chirantan

    Check <b>E070</b>
    E070     Change & Transport System: Header of Requests/Tasks
    E070A     Change & Transport System: Attributes of a Request
    E070C     CTS: Source/Target Client of Requests/Tasks
    E070CREATE     Change & Transport System: Creation Date of Request
    E070DEP     Change & Transport System: Dependencies of Requests
    E070L     CTS: Index for Assigning Numbers to Requests/Tasks
    E070M     CTS: Target Development Class/Layer for Requests
    E070N     UNIX/SAP User Connection
    E070P     Path under which a C correction is created
    E070TC     Help Table for E070 for Client-Specific Imports
    E070USE     Use of Current Requests by Users
    E071     Change & Transport System: Object Entries of Requests/Tasks
    E071C     Change & Transport System: Client-Specific Lock Flag
    E071E     Lang. Transport: Positive List for Generic Object Selection
    E071K     Change & Transport System: Key Entries of Requests/Tasks
    E071KF     Change & Transport System: Nametab Information on Key Fields
    E071KFINI     Change & Transport System: Nametab Information on Key Fields
    E071L     Language Transport: Transport Information
    E07T     Change & Transport System: Short Texts for Requests/Tasks

  • Display more columns in ESS "Time Accounts" table in "Leave Request"

    Hi all,
    does anybody know how to configure the display of columns in the "Time Accounts" table in the ESS-WebDynpro "Leave Request" ? I currently see
    Time Account /  Deductible to / Entitlement / Remainder 
    We would like to include other columns and can't find to manage this in the WebDynpro ess~lea (we're using EP6, SAP_ESS 100 SP19) - all 12 existing columns are already set to "visible" in AccListView. In implementation of method format() in FccAccList all values are assigned, but the columns get not displayed...
    Please could you advise, where and how this can be customized?
    Is it to customize in backend or WebDynpro or ??
    Thanks,
    Monika
    Edited by: Monika Verwohlt on Jul 16, 2009 11:25 AM

    sorry

Maybe you are looking for

  • ITunes / iPod touch not syncing correctly

    I'm having two problems at the moment, the first of which is an error which comes up while syncing the mail accounts to my iPod. The following message (http://www.moventouch.com/itunes.png) comes up (the part which has been blanked out contained my n

  • Estimating range of performance for a query

    I wonder if this is an intractable problem: Using information available from the data dictionary and from the tables referenced in a query, estimate actual minimum and maximum run times for a given query, predict performance for various combinations

  • Singleton Vs Static Class

    Hi, Kindly excuse if my question annoys anyone in the forum. Compared to a singleton class we can always have a class and all methods as static? Wouldnt that be the same as Singleton. Also looking at Runtime class, its a Singleton. Just thinking if R

  • Adobe Premiere Elements 8 - Unable to start a project

    Hello, I'm new here, I just bought Premiere 8 to edit and creat home videos, but when I open Premiere and select new project, I can only get as far as naming my file. after that I get a blank grey screen with the menu bar. can't add my files or edit

  • Follow-up Irecruitment Questions...

    I copied the Irecruitment External Candidate Responsibility to xxIrecruitment External Candidate Responsibility. Now I want to make that responsibility as a default when somebody for outside register in the Irec site. The IRC: Registration Business G