SAP HEAD22 SAPscript: Text header Table data and field list

HEAD22 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "SAPscript: Text header" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_HEAD22 TYPE HEAD22.

The HEAD22 table consists of various fields, each holding specific information or linking keys about SAPscript: Text header data available in SAP. These include TDOBJECT (Texts: Application Object), TDNAME (Name), TDID (Text ID), TDSPRAS (Language Key)... 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. .

HEAD22 structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP HEAD22 structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the HEAD22 table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
TDOBJECTTexts: Application Object TDOBJECTCHAR10Assigned to domainTDOBJECT
TDNAMEName TDOBNAMECHAR70TDOBNAME
TDIDText ID TDIDCHAR4Assigned to domainTDID
TDSPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
TDTITLETitle in dialog box TDTITLECHAR50TDTITLE
TDFORMForm Name TDFORMCHAR16TDFORM
TDSTYLEStyle Name TDSTYLECHAR8TDSTYLE
TDVERSIONVersion TDVERSIONNUMC5TDVERSION
TDFUSERCreated by TDFUSERCHAR12TDUSER
TDFRELESRelease TDFRELESCHAR4TDRELEASE
TDFDATEDate created TDFDATEDATS8DATUM
TDFTIMETime Created TDFTIMETIMS6UZEIT
TDLUSERLast changed by TDLUSERCHAR12TDUSER
TDLRELESLast Changed in Release TDLRELESCHAR4TDRELEASE
TDLDATEChanged On TDLDATEDATS8DATUM
TDLTIMELast Changed at TDLTIMETIMS6UZEIT
TDLINESIZELine Width TDLINESIZENUMC3TDLINESIZE
TDTXTLINESNumber of Text Lines in Line Table TDTXTLINESNUMC5TDVALUE
TDHYPHENATHyphenation Active TDHYPHENATCHAR1TDBOOL
TDOSPRASOriginal language TDOSPRASLANG1Assigned to domainISOLASPRAS
TDTRANSTATTranslation status TDTRANSTATNUMC1TDTRANSTAT
TDMACODE1Short Title 1 TDMACODE1CHAR16TDMACODE
TDMACODE2Short Title 2 TDMACODE2CHAR16TDMACODE
TDREFOBJObject of Referenced Text TDREFOBJCHAR10Assigned to domainTDOBJECT
TDREFNAMEName of Referenced Text TDREFNAMECHAR70TDOBNAME
TDREFIDID of Referenced Text TDREFIDCHAR4Assigned to domainTDID
TDTEXTTYPESAPscript: Format of Text TDTEXTTYPECHAR6TDTEXTTYPE
TDCOMPRESSSAPscript: Text is compressed TDCOMPRESSCHAR1TDCOMPRESS
MANDTClient MANDTCLNT3Assigned to domainMANDT
TDOCLASSSAPscript: Object Class TDOCLASSCHAR4TDOCLASS
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS

Key field Non-key field



How do I retrieve data from SAP structure HEAD22 using ABAP code?

As HEAD22 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on HEAD22 as there is no data to select.

How to access SAP table HEAD22

Within an ECC or HANA version of SAP you can also view further information about HEAD22 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).

Related SAP tables and the relationships to HEAD22

    CSKS - Cost Center Master Data
        COKA1 - CO Object: Control Data for Cost Elements
    CKIT1 - Texts for CKIS
    CKIP1 - Periodic Values for Unit Costing Item
        COSP1 - CO Object: Cost Totals for External Postings
            COVJ11 - CO Object: Line Items with Doc Header (by Year)
        COKS1 - CO Object: Control Data for Secondary Planning
            HEAD13 - SAPscript: Text Header
                LINE13 - SAPscript: Text Lines
        COSS1 - CO Object: Cost Totals for Internal Postings
            COVJ12 - CO Object: Line Items with Doc Header (by Year)
        COKR1 - CO Object: Control Data for Statistical Key Figs
        COKP1 - CO Object: Control Data for Primary Planning
    HEAD14 - SAPscript: Text Header
        LINE14 - SAPscript: Text Lines
        COSR1 - CO Object: Statistical Key Figure Totals
            COVJR1 - CO Object: Line Items Stat. Key Figures (by Year)
        CSSL - Cost Center/Activity Type
            COKA2 - CO Object: Control Data for Cost Elements
            COKP2 - CO Object: Control Data for Primary Planning
                HEAD21 - SAPscript: Text Header
                    LINE21 - SAPscript: Text Lines
            COSP2 - CO Object: Cost Totals for External Postings
    HEAD11 - SAPscript: Text Header
    COVJ21 - CO Object: Line Items with Doc Header (by Year)
            COKS2 - CO Object: Control Data for Secondary Planning
                HEAD22 - SAPscript: Text Header
                    LINE22 - SAPscript: Text Lines
            COSS2 - CO Object: Cost Totals for Internal Postings
                COVJ22 - CO Object: Line Items with Doc Header (by Year)
            COKL2 - CO Object: Control Data for Activity Types
                HEAD23 - SAPscript: Text Header
                    LINE23 - SAPscript: Text Lines
            COSL2 - CO Object: Activity Type Totals
    LINE11 - SAPscript: Text Lines
    COVJL2 - CO Object: Line Items for Activity Types (by Year)
            COST2 - CO Object: Price Totals
                COVJT2 - CO Object: Line Items for Prices (by Fiscal Year)
            COKR2 - CO Object: Control Data for Statistical Key Figs
                HEAD24 - SAPscript: Text Header
                    LINE24 - SAPscript: Text Lines
            COSR2 - CO Object: Statistical Key Figure Totals
                COVJR2 - CO Object: Line Items Stat. Key Figures (by Year)
    CKHS1 - Header: Unit Costing (Control + Totals)
        CKHT1 - Texts for CKHS
        HEAD12 - SAPscript: Text Header
            LINE12 - SAPscript: Text Lines
        CKIS1 - Individual Calculation/Verification Item Gen.

    CSKS - Cost Center Master Data
        CSKT - Cost Center Texts
    BPPE1 - Totals Record for Period Values Control
        BPVP1 - Table Generated for View BPVP1
        COKA1 - CO Object: Control Data for Cost Elements
        COKP1 - CO Object: Control Data for Primary Planning
            HEAD11 - SAPscript: Text Header
                LINE11 - SAPscript: Text Lines
            CKHS1 - Header: Unit Costing (Control + Totals)
                CKHT1 - Texts for CKHS
                HEAD12 - SAPscript: Text Header
                    LINE12 - SAPscript: Text Lines
        CDHDR - Change Document Header
                CKIS1 - Individual Calculation/Verification Item Gen.
                    CKIT1 - Texts for CKIS
                CKIP1 - Periodic Values for Unit Costing Item
        COSP1 - CO Object: Cost Totals for External Postings
            COVP11 - CO Object: Line Items with Doc. Header (by Period)
            COVJ11 - CO Object: Line Items with Doc Header (by Year)
            COVO1 - CO Object: Open Items for Line Items (w/o doc.Hdr)
        COKS1 - CO Object: Control Data for Secondary Planning
            HEAD13 - SAPscript: Text Header
                LINE13 - SAPscript: Text Lines
    CDPOS - Change Document Items
        COSS1 - CO Object: Cost Totals for Internal Postings
            COVP12 - CO Object: Line Items with Doc. Header (by Period)
            COVJ12 - CO Object: Line Items with Doc Header (by Year)
        COKR1 - CO Object: Control Data for Statistical Key Figs
            HEAD14 - SAPscript: Text Header
                LINE14 - SAPscript: Text Lines
        COSR1 - CO Object: Statistical Key Figure Totals
            COVPR1 - CO Object: Stat. Key Figure Line Items by Period
            COVJR1 - CO Object: Line Items Stat. Key Figures (by Year)
        COSB1 - CO Object: Total Variances/Results Analyses
        THEAD - SAPscript: Text Header
    COVPB1 - CO Object: Variance/Accrual Line Items by Period
        CSSL - Cost Center/Activity Type
            COKA2 - CO Object: Control Data for Cost Elements
            COKP2 - CO Object: Control Data for Primary Planning
                HEAD21 - SAPscript: Text Header
                    LINE21 - SAPscript: Text Lines
            COSP2 - CO Object: Cost Totals for External Postings
                COVP21 - CO Object: Line Items with Doc. Header (by Period)
                COVJ21 - CO Object: Line Items with Doc Header (by Year)
            COKS2 - CO Object: Control Data for Secondary Planning
    TLINE - SAPscript: Text Lines
                HEAD22 - SAPscript: Text Header
                    LINE22 - SAPscript: Text Lines
            COSS2 - CO Object: Cost Totals for Internal Postings
                COVP22 - CO Object: Line Items with Doc. Header (by Period)
                COVJ22 - CO Object: Line Items with Doc Header (by Year)
            COKR2 - CO Object: Control Data for Statistical Key Figs
                HEAD24 - SAPscript: Text Header
                    LINE24 - SAPscript: Text Lines
            COSR2 - CO Object: Statistical Key Figure Totals
                COVPR2 - CO Object: Stat. Key Figure Line Items by Period
        BPHI1 - Cross-Hierarchy Data Control
                COVJR2 - CO Object: Line Items Stat. Key Figures (by Year)
            COKL2 - CO Object: Control Data for Activity Types
                HEAD23 - SAPscript: Text Header
                    LINE23 - SAPscript: Text Lines
            COSL2 - CO Object: Activity Type Totals
                COVPL2 - CO Object: Activity Type Line Items by Period
                COVJL2 - CO Object: Line Items for Activity Types (by Year)
            COSB2 - CO Object: Total Variances/Results Analyses
                COVPB2 - CO Object: Variance/Accrual Line Items by Period
            COST2 - CO Object: Price Totals
        BPTR1 - Object Data Control
                COVPT2 - CO Object: Line Items for Prices (by Period)
                COVJT2 - CO Object: Line Items for Prices (by Fiscal Year)
    BPJA1 - Totals Record for Total Year Value Control
        BPVJ1 - Table Generated for View BPVJ1