I_UtilitiesServiceDurationTP

DDL: I_UTILITIESSERVICEDURATIONTP Type: view_entity TRANSACTIONAL

IS U BR Avg Serv Time Serv Duration - TP

I_UtilitiesServiceDurationTP is a Transactional CDS View that provides data about "IS U BR Avg Serv Time Serv Duration - TP" in SAP S/4HANA. It reads from 1 data source (I_UtilitiesServiceDuration) and exposes 16 fields with key fields CustMgmtObjectType, CustMgmtActivity. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_UtilitiesServiceDuration I_UtilitiesServiceDuration from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_UtilitiesServiceDefectTP _ServiceDefect _ServiceDefect.ServiceObjectType = $projection.CustMgmtObjectType and _ServiceDefect.ServiceDocument = $projection.CustMgmtActivity and _ServiceDefect.SrvcDocTypeDefectCodeProfType = 'F'
[0..1] I_User _UserData _UserData.UserID = $projection.CreatedByUser
[0..1] I_DistributionChannelText _DistributionChannelText _DistributionChannelText.DistributionChannel = $projection.DistributionChannel and _DistributionChannelText.Language = $session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label IS U BR Avg Serv Time Serv Duration - TP view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CustMgmtObjectType CustMgmtObjectType Trans. Cat.
KEY CustMgmtActivity CustMgmtActivity Transaction ID
CreatedByUser CreatedByUser User Name
UserDescription _UserData UserDescription Full Name
ServiceDefectCodeCatalog _ServiceDefect ServiceDefectCodeCatalog
ServiceDefectCodeGroup _ServiceDefect ServiceDefectCodeGroup
ServiceDefectCode _ServiceDefect ServiceDefectCode
DefectCodeText _ServiceDefect DefectCodeText
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
DistributionChannelName _DistributionChannelText DistributionChannelName
CustMgmtActivityStartDateTime CustMgmtActivityStartDateTime Validity Start Date
CustMgmtActivityEndDateTime CustMgmtActivityEndDateTime Validity End Date
WorkDuration
_ServiceDefect _ServiceDefect
_UserData _UserData
_DistributionChannelText _DistributionChannelText

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_UtilitiesServiceDurationTP.
-- 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_UtilitiesServiceDurationTP AS
SELECT
  CustMgmtObjectType,
  CustMgmtActivity,
  CreatedByUser,
  _UserData.UserDescription AS UserDescription,
  _ServiceDefect.ServiceDefectCodeCatalog AS ServiceDefectCodeCatalog,
  _ServiceDefect.ServiceDefectCodeGroup AS ServiceDefectCodeGroup,
  _ServiceDefect.ServiceDefectCode AS ServiceDefectCode,
  _ServiceDefect.DefectCodeText AS DefectCodeText,
  DistributionChannel,
  _DistributionChannelText.DistributionChannelName AS DistributionChannelName,
  CustMgmtActivityStartDateTime,
  CustMgmtActivityEndDateTime,
  cast(WorkDuration as abap.decfloat16) AS WorkDuration
FROM I_UtilitiesServiceDuration
LEFT OUTER JOIN I_UtilitiesServiceDefectTP AS _ServiceDefect ON _ServiceDefect.ServiceObjectType = CustMgmtObjectType AND _ServiceDefect.ServiceDocument = CustMgmtActivity AND _ServiceDefect.SrvcDocTypeDefectCodeProfType = 'F'  -- association [0..1]
LEFT OUTER JOIN I_User AS _UserData ON _UserData.UserID = CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannelText AS _DistributionChannelText ON _DistributionChannelText.DistributionChannel = DistributionChannel AND _DistributionChannelText.Language = $session.system_language  -- association [0..1]
;