cancel
Showing results for 
Search instead for 
Did you mean: 

How to Retrieve Public Holiday Details for India in S/4HANA Cloud Public Edition via OData API

rahuljain257
Participant
0 Kudos
244

Hello Everyone,

I am trying to get public holiday details for India using the S/4 HANA Cloud System (Public Edition). Here are the steps to find the relevant screen:

rahuljain257_6-1723102172150.png

The steps to find the screen are as follows -

Screenshot 1: Log in to the Central Business Configuration and search for "Calendar" in the Configuration Section. You will find the "Maintain Calendar" option. Clicking on it will redirect you to Screenshot 2

rahuljain257_1-1723100383868.png

Screenshot 2 - On this screen, select "Holiday Calendar" as an option and click on "Display." This will take you to Screenshot 3

rahuljain257_2-1723100540897.png

Screenshot 3 - On this screen, select "India" from the list and click on "Calendar." This will take you to Screenshot 4.

rahuljain257_3-1723100771306.png

Screenshot 4 - On this screen, select "2024" from the list and click on "Calendar." This will display the public holidays for India in 2024.

rahuljain257_4-1723101139026.png

Screenshot 4 - In this screen, I need to select 2024 from the list & click on Calendar. Clicking on it will take me to Screenshot 5.

rahuljain257_5-1723102126974.png

Screenshot 5 - This screen displays the number of holidays available in the calendar year for India.

I am looking for the OData APIs to retrieve this data from the S/4HANA Cloud Public System.

Regards
Rahul Jain

View Entire Topic
Enda
Product and Topic Expert
Product and Topic Expert

Hello @rahuljain257 

 

An API for Maintain Calendar is currently not available but we do have the CDS views below

 

I_PUBLICHOLIDAYCALENDAR
I_PUBLICHOLIDAYCALENDARHOLIDAY
I_PUBLICHOLIDAYCALENDARTEXT
I_PUBLICHOLIDAYCODE
I_PUBLICHOLIDAYCODETEXT
I_PUBLICHOLIDAYDATEPERYEAR

 

The screenshot you show refers to  I_PUBLICHOLIDAYCALENDARHOLIDAY

 

Best Regards

Enda