R_SrvcQtanReferenceObjectTP

DDL: R_SRVCQTANREFERENCEOBJECTTP Type: view_entity TRANSACTIONAL

Service Quotation Reference Object - TP

R_SrvcQtanReferenceObjectTP is a Transactional CDS View that provides data about "Service Quotation Reference Object - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentRefObject, I_ServiceDocumentEnhcd) and exposes 8 fields with key fields ServiceQuotation, ServiceRefObjectSequenceNumber.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentRefObject I_ServiceDocumentRefObject from
I_ServiceDocumentEnhcd ServiceQuotation inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Quotation Reference Object - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation I_ServiceDocumentRefObject ServiceDocument Transaction ID
KEY ServiceRefObjectSequenceNumber I_ServiceDocumentRefObject ServiceRefObjectSequenceNumber Version
SerialNumber I_ServiceDocumentRefObject SerialNumber Serial Number
ServiceReferenceEquipment I_ServiceDocumentRefObject Equipment Equipment check
ServiceRefFunctionalLocation
ServiceReferenceProduct I_ServiceDocumentRefObject ProductID Product ID
SrvcRefObjIsMainObject I_ServiceDocumentRefObject SrvcRefObjIsMainObject Main Object
_ServiceQuotationTP _ServiceQuotationTP

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 R_SrvcQtanReferenceObjectTP.
-- 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 R_SrvcQtanReferenceObjectTP AS
SELECT
  I_ServiceDocumentRefObject.ServiceDocument AS ServiceQuotation,
  I_ServiceDocumentRefObject.ServiceRefObjectSequenceNumber AS ServiceRefObjectSequenceNumber,
  I_ServiceDocumentRefObject.SerialNumber AS SerialNumber,
  I_ServiceDocumentRefObject.Equipment AS ServiceReferenceEquipment,
  cast( I_ServiceDocumentRefObject.FunctionalLocation as functionallocation preserving type ) AS ServiceRefFunctionalLocation,
  I_ServiceDocumentRefObject.ProductID AS ServiceReferenceProduct,
  I_ServiceDocumentRefObject.SrvcRefObjIsMainObject AS SrvcRefObjIsMainObject
FROM I_ServiceDocumentRefObject
INNER JOIN I_ServiceDocumentEnhcd AS ServiceQuotation ON /* join condition not captured in parsed metadata */
;