MECDGRID SAP (Change Documents: Purchasing: ALV Display Structure) Structure details

Dictionary Type: Structure
Description: Change Documents: Purchasing: ALV Display Structure




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




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
OBJECTCLASObject class CDOBJECTCLCHAR15ALPHAOBJECTCL
OBJECTIDObject value CDOBJECTVCHAR90CHAR90
CHANGENRDocument change number CDCHANGENRCHAR10ALPHACDCHANGENR
USERNAMEUser name of the person responsible in change document CDUSERNAMECHAR12CHAR12
UDATECreation date of the change document CDDATUMDATS8DATUM
UTIMETime changed CDUZEITTIMS6UZEIT
TCODETransaction in which a change was made CDTCODECHAR20TSTCTCODE
TABNAMEChange document creation: Table name CDTABNAMECHAR30Assigned to domainAS4TAB
TABKEYChanged table record key CDTABKEYCHAR70CHAR70
KEYLENTable key length CDINTLENNUMC4DDLEN
CHNGINDChange Type (U, I, S, D) CDCHNGINDCHAR1CDCHNGIND
FNAMEField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
FTEXTExplanatory short text DDTEXTCHAR60DDTEXT
TEXTARTCreate change document: Text type CDTEXTARTCHAR4CDTEXTART
SPRACHELanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
TEXT_CASEText change flag ('X') CDTEXTINDCHAR1XFELD
OUTLENOutput length of the old and new value CDOUTLENNUMC4DDLEN
F_OLDOld contents of changed field CDFLDVALOCHAR254FIELDVAL
F_NEWNew contents of changed field CDFLDVALNCHAR254FIELDVAL
KEYGUIDKEYGUID for Link to CDPOS_UID CDKEYGUIDCHAR32SYSUUID_C
TABKEY254Table Key for CDPOS in Character 254 CDTABKEYLOCHAR254TABKEYLONG
EXT_KEYLENTable key length CDINTLENNUMC4DDLEN
KEYGUID_STRKEYGUID for Link to CDPOS_STR CDKEYGUID_STRCHAR32SYSUUID_C
VERSION3-Byte field CHAR3CHAR3CHAR3
EKKEYSort key MECDSORTKEYCHAR70CHAR70
CDDEPIndicator: consequential change CDDEPCHAR1XFELD
CDOUTData output category CDOUTCHAR1CHAR1
CDSELIndicator: change not selectable CDSELCHAR1XFELD
CDGRPChange group CDGRPINT410INT4
CDIGNIndicator: no output CDIGNCHAR1XFELD
CDIGNVIndicator: No output in case of versions and buyer approval CDIGNVCHAR1XFELD
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
ZEKKNSequential Number of Account Assignment DZEKKNNUMC2NUM02
ETENRDelivery Schedule Line Counter EETENNUMC4Assigned to domainEETEN
ABRUFRelease Number MEABRUFNUMC10ABRUFSAGN
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
LTSNRVendor Subrange LTSNRCHAR6Assigned to domainLTSNR
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PARVWPartner Function PARVWCHAR2Assigned to domainPARVWPARVWPAR
PARZAPartner counter PARZANUMC3PARZA
CONSNUMBERSequence Number AD_CONSNUMNUMC3NUMC3
COMM_TYPECommunication Method (Key) (Business Address Services) AD_COMMCHAR3Assigned to domainAD_COMM
REVNOVersion number in Purchasing REVNOCHAR8ALPHAREVNO
EXTGROUPOutline Level EXTGROUPCHAR8CHAR8
EXTROWLine Number EXTROWNUMC10NUMC10
NUMKNSeq. Number of Acc. Assignment Specification: Service Line NUMKNNUMC2NUM02
ETEXTChanged object MECDTEXTCHAR100CHAR100SM
ETEXT1Directly changed object MECDTEXT1CHAR100CHAR100SM
EKKEY1Sort key of directly changed object MECDSORTKEY1CHAR70CHAR70
ACTIONType of change MECDACTIONCHAR10TEXT10
SELKZSelection indicator MECDSELKZCHAR1XFELD
UNDOFChange cancelled UNDOFCHAR1XFELD
UNDOICONStatus of cancelled changes UNDOICONCHAR30
UNIT_OLDChange documents, unit referenced CDUNITUNIT3CDUNIT
UNIT_NEWChange documents, unit referenced CDUNITUNIT3CDUNIT
CUKY_OLDChange documents, referenced currency CDCUKYCUKY5Assigned to domainWAERS
CUKY_NEWChange documents, referenced currency CDCUKYCUKY5Assigned to domainWAERS
VALUE_NEWNew contents of changed field CDFLDVALNCHAR254FIELDVAL
VALUE_OLDOld contents of changed field CDFLDVALOCHAR254FIELDVAL
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 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!