Skip to Content
Author's profile photo Former Member

Evolution of Leave Request Application

Leave Request Application is one of the most popular Employee Self Service application along with “Record Working Time”,“Personal Profile”, etc. This application has been one of the first application which gets delivered by SAP when it adapts any new technology say Web Dynpro Java or Web Dynpro ABAP.

Leave Request Application in Web Dynpro Java


The Leave Request – Web Dynpro Java application was delivered in ECC 5.0(ESS Business Package) which is still supported even today. This application works in good old “Roadmap” approach where user enters the Leave request details in the first step(Display and Edit), reviews the entered information in the second step(Review and Send) and finally sees a confirmation in the third step(Completed). Most of the applications delivered during that time used to have the “Step based” approach.

/wp-content/uploads/2013/08/p1_262272.png

This application has features like “Show Calendar”, “Show Time Accounts” and “Show Overview of Leave”. These application calls the RFC enabled function modules – “PT_ARQ*” to get data, perform validations and save data into ECC. The configuration for the Leave Request application has the steps like Creation of Rule Groups, Link the Rule Groups to Absence Types, etc.

/wp-content/uploads/2013/08/p2_262273.png

Leave Request Application in Web Dynpro ABAP


After many years of wait, the Leave Request – Web Dynpro ABAP application was delivered in ECC 6.0 Enhancement Package 5 which is also supported even today. Suddenly SAP’s development direction has changed in ECC 6.0 from Web Dynpro Java and BSP to Web Dynpro ABAP. They first migrated the E-Recruiting applications from BSP to Web Dynpro ABAP and in EHP5 and gradually SAP has moved the ESS, MSS, Benefits(and most of the applications) from Web Dynpro Java/BSP to Web Dynpro ABAP.

This new application runs on Floor Plan Manager Overview page framework which looks more decent. There is no more step based approach. On entering the leave request information, you can validate the entered information using a simple “Check” button in the same screen. Once all errors/warnings are addressed, you can submit the form using the “Send” button. Again, this application has the same features like “Team Calendar”, “Time Accounts” and “Leave Requests”, but these features are implemented using individual “Tab” based approach.

/wp-content/uploads/2013/08/p3_262283.png

Configuration for this application didn’t change a lot again ! It almost looked same as Web Dynpro Java’s application  except minor changes.

/wp-content/uploads/2013/08/p4_262284.png

This application uses the Object Oriented approach with a whole bunch of classes (CL_HRESS_PTARQ*) that came with the package – PAOC_TIM_ESS_WDA.

Leave Request Application in SAPUI5


Here comes the latest Leave Request Application which is developed using SAPUI5. This application is delivered in HR Renewal 1.0 Feature Pack 4(Service Pack 14). There is no reason why I won’t be excited with this application since it being the latest 🙂 and something really cool.

/wp-content/uploads/2013/08/p5_262285.png

This new application renders three different sections in the screen – Leave Request details, Team Calendar and Time Accounts making best use of the screen. SAP has reduced the number of tabs for displaying the features. The “Leave History” displays each leave requests in separate lanes as shown below. We do have options to edit and delete the submitted “Leave Request”.

/wp-content/uploads/2013/08/p6_262286.png

This new application works based on ODATA service from SAP ECC perspective. The Model used for this application is HRESS_LEAVE_REQUEST with the Model Provider class as CL_HRESS_GW_MD_LEAVE_REQUEST. The technical service linked to this Model is – HRESS_LEAVE_REQUEST_SERVICE with data provider class as CL_HRESS_GW_RT_LEAVE_REQUEST and Model Provider class as CL_HRESS_GW_MD_LEAVE_REQUEST. Overall there are whole bunch of objects(for this application and many other new ESS services) delivered under the package – PAOC_ESS.

Configuration for this application also remains the same, in fact nothing has changed.

/wp-content/uploads/2013/08/p7_262287.png

Conclusion –


After working in SAP for almost 10 years, I have seen this Leave Request Application(in fact I should say all ESS Applications) constantly changing and has been getting better day by day. Though the front end (UI as WD Java or WD ABAP or SAPUI5) has changed across these years, SAP has kept the configuration almost the same for many years. Overall I am very happy with the evolution of this application(and all ESS applications) !

What do you feel about the changes over these years ?

Note : Since, I haven’t worked on Fiori’s Leave Request Application, I decided not to discuss about this new mobile app. You may find more information about this application in the below link –

http://productdesignjournal.blogspot.com/2013/06/sap-fiori-leave-request-app-from.html

Assigned Tags

      14 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Madhava Rao Basava
      Madhava Rao Basava

      Hi Raja,

      Its a very good document. I would like to suggest you to give a complete end to end process of leave request would be much more useful. This really helps to understand the leave process in ESS.

      Thanks for the document..

      Madhav.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Well Madhav,

      This blog is just an overview blog ! My intention was only to demonstrate how the Leave Request application has changed over years 🙂

      Yah, I do have an idea of writing a future blog for demonstrating an end-to-end Leave Request process(including approval screen) in HR Renewal 1.0 Feature Pack 4.

      Regards

      Raja

      Author's profile photo Former Member
      Former Member

      Hello Raja

      Thanks for the document. Very nice.

      Do you have any idea on how to hide the edit icon (Pencil Icon) show against Absences in UI5 (Leave History Tab) screen above.

      We have already done the configuration in the table. However, the icon still appears. Please suggest

      Regards

      BrahmaRao

      Author's profile photo Custodio de Oliveira
      Custodio de Oliveira

      Hi Raja,

      What about the Fiori Leave Request app?

      Cheers,

      Custodio

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Yes Custodio,

      Actually I didn't work on the Fiori's Leave Request App, so I carefully kept that out of scope. Now, that you raised this point, I shall edit this blog to have the Fiori's App !

      Thanks for the feedback.

      Regards

      Raja

      Author's profile photo Murali Shanmugham
      Murali Shanmugham

      Good one. Yea, I am keen to know how this Leave Request screen is different from Fiori.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Murli,

      Thanks for the feedback. Added a special note to address the Fiori's App screen...Check it out 🙂

      Author's profile photo Former Member
      Former Member

      Good one Kuncham

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Deva.

      Author's profile photo Former Member
      Former Member

      thanks deva

      Author's profile photo Former Member
      Former Member

      As always... Good one...

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Harshal.

      Author's profile photo Sahir Nidagundi
      Sahir Nidagundi

      Thanks for the informative post.

      Author's profile photo Marc Frenay
      Marc Frenay

      Hello,

      Thx! Great post.

      1. Do you know whether it's possible to hide some fields?
      2. In my application (ui5) I can't see fields start time and end time, do you know the reason why?

      Thx a lot