A_SrvcOrdProdRefObject

DDL: A_SRVCORDPRODREFOBJECT Type: view COMPOSITE

Product reference object of a service order

A_SrvcOrdProdRefObject is a Composite CDS View that provides data about "Product reference object of a service order" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 4 fields with key fields ServiceOrder, ServiceReferenceProduct. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from

Associations (1)

CardinalityTargetAliasCondition
[1] A_ServiceOrder _ServiceOrder $projection.ServiceOrder = _ServiceOrder.ServiceOrder

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Product reference object of a service order view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ASRVORDPRODREF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument Transaction ID
KEY ServiceReferenceProduct ProductID Product ID
SrvcRefObjIsMainObject SrvcRefObjIsMainObject Main Object
_ServiceOrder _ServiceOrder

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_SrvcOrdProdRefObject.
-- 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_SrvcOrdProdRefObject AS
SELECT
  ServiceDocument AS ServiceOrder,
  ProductID AS ServiceReferenceProduct,
  SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject
LEFT OUTER JOIN A_ServiceOrder AS _ServiceOrder ON ServiceOrder = _ServiceOrder.ServiceOrder  -- association [1]
;