MECDGRID SAP (Change Documents: Purchasing: ALV Display Structure) Structure details
Description: Change Documents: Purchasing: ALV Display Structure
Structure field list including key, data, relationships and ABAP select examples
MECDGRID is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Change Documents: Purchasing: ALV Display Structure" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_MECDGRID TYPE MECDGRID.
The MECDGRID table consists of various fields, each holding specific information or linking keys about Change Documents: Purchasing: ALV Display Structure data available in SAP. These include OBJECTCLAS (Object class), OBJECTID (Object value), CHANGENR (Document change number), USERNAME (User name of the person responsible in change document).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)
SAP MECDGRID structure 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 |
OBJECTCLAS | Object class | CDOBJECTCL | CHAR | 15 | ALPHA | OBJECTCL | |||
OBJECTID | Object value | CDOBJECTV | CHAR | 90 | CHAR90 | ||||
CHANGENR | Document change number | CDCHANGENR | CHAR | 10 | ALPHA | CDCHANGENR | |||
USERNAME | User name of the person responsible in change document | CDUSERNAME | CHAR | 12 | CHAR12 | ||||
UDATE | Creation date of the change document | CDDATUM | DATS | 8 | DATUM | ||||
UTIME | Time changed | CDUZEIT | TIMS | 6 | UZEIT | ||||
TCODE | Transaction in which a change was made | CDTCODE | CHAR | 20 | TSTC | TCODE | |||
TABNAME | Change document creation: Table name | CDTABNAME | CHAR | 30 | Assigned to domain | AS4TAB | |||
TABKEY | Changed table record key | CDTABKEY | CHAR | 70 | CHAR70 | ||||
KEYLEN | Table key length | CDINTLEN | NUMC | 4 | DDLEN | ||||
CHNGIND | Change Type (U, I, S, D) | CDCHNGIND | CHAR | 1 | CDCHNGIND | ||||
FNAME | Field Name | FIELDNAME | CHAR | 30 | Assigned to domain | FDNAME | DFD | ||
FTEXT | Explanatory short text | DDTEXT | CHAR | 60 | DDTEXT | ||||
TEXTART | Create change document: Text type | CDTEXTART | CHAR | 4 | CDTEXTART | ||||
SPRACHE | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
TEXT_CASE | Text change flag ('X') | CDTEXTIND | CHAR | 1 | XFELD | ||||
OUTLEN | Output length of the old and new value | CDOUTLEN | NUMC | 4 | DDLEN | ||||
F_OLD | Old contents of changed field | CDFLDVALO | CHAR | 254 | FIELDVAL | ||||
F_NEW | New contents of changed field | CDFLDVALN | CHAR | 254 | FIELDVAL | ||||
KEYGUID | KEYGUID for Link to CDPOS_UID | CDKEYGUID | CHAR | 32 | SYSUUID_C | ||||
TABKEY254 | Table Key for CDPOS in Character 254 | CDTABKEYLO | CHAR | 254 | TABKEYLONG | ||||
EXT_KEYLEN | Table key length | CDINTLEN | NUMC | 4 | DDLEN | ||||
KEYGUID_STR | KEYGUID for Link to CDPOS_STR | CDKEYGUID_STR | CHAR | 32 | SYSUUID_C | ||||
VERSION | 3-Byte field | CHAR3 | CHAR | 3 | CHAR3 | ||||
EKKEY | Sort key | MECDSORTKEY | CHAR | 70 | CHAR70 | ||||
CDDEP | Indicator: consequential change | CDDEP | CHAR | 1 | XFELD | ||||
CDOUT | Data output category | CDOUT | CHAR | 1 | CHAR1 | ||||
CDSEL | Indicator: change not selectable | CDSEL | CHAR | 1 | XFELD | ||||
CDGRP | Change group | CDGRP | INT4 | 10 | INT4 | ||||
CDIGN | Indicator: no output | CDIGN | CHAR | 1 | XFELD | ||||
CDIGNV | Indicator: No output in case of versions and buyer approval | CDIGNV | CHAR | 1 | XFELD | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
ETENR | Delivery Schedule Line Counter | EETEN | NUMC | 4 | Assigned to domain | EETEN | |||
ABRUF | Release Number | MEABRUF | NUMC | 10 | ABRUF | SAGN | |||
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
LTSNR | Vendor Subrange | LTSNR | CHAR | 6 | Assigned to domain | LTSNR | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PARVW | Partner Function | PARVW | CHAR | 2 | Assigned to domain | PARVW | PARVW | PAR | |
PARZA | Partner counter | PARZA | NUMC | 3 | PARZA | ||||
CONSNUMBER | Sequence Number | AD_CONSNUM | NUMC | 3 | NUMC3 | ||||
COMM_TYPE | Communication Method (Key) (Business Address Services) | AD_COMM | CHAR | 3 | Assigned to domain | AD_COMM | |||
REVNO | Version number in Purchasing | REVNO | CHAR | 8 | ALPHA | REVNO | |||
EXTGROUP | Outline Level | EXTGROUP | CHAR | 8 | CHAR8 | ||||
EXTROW | Line Number | EXTROW | NUMC | 10 | NUMC10 | ||||
NUMKN | Seq. Number of Acc. Assignment Specification: Service Line | NUMKN | NUMC | 2 | NUM02 | ||||
ETEXT | Changed object | MECDTEXT | CHAR | 100 | CHAR100SM | ||||
ETEXT1 | Directly changed object | MECDTEXT1 | CHAR | 100 | CHAR100SM | ||||
EKKEY1 | Sort key of directly changed object | MECDSORTKEY1 | CHAR | 70 | CHAR70 | ||||
ACTION | Type of change | MECDACTION | CHAR | 10 | TEXT10 | ||||
SELKZ | Selection indicator | MECDSELKZ | CHAR | 1 | XFELD | ||||
UNDOF | Change cancelled | UNDOF | CHAR | 1 | XFELD | ||||
UNDOICON | Status of cancelled changes | UNDOICON | CHAR | 30 | |||||
UNIT_OLD | Change documents, unit referenced | CDUNIT | UNIT | 3 | CDUNIT | ||||
UNIT_NEW | Change documents, unit referenced | CDUNIT | UNIT | 3 | CDUNIT | ||||
CUKY_OLD | Change documents, referenced currency | CDCUKY | CUKY | 5 | Assigned to domain | WAERS | |||
CUKY_NEW | Change documents, referenced currency | CDCUKY | CUKY | 5 | Assigned to domain | WAERS | |||
VALUE_NEW | New contents of changed field | CDFLDVALN | CHAR | 254 | FIELDVAL | ||||
VALUE_OLD | Old contents of changed field | CDFLDVALO | CHAR | 254 | FIELDVAL | ||||
CELL_LAYOUT | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure MECDGRID using ABAP code?
As MECDGRID is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on MECDGRID as there is no data to select.How to access SAP table MECDGRID
Within an ECC or HANA version of SAP you can also view further information about MECDGRID 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