A_DebitMemoReqItemPartnerSimln

DDL: A_DEBITMEMOREQITEMPARTNERSIMLN Type: view_entity COMPOSITE

Item Partner Simulation

A_DebitMemoReqItemPartnerSimln is a Composite CDS View that provides data about "Item Partner Simulation" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocumentBasic, I_SDDocumentItemPartner) and exposes 13 fields with key fields DebitMemoRequest, DebitMemoRequestItem, PartnerFunction. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SalesDocumentBasic DebitMemoRequest inner
I_SDDocumentItemPartner Partner from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_DebitMemoRequestSimulation _DebitMemoRequest $projection.DebitMemoRequest = _DebitMemoRequest.DebitMemoRequest

Annotations (8)

NameValueLevelField
EndUserText.label Item Partner Simulation view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY DebitMemoRequest I_SDDocumentItemPartner SDDocument SD Document
KEY DebitMemoRequestItem I_SDDocumentItemPartner SDDocumentItem
KEY PartnerFunction
Customer I_SDDocumentItemPartner Customer Sold-to Party
Supplier I_SDDocumentItemPartner Supplier Supplier
Personnel I_SDDocumentItemPartner Personnel Personnel No.
ContactPerson I_SDDocumentItemPartner ContactPerson Contact Person Key
DebitMemoRequestType I_SalesDocumentBasic SalesDocumentType Sales Doc. Type
OrganizationDivision I_SalesDocumentBasic OrganizationDivision Org. Division
SalesOrganization I_SalesDocumentBasic SalesOrganization Sales Organization
DistributionChannel I_SalesDocumentBasic DistributionChannel RefDistCh-Cust/Mat.
_DebitMemoRequest _DebitMemoRequest
_DebitMemoRequestItem _DebitMemoRequestItem

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_DebitMemoReqItemPartnerSimln.
-- 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_DebitMemoReqItemPartnerSimln AS
SELECT
  Partner.SDDocument AS DebitMemoRequest,
  Partner.SDDocumentItem AS DebitMemoRequestItem,
  cast(Partner.PartnerFunction as parvw_unv) AS PartnerFunction,
  Partner.Customer AS Customer,
  Partner.Supplier AS Supplier,
  Partner.Personnel AS Personnel,
  Partner.ContactPerson AS ContactPerson,
  DebitMemoRequest.SalesDocumentType AS DebitMemoRequestType,
  DebitMemoRequest.OrganizationDivision AS OrganizationDivision,
  DebitMemoRequest.SalesOrganization AS SalesOrganization,
  DebitMemoRequest.DistributionChannel AS DistributionChannel
FROM I_SDDocumentItemPartner AS Partner
INNER JOIN I_SalesDocumentBasic AS DebitMemoRequest ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_DebitMemoRequestSimulation AS _DebitMemoRequest ON DebitMemoRequest = _DebitMemoRequest.DebitMemoRequest  -- association [1..1]
;