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

Similar Messages

  • UWL Workitem item shows multiple Leave Request for Approval

    Dear All ,
    I ahve modified standard workflow for leave WS12300111 . I have 2 levels of approval . The step which goes to approver is standard task TS12300097 which is calling DUMMY method of CL_PT_REQ_WF_ATTRIBS class .
    Now my problem is suppose 100 people have applied for the leave after managers approval it workitem will go to HR . So in HR's UWL he/she will have 100 workitem . Now supose HR clicks on first workitem in by logging in to ESS . when HR clicks on pop-up comes on the top it has one table sort of thing , here all the 100 leave request r getting diplayed .
    <b>I want Table to dislay only the Leave request of an employee belonging to That workitem.</b> Please help in this regard .
    Thank you.
    Raghavendra.

    You will need to modify the UWL XML file. There is a document titled "How to Configure teh Universal Worklist" on service.sap.com you can use to achieve this. Read the section titled Step by Step Decision views.
    Cheers
    Lewis

  • Approval Leave request for Wave2

    hello guys:
    For approval Leave Request for Wave 1,  we need to define an Approval Scenario on the gateway side. Just want to know for Wave 2, where should we define the workflow task id ?  should we define it on the ERP side ?
    thanks
    tony

    Hi Tony,
    The Workflow id definition remains same as wave 1.
    On the gateway system.
    regards,
    Meghna

  • How to approve Leave Request for Workflow in ESS?

    Hey! Experts,
    Currently, I am working on ESS Leave Request Workflow referening the Standard Workflow Template WS12300111. The requirements are as such, requested leave need to be approved using TS 12300007 'Approve Process'. Here, I have created a customized Rule to get the actual agent since the requirement is like i have to check if the employee who is apply for leave on the date is present in any project (alternative C-project Org. Structure is maintained) than his / her project manager will be the approver else i need to get the approver from the central HR Org. Struct. For simplicity consider the employee is currently present in only one project.
    Also, for information the Rule is working fine. That is the workitem is received in the appropriate agent UWL.
    Now my doubt is, there is no approve  / reject button coming in the workitem in UWL
    Also, after refering documentation on help.sap.com i came to know that some reports need to be run in background for approval to be done.
    Here, I am confused and I am stucked as I dont know which reports need to be run and how will the approval will be done in MSS.
    Kindly, give me some guidance on the same so that i can proceed.
    Thnx! in advance.
    And yeah points will be rewarded on giving suitable answer for this.
    Regards,
    Mistry Wasim

    Hi,
    Following are the some important points you should understand about ESS Leave Request Workflow
    1. The Visualization ( how should it appear in UWL and what should happen when you click on a particular workitem) is defined in SWFVISU. Check for TS12300097. Generally, it invokes com.sap.xss.hr.lea.appl/LeaveRequestApprover Java WebDynpro application. Just check whether you are able to get the correct Leave Processing application called when you execute your workitem from UWL?
    2. In general it should have option to process the leave request either approve/reject. When the leave request gets approved/rejected the status of the Leave Request document gets changed ( in workflow it is &REQ.STATUS&
    3. There is a need to schedule a background job for program RPTARQPOST which will pick up all the documents in APPROVED status and creates an absence record for the same.
    4. Apart from schedule job as mentioned above, you also have to schedule a background job for program  RPTARQEMAIL, which is basically used to send e-mails for all the documents which are yet to be approved to correct manager.
    as you say , you can not see Approve/Reject options from UWL, it looks to me that correct javawebdynpro application is not being called for this task. Just check this !!
    Good Luck !!
    Regards
    Krishna Mohan

  • Manger wants to create a leave request for inactive employee

    is this requirement possible ?
    my client is asking that the manger wants to create a leave request for inactive employee on his behalf
    when the manger is trying to create a leave request it is throwing the error message as Invalid personal number.
    Comments required from the experts

    Hi solomon,,
    I dont know the reason behind
    the inactive employee is showing under the mss Home page of manger.
    Is there something wrong functionally/technically ?
    I Know what would be the status of inactive employee. I tried to convenience my client,but no luck
    Requirement is in this way :
    Manger wants to create a leave request for inactive employee( on the behalf of inactive employee, the manger wants to create a leave request ) in manager self service tab from Home

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

  • HELP: Customizing ESS Leave Request for multiple entries in one submission

    Hi experts,
    I appreciate help on this urgent problem. We're on ECC6 with EP7. My customization requirements are below:
    1) Allow multiple leave entries to be submitted at one go. Standard ESS only allows one date range entry per submission. We've customized the Webdynpro Leave request form to allow multiple entries in table form.
    Assuming there's 3 requests:
    R1 ~ 01-Oct-2007
    R2 ~ 03-Oct-2007
    R3 ~ 05-Oct-2007
    Whenever user clicks 'New Entry' button, Webdynpro will call bapi PT_ARQ_REQUEST_PREPARE to generate a new request ID.
    When user clicks on 'Review' button, I will loop at the requests internal table and check each of the entries, which is an individual request, via BAPI PT_ARQ_REQUEST_CHECK. Am I doing correctly so far?
    The checks return no error. Next comes the problem. When I click the 'Send' button, I will loop at the request IDs (in ascending order) into BAPI PT_ARQ_REQUEST_EXECUTE. I will get a dump, saying that the object cannot be found. Debugging shows that it cannot find the first request ID (R1) in the memory. I found that if I sort the request IDs in descending order, it will be able to find the last request (R3) and could process it. However, when it comes to the 2nd last request (R2), it will give me the same dump saying that object can't not found. Both R1 and R2 cannot be found whereas only R3 can be found.
    In overview, the logic we adopted is like this:
    1) PT_ARQ_REQUEST_PREPARE-CREATE (R1)
    2) PT_ARQ_REQUEST_CHECK (R1) upon clicking 'New Entry' Button
    3) PT_ARQ_REQUEST_PREPARE-CREATE (R2)
    4) PT_ARQ_REQUEST_CHECK (R2) upon clicking 'New Entry' Button
    5) PT_ARQ_REQUEST_PREPARE-CREATE (R3)
    6) PT_ARQ_REQUEST_CHECK (R1, R2, R3) upon clicking 'Review' Button
    7) Loop PT_ARQ_REQUEST_EXECUTE ( R3 - Returns OK, R2 - Returns object not found and terminates, R1 - not processed because execution terminated by R2).
    Can anyone please advise me how I should go about changing the BAPIs? Or are the CLASSes/BADIs to be changed?
    <b>Points will be rewarded for helping with this urgent requirement.</b> Thank you.
    Regards,
    Damien

    Hi Kiran,
    Thanks for replying. My guess initially was also that the requests are overwritten.
    I heard of another company's implementation who did the same concept and was able to do it. Unfortunately, I'm unable to get any information from them.
    Initially, my frontend programmer and I thought of adopting the 'dummy checks' methodology. i.e. Do dummy checks when clicking 'New entry' or 'Review' button. This is to ensure that the entries were entered correctly at front end. Only when the user clicks on the 'Send' button, my BAPIs take in a table of request entries and perform the Request_Prepare&Request_Check&Request_Execute one at a time.
    This may be expensive as there will be double the processing needed. One set for dummy checks and one set for the actual backend processing.
    Is there any way that I can create multiple requests in 'transcient' state so that it won't be overwritten and I can still find it when I call the BAPI PT_ARQ_PREPARE_EXECUTE? PT_ARQ_PREPARE_EXECUTE only takes in request IDs instead of request structures.
    Thanks again, Kiran, for replying. Have a good weekend.
    Regards,
    Damien

  • Request for approval screen click on document orrange arrow

    Hi all
    When an approver click on the document number (little orange arrow) on the request for aproval screen system gives a following error messag. why?
    "You are not permitted to perform this action"
    The user having necessary authorisations
    the user only the one in the aproval stage
    thanks
    SV Reddy

    Hi Gordon,
    Thanks for the reply. as you sugested i did exactly first by giving the complete full authorisation to all the modules (Professional license applied to this user) then in the authorisation area at one place for document series group no.10 i removed the authorisation
    though the user is not able to see the document.  (if i dont remove the authorisation for group 10 in the document series the user when he press Ctrl + * in the document for find mode he will be able to see the last financial period documents also.  primarily the user shuld not see the last years documents in thefind mode)
    Thanks
    SV Reddy

  • ESS Leave Request - creating a Leave Request for another employee

    Hi,
    We're working on ECC6 + EP7 + ESS/MSS Leave Request scenario
    and we've a problem about "substitution". Not the substitution for dealing with somebody else workitems in UWL, but "substitution" for "acting" like somebody else.
    We want to authorize an assistant to enter a leave request in place of an other employee.
    as if this assistant were connected in ESS/LaavRequest with the user of the employee.
    To explain, in 46c/ITS620, our scenario was the following :
    - We modified the SAP standard internet service Leave Request to add a combo box, so when the assistant connected to the ITS page with her user, she had a list of all employees.
    - we modified the SAP standard to change the variables containing the connected user information, so the creation of an absence request was made for the user selected in the list.
    We want to keep this possibility in the new ESS.
    Any idea if something exists in the SAP standard ?
    Thanks

    This scenario is not available in ESS, ie This kind of functionality is not available from ESS
    But you can achieve it using your added link In MSS > General information
    there you have many services for individual employees

  • Leave requeste for attendance

    Hi all,
    I'd like a confirm of the possibility to insert an attendance into infotype 2002 with a standard service of leave request.
    Thanks in advance.
    Miki

    Yes you can do it via configuration of T554s, where you have attendance/absence indicator (You can use P.)
    And then assign it for your rule group in v_t554s_web

  • Leave Request for ESS Portal WS12300111 Workflow Text

    Hello workflow experts
    I've been asked to enhance the standard Portal leave request workflow (WS12300111) so that instead of the generic text "General workflow for documents" the SWI2_FREQ transaction can show text with the requester's name to simplify any troubleshooting or auditing issues.  For example, have the text show "Carl Robinson's Leave Request".
    I've already tried doing this by copying the standard workflow and then placing a workflow container within the text, where the container should have the initiator's name.  However, generated worflows do not show any text for this container, just an empty space.  For example, current workflows show " 's Leave Request" when I would expect them to show something like "Juan Ramos's Leave Request".  When I check the container values in the workflow log, the container does indeed contain the name value.
    My suspicion is that since this workflow is not being triggered by an event, but rather through customizing and integration with the Portal, the text is being generated before the containers are populated with values.  However, I can't be sure of this since the workflow log shows the containers filled already even when the text shows empty text.  Is there a way to test this?  Also, would anyone have suggestions on how to fix this issue?  Thanks in advance.
    Regards and happy holidays,
    Juan Ramos

    Thank you all for the quick replies.
    I followed a similar approach to Maorriyan's suggestion.  I created the &NAME& container but it wasn't being populated.  Instead I found a similar container under &REQ.INITIATOR.NAME&.  This container populated the value correctly as soon as the organizational environment was refreshed.
    Thanks all!
    Points awarded.
    Message was edited by: Juan Ramos Bras

  • Authorizer cant change document request for approval

    Hi ,
    Is there any methods to enable the Authorizer to change the A/R Invoice that sent for their approval.
    E.g. Change the Unit Price, GL Code or add more items
    System Info: SBO 2007A PL 45

    HI Experts,
    I have a similar requirement, we have configured a one level approval template with a single authorizer. After the draft is sent from the originator and before the approval is done by the authorizer any attempt at changing the data in the draft returns an error stating "the draft is in approval process" however after the the draft is approved the authorizer is unable to change the document.  The requirement is, during approval process, the authorizer has to make corrections in the document if any..... please let me know if there are any settings that needs to be checked for this to occur.
    tha

  • Leave request workflow in ESS ?

    hi there
    we plan to use the ess scensario for leave request entered by employees in our portal (netweaver 2004'S 7.00, with backend ECC 6.0).
    i have a problem with the workflow behind it: i want to send an email to the person who must approve the leave request.
    in standard there is of course a email, but only with a link to the business workplace inbox. as this is very user-unfriendly i want to add a link to the email which DIRECTLY gets to the leave request for approving.
    is there a possiblility ?
    b. reg, Martin

    Hi ,
    This is only possible via Extended notification.
    Just follow the following path and u will configure it of by ur own.
    http://www.mortenhjorthnielsen.dk/BPM/RSWUWFML2/RSWUWFML2.html
    Reward me for useful answer.
    Thanks!
    Richard A

  • Preblem for Approver in Leave request

    Hi All,
       Well i am facing a problem in Create leave Request For the Approver that is selected by default based on the organisation head.I don't now how it happens but thing that i noticed thta for an employee if i maintain a head position in the org  it picks up that head position of org as default.
    My consulatant want this value to be picked up as we require i.e fetch a particular employee through coding on the screen itself and default on the screen.Can this be done else if any body can provide any better alternative for this solution is most welcomed.
    Well we can actually send or sellect the approver what he wants but what about the approver that comes as default on screen and if there is no approver workflow will  not be triggered as it gives the error
    Please reply soon.

    1)   go to swdd tcode,give workflow name and then click on step which finds out the approver of the employee.u will find FM which is finding approver.
    now u can go an change the FM in SE37 and put ur own logic to find the approver.
    suppose u want to find approver by A002 relationship of employee then u have to write followign code in the concerned FM -
    DATA: ls_sobid TYPE sobid.
      SELECT SINGLE sobid FROM hrp1001 INTO ls_sobid
       WHERE otype = 'S'
       and   plvar = '01'
       AND   objid = i_plans
       AND   endda >= sy-datum
       AND   begda <= sy-datum
       AND   rsign = 'A'
       AND   relat = '002'.
    e_objid = ls_sobid.
    2) if not by A002 then u can create a new relationship say 'ZTV' and maintain this relationship for employees and find approver based on tht then as follows -
    SELECT SINGLE sobid FROM hrp1001 INTO ls_sobid
       WHERE otype = 'S'
       and   plvar = '01'
       AND   objid = i_plans
       AND   endda >= sy-datum
       AND   begda <= sy-datum
       AND   rsign = 'A'
       AND   relat = 'ZTV'.
    e_objid = ls_sobid.
    3) reward poins if helpfull
    amit

  • Leave request is not coming in 2nd level approval in MSS NWBC

    Hi all,
    I am getting the leave request for 2nd level approval in MSS work item.
    But I want that in MSS Leave approval () .
    Is there any configuration to do for this.?

    I am getting the leave request for 2nd level approval in MSS work item ?
    your getting leave request in POWL Application i.e Bulk approval list. This is correct only.
    But I want that in MSS Leave approval () . ?
    Can you explain little more clear.

Maybe you are looking for

  • Apple loops have disappeared?

    I clicked on Re-Index apple loops user library, and all my loops disappeared. I went on garageband and re indexed them again there, but not all of my loops have appeared. I've reindexed spotlight, I've re installed Logic, but they're still not there.

  • Edit button in email heading disappeared

    On my iPad Air the heading above the lists of emails in my inbox disappeared so I can not edit the messages or move back to other inboxes. I would like to know how to restore it.

  • Error 10401

    Whenever I attempt to use the analog input vi's (such as AI Sample Channel, AI Acquire Waveform, etc.), then go to run the application Error message 10401 pops up: "Error 10401 occurred at AI Group Config."  I'm able to set up equivalent code using t

  • Transform XML into Oracle

    Can anyone tell me how to transform data from XML file into Oracle DB without using any tool. I have not done it before. TIA, Geegee

  • -3001 error

    Hi, I am using Oracle 10g and ODP.NET 9.2.0.401 on Framework .Net 1.1. Pool is off on my connection string. When I execute an ExecuteReader via a corrupt db link ; I correctly obtain an ORA-24338 OracleException (which catch in my application). Then