SMDPHRE SAP (Outbound Relationships for Physical Info Objects) Table details
Dictionary Type: Table
Description: Outbound Relationships for Physical Info Objects
Description: Outbound Relationships for Physical Info Objects
Table field list including key, data, relationships and ABAP select examples
SMDPHRE is a standard SAP Table which is used to store Outbound Relationships for Physical Info Objects data and is available within R/3 SAP systems depending on the version and release level.
The SMDPHRE table consists of various fields, each holding specific information or linking keys about Outbound Relationships for Physical Info Objects data available in SAP. These include REP1_ID (Physical document), REIO_ID (Relationship between logical and physical documents), REP1_CLASS (Document class), RE_CLASS (Relationship class).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SMDPHRE 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
REP1_ID | Physical document | SDOK_PHID | CHAR | 32 | SDOK_DOCID | ||||
REIO_ID | Relationship between logical and physical documents | SDOK_REID | CHAR | 32 | SDOK_DOCID | ||||
REP1_CLASS | Document class | SDOK_CLASS | CHAR | 10 | Assigned to domain | SDOK_CLASS | |||
RE_CLASS | Relationship class | SDOK_RECL | CHAR | 10 | Assigned to domain | SDOK_CLASS | |||
REP2_ID | ID for documents and relations | SDOK_DOCID | CHAR | 32 | SDOK_DOCID | ||||
REP2_CLASS | Document class | SDOK_CLASS | CHAR | 10 | Assigned to domain | SDOK_CLASS | |||
CREA_USER | Created by | SDOK_CRUSR | CHAR | 12 | USERNAME | ||||
CREA_TIME | Creation time (UTC) | SDOK_CRTST | NUMC | 14 | TSTLC | SDOK_TSTMP | |||
CHNG_USER | Last changed by | SDOK_CHUSR | CHAR | 12 | USERNAME | ||||
CHNG_TIME | Time of change (UTC) | SDOK_CHTST | NUMC | 14 | TSTLC | SDOK_TSTMP |
Key field | Non-key field |
How do I retrieve data from SAP table SMDPHRE using ABAP code
The following ABAP code Example will allow you to do a basic selection on SMDPHRE to SELECT all data from the tableDATA: WA_SMDPHRE TYPE SMDPHRE.
SELECT SINGLE *
FROM SMDPHRE
INTO CORRESPONDING FIELDS OF WA_SMDPHRE
WHERE...
How to access SAP table SMDPHRE
Within an ECC or HANA version of SAP you can also view further information about SMDPHRE 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