A_DebitMemoRequest

DDL: A_DEBITMEMOREQUEST Type: view COMPOSITE Package: ODATA_SD_DEBITMEMOREQUEST

Debit Memo Request Header

A_DebitMemoRequest is a Composite CDS View that provides data about "Debit Memo Request Header" in SAP S/4HANA. It reads from 1 data source (I_DebitMemoRequest) and exposes 56 fields with key field DebitMemoRequest. It has 6 associations to related views. Part of development package ODATA_SD_DEBITMEMOREQUEST.

Data Sources (1)

SourceAliasJoin Type
I_DebitMemoRequest DebitMemoRequest from

Associations (6)

CardinalityTargetAliasCondition
[0..*] A_DebitMemoRequestItem _Item _Item.DebitMemoRequest = $projection.DebitMemoRequest
[0..*] A_DebitMemoReqPartner _Partner _Partner.DebitMemoRequest = $projection.DebitMemoRequest
[0..*] A_DebitMemoReqPrcgElmnt _PricingElement _PricingElement.DebitMemoRequest = $projection.DebitMemoRequest
[0..*] A_DebitMemoReqText _Text _Text.DebitMemoRequest = $projection.DebitMemoRequest
[0..*] A_DebitMemoReqSubsqntProcFlow _SubsequentProcFlowDoc _SubsequentProcFlowDoc.DebitMemoRequest = $projection.DebitMemoRequest
[0..1] E_SalesDocumentBasic _Extension $projection.DebitMemoRequest = _Extension.SalesDocument

Annotations (16)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Debit Memo Request Header view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ADEBITMEMOREQ view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey Debitmemorequest view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (56)

KeyFieldSource TableSource FieldDescription
KEY DebitMemoRequest DebitMemoRequest
DebitMemoRequestType DebitMemoRequestType
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision OrganizationDivision Org. Division
SalesGroup SalesGroup Sales Group
SalesOffice SalesOffice Sales Office
SalesDistrict SalesDistrict Sales District
SoldToParty SoldToParty Sold-to Party
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
PurchaseOrderByShipToParty PurchaseOrderByShipToParty
CustomerPurchaseOrderType CustomerPurchaseOrderType
CustPurOrdTypeByShipToParty CustPurOrdTypeByShipToParty
CustomerPurchaseOrderDate CustomerPurchaseOrderDate Purchase Order Date
CorrespncExternalReference CorrespncExternalReference Your Reference
CorrespncExtRefByShipToParty CorrespncExtRefByShipToParty
DebitMemoRequestDate DebitMemoRequestDate Document Date
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
SDDocumentReason SDDocumentReason Order Reason
PricingDate PricingDate Pricing Date
CustomerTaxClassification1 CustomerTaxClassification1
CustomerTaxClassification2 CustomerTaxClassification2
CustomerTaxClassification3 CustomerTaxClassification3
CustomerTaxClassification4 CustomerTaxClassification4
CustomerTaxClassification5 CustomerTaxClassification5
CustomerTaxClassification6 CustomerTaxClassification6
CustomerTaxClassification7 CustomerTaxClassification7
CustomerTaxClassification8 CustomerTaxClassification8
CustomerTaxClassification9 CustomerTaxClassification9
HeaderBillingBlockReason HeaderBillingBlockReason Billing Block
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
IncotermsVersion IncotermsVersion Inco. Version
CustomerPaymentTerms CustomerPaymentTerms Pyt Terms
PaymentMethod PaymentMethod Pymt Meth.
BillingDocumentDate BillingDocumentDate Billing Date
ServicesRenderedDate ServicesRenderedDate Services Rendered Date
ReferenceSDDocument ReferenceSDDocument Reference Doc.
ReferenceSDDocumentCategory ReferenceSDDocumentCategory Prec.Doc.Categ.
OverallSDProcessStatus OverallSDProcessStatus
TotalCreditCheckStatus TotalCreditCheckStatus
OverallSDDocumentRejectionSts OverallSDDocumentRejectionSts
OverallOrdReltdBillgStatus OverallOrdReltdBillgStatus
AccountingDocExternalReference AccountingDocExternalReference
AssignmentReference AssignmentReference Assignment Reference
_Item _Item
_Partner _Partner
_PricingElement _PricingElement
_Text _Text
_SubsequentProcFlowDoc _SubsequentProcFlowDoc

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 A_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.

CREATE VIEW A_DebitMemoRequest AS
SELECT
  DebitMemoRequest,
  DebitMemoRequestType,
  SalesOrganization,
  DistributionChannel,
  OrganizationDivision,
  SalesGroup,
  SalesOffice,
  SalesDistrict,
  SoldToParty,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  PurchaseOrderByCustomer,
  PurchaseOrderByShipToParty,
  CustomerPurchaseOrderType,
  CustPurOrdTypeByShipToParty,
  CustomerPurchaseOrderDate,
  CorrespncExternalReference,
  CorrespncExtRefByShipToParty,
  DebitMemoRequestDate,
  TotalNetAmount,
  TransactionCurrency,
  SDDocumentReason,
  PricingDate,
  CustomerTaxClassification1,
  CustomerTaxClassification2,
  CustomerTaxClassification3,
  CustomerTaxClassification4,
  CustomerTaxClassification5,
  CustomerTaxClassification6,
  CustomerTaxClassification7,
  CustomerTaxClassification8,
  CustomerTaxClassification9,
  HeaderBillingBlockReason,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  IncotermsVersion,
  CustomerPaymentTerms,
  PaymentMethod,
  BillingDocumentDate,
  ServicesRenderedDate,
  ReferenceSDDocument,
  ReferenceSDDocumentCategory,
  OverallSDProcessStatus,
  TotalCreditCheckStatus,
  OverallSDDocumentRejectionSts,
  OverallOrdReltdBillgStatus,
  AccountingDocExternalReference,
  AssignmentReference
FROM I_DebitMemoRequest AS DebitMemoRequest
LEFT OUTER JOIN A_DebitMemoRequestItem AS _Item ON _Item.DebitMemoRequest = DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN A_DebitMemoReqPartner AS _Partner ON _Partner.DebitMemoRequest = DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN A_DebitMemoReqPrcgElmnt AS _PricingElement ON _PricingElement.DebitMemoRequest = DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN A_DebitMemoReqText AS _Text ON _Text.DebitMemoRequest = DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN A_DebitMemoReqSubsqntProcFlow AS _SubsequentProcFlowDoc ON _SubsequentProcFlowDoc.DebitMemoRequest = DebitMemoRequest  -- association [0..*]
LEFT OUTER JOIN E_SalesDocumentBasic AS _Extension ON DebitMemoRequest = _Extension.SalesDocument  -- association [0..1]
;