A_OpptyItmFUPServiceOrder

DDL: A_OPPTYITMFUPSERVICEORDER Type: view COMPOSITE

Service Order Follow Up Opportunity Item

A_OpptyItmFUPServiceOrder is a Composite CDS View that provides data about "Service Order Follow Up Opportunity Item" in SAP S/4HANA. It reads from 1 data source (I_PresalesDocItemSuccessor) and exposes 8 fields with key fields Opportunity, OpportunityItem, ServiceOrder, ServiceOrderItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PresalesDocItemSuccessor OpportunityItemServiceOrder from

Associations (2)

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

Annotations (12)

NameValueLevelField
EndUserText.label Service Order Follow Up Opportunity Item view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName AOPPTYITMFUPSRVO view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true 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 _PreSalesDocItem PresalesDocument
KEY OpportunityItem _PreSalesDocItem PresalesDocumentItem
KEY ServiceOrder
KEY ServiceOrderItem
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_OpptyItmFUPServiceOrder.
-- 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_OpptyItmFUPServiceOrder AS
SELECT
  _PreSalesDocItem.PresalesDocument AS Opportunity,
  _PreSalesDocItem.PresalesDocumentItem AS OpportunityItem,
  OpportunityItemServiceOrder._ServiceOrderItem.ServiceDocument AS ServiceOrder,
  OpportunityItemServiceOrder._ServiceOrderItem.ServiceDocumentItem AS ServiceOrderItem,
  PresalesDocumentItemUUID AS OpportunityItemUUID,
  PresalesDocItmSuccessorUUID,
  PresalesDocumentRelationUUID
FROM I_PresalesDocItemSuccessor AS OpportunityItemServiceOrder
LEFT OUTER JOIN A_Opportunity AS _Opportunity ON Opportunity = _Opportunity.Opportunity  -- association [1]
LEFT OUTER JOIN I_PresalesDocumentItemEnhcd AS _PreSalesDocItem ON OpportunityItemUUID = _PreSalesDocItem.PresalesDocumentItemUUID  -- association [0..1]
;