I_SrvcDocAppointment

DDL: I_SRVCDOCAPPOINTMENT Type: view BASIC

Appointments of Service Transaction

I_SrvcDocAppointment is a Basic CDS View that provides data about "Appointments of Service Transaction" in SAP S/4HANA. It reads from 1 data source (scapptseg) and exposes 6 fields with key fields SrvcMgmtObjectUUID, SrvcDocAppointmentType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
scapptseg scapptseg from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SrvcDocAppointmentTypeText _DateText $projection.SrvcDocAppointmentType = _DateText.SrvcDocAppointmentType and _DateText.LanguageCode = $session.system_language

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Appointments of Service Transaction view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.sqlViewName ISERVDOCAPPT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SrvcMgmtObjectUUID appl_guid GUID (Hex) Specified by the Application
KEY SrvcDocAppointmentType appt_type Date Type
SrvcDocApptStartDateTime tst_from Time Stamp (UTC) of Start Time of Appointment
SrvcDocApptEndDateTime tst_to Time stamp of end of appointment
SrvcDocAppointmentTypeText _DateText SrvcDocAppointmentTypeText
_DateText _DateText

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 I_SrvcDocAppointment.
-- 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 I_SrvcDocAppointment AS
SELECT
  appl_guid AS SrvcMgmtObjectUUID,
  appt_type AS SrvcDocAppointmentType,
  tst_from AS SrvcDocApptStartDateTime,
  tst_to AS SrvcDocApptEndDateTime,
  _DateText.SrvcDocAppointmentTypeText AS SrvcDocAppointmentTypeText
FROM scapptseg
LEFT OUTER JOIN I_SrvcDocAppointmentTypeText AS _DateText ON SrvcDocAppointmentType = _DateText.SrvcDocAppointmentType AND _DateText.LanguageCode = $session.system_language  -- association [0..1]
;