TFAIN SAP (Calendar: Intervals for company holidays, special shifts) Table details
Dictionary Type: Table
Description: Calendar: Intervals for company holidays, special shifts
Description: Calendar: Intervals for company holidays, special shifts
Table field list including key, data, relationships and ABAP select examples
TFAIN is a standard SAP Table which is used to store Calendar: Intervals for company holidays, special shifts data and is available within R/3 SAP systems depending on the version and release level.
The TFAIN table consists of various fields, each holding specific information or linking keys about Calendar: Intervals for company holidays, special shifts data available in SAP. These include JAHR (Year stored), VON (Date from which special rule is valid), BIS (Date, until which the rule applies), WERT (Bit for workday).. 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 TFAIN 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 | Factory Calendar | WFCID | CHAR | 2 | TFACD | WFCID | FCI | ||
JAHR | Year stored | KJAHR | NUMC | 4 | GJAHR | GJAHR | |||
VON | Date from which special rule is valid | FABDATV | DATS | 8 | DATUM | ||||
BIS | Date, until which the rule applies | FABDATB | DATS | 8 | DATUM | ||||
WERT | Bit for workday | KBIT | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP table TFAIN using ABAP code
The following ABAP code Example will allow you to do a basic selection on TFAIN to SELECT all data from the tableDATA: WA_TFAIN TYPE TFAIN.
SELECT SINGLE *
FROM TFAIN
INTO CORRESPONDING FIELDS OF WA_TFAIN
WHERE...
How to access SAP table TFAIN
Within an ECC or HANA version of SAP you can also view further information about TFAIN 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