I_DebitMemoRequest

DDL: I_DEBITMEMOREQUEST SQL: ISDDEBITMEMOREQ Type: view BASIC

Debit Memo Request

I_DebitMemoRequest (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Debit Memo Request · Sales

I_DebitMemoRequest is a Basic CDS View (Dimension) that provides data about "Debit Memo Request" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 154 fields with key field DebitMemoRequest. It has 5 associations to related views.

SAP Help Documentation

CategoryDebit Memo Requests
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides the prerequisites for answering questions about debit memo requests at header level. Example business questions could include the following: What is the net amount of a given debit memo request? What is the reference document of a given debit memo request? What were the debit memo requests created for a particular customer last year?

Prerequisites
You have authorizations to access the relevant debit memo requests. You have authorizations to access the relevant sales organizations.

Structure
Object Types This view relates to the following SAP object type: Debit memo request The key field is DebitMemoRequest . Measures and attributes Some important measures and attributes are: Sales organization ( SalesOrganization ) Sold-to party ( SoldToParty ) Net value of the debit memo request in document currency ( TotalNetAmount )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentSD-SLS-CMR
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Data Source for Data Extraction, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering questions about debit memo requests at header level.</p> <p>Example business questions could include the following:</p> <ul> <li><p>What is the net amount of a given debit memo request?</p></li> <li><p>What is the reference document of a given debit memo request?</p></li> <li><p>What were the debit memo requests created for a particular customer last year?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_BusinessAreaText _BusinessAreaText $projection.BusinessArea = _BusinessAreaText.BusinessArea
[0..*] I_BusinessAreaText _CostCenterBusinessAreaText $projection.CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea
[0..*] I_CreditControlAreaText _CreditControlAreaText $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea association[0..*] to I_DebitMemoRequestItem as _Item on $projection.DebitMemoRequest = _Item.DebitMemoRequest association[0..1] to I_DebitMemoRequestType as _DebitMemoRequestType on $projection.DebitMemoRequestType = _DebitMemoRequestType.DebitMemoRequestType association[1..*] to I_DebitMemoReqPartner as _Partner on $projection.DebitMemoRequest = _Partner.DebitMemoRequest
[0..1] I_DebitMemoReqApprovalReason _DebitMemoReqApprovalReason $projection.DebitMemoReqApprovalReason = _DebitMemoReqApprovalReason.DebitMemoReqApprovalReason association[0..*] to I_DebitMemoReqPrcgElmnt as _PricingElement on $projection.DebitMemoRequest = _PricingElement.DebitMemoRequest
[0..1] E_SalesDocumentBasic _Extension SalesDocument.SalesDocument = _Extension.SalesDocument

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey DebitMemoRequest view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Debit Memo Request view
Metadata.allowExtensions true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDDEBITMEMOREQ view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name DebitMemoRequest view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view

Fields (154)

KeyFieldSource TableSource FieldDescription
KEY DebitMemoRequest Debit Memo Request
DebitMemoRequestType Debit Memo Request Type
DebitMemoRequestProcessingType SalesDocumentProcessingType SD Document Processing Type
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
LastChangedByUser LastChangedByUser User Who Last Changed the Business Document
CreationDate CreationDate Record Created On
CreationTime CreationTime Time at Which Record Was Created
LastChangeDate LastChangeDate Last Changed On
LastChangeDateTime LastChangeDateTime UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SoldToParty SoldToParty Sold-to Party
CustomerGroup CustomerGroup Customer Group
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Group 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Group 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Group 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Group 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Group 5
CreditControlArea CreditControlArea Credit Control Area
DebitMemoRequestDate SalesDocumentDate Document Date (Date Received/Sent)
ServicesRenderedDate ServicesRenderedDate Date on which services are rendered
SDDocumentReason SDDocumentReason Order Reason (Reason for the Business Transaction)
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
CustomerPurchaseOrderType CustomerPurchaseOrderType Customer Purchase Order Type
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Customer Reference Date
CustomerPurchaseOrderSuplmnt CustomerPurchaseOrderSuplmnt Purchase order number supplement
SalesDistrict SalesDistrict Sales District
TotalNetAmount TotalNetAmount Net Value of the Sales Document in Document Currency
TransactionCurrency TransactionCurrency Transaction Currency
SDPricingProcedure SDPricingProcedure Pricing Procedure in Pricing
PricingDate PricingDate Date for Pricing and Exchange Rate
DebitMemoRequestCondition SalesDocumentCondition Number of the Document Condition
CustomerTaxClassification1 CustomerTaxClassification1 Alternative Tax Classification
CustomerTaxClassification2 CustomerTaxClassification2 Tax Classification 2 for Customer
CustomerTaxClassification3 CustomerTaxClassification3 Tax Classification 3 for Customer
CustomerTaxClassification4 CustomerTaxClassification4 Tax Classification 4 for Customer
CustomerTaxClassification5 CustomerTaxClassification5 Tax Classification 5 for Customer
CustomerTaxClassification6 CustomerTaxClassification6 Tax Classification 6 for Customer
CustomerTaxClassification7 CustomerTaxClassification7 Tax Classification 7 for Customer
CustomerTaxClassification8 CustomerTaxClassification8 Tax Classification 8 for Customer
CustomerTaxClassification9 CustomerTaxClassification9 Tax Classification 9 for Customer
IncotermsClassification IncotermsClassification Incoterms (Part 1)
IncotermsTransferLocation IncotermsTransferLocation Incoterms (Part 2)
IncotermsLocation1 IncotermsLocation1 Incoterms Location 1
IncotermsLocation2 IncotermsLocation2 Incoterms Location 2
IncotermsVersion IncotermsVersion Incoterms Version
DebitMemoReqApprovalReason Debit Memo Request Approval Request Reason
BillingDocumentDate BillingDocumentDate Billing Date
BillingCompanyCode BillingCompanyCode Company Code to Be Billed
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block in SD Document
CustomerPaymentTerms CustomerPaymentTerms Terms of Payment Key
PaymentMethod PaymentMethod Payment Method
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Posting Period
ExchangeRateDate ExchangeRateDate Translation Date
ExchangeRateType ExchangeRateType Exchange Rate Type
AccountingExchangeRate Exchange Rate for FI Postings
BusinessArea BusinessArea Business Area
CustomerAccountAssignmentGroup CustomerAccountAssignmentGroup Account Assignment Group for Customer
CostCenterBusinessArea CostCenterBusinessArea Business Area from Cost Center
CostCenter CostCenter Cost Center
ControllingArea ControllingArea Controlling Area
OrderID OrderID Order Number
ControllingObject ControllingObject Object Number at Header Level
ReferenceSDDocument ReferenceSDDocument Document Number of Reference Document
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Document Category of Preceding SD Document
OverallSDProcessStatus OverallSDProcessStatus Overall Processing Status (Header/All Items)
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts Rejection Status (All Items)
TotalBlockStatus TotalBlockStatus Overall Block Status (Header)
OverallOrdReltdBillgStatus OverallOrdReltdBillgStatus Order-Related Billing Status (All Items)
OverallBillingBlockStatus OverallBillingBlockStatus Billing Block Status (All Items)
OverallTotalSDDocRefStatus OverallTotalSDDocRefStatus Overall Reference Status (All Items)
OverallSDDocReferenceStatus OverallSDDocReferenceStatus Reference Status (All Items)
TotalCreditCheckStatus TotalCreditCheckStatus Overall Status of Credit Checks
MaxDocValueCreditCheckStatus MaxDocValueCreditCheckStatus Status of Credit Check Against Maximum Document Value
PaymentTermCreditCheckStatus PaymentTermCreditCheckStatus Status of Credit Check Against Terms of Payment
FinDocCreditCheckStatus FinDocCreditCheckStatus Status of Credit Check Against Financial Document
ExprtInsurCreditCheckStatus ExprtInsurCreditCheckStatus Status of Credit Check Against Export Credit Insurance
PaytAuthsnCreditCheckSts PaytAuthsnCreditCheckSts Status of Credit Check Against Payment Card Authorization
CentralCreditCheckStatus CentralCreditCheckStatus Status of Credit Check SAP Credit Management
CentralCreditChkTechErrSts CentralCreditChkTechErrSts Status of Technical Error SAP Credit Management
HdrGeneralIncompletionStatus HdrGeneralIncompletionStatus Incompletion Status (Header)
OverallPricingIncompletionSts OverallPricingIncompletionSts Pricing Incompletion Status (All Items)
HeaderBillgIncompletionStatus HeaderBillgIncompletionStatus Billing Incompletion Status (Header)
OvrlItmGeneralIncompletionSts OvrlItmGeneralIncompletionSts Incompletion Status (All Items)
OvrlItmBillingIncompletionSts OvrlItmBillingIncompletionSts Billing Incompletion Status (All Items)
SalesDocApprovalStatus SalesDocApprovalStatus Document Approval Status
AccountingDocExternalReference AccountingDocExternalReference Reference Document Number
AssignmentReference AssignmentReference Assignment Reference
_Item _Item
_Partner _Partner
_StandardPartner _StandardPartner
_PricingElement _PricingElement
_DebitMemoRequestType _DebitMemoRequestType
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_OrganizationDivision _OrganizationDivision
_SalesGroup _SalesGroup
_SalesOffice _SalesOffice
_SoldToParty _SoldToParty
_CustomerGroup _CustomerGroup
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5
_CreditControlArea _CreditControlArea
_SDDocumentReason _SDDocumentReason
_CustomerPurchaseOrderType _CustomerPurchaseOrderType
_SalesDistrict _SalesDistrict
_TransactionCurrency _TransactionCurrency
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_BillingCompanyCode _BillingCompanyCode
_DebitMemoReqApprovalReason _DebitMemoReqApprovalReason
_HeaderBillingBlockReason _HeaderBillingBlockReason
_CustomerPaymentTerms _CustomerPaymentTerms
_ExchangeRateType _ExchangeRateType
_BusinessArea _BusinessArea
_CustomerAccountAssgmtGroup _CustomerAccountAssgmtGroup
_CostCenterBusinessArea _CostCenterBusinessArea
_CostCenter _CostCenter
_ControllingArea _ControllingArea
_ControllingObject _ControllingObject
_ReferenceSDDocumentCategory _ReferenceSDDocumentCategory
_OverallSDProcessStatus _OverallSDProcessStatus
_OverallSDDocumentRejectionSts _OverallSDDocumentRejectionSts
_TotalBlockStatus _TotalBlockStatus
_OverallOrdReltdBillgStatus _OverallOrdReltdBillgStatus
_OverallBillingBlockStatus _OverallBillingBlockStatus
_OverallTotalSDDocRefStatus _OverallTotalSDDocRefStatus
_OverallSDDocReferenceStatus _OverallSDDocReferenceStatus
_TotalCreditCheckStatus _TotalCreditCheckStatus
_MaxDocValueCreditCheckStatus _MaxDocValueCreditCheckStatus
_PaymentTermCreditCheckStatus _PaymentTermCreditCheckStatus
_FinDocCreditCheckStatus _FinDocCreditCheckStatus
_ExprtInsurCreditCheckStatus _ExprtInsurCreditCheckStatus
_PaytAuthsnCreditCheckSts _PaytAuthsnCreditCheckSts
_CentralCreditCheckStatus _CentralCreditCheckStatus
_CentralCreditChkTechErrSts _CentralCreditChkTechErrSts
_HdrGeneralIncompletionStatus _HdrGeneralIncompletionStatus
_OverallPricingIncompletionSts _OverallPricingIncompletionSts
_HeaderBillgIncompletionStatus _HeaderBillgIncompletionStatus
_OvrlItmGeneralIncompletionSts _OvrlItmGeneralIncompletionSts
_OvrlItmBillingIncompletionSts _OvrlItmBillingIncompletionSts
_SalesDocApprovalStatus _SalesDocApprovalStatus
_BusinessAreaText _BusinessAreaText
_CostCenterBusinessAreaText _CostCenterBusinessAreaText
_CreditControlAreaText _CreditControlAreaText

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_DebitMemoRequest.
-- 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: ISDDEBITMEMOREQ

CREATE VIEW I_DebitMemoRequest AS
SELECT
  cast(SalesDocument as debit_memo_request preserving type) AS DebitMemoRequest,
  cast(SalesDocumentType as debit_memo_request_type preserving type ) AS DebitMemoRequestType,
  SalesDocumentProcessingType AS DebitMemoRequestProcessingType,
  CreatedByUser,
  LastChangedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  LastChangeDateTime,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SoldToParty,
  CustomerGroup,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  CreditControlArea,
  SalesDocumentDate AS DebitMemoRequestDate,
  ServicesRenderedDate,
  SDDocumentReason,
  PurchaseOrderByCustomer,
  CustomerPurchaseOrderType,
  CustomerPurchaseOrderDate,
  CustomerPurchaseOrderSuplmnt,
  SalesDistrict,
  TotalNetAmount,
  TransactionCurrency,
  SDPricingProcedure,
  PricingDate,
  SalesDocumentCondition AS DebitMemoRequestCondition,
  CustomerTaxClassification1,
  CustomerTaxClassification2,
  CustomerTaxClassification3,
  CustomerTaxClassification4,
  CustomerTaxClassification5,
  CustomerTaxClassification6,
  CustomerTaxClassification7,
  CustomerTaxClassification8,
  CustomerTaxClassification9,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  cast(SalesDocApprovalReason as sd_dmr_approval_reason) AS DebitMemoReqApprovalReason,
  BillingDocumentDate,
  BillingCompanyCode,
  HeaderBillingBlockReason,
  CustomerPaymentTerms,
  PaymentMethod,
  FiscalYear,
  FiscalPeriod,
  ExchangeRateDate,
  ExchangeRateType,
  cast(AccountingExchangeRate as kurrf_not_converted preserving type ) AS AccountingExchangeRate,
  BusinessArea,
  CustomerAccountAssignmentGroup,
  CostCenterBusinessArea,
  CostCenter,
  ControllingArea,
  OrderID,
  ControllingObject,
  ReferenceSDDocument,
  ReferenceSDDocumentCategory,
  OverallSDProcessStatus,
  OverallSDDocumentRejectionSts,
  TotalBlockStatus,
  OverallOrdReltdBillgStatus,
  OverallBillingBlockStatus,
  OverallTotalSDDocRefStatus,
  OverallSDDocReferenceStatus,
  TotalCreditCheckStatus,
  MaxDocValueCreditCheckStatus,
  PaymentTermCreditCheckStatus,
  FinDocCreditCheckStatus,
  ExprtInsurCreditCheckStatus,
  PaytAuthsnCreditCheckSts,
  CentralCreditCheckStatus,
  CentralCreditChkTechErrSts,
  HdrGeneralIncompletionStatus,
  OverallPricingIncompletionSts,
  HeaderBillgIncompletionStatus,
  OvrlItmGeneralIncompletionSts,
  OvrlItmBillingIncompletionSts,
  SalesDocApprovalStatus,
  AccountingDocExternalReference,
  AssignmentReference
FROM I_SalesDocument AS SalesDocument
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON BusinessArea = _BusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _CostCenterBusinessAreaText ON CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea association[0..*] to I_DebitMemoRequestItem as _Item on DebitMemoRequest = _Item.DebitMemoRequest association[0..1] to I_DebitMemoRequestType as _DebitMemoRequestType on DebitMemoRequestType = _DebitMemoRequestType.DebitMemoRequestType association[1..*] to I_DebitMemoReqPartner as _Partner on DebitMemoRequest = _Partner.DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN I_DebitMemoReqApprovalReason AS _DebitMemoReqApprovalReason ON DebitMemoReqApprovalReason = _DebitMemoReqApprovalReason.DebitMemoReqApprovalReason association[0..*] to I_DebitMemoReqPrcgElmnt as _PricingElement on DebitMemoRequest = _PricingElement.DebitMemoRequest  -- association [0..1]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON SalesDocument.SalesDocument = _Extension.SalesDocument  -- association [0..1]
;