THOCI SAP (Public holiday calendar index) Table details
Dictionary Type: Table
Description: Public holiday calendar index
Description: Public holiday calendar index
Table field list including key, data, relationships and ABAP select examples
THOCI is a standard SAP Table which is used to store Public holiday calendar index data and is available within R/3 SAP systems depending on the version and release level.
The THOCI table consists of various fields, each holding specific information or linking keys about Public holiday calendar index data available in SAP. These include VJAHR (Year from which data is stored), BJAHR (Year until which data is saved), ABBR (Calendar: Termination flag), CRUSR (Calendar: Calendar creator/changer).. 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 = THOCT
SAP THOCI 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 | HIDENT | HCI | |||
VJAHR | Year from which data is stored | VJAHR | NUMC | 4 | GJAHR | GJAHR | |||
BJAHR | Year until which data is saved | BJAHR | NUMC | 4 | GJAHR | GJAHR | |||
ABBR | Calendar: Termination flag | KABBR | CHAR | 1 | CHAR1 | ||||
CRUSR | Calendar: Calendar creator/changer | KUSER | CHAR | 12 | USERNAME | ||||
CRDAT | Date | FABDAT | DATS | 8 | DATUM | ||||
CRTIME | Calendar: Creation or change time | CRTIME | TIMS | 6 | UZEIT | ||||
AKTVJAHR | Year, from which calendar is in buffer | AKTVJAHR | NUMC | 4 | GJAHR | GJAHR | |||
AKTBJAHR | Year, until which calendar is in buffer | AKTBJAHR | NUMC | 4 | GJAHR | GJAHR |
Key field | Non-key field |
How do I retrieve data from SAP table THOCI using ABAP code
The following ABAP code Example will allow you to do a basic selection on THOCI to SELECT all data from the tableDATA: WA_THOCI TYPE THOCI.
SELECT SINGLE *
FROM THOCI
INTO CORRESPONDING FIELDS OF WA_THOCI
WHERE...
How to access SAP table THOCI
Within an ECC or HANA version of SAP you can also view further information about THOCI 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