API_THEAD SAP (SAPscript: Text Header) Structure details
Description: SAPscript: Text Header
Structure field list including key, data, relationships and ABAP select examples
API_THEAD 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_API_THEAD TYPE API_THEAD.
The API_THEAD table consists of various fields, each holding specific information or linking keys about SAPscript: Text Header data available in SAP. These include AENNR (Change Number), TDOBJECT (Texts: Application Object), TDNAME (Name), TDID (Text ID).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP API_THEAD structure 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 |
PVGUID | Internal Number of the PVS Variant | PVS_PVGUID | RAW | 16 | SYSUUID | ||||
AENNR | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
TDOBJECT | Texts: Application Object | TDOBJECT | CHAR | 10 | Assigned to domain | TDOBJECT | |||
TDNAME | Name | TDOBNAME | CHAR | 70 | TDOBNAME | ||||
TDID | Text ID | TDID | CHAR | 4 | Assigned to domain | TDID | |||
TDSPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
TDTITLE | Title in dialog box | TDTITLE | CHAR | 50 | TDTITLE | ||||
TDFORM | Form Name | TDFORM | CHAR | 16 | TDFORM | ||||
TDSTYLE | Style Name | TDSTYLE | CHAR | 8 | TDSTYLE | ||||
TDVERSION | Version | TDVERSION | NUMC | 5 | TDVERSION | ||||
TDFUSER | Created by | TDFUSER | CHAR | 12 | TDUSER | ||||
TDFRELES | Release | TDFRELES | CHAR | 4 | TDRELEASE | ||||
TDFDATE | Date created | TDFDATE | DATS | 8 | DATUM | ||||
TDFTIME | Time Created | TDFTIME | TIMS | 6 | UZEIT | ||||
TDLUSER | Last changed by | TDLUSER | CHAR | 12 | TDUSER | ||||
TDLRELES | Last Changed in Release | TDLRELES | CHAR | 4 | TDRELEASE | ||||
TDLDATE | Changed On | TDLDATE | DATS | 8 | DATUM | ||||
TDLTIME | Last Changed at | TDLTIME | TIMS | 6 | UZEIT | ||||
TDLINESIZE | Line Width | TDLINESIZE | NUMC | 3 | TDLINESIZE | ||||
TDTXTLINES | Number of Text Lines in Line Table | TDTXTLINES | NUMC | 5 | TDVALUE | ||||
TDHYPHENAT | Hyphenation Active | TDHYPHENAT | CHAR | 1 | TDBOOL | ||||
TDOSPRAS | Original language | TDOSPRAS | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
TDTRANSTAT | Translation status | TDTRANSTAT | NUMC | 1 | TDTRANSTAT | ||||
TDMACODE1 | Short Title 1 | TDMACODE1 | CHAR | 16 | TDMACODE | ||||
TDMACODE2 | Short Title 2 | TDMACODE2 | CHAR | 16 | TDMACODE | ||||
TDREFOBJ | Object of Referenced Text | TDREFOBJ | CHAR | 10 | Assigned to domain | TDOBJECT | |||
TDREFNAME | Name of Referenced Text | TDREFNAME | CHAR | 70 | TDOBNAME | ||||
TDREFID | ID of Referenced Text | TDREFID | CHAR | 4 | Assigned to domain | TDID | |||
TDTEXTTYPE | SAPscript: Format of Text | TDTEXTTYPE | CHAR | 6 | TDTEXTTYPE | ||||
TDCOMPRESS | SAPscript: Text is compressed | TDCOMPRESS | CHAR | 1 | TDCOMPRESS | ||||
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
TDOCLASS | SAPscript: Object Class | TDOCLASS | CHAR | 4 | TDOCLASS | ||||
UPDKZ | Update indicator | UPDKZ_D | CHAR | 1 | UPDKZ |
Key field | Non-key field |
How do I retrieve data from SAP structure API_THEAD using ABAP code?
As API_THEAD 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 API_THEAD as there is no data to select.How to access SAP table API_THEAD
Within an ECC or HANA version of SAP you can also view further information about API_THEAD 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