Enhancing the Fiori “My Time Events” Application

Enhancing the Fiori “My Time Events” Application: This blog contains the overview section of the document entitled “S4HANA – My Time Events.pdf“, which is a guide for creating an enhanced version of the Fiori My Time Events application.

This enhanced application is closely tied to another custom application called “Approve Time Events“.


Purpose

The purpose of this document is to describe the required components of an enhanced version of the “My Time Events”, for SAP S/4HANA 1511.  These components include:

  • HANA CDS Views
  • Gateway Service Development
  • Launchpad Configuration (LPD_CUST)
  • Launchpad Designer Configuration
  • SAPUI5 Development

The “MyTime Events” application allows employees to manage time events (clock-in, clock-out, etc).  Currently, the S4HANA 1511 version of the application does not support the following fields, when creating or updating a time event:

  • Position Type
  • Attendance Type
  • Cost Center

These fields, along with their search help values, were added to the application.  The new fields were added to the views that allow creating and editing time events.

Other enhancements include restricting the creation of time events to the current day and preventing the modification of existing time events.

Finally, a custom status value is written to the time event.  This status value is used by a custom application called “Approve Time Events”, which allows managers to create, edit, audit, and approve time events.

The custom service, generated by these enhancements, is the code base of the custom “Approve Time Events” service.

Figure 1 – The “My Time Events” application

Application My Time Events
Fiori Apps Library ID S9OP
Line of Business Human Resources
Application Type Transactions
Fiori Apps Library link My Time Events

Since this application was enhanced for a specfic set of requirements, it will most likely need to be adapted to the the HCM processes of any other implementing customer.  This document and the incuded code could greatly reduce the effort to enhance a similar application.

Functionality

The section highlights the features and functionality of the “My Time Events” enhanced application.

  • The “My Time Events” application allows employees to select an attendance type, a position type, and a cost center when creating a time event. An employee can select either a Position or a Cost Center, but not both. Search help values have been provided for each new field.
  • Clock-ins and Clock-outs can only be created for the current day. The date selection field has been disabled.
  • Employees can display an existing time event, but cannot change it. The “Update” button has been removed.
  • When a time event is created, fields PDC_USRUP of tables TEVEN and TEVEN_MORE are populated with a value of ‘10’. This is used by the custom “Approve Time Events” application to indicate that a time event was created by an employee, and not a manager or the payroll department.
Figure 2 – The “My Time Events” tile, for the Fiori Launchpad

Figure 3 – The S1 view of the “My Time Events” application

Figure 4 – Comparison of the standard and enhanced versions of the S2 view

Solution

Please see the document entitled “S4HANA – My Time Events.pdf“, for the full solution.

New NetWeaver Information at SAP.com

Very Helpfull

 

 

User Rating: Be the first one !