Customizing standard ESS Leave Request Application

Hi,
         We are using standard ESS Leave Request application in our project. I need to set a default value to " Type of Leave" to  some value say "Vacation".
    Anyone kindly let me know is it possible to set some default values in SAP standard applications and how can we do that.
Regards
Pavan

Is this a repeat?
Re: Customizing standard ESS Leave Request Application
Yash

Similar Messages

  • ESS Leave Request - Customer fields default function not working

    Hi,
    a. SAP version being discussed
    SAP ECC6.0
    EP7.0
    ESS/MSS
    b. Here is the scenario
    1. We are using ESS Leave Request application for employees to request leave. We are using the standard web dynpro java leave request application delivered by SAP.
    2. Lately there has been a need to provide a customer field on the request form which will have a calculated value showing up when the employee opens the request
    3.We used one customer field called customer01 as per configuration steps.
    4. This field appears on the request form when it is opened.
    5. Our need is to display a value in that field when the form is opened.
    6. SAP/s documentation states that we can use BADI PT_ABS_ARQ to default a value to this field on the form. This value is calculated during runtime dynamically.
    7. We have used the method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP for this purpose
    8. After activating and coding this implementation, the system does not default anything on the request form when it is opened up.
    9. Once the employee hits the review button, this field gets its defaulted value but this is not what we want. We want the system to display this when the form is OPENED, that means at the prepare stage. For this field to appear after hitting the review button is meaningless as the employee needs to make a decision based on the value in this field before hitting the review button.
    It almost seems like this BADI is called when the review button is hit and not when the form is opened up. We may be wrong and missing something obvious which one of you can immediately point out, Hence this post.
    10. I did go thru the forum at great length and seen that there has been discusion surrounding the need to populate R3 from a value entered into this field. My problem is different wherein, I wish to populate this upfront as display information when the form is opened and then send it back to R3, once the employee submits the request.
    Would be grateful if anybody on this forum could point me in the right direction.
    Thank you,
    Rajesh

    Please, can I take this question a little further.
    Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
    Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
    Cheers

  • Add a custom button in Ess Leave Request

    Hi Gurus,
    I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
    Thanks,
    Mohammed.
    Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
    Edited by: Thomas Zloch on Jun 17, 2011 9:54 AM

    Hi Gurus,
    I have requirement, add a custom button in a Standard ESS leave request (Webdynpro Java). When i click the the button it has to call popview(custom view). I am new to webdynpro Java, If possible explain me with step by step preocedures(if possible with screen shots).
    Thanks,
    Mohammed.
    Moderator message: this is the wrong forum, please have a look in the "Web Dynpro Java" forum, but always search for available information before posting.
    Edited by: Thomas Zloch on Jun 17, 2011 9:54 AM

  • Enhancement in ESS Leave Request

    Hi Gurus,
    I am new to webdynpro Java. I have a requirement to add a custom button in a Standard ESS leave request (Webdynpro Java) view. When i click the the button it has to call popview(not sure is it possible to call a webdynpro abap view).  If possible explain me with step by step preocedures(with screen shots).
    Thanks,
    Mohammed

    Hi,
              Good, you are now able to do modification in Standard ESS package. If you want to navigate to another WDABAP iView from your WDJAVA application, you can use the below code on some button or link action to navigate to another iView.
    Check this link:-
    http://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/clientserver/navigation/api/WDPortalNavigation.html
    public void onActionnavigateToToAbapiView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionnavigateToAbapiView(ServerEvent)
         try
                        WDPortalNavigation.navigateAbsolute(
                         "ROLES://portal_content/com.demo.DEMO_PCD/com.demo.ESS_SAP/com.demo.iview_ESS/demo.com.java_demo_com_demodc_demo_com_DemoApp",
                         WDPortalNavigationMode.SHOW_INPLACE,
                         "Window Title", WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                         "Title",
                         "",//ContextURL
                         "param1=10&param2=portalID");          
         catch (Exception e)
              e.printStackTrace();
    You will find your WDAbap PCD location in Content Admin, copy it and repace PCD: with ROLES at start.
    also you can pass parameters between 2-iViews, in the above code snippet you can find that.
    the above code needs to be written in your source iView so as to navigate to destination iView which is mentioned using its PCD location.
    to retrieve the parameters you need to check ABAP syntax to retrieve URL parameters.
    In java we retreive using below syntax:-
    String param1 = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param1");
    String loginID = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param2");
    to show it as a Pop-Up you need to find some work-around to achieve it, If i get time will do it and let you know, but if you find something for that do share.
    Regards
    Tushar Shinde.

  • ESS - Leave Request , Team Calendar

    We are not implementing the ESS - leave request application. But is it possible to use the "Team Calendar" application that can be viewed when the leave request application is used ?
    ERP2005 , MSS 1.0
    Regards,
    Mark

    Ideally, team calender should show the status of other team members within your team (from OM structure) - Who are at work, present, absent irrespective of your role (employee, manager).
    You are correct, the authrization could be missing and that's the reason it was not showing the team member's status.
    Put the trace on in st05 tcode and find out which authorization object it is refering to.
    Regards,
    Anil Kumar.

  • ESS leave request issue?

    Hi Gurus,
    I have an requirement where in which if employee enters (Employee total working hours is 8 hours per day) 4 hours in the hours column of the ESS leave request page.
    He has to get 0.5 days in the no of days column in the ESS leave request page.
    Then if employee choose the leave type as Sick Leave (It will be generic in standard ESS) he has to get the column where in which he can enter the reason for the same.
    EP 7.0 and backend is ECC6.0 and am using ESS/MSS 60.2 business package.
    Is there any patch is avaiable to incorprate the above requirement into standard ESS/leave request page.
    Higher points will be rewarded for valuble inputs.......
    This is very urgent requirement............
    Thanks in Advance,
    Dharani

    Hi,
    Please check this blog:
    Follow your leave request in Duet
    Please refer to this document:
    [Doc deleted 87 Nov 2012]
    Please check this thread for leave request from ESS:
    Leave request  from ESS
    Please check this wiki link for validation of leave request:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erphcm/validations%2bfor%2bess%2bleave%2brequest
    Hope this helps.
    Regards,
    Mona

  • Issue with ESS Leave request workflow - Deleting a leave request

    Hi friends,
      This is my scenario: An employee has created a leave request from ESS - Leave Request Workflow(Copy of  WS12300111) gets triggered and work item gets created in manager's UWL. After that the employee realizes he has created a wrong leave request so he deletes that leave request from ESS. In this case the workflow instance which got triggered when he created the leave request is under process and the work item stays in the Manager's UWL( there is no terminating event or wait for event step in the approval step of workflow WS12300111), when the Manger opens that work item it shows a blank column, ideally speaking when the leave request is deleted by the employee the work item in the manger's UWL should be logically deleted and the workflow should complete, but this part is not handled in the standard workflow WS12300111as well. How to handle this case. I can put a wait for event or a condition to complete a work item at the approval step but i would like to know how the standard ESS leave request framework works in this case. Please advice.

    Hi sapient
      This is not handled in std. You have clear the next processor in your in method then only the work item will get vanished from the UWL.  For clearting the next processor either you can create a method in your BOR and get the request id. For the request id get the max version and clear the next processor or in the BADI you have wirte your own logic when the change happens what you have to do. This logic has to be written in you BADI.  I thing BADI will start with PT_ check with that name in se18
       You cannot use wait for event or terminating event since its not R/3 workflow its ESS workflow you cannot use ternminating event or wait step.
    Regards
    vijay

  • How to use EP-ESS Leave Request using Custom Workflow

    Hi Experts,
    Can I use the EP-ESS Leave Request (ESS 1.0 for ERP05) with a custom workflow which is NOT a copy of the standard workflow 12300111?
    Regards,
    Shobhit

    Please post this question on Business process forum.
    U will have to follow the architecture of 12300111 template for ESS leave.
    Even though it says u can use ur own wf!!
    Cheers!!
    Ashutosh

  • Standard functionality of ESS Leave Request Details.

    Hi Gurus,
           Can anybody share the links of Standard functionality of ESS Leave Request Details..?
    And,Is there any standard functionality in ESS Leave Requests that if a User raises a Leave Request and want to extend the leave...is there any rule that User First cancel the previous Leave Request and raise a New Leave Request .
    Please explain briefly for the same.
    Thanks,
    Prakash.

    Prakash,
    ESS Leave Request with WebDynpro technology:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/76a6d7fd3a4e91bfb422405bf3e04d/frameset.htm
    ESS Leave Request with ITS technology (old):
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/80/58dce8142711d289b50000e8216659/content.htm
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/d9/359018129c11d3964400a0c930669b/content.htm
    You've all the customizing in SPRO > Personnel Management > Employee Self-Service > Service-Specific Settings > Working Time > Leave Request
    You define:
    1) A Rule with certain settings
    2) Absences/Attendances to display in ESS, with certain settings, and its assignation to a Rule
    3) A WF (commonly based on standard 12300111) --even you could not use a WF, check customizing
    4) Run process (manually or not) for analyze, correct and delete or save the entries finally in SAP through PTARQ transaction
    And,Is there any standard functionality in ESS Leave Requests that if a User raises a Leave Request and want to extend the leave...is there any rule that User First cancel the previous Leave Request and raise a New Leave Request .
    The employee can be able to cancel the request even when attendance/absence was approved. You define this behaviour for each Absence/Attendance in customizing.
    Regards

  • 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

  • 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

  • ESS: Leave Request - How to use a custom Leave Workflow?

    Hi Experts,
    I am implementing ESS 1.0 for mySAP ERP05. I have a custom workflow for Leave Request which I want to use for the ESS Leave Request. Can someone tell me what are the configuration steps required for this?
    I have already performed the following activity:
    SPRO --> Personnel Information --> ESS --> Service Specific Settings --> Working Time --> Leave Request --> Specify Processing Processes for Types of Leave
    Here I have defined the WF ID of New Request as the custom Workflow ID.
    Now when I trigger the Leave Request from EP-ESS, the message comes that the request was sent successfully.
    But in the backend no workflow gets triggered. I even tried to write an implementation for the BADI PT_ABS_REQ to trigger the custom workflow event, but still no activity in the ECC workflow upon submitting thwe portal request.
    Can some one please advise.
    Thanks,
    Shobhit

    Ohh.. So the standard WF also doesnt get triggered??
    Are you sure u have done SWU3 config??
    If u have, Try using SWU_OBUF to refersh the workflow buffer.
    Try swi1 to check what is happening with ur WF.
    Try login to requesters login ... SBWP ... check the outbox. Is there a WF with Error here.
    Cheers!!
    Ashutosh

  • ESS Leave request customer fields customization

    Hi all,
    I'm wondering how can add or modify the Data Type of one customer fields. I mean on the ESS leave request I need a customer field check box, or list of value for example.
    I try to append a structure to table PTREQ_CUSTOMER_STRUC, but this table cannot be enchanced....
    So any ideas?

    Please, can I take this question a little further.
    Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
    Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
    Cheers

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

  • 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

Maybe you are looking for