A_OpptyItmFUPSalesQuotation

DDL: A_OPPTYITMFUPSALESQUOTATION Type: view COMPOSITE

Sales Quotation Followup OpportunityItem

A_OpptyItmFUPSalesQuotation is a Composite CDS View that provides data about "Sales Quotation Followup OpportunityItem" in SAP S/4HANA. It reads from 1 data source (I_PresalesDocItemSuccessor) and exposes 8 fields with key fields Opportunity, OpportunityItem, SalesQuotation, SalesQuotationItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PresalesDocItemSuccessor OpportunityItemSalesQuotation from

Associations (2)

CardinalityTargetAliasCondition
[1] A_Opportunity _Opportunity $projection.Opportunity = _Opportunity.Opportunity
[0..1] I_PresalesDocumentItemEnhcd _PreSalesDocumentItem $projection.OpportunityItemUUID = _PreSalesDocumentItem.PresalesDocumentItemUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName AOPPTYITMFUPSLQN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Sales Quotation Followup OpportunityItem view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Opportunity _PreSalesDocumentItem PresalesDocument
KEY OpportunityItem _PreSalesDocumentItem PresalesDocumentItem
KEY SalesQuotation
KEY SalesQuotationItem I_PresalesDocItemSuccessor PresalesDocItmSuccessorUUID Object ID
OpportunityItemUUID PresalesDocumentItemUUID
PresalesDocItmSuccessorUUID PresalesDocItmSuccessorUUID Object ID
PresalesDocumentRelationUUID PresalesDocumentRelationUUID GUID link
_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_OpptyItmFUPSalesQuotation.
-- 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_OpptyItmFUPSalesQuotation AS
SELECT
  _PreSalesDocumentItem.PresalesDocument AS Opportunity,
  _PreSalesDocumentItem.PresalesDocumentItem AS OpportunityItem,
  OpportunityItemSalesQuotation._SalesDocument.PresalesDocumentSuccessor AS SalesQuotation,
  OpportunityItemSalesQuotation.PresalesDocItmSuccessorUUID AS SalesQuotationItem,
  PresalesDocumentItemUUID AS OpportunityItemUUID,
  PresalesDocItmSuccessorUUID,
  PresalesDocumentRelationUUID
FROM I_PresalesDocItemSuccessor AS OpportunityItemSalesQuotation
LEFT OUTER JOIN A_Opportunity AS _Opportunity ON Opportunity = _Opportunity.Opportunity  -- association [1]
LEFT OUTER JOIN I_PresalesDocumentItemEnhcd AS _PreSalesDocumentItem ON OpportunityItemUUID = _PreSalesDocumentItem.PresalesDocumentItemUUID  -- association [0..1]
;