DD05S SAP (Foreign key fields) Table details
Dictionary Type: Table
Description: Foreign key fields
Description: Foreign key fields
Table field list including key, data, relationships and ABAP select examples
DD05S is a standard SAP Table which is used to store Foreign key fields data and is available within R/3 SAP systems depending on the version and release level.
The DD05S table consists of various fields, each holding specific information or linking keys about Foreign key fields data available in SAP. These include FIELDNAME (Name of the field to be checked), PRIMPOS (Position of corresp. foreign key field in primary key), AS4LOCAL (Activation Status of a Repository Object), AS4VERS (Version of the entry (not used)).. 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: Not classified
SAP DD05S 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 |
TABNAME | Table Name | TABNAME | CHAR | 30 | DD08L | AS4TAB | DTB | ||
FIELDNAME | Name of the field to be checked | FORFIELD | CHAR | 30 | DD08L | FDNAME | |||
PRIMPOS | Position of corresp. foreign key field in primary key | PRIMPOS | NUMC | 4 | AS4POS | ||||
AS4LOCAL | Activation Status of a Repository Object | AS4LOCAL | CHAR | 1 | AS4LOCAL | ||||
AS4VERS | Version of the entry (not used) | AS4VERS | NUMC | 4 | AS4VERS | ||||
FORTABLE | Table of the foreign key field | FORTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
FORKEY | Names of Foreign Key Fields | FORKEY | CHAR | 30 | Assigned to domain | FDNAME | |||
FORSTRING | Foreign Key Part in Other Table | FORSTRING | CHAR | 60 | CHAR60 |
Key field | Non-key field |
How do I retrieve data from SAP table DD05S using ABAP code
The following ABAP code Example will allow you to do a basic selection on DD05S to SELECT all data from the tableDATA: WA_DD05S TYPE DD05S.
SELECT SINGLE *
FROM DD05S
INTO CORRESPONDING FIELDS OF WA_DD05S
WHERE...
How to access SAP table DD05S
Within an ECC or HANA version of SAP you can also view further information about DD05S 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