A_OpportunityItemSalesRep

DDL: A_OPPORTUNITYITEMSALESREP Type: view COMPOSITE

Sales Representative of Opportunity Item

A_OpportunityItemSalesRep is a Composite CDS View that provides data about "Sales Representative of Opportunity Item" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtPartner) and exposes 4 fields with key fields Opportunity, OpportunityItem, SalesRepresentative. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustMgmtPartner I_CustMgmtPartner from

Associations (1)

CardinalityTargetAliasCondition
[1] A_Opportunity _Opportunity $projection.Opportunity = _Opportunity.Opportunity

Annotations (15)

NameValueLevelField
EndUserText.label Sales Representative of Opportunity Item view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName AOPPTYITEMSLSREP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK 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 #L view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Opportunity CustMgmtDocument Transaction ID
KEY OpportunityItem CustMgmtDocumentItem Item Number in Doc.
KEY SalesRepresentative CustMgmtBusinessPartner Partner ID
_Opportunity _Opportunity

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_OpportunityItemSalesRep.
-- 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_OpportunityItemSalesRep AS
SELECT
  CustMgmtDocument AS Opportunity,
  CustMgmtDocumentItem AS OpportunityItem,
  CustMgmtBusinessPartner AS SalesRepresentative
FROM I_CustMgmtPartner
LEFT OUTER JOIN A_Opportunity AS _Opportunity ON Opportunity = _Opportunity.Opportunity  -- association [1]
;