C_DebitMemoRequestItemFS
Debit Memo Request Item
C_DebitMemoRequestItemFS is a Consumption CDS View that provides data about "Debit Memo Request Item" in SAP S/4HANA. It reads from 1 data source (I_DebitMemoRequestItem) and exposes 33 fields with key fields DebitMemoRequest, DebitMemoRequestItem. It has 4 associations to related views. Part of development package ODATA_SD_DEBITMEMOREQUEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DebitMemoRequestItem | DMRItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_SDDocumentPartnerCard | _SDDocumentPartnerCard | $projection.DebitMemoRequest = _SDDocumentPartnerCard.SDDocument and $projection.DebitMemoRequestItem = _SDDocumentPartnerCard.SDDocumentItem |
| [0..*] | C_PrecdgSalesOrderItem | _PrecdgSalesOrderItem | $projection.DebitMemoRequest = _PrecdgSalesOrderItem.SubsequentDocument and $projection.DebitMemoRequestItem = _PrecdgSalesOrderItem.SubsequentDocumentItem |
| [0..*] | C_SlsDocReltdBillgDocItm | _RelatedBillingDocumentItem | $projection.DebitMemoRequest = _RelatedBillingDocumentItem.SalesDocument and $projection.DebitMemoRequestItem = _RelatedBillingDocumentItem.SalesDocumentItem |
| [1] | E_SalesDocumentItemBasic | _Extension | $projection.DebitMemoRequest = _Extension.SalesDocument and $projection.DebitMemoRequestItem = _Extension.SalesDocumentItem |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDEBITMRITFS | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Search.searchable | true | view | |
| EndUserText.label | Debit Memo Request Item | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| UI.headerInfo.typeName | Debit Memo Request Item | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | DebitMemoRequestItemText | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | Material | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DebitMemoRequest | I_DebitMemoRequestItem | DebitMemoRequest | |
| KEY | DebitMemoRequestItem | I_DebitMemoRequestItem | DebitMemoRequestItem | Item |
| DebitMemoRequestItemText | DebitMemoRequestItemText | Item Descr. | ||
| SoldToParty | ||||
| SoldToPartyName | ||||
| int1asBillingBlockCriticality | ||||
| ItemBillingBlockReason | I_DebitMemoRequestItem | ItemBillingBlockReason | Billing Block | |
| OrderRelatedBillingStatus | I_DebitMemoRequestItem | OrderRelatedBillingStatus | ||
| SDDocumentRejectionStatus | SDDocumentRejectionStatus | |||
| SalesDocumentRjcnReason | SalesDocumentRjcnReason | RejectionReason | ||
| TargetQuantity | I_DebitMemoRequestItem | TargetQuantity | Target Quantity | |
| TargetQuantityUnit | I_DebitMemoRequestItem | TargetQuantityUnit | Target Qty UoM | |
| NetAmount | I_DebitMemoRequestItem | NetAmount | Stated Amount | |
| TransactionCurrency | I_DebitMemoRequestItem | TransactionCurrency | Transaction Currency | |
| SDProcessStatus | I_DebitMemoRequestItem | SDProcessStatus | ||
| MaterialName | ||||
| Material | ||||
| MaterialByCustomer | I_DebitMemoRequestItem | MaterialByCustomer | Customer Mat. | |
| MaterialGroup | ||||
| BillingDocumentDate | I_DebitMemoRequestItem | BillingDocumentDate | Billing Date | |
| HigherLevelItem | I_DebitMemoRequestItem | HigherLevelItem | Higher-Lev.Item | |
| _MaterialGroup | _MaterialGroup | |||
| _Material | _Material | |||
| _ItemBillingBlockReason | _ItemBillingBlockReason | |||
| _OrderRelatedBillingStatus | _OrderRelatedBillingStatus | |||
| _SDProcessStatus | _SDProcessStatus | |||
| _SDDocumentPartnerCard | _SDDocumentPartnerCard | |||
| _PrecdgSalesOrderItem | _PrecdgSalesOrderItem | |||
| _RelatedBillingDocumentItem | _RelatedBillingDocumentItem | |||
| _DebitMemoRequest | _DebitMemoRequest | |||
| _SDDocumentRejectionStatus | _SDDocumentRejectionStatus | |||
| _SalesDocumentRjcnReason | _SalesDocumentRjcnReason | |||
| _TransactionCurrency | _TransactionCurrency |
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 C_DebitMemoRequestItemFS.
-- 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: CDEBITMRITFS
CREATE VIEW C_DebitMemoRequestItemFS AS
SELECT
DMRItem.DebitMemoRequest AS DebitMemoRequest,
DMRItem.DebitMemoRequestItem AS DebitMemoRequestItem,
DebitMemoRequestItemText,
cast(_DebitMemoRequest.SoldToParty as kunag preserving type ) AS SoldToParty,
cast('' as ad_namtext ) AS SoldToPartyName,
cast( case when DMRItem.ItemBillingBlockReason != '' then 1 else 0 end as abap.int1 ) as BillingBlockCriticality AS int1asBillingBlockCriticality,
DMRItem.ItemBillingBlockReason AS ItemBillingBlockReason,
DMRItem.OrderRelatedBillingStatus AS OrderRelatedBillingStatus,
SDDocumentRejectionStatus,
SalesDocumentRjcnReason,
DMRItem.TargetQuantity AS TargetQuantity,
DMRItem.TargetQuantityUnit AS TargetQuantityUnit,
DMRItem.NetAmount AS NetAmount,
DMRItem.TransactionCurrency AS TransactionCurrency,
DMRItem.SDProcessStatus AS SDProcessStatus,
_MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
cast(DMRItem.Material as productnumber preserving type ) AS Material,
DMRItem.MaterialByCustomer AS MaterialByCustomer,
cast(DMRItem.MaterialGroup as productgroup preserving type ) AS MaterialGroup,
DMRItem.BillingDocumentDate AS BillingDocumentDate,
DMRItem.HigherLevelItem AS HigherLevelItem
FROM I_DebitMemoRequestItem AS DMRItem
LEFT OUTER JOIN C_SDDocumentPartnerCard AS _SDDocumentPartnerCard ON DebitMemoRequest = _SDDocumentPartnerCard.SDDocument AND DebitMemoRequestItem = _SDDocumentPartnerCard.SDDocumentItem -- association [0..*]
LEFT OUTER JOIN C_PrecdgSalesOrderItem AS _PrecdgSalesOrderItem ON DebitMemoRequest = _PrecdgSalesOrderItem.SubsequentDocument AND DebitMemoRequestItem = _PrecdgSalesOrderItem.SubsequentDocumentItem -- association [0..*]
LEFT OUTER JOIN C_SlsDocReltdBillgDocItm AS _RelatedBillingDocumentItem ON DebitMemoRequest = _RelatedBillingDocumentItem.SalesDocument AND DebitMemoRequestItem = _RelatedBillingDocumentItem.SalesDocumentItem -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentItemBasic AS _Extension ON DebitMemoRequest = _Extension.SalesDocument AND DebitMemoRequestItem = _Extension.SalesDocumentItem -- association [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