ECR_MM_R3_S SAP (Additional Attributes for MM) Structure details
Description: Additional Attributes for MM
Structure field list including key, data, relationships and ABAP select examples
ECR_MM_R3_S 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 "Additional Attributes for MM" 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_ECR_MM_R3_S TYPE ECR_MM_R3_S.
The ECR_MM_R3_S table consists of various fields, each holding specific information or linking keys about Additional Attributes for MM data available in SAP. These include MJAHR (Material Document Year), LINE_ID (Unique identification of document line), BUDAT_GR (Posting Date in the Document), BLDAT_GR (Document Date in 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: Cannot Be Enhanced
SAP ECR_MM_R3_S 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 |
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
LINE_ID | Unique identification of document line | MB_LINE_ID | NUMC | 6 | MB_LINE_ID | ||||
BUDAT_GR | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT_GR | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BELNR | Document Number of an Invoice Document | RE_BELNR | CHAR | 10 | ALPHA | BELNR | RBN | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI | Document Item in Invoice Document | RBLGP | NUMC | 6 | NUMC6 | ||||
BUDAT_IR | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT_IR | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MEINS | Purchase Order Unit of Measure | BSTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
STCEG | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
NETWR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
GRWRT | Statistical value for foreign trade | GRWRT | CURR | 13(2) | GRWRT | ||||
GRWCU | Currency of statistical values for foreign trade | GRWCU | CUKY | 5 | Assigned to domain | WAERS | |||
NTGEW | Net Weight | ENTGE | QUAN | 13(3) | MENG13 | ||||
GEWEI | Unit of Weight | EGEWE | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BMGEW | Quantity in special unit of measure | FTBMGEW | QUAN | 15(3) | MENG15 | ||||
BEMEH | Supplementary unit | BEMEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
LIFNR_IR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
STCEG_IR | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
LAND1_IR | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND |
Key field | Non-key field |
How do I retrieve data from SAP structure ECR_MM_R3_S using ABAP code?
As ECR_MM_R3_S 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 ECR_MM_R3_S as there is no data to select.How to access SAP table ECR_MM_R3_S
Within an ECC or HANA version of SAP you can also view further information about ECR_MM_R3_S 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