R_SrvcOrdTmplItemAppointmentTP

DDL: R_SRVCORDTMPLITEMAPPOINTMENTTP Type: view_entity TRANSACTIONAL

Service Order Tmpl Item Appointment - TP

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

Data Sources (2)

SourceAliasJoin Type
I_SrvcDocAppointment ServiceAppointment from
R_ServiceOrderTemplateItemTP ServiceOrderTemplateItem inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ServiceOrderTemplateTP _ServiceOrderTemplateTP $projection.ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate

Annotations (8)

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

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderTemplate R_ServiceOrderTemplateItemTP ServiceOrderTemplate Transaction ID
KEY ServiceOrderTemplateItem R_ServiceOrderTemplateItemTP ServiceOrderTemplateItem 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
_ServiceOrderTemplateItemTP _ServiceOrderTemplateItemTP
_ServiceOrderTemplateTP _ServiceOrderTemplateTP

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_SrvcOrdTmplItemAppointmentTP.
-- 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_SrvcOrdTmplItemAppointmentTP AS
SELECT
  ServiceOrderTemplateItem.ServiceOrderTemplate AS ServiceOrderTemplate,
  ServiceOrderTemplateItem.ServiceOrderTemplateItem AS ServiceOrderTemplateItem,
  ServiceAppointment.SrvcDocAppointmentType AS SrvcDocAppointmentType,
  ServiceAppointment.SrvcDocApptStartDateTime AS SrvcDocApptStartDateTime,
  ServiceAppointment.SrvcDocApptEndDateTime AS SrvcDocApptEndDateTime
FROM I_SrvcDocAppointment AS ServiceAppointment
INNER JOIN R_ServiceOrderTemplateItemTP AS ServiceOrderTemplateItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceOrderTemplateTP AS _ServiceOrderTemplateTP ON ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate  -- association [1..1]
;