DD42S SAP (Key fields for table types (internal tab. defined in DD)) Table details
Description: Key fields for table types (internal tab. defined in DD)
Table field list including key, data, relationships and ABAP select examples
DD42S is a standard SAP Table which is used to store Key fields for table types (internal tab. defined in DD) data and is available within R/3 SAP systems depending on the version and release level.
The DD42S table consists of various fields, each holding specific information or linking keys about Key fields for table types (internal tab. defined in DD) data available in SAP. These include SECKEYNAME (Name of Secondary Key for Table Type), KEYFDPOS (Position of key component in key of table type), AS4LOCAL (Activation Status of a Repository Object), ROWTYPEPOS (Position of the field in the table).. 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: W - System table, contents transportable via separate TR objectsDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP DD42S 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 |
TYPENAME | Name of table type | TTYPENAME | CHAR | 30 | Assigned to domain | TTYPENAME | TTYP | ||
SECKEYNAME | Name of Secondary Key for Table Type | SECKEYNAME | CHAR | 30 | SECKEYNAME | ||||
KEYFDPOS | Position of key component in key of table type | KEYFDPOS | NUMC | 4 | AS4POS | ||||
AS4LOCAL | Activation Status of a Repository Object | AS4LOCAL | CHAR | 1 | AS4LOCAL | ||||
ROWTYPEPOS | Position of the field in the table | TABFDPOS | NUMC | 4 | AS4POS | ||||
KEYFIELD | Key component for table types | KEYFIELD | CHAR | 132 | KEYFDNAME |
Key field | Non-key field |
How do I retrieve data from SAP table DD42S using ABAP code
The following ABAP code Example will allow you to do a basic selection on DD42S to SELECT all data from the tableDATA: WA_DD42S TYPE DD42S.
SELECT SINGLE *
FROM DD42S
INTO CORRESPONDING FIELDS OF WA_DD42S
WHERE...
How to access SAP table DD42S
Within an ECC or HANA version of SAP you can also view further information about DD42S 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