SCMGPREL SAP (Template for Area-Specific POID - POID Relation) Table details
Dictionary Type: Table
Description: Template for Area-Specific POID - POID Relation
Description: Template for Area-Specific POID - POID Relation
Table field list including key, data, relationships and ABAP select examples
SCMGPREL is a standard SAP Table which is used to store Template for Area-Specific POID - POID Relation data and is available within R/3 SAP systems depending on the version and release level.
The SCMGPREL table consists of various fields, each holding specific information or linking keys about Template for Area-Specific POID - POID Relation data available in SAP. These include POIDID2 (POID Relation - POID 2), PPRETYP (POID - POID Relation Type for Areas), MY_CLIENT (Client ID), ARCHIVE (Archiving Flag).. 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: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)
SAP SCMGPREL 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 |
POIDID1 | POID Relation - POID 1 | SRMPOIDID1 | CHAR | 32 | SRMID | ||||
POIDID2 | POID Relation - POID 2 | SRMPOIDID2 | CHAR | 32 | SRMID | ||||
PPRETYP | POID - POID Relation Type for Areas | SRMPPRETYP | CHAR | 2 | SRMPPRETYP | ||||
MY_CLIENT | Client ID | SYMANDT | CLNT | 3 | Assigned to domain | MANDT | |||
ARCHIVE | Archiving Flag | SRMARCHIVE | CHAR | 1 | SRMARCHIVE | ||||
RELATTR | Additional Attribute for the Relation (ID or Direct Content) | SRMPRELATTR | CHAR | 64 | SRMPRELATTR |
Key field | Non-key field |
How do I retrieve data from SAP table SCMGPREL using ABAP code
The following ABAP code Example will allow you to do a basic selection on SCMGPREL to SELECT all data from the tableDATA: WA_SCMGPREL TYPE SCMGPREL.
SELECT SINGLE *
FROM SCMGPREL
INTO CORRESPONDING FIELDS OF WA_SCMGPREL
WHERE...
How to access SAP table SCMGPREL
Within an ECC or HANA version of SAP you can also view further information about SCMGPREL 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