THOCS SAP (Public holiday calendar (display)) Table details
Dictionary Type: Table
Description: Public holiday calendar (display)
Description: Public holiday calendar (display)
Table field list including key, data, relationships and ABAP select examples
THOCS is a standard SAP Table which is used to store Public holiday calendar (display) data and is available within R/3 SAP systems depending on the version and release level.
The THOCS table consists of various fields, each holding specific information or linking keys about Public holiday calendar (display) data available in SAP. These include JAHR (Year stored), MON01 (Calendar: Days in a month), MON02 (Calendar: Days in a month), MON03 (Calendar: Days in a month).. 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
SAP THOCS 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 |
IDENT | Public Holiday Calendar | HIDENT | CHAR | 2 | THOCI | HIDENT | HCI | ||
JAHR | Year stored | KJAHR | NUMC | 4 | GJAHR | GJAHR | |||
MON01 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON02 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON03 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON04 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON05 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON06 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON07 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON08 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON09 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON10 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON11 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
MON12 | Calendar: Days in a month | MON00 | CHAR | 31 | MON00 | ||||
FENUM | Number of days in year | FTNUM | NUMC | 3 | NUM03 | ||||
SAMFE | Public holidays on Saturday | SAMFE | NUMC | 3 | NUM03 | ||||
SONFE | Public holidays on Sunday | SONFE | NUMC | 3 | NUM03 | ||||
LOAD | Load year in buffer flag ('X' = Yes) | CLOAD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table THOCS using ABAP code
The following ABAP code Example will allow you to do a basic selection on THOCS to SELECT all data from the tableDATA: WA_THOCS TYPE THOCS.
SELECT SINGLE *
FROM THOCS
INTO CORRESPONDING FIELDS OF WA_THOCS
WHERE...
How to access SAP table THOCS
Within an ECC or HANA version of SAP you can also view further information about THOCS 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