Skip to Content
0

Fiori Team Calendar Restricting Absence and Attendance

May 14 at 11:27 AM

133

avatar image

Hi all,

We are about to role out the SAP Fiori standard 'My Team Calendar' Application (version 2) SAP documentation

The one blocker we have to go-live is that by default the calendar displays all types of leave and attendance. However, understandably we would like to hide certain absence subtypes that may reveal too much personal data about a team member. eg

"Partners antenatal (Unpd)" which whilst help back-office apply the correct rules is not suitable to display to their collegues.

The team calendar within traditional ESS had settings for this in the IMG, however I cannot find anywhere to modify this in the Fiori V2 implementation. If it makes a difference this is running on premise and not HANA.

Any advice would be gratefully received.

Cheers

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tejas Chouhan May 15 at 04:13 AM
0

Hi Philip,

Any absence type you see in the app is coming from the backend master table, which flows through the app via odata service. May be you can add small logic to restrict certain "absence type" to be shown in the app. In this case it would be enhancement in OData service.

HCMFAB_COMMON_SRV (Go to transaction SEGW -> Enter : "HCMFAB_COMMON" Or directly go to SE24 and enter below)

Class name : CL_HCMFAB_COMMON_DPC_EXT

Method : GET_ABSENCE_DATA

May be line 131, sorry cn't debug at the moment.

--------------------------------------------------------------------------------

*=== Get absence/attendance records (IT2001/IT2002) and fill return table
CALL METHOD cl_pt_arq_blop_adapter=>read_attabs
EXPORTING
im_pernr_tab = it_pernr
im_begda = iv_begda
im_endda = iv_endda
im_refresh = cl_pt_req_const=>c_true
IMPORTING
ex_attabs_tab = lt_attabs_list.

--------------------------------------------------------------------------------

Regards,

Tejas

Share
10 |10000 characters needed characters left characters exceeded