V_Mmim_Ddl_Om_Or_Email
Output Management E-Mail
V_Mmim_Ddl_Om_Or_Email is a CDS View that provides data about "Output Management E-Mail" in SAP S/4HANA. It reads from 3 data sources (I_AddressPersonName, I_MaterialDocumentRecord, I_User) and exposes 18 fields with key fields MaterialDocument, MaterialDocumentYear, MaterialDocumentItem.
SAP Help Documentation
| Category | CDS Views for E-Mail Template Notifications |
|---|
Purpose
This CDS view provides a list of fields to describe an activity in a compliance scenario and can be used as a template to build the content of different e-mail notifications. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations No special authorizations are required to use this CDS view.
Structure
Important Fields Important fields in this view include the following: Field Name Description Batch Batch Number CalendarDay Calendar Day CalendarMonth Calendar Month CalendarYear Calendar Year FullNameOfPerson Full Name of Person Material Material Number MaterialDocument Number of Material Document MaterialDocumentItem Material Document Item MaterialDocumentYear Material Document Year OrderQuantity Quantity in Purchase Order Price Unit OrderUnitOfMeasure Order Price Unit (Purchasing) Plant Plant PurchaseOrder Purchase Order Number PurchaseOrderItem Item Number of Purchasing Document Quantity Unit of entry StorageLocation Storage Location UnitOfMeasure Quantity in unit of entry Vendor Supplier's Account Number
This CDS view provides a list of fields to describe an activity in a compliance scenario and can be used as a template to build the content of different e-mail notifications. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations No special authorizations are required to use this CDS view.
Structure
Important Fields Important fields in this view include the following: Field Name Description Batch Batch Number CalendarDay Calendar Day CalendarMonth Calendar Month CalendarYear Calendar Year FullNameOfPerson Full Name of Person Material Material Number MaterialDocument Number of Material Document MaterialDocumentItem Material Document Item MaterialDocumentYear Material Document Year OrderQuantity Quantity in Purchase Order Price Unit OrderUnitOfMeasure Order Price Unit (Purchasing) Plant Plant PurchaseOrder Purchase Order Number PurchaseOrderItem Item Number of Purchasing Document Quantity Unit of entry StorageLocation Storage Location UnitOfMeasure Quantity in unit of entry Vendor Supplier's Account Number
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_AddressPersonName | _AddressPersonName | left_outer |
| I_MaterialDocumentRecord | _MaterialDocumentRecord | from |
| I_User | _User | left_outer |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | V_MMIM_OR_EMAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.modelingPattern | #OUTPUT_EMAIL_DATA_PROVIDER | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Output Management E-Mail | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | I_MaterialDocumentRecord | MaterialDocument | Material Doc. |
| KEY | MaterialDocumentYear | I_MaterialDocumentRecord | MaterialDocumentYear | Material Document Year |
| KEY | MaterialDocumentItem | I_MaterialDocumentRecord | MaterialDocumentItem | Material Document Item |
| PurchaseOrder | I_MaterialDocumentRecord | PurchaseOrder | Purchasing Document | |
| PurchaseOrderItem | I_MaterialDocumentRecord | PurchaseOrderItem | Purchasing Document Item | |
| Material | I_MaterialDocumentRecord | Material | Vehicle Model | |
| Plant | I_MaterialDocumentRecord | Plant | Valuation Area | |
| StorageLocation | I_MaterialDocumentRecord | StorageLocation | StorageLocation | |
| Batch | I_MaterialDocumentRecord | Batch | Lot No. | |
| Quantity | I_MaterialDocumentRecord | EntryUnit | Unit of Entry | |
| UnitOfMeasure | I_MaterialDocumentRecord | QuantityInEntryUnit | Quantity in Unit of Entry | |
| OrderQuantity | I_MaterialDocumentRecord | QtyInPurchaseOrderPriceUnit | Qty in OPUn | |
| OrderUnitOfMeasure | I_MaterialDocumentRecord | OrderPriceUnit | Order Price Un. | |
| Vendor | I_MaterialDocumentRecord | Supplier | Supplier | |
| FullNameOfPerson | I_AddressPersonName | PersonFullName | Full Name | |
| CalendarDay | ||||
| CalendarMonth | ||||
| CalendarYear |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view V_Mmim_Ddl_Om_Or_Email.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: V_MMIM_OR_EMAIL
CREATE VIEW V_Mmim_Ddl_Om_Or_Email AS
SELECT
_MaterialDocumentRecord.MaterialDocument AS MaterialDocument,
_MaterialDocumentRecord.MaterialDocumentYear AS MaterialDocumentYear,
_MaterialDocumentRecord.MaterialDocumentItem AS MaterialDocumentItem,
_MaterialDocumentRecord.PurchaseOrder AS PurchaseOrder,
_MaterialDocumentRecord.PurchaseOrderItem AS PurchaseOrderItem,
_MaterialDocumentRecord.Material AS Material,
_MaterialDocumentRecord.Plant AS Plant,
_MaterialDocumentRecord.StorageLocation AS StorageLocation,
_MaterialDocumentRecord.Batch AS Batch,
_MaterialDocumentRecord.EntryUnit AS Quantity,
_MaterialDocumentRecord.QuantityInEntryUnit AS UnitOfMeasure,
_MaterialDocumentRecord.QtyInPurchaseOrderPriceUnit AS OrderQuantity,
_MaterialDocumentRecord.OrderPriceUnit AS OrderUnitOfMeasure,
_MaterialDocumentRecord.Supplier AS Vendor,
_AddressPersonName.PersonFullName AS FullNameOfPerson,
substring(_MaterialDocumentRecord.CreationDate, 7, 2) AS CalendarDay,
substring(_MaterialDocumentRecord.CreationDate, 5, 2) AS CalendarMonth,
substring(_MaterialDocumentRecord.CreationDate, 1, 4) AS CalendarYear
FROM I_MaterialDocumentRecord AS _MaterialDocumentRecord
LEFT OUTER JOIN I_User AS _User ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AddressPersonName AS _AddressPersonName ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA