R_SrvcContrDurationTP

DDL: R_SRVCCONTRDURATIONTP Type: view_entity TRANSACTIONAL

Service Contract Duration - TP

R_SrvcContrDurationTP is a Transactional CDS View that provides data about "Service Contract Duration - TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocument, I_ServiceDocumentDuration) and exposes 5 fields with key fields ServiceContract, SrvcDocDurationType.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocument ServiceContract inner
I_ServiceDocumentDuration ServiceDuration from

Annotations (8)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceContract I_ServiceDocumentDuration ServiceDocument Transaction ID
KEY SrvcDocDurationType I_ServiceDocumentDuration SrvcDocDurationType Duration Name
SrvcDocDurationValue I_ServiceDocumentDuration SrvcDocDurationValue Tot.Duration in Days
SrvcDocDurationUnit I_ServiceDocumentDuration SrvcDocDurationUnit Unit
_ServiceContractTP _ServiceContractTP

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_SrvcContrDurationTP.
-- 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_SrvcContrDurationTP AS
SELECT
  ServiceDuration.ServiceDocument AS ServiceContract,
  ServiceDuration.SrvcDocDurationType AS SrvcDocDurationType,
  ServiceDuration.SrvcDocDurationValue AS SrvcDocDurationValue,
  ServiceDuration.SrvcDocDurationUnit AS SrvcDocDurationUnit
FROM I_ServiceDocumentDuration AS ServiceDuration
INNER JOIN I_ServiceDocument AS ServiceContract ON /* join condition not captured in parsed metadata */
;