I_SrvcDocDateInformation
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvcDocAppointment | apptobj | from |
| I_ServiceDocumentDuration | apptobj | union_all |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA