A_SrvcOrdRefServiceContract

DDL: A_SRVCORDREFSERVICECONTRACT SQL: ASRVCORDREFCONTR Type: view COMPOSITE

Reference Service Contracts For Service Order

A_SrvcOrdRefServiceContract is a Composite CDS View that provides data about "Reference Service Contracts For Service Order" in SAP S/4HANA. It reads from 1 data source (P_SrvcOrdRefServiceContract) and exposes 3 fields with key fields ServiceOrder, ReferenceServiceContract. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_SrvcOrdRefServiceContract P_SrvcOrdRefServiceContract from

Associations (1)

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

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ASRVCORDREFCONTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Reference Service Contracts For Service Order 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 #B view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceOrder Transaction ID
KEY ReferenceServiceContract ReferenceServiceContract Transaction ID
_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_SrvcOrdRefServiceContract.
-- 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.
-- SQL view name: ASRVCORDREFCONTR

CREATE VIEW A_SrvcOrdRefServiceContract AS
SELECT
  ServiceOrder,
  ReferenceServiceContract
FROM P_SrvcOrdRefServiceContract
LEFT OUTER JOIN A_ServiceOrder AS _ServiceOrder ON ServiceOrder = _ServiceOrder.ServiceOrder  -- association [1]
;