THOL SAP (Public Holidays) Table details
Dictionary Type: Table
Description: Public Holidays
Description: Public Holidays
Table field list including key, data, relationships and ABAP select examples
THOL is a standard SAP Table which is used to store Public Holidays data and is available within R/3 SAP systems depending on the version and release level.
The THOL table consists of various fields, each holding specific information or linking keys about Public Holidays data available in SAP. These include REGEL (Holiday rule), MONAT (Month for holiday calculation), MOTAG (Day of month for public holiday calculation), WOTAG (Day for public holiday calculation).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
Text table = THOLT
SAP THOL table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
FTGID | Public holiday key | FTGID | CHAR | 3 | FTGID | ||||
REGEL | Holiday rule | KREGEL | CHAR | 1 | CHAR1 | ||||
MONAT | Month for holiday calculation | KMONAT | NUMC | 2 | KMONAT | ||||
MOTAG | Day of month for public holiday calculation | KTAG | NUMC | 2 | KTAG | ||||
WOTAG | Day for public holiday calculation | KWOTAG | NUMC | 1 | NUM01 | ||||
ABSTD | Distance of public holiday from Easter | KABSTD | DEC | 3 | KABSTD | ||||
KONFE | Calendar religion key | KKONFE | CHAR | 2 | T516T | KONFE | |||
KLASS | Holiday class | KKLASS | CHAR | 1 | KKLASS | ||||
GARANT | Public holiday guaranteed flag | FTGARANT | CHAR | 1 | FTGARANT | ||||
SORT | Sort field for public holidays | FTSORT | CHAR | 3 | CHAR3 |
Key field | Non-key field |
How do I retrieve data from SAP table THOL using ABAP code
The following ABAP code Example will allow you to do a basic selection on THOL to SELECT all data from the tableDATA: WA_THOL TYPE THOL.
SELECT SINGLE *
FROM THOL
INTO CORRESPONDING FIELDS OF WA_THOL
WHERE...
How to access SAP table THOL
Within an ECC or HANA version of SAP you can also view further information about THOL and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects