DD05S SAP (Foreign key fields) Table details

Dictionary Type: Table
Description: Foreign key fields




ABAP Code to SELECT data from DD05S
Related tables to DD05S
Access table DD05S




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 objects
Display/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
TABNAMETable Name TABNAMECHAR30DD08LAS4TABDTB
FIELDNAMEName of the field to be checked FORFIELDCHAR30DD08LFDNAME
PRIMPOSPosition of corresp. foreign key field in primary key PRIMPOSNUMC4AS4POS
AS4LOCALActivation Status of a Repository Object AS4LOCALCHAR1AS4LOCAL
AS4VERSVersion of the entry (not used) AS4VERSNUMC4AS4VERS
FORTABLETable of the foreign key field FORTABLECHAR30Assigned to domainAS4TAB
FORKEYNames of Foreign Key Fields FORKEYCHAR30Assigned to domainFDNAME
FORSTRINGForeign Key Part in Other Table FORSTRINGCHAR60CHAR60

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 table
DATA: 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 as

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!