I_SrvcDocDateInformation

DDL: I_SRVCDOCDATEINFORMATION Type: view COMPOSITE

Date Information for Service Transaction

I_SrvcDocDateInformation is a Composite CDS View that provides data about "Date Information for Service Transaction" in SAP S/4HANA. It reads from 2 data sources (I_SrvcDocAppointment, I_ServiceDocumentDuration) and exposes 18 fields with key fields SrvcMgmtObjectUUID, ServiceDocument, ServiceDocumentItem, SrvcDocAppointmentType, ServiceDocument.

Data Sources (2)

SourceAliasJoin Type
I_SrvcDocAppointment apptobj from
I_ServiceDocumentDuration apptobj union_all

Annotations (12)

NameValueLevelField
EndUserText.label Date Information for Service Transaction view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AbapCatalog.sqlViewName ISRVDATEINF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY SrvcMgmtObjectUUID I_ServiceDocumentDuration SrvcMgmtObjectUUID GUID (Hex) Specified by the Application
KEY ServiceDocument Transaction ID
KEY ServiceDocumentItem Service Document
KEY SrvcDocAppointmentType I_ServiceDocumentDuration SrvcDocAppointmentType Date Type
SrvcDocApptStartDateTime I_ServiceDocumentDuration SrvcDocApptStartDateTime Time Stamp (UTC) of Start Time of Appointment
SrvcDocApptEndDateTime I_ServiceDocumentDuration SrvcDocApptEndDateTime Time stamp of end of appointment
ServiceObjectType Object Type
SrvcDocDurationCharValue
SrvcDocDurationUnit Unit
KEY ServiceDocument I_ServiceDocumentDuration ServiceDocument Transaction ID
KEY ServiceDocumentItem I_ServiceDocumentDuration ServiceDocumentItem Service Document
KEY SrvcDocAppointmentType Date Type
SrvcDocApptStartDateTime Time Stamp (UTC) of Start Time of Appointment
SrvcDocApptEndDateTime Time stamp of end of appointment
ServiceObjectType I_ServiceDocumentDuration ServiceObjectType Object Type
SrvcDocDurationCharValue
SrvcDocDurationUnit I_ServiceDocumentDuration SrvcDocDurationUnit Unit
SrvcDocDurationTypeText

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_SrvcDocDateInformation.
-- 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_SrvcDocDateInformation AS
SELECT
  apptobj.SrvcMgmtObjectUUID AS SrvcMgmtObjectUUID,
  cast( '0000000000' as crmt_object_id_db ) AS ServiceDocument,
  cast( '000000' as crms4_number_int ) AS ServiceDocumentItem,
  apptobj.SrvcDocAppointmentType AS SrvcDocAppointmentType,
  apptobj.SrvcDocApptStartDateTime AS SrvcDocApptStartDateTime,
  apptobj.SrvcDocApptEndDateTime AS SrvcDocApptEndDateTime,
  cast( '0000000000' as crmt_subobject_category_db ) AS ServiceObjectType,
  ' ' AS SrvcDocDurationCharValue,
  ' ' AS SrvcDocDurationUnit,
  cast ( apptobj._DurationText.SrvcDocDurationTypeText as sc_txt preserving type ) AS SrvcDocDurationTypeText
FROM I_SrvcDocAppointment AS apptobj
-- UNION ALL with additional select branch(es): I_ServiceDocumentDuration
;