R_SrvcQtanItemAppointmentTP

DDL: R_SRVCQTANITEMAPPOINTMENTTP Type: view_entity TRANSACTIONAL

Service Quotation Item Appointment - TP

R_SrvcQtanItemAppointmentTP is a Transactional CDS View that provides data about "Service Quotation Item Appointment - TP" in SAP S/4HANA. It reads from 2 data sources (I_SrvcDocAppointment, I_ServiceDocumentItem) and exposes 7 fields with key fields ServiceQuotation, ServiceQuotationItem, SrvcDocAppointmentType. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SrvcDocAppointment ServiceAppointment from
I_ServiceDocumentItem ServiceQuotationItem inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ServiceQuotationTP _ServiceQuotationTP $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation

Annotations (8)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation I_ServiceDocumentItem ServiceDocument Transaction ID
KEY ServiceQuotationItem I_ServiceDocumentItem ServiceDocumentItem Service Document
KEY SrvcDocAppointmentType I_SrvcDocAppointment SrvcDocAppointmentType Date Type
SrvcDocApptStartDateTime I_SrvcDocAppointment SrvcDocApptStartDateTime Time Stamp (UTC) of Start Time of Appointment
SrvcDocApptEndDateTime I_SrvcDocAppointment SrvcDocApptEndDateTime Time stamp of end of appointment
_ServiceQuotationItemTP _ServiceQuotationItemTP
_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_SrvcQtanItemAppointmentTP.
-- 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_SrvcQtanItemAppointmentTP AS
SELECT
  ServiceQuotationItem.ServiceDocument AS ServiceQuotation,
  ServiceQuotationItem.ServiceDocumentItem AS ServiceQuotationItem,
  ServiceAppointment.SrvcDocAppointmentType AS SrvcDocAppointmentType,
  ServiceAppointment.SrvcDocApptStartDateTime AS SrvcDocApptStartDateTime,
  ServiceAppointment.SrvcDocApptEndDateTime AS SrvcDocApptEndDateTime
FROM I_SrvcDocAppointment AS ServiceAppointment
INNER JOIN I_ServiceDocumentItem AS ServiceQuotationItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceQuotationTP AS _ServiceQuotationTP ON ServiceQuotation = _ServiceQuotationTP.ServiceQuotation  -- association [1..1]
;