I_MstrProjDebtMemoRequest
Master Project Debit Memo Request
I_MstrProjDebtMemoRequest is a Composite CDS View (Dimension) that provides data about "Master Project Debit Memo Request" in SAP S/4HANA. It reads from 2 data sources (I_MpDebitMemoRequestItem, I_MPStructureElement) and exposes 27 fields with key fields MasterProject, DebitMemoRequest, Material, SalesDocument, SalesDocumentItem. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MpDebitMemoRequestItem | DebitMemoRequest | inner |
| I_MPStructureElement | Hierarchy | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_SDProcessStatus | _SDProcessStatus | $projection.SDProcessStatus = _SDProcessStatus.SDProcessStatus |
| [0..1] | I_Customer | _Customer | $projection.SoldToParty = _Customer.Customer |
| [0..1] | I_SalesDocument | _SalesDocument | $projection.SalesDocument = _SalesDocument.SalesDocument |
| [0..1] | I_SalesDocumentItem | _SalesDocumentItem | $projection.SalesDocument = _SalesDocumentItem.SalesDocument and $projection.SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem |
| [0..1] | I_DebitMemoRequest | _DebitMemoRequest | $projection.DebitMemoRequest = _DebitMemoRequest.DebitMemoRequest |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMPDMREQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Master Project Debit Memo Request | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | MasterProject | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Metadata.allowExtensions | true | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterProject | I_MPStructureElement | MasterProject | Project ID |
| KEY | DebitMemoRequest | I_MpDebitMemoRequestItem | DebitMemoRequest | |
| KEY | Material | I_MpDebitMemoRequestItem | Material | Vehicle Model |
| KEY | SalesDocument | I_MPStructureElement | SalesDocument | SD Document |
| KEY | SalesDocumentItem | I_MPStructureElement | SalesDocumentItem | Sales Document Item |
| MasterProjectName | I_MPStructureElement | MasterProjectName | ||
| MasterProjectType | I_MPStructureElement | MasterProjectType | ||
| MasterProjectIsConfidential | I_MPStructureElement | MasterProjectIsConfidential | ||
| MasterProjectOrganization | I_MPStructureElement | MasterProjectOrganization | ||
| TargetQuantity | I_MpDebitMemoRequestItem | TargetQuantity | Target Quantity | |
| TargetQuantityUnit | I_MpDebitMemoRequestItem | TargetQuantityUnit | Target Qty UoM | |
| DistributionChannel | I_MpDebitMemoRequestItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| DebitMemoRequestType | I_MpDebitMemoRequestItem | DebitMemoRequestType | ||
| OrganizationDivision | I_MpDebitMemoRequestItem | OrganizationDivision | Org. Division | |
| SalesOrganization | I_MpDebitMemoRequestItem | SalesOrganization | Sales Organization | |
| ControllingObjectExternalID | ||||
| SDProcessStatus | I_MpDebitMemoRequestItem | SDProcessStatus | ||
| SoldToParty | I_MpDebitMemoRequestItem | SoldToParty | Sold-to Party | |
| CreationDate | ||||
| NetAmount | ||||
| TransactionCurrency | I_MpDebitMemoRequestItem | TransactionCurrency | Transaction Currency | |
| _Material | _Material | |||
| _SDProcessStatus | _SDProcessStatus | |||
| _Customer | _Customer | |||
| _DebitMemoRequest | _DebitMemoRequest | |||
| _SalesDocument | _SalesDocument | |||
| _SalesDocumentItem | _SalesDocumentItem |
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 I_MstrProjDebtMemoRequest.
-- 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: IMPDMREQ
CREATE VIEW I_MstrProjDebtMemoRequest AS
SELECT
Hierarchy.MasterProject AS MasterProject,
DebitMemoRequest.DebitMemoRequest AS DebitMemoRequest,
DebitMemoRequest.Material AS Material,
Hierarchy.SalesDocument AS SalesDocument,
Hierarchy.SalesDocumentItem AS SalesDocumentItem,
Hierarchy.MasterProjectName AS MasterProjectName,
Hierarchy.MasterProjectType AS MasterProjectType,
Hierarchy.MasterProjectIsConfidential AS MasterProjectIsConfidential,
Hierarchy.MasterProjectOrganization AS MasterProjectOrganization,
DebitMemoRequest.TargetQuantity AS TargetQuantity,
DebitMemoRequest.TargetQuantityUnit AS TargetQuantityUnit,
DebitMemoRequest.DistributionChannel AS DistributionChannel,
DebitMemoRequest.DebitMemoRequestType AS DebitMemoRequestType,
DebitMemoRequest.OrganizationDivision AS OrganizationDivision,
DebitMemoRequest.SalesOrganization AS SalesOrganization,
cast(Hierarchy.ControllingObjectExternalID as /cpd/cpm_struct_elm) AS ControllingObjectExternalID,
DebitMemoRequest.SDProcessStatus AS SDProcessStatus,
DebitMemoRequest.SoldToParty AS SoldToParty,
cast( DebitMemoRequest.CreationDate as /cpd/cpm_creationdate ) AS CreationDate,
cast( DebitMemoRequest.NetAmount as /cpd/cpm_netamount ) AS NetAmount,
DebitMemoRequest.TransactionCurrency AS TransactionCurrency
FROM I_MPStructureElement AS Hierarchy
INNER JOIN I_MpDebitMemoRequestItem AS DebitMemoRequest ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_SDProcessStatus AS _SDProcessStatus ON SDProcessStatus = _SDProcessStatus.SDProcessStatus -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON SoldToParty = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_SalesDocument AS _SalesDocument ON SalesDocument = _SalesDocument.SalesDocument -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentItem AS _SalesDocumentItem ON SalesDocument = _SalesDocumentItem.SalesDocument AND SalesDocumentItem = _SalesDocumentItem.SalesDocumentItem -- association [0..1]
LEFT OUTER JOIN I_DebitMemoRequest AS _DebitMemoRequest ON DebitMemoRequest = _DebitMemoRequest.DebitMemoRequest -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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