I_WorkViewTP

DDL: I_WORKVIEWTP Type: view_entity TRANSACTIONAL

Work Perspective - TP

I_WorkViewTP is a Transactional CDS View that provides data about "Work Perspective - TP" in SAP S/4HANA. It reads from 1 data source (I_WorkView) and exposes 20 fields with key fields WorkView, WorkViewUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkView WorkView from

Associations (7)

CardinalityTargetAliasCondition
[0..*] I_WorkViewGroupTextTP _GroupText $projection.WorkViewUUID = _GroupText.WorkViewUUID and $projection.WorkView = _GroupText.WorkView
[0..*] I_WorkViewAssgmtTP _WorkViewAssgmt $projection.WorkViewUUID = _WorkViewAssgmt.WorkViewUUID and $projection.WorkView = _WorkViewAssgmt.WorkView
[0..1] I_WorkViewNameWithFallbackTP _WorkViewNameWithFallBack $projection.WorkViewUUID = _WorkViewNameWithFallBack.WorkViewUUID
[0..1] I_WorkViewScopeText _WorkViewScope $projection.WorkViewScope = _WorkViewScope.WorkViewScope
[0..1] I_WorkViewStatusText _WorkViewStaus $projection.WorkViewStatus = _WorkViewStaus.WorkViewStatus
[0..*] I_WorkViewTextTP _WorkViewText
[1..*] I_WorkViewGroupTP _WorkViewGroup

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Work Perspective - TP view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY WorkView I_WorkView WorkView Work View ID
KEY WorkViewUUID I_WorkView WorkViewUUID Work View
CreationDateTime I_WorkView CreationDateTime Timestamp
CreatedByUser I_WorkView CreatedByUser User Name
LastChangeDateTime I_WorkView LastChangeDateTime Timestamp
LastChangedByUser I_WorkView LastChangedByUser User Name
WorkViewScope I_WorkView WorkViewScope Visibility
WorkViewStatus I_WorkView WorkViewStatus Workflow Status
WorkViewName _WorkViewNameWithFallBack WorkViewName Work View Name
WorkViewNameInCurLanguage _WorkViewNameWithFallBack WorkViewNameInCurLanguage
WorkViewNameInEnglish _WorkViewNameWithFallBack WorkViewNameInEnglish
_WorkViewGroup _WorkViewGroup
_WorkViewText _WorkViewText
_WorkViewScope _WorkViewScope
_WorkViewStaus _WorkViewStaus
_GroupText _GroupText
_WorkViewAssgmt _WorkViewAssgmt
_WorkViewNameWithFallBack _WorkViewNameWithFallBack
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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_WorkViewTP.
-- 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_WorkViewTP AS
SELECT
  WorkView.WorkView AS WorkView,
  WorkView.WorkViewUUID AS WorkViewUUID,
  WorkView.CreationDateTime AS CreationDateTime,
  WorkView.CreatedByUser AS CreatedByUser,
  WorkView.LastChangeDateTime AS LastChangeDateTime,
  WorkView.LastChangedByUser AS LastChangedByUser,
  WorkView.WorkViewScope AS WorkViewScope,
  WorkView.WorkViewStatus AS WorkViewStatus,
  _WorkViewNameWithFallBack.WorkViewName AS WorkViewName,
  _WorkViewNameWithFallBack.WorkViewNameInCurLanguage AS WorkViewNameInCurLanguage,
  _WorkViewNameWithFallBack.WorkViewNameInEnglish AS WorkViewNameInEnglish
FROM I_WorkView AS WorkView
LEFT OUTER JOIN I_WorkViewGroupTextTP AS _GroupText ON WorkViewUUID = _GroupText.WorkViewUUID AND WorkView = _GroupText.WorkView  -- association [0..*]
LEFT OUTER JOIN I_WorkViewAssgmtTP AS _WorkViewAssgmt ON WorkViewUUID = _WorkViewAssgmt.WorkViewUUID AND WorkView = _WorkViewAssgmt.WorkView  -- association [0..*]
LEFT OUTER JOIN I_WorkViewNameWithFallbackTP AS _WorkViewNameWithFallBack ON WorkViewUUID = _WorkViewNameWithFallBack.WorkViewUUID  -- association [0..1]
LEFT OUTER JOIN I_WorkViewScopeText AS _WorkViewScope ON WorkViewScope = _WorkViewScope.WorkViewScope  -- association [0..1]
LEFT OUTER JOIN I_WorkViewStatusText AS _WorkViewStaus ON WorkViewStatus = _WorkViewStaus.WorkViewStatus  -- association [0..1]
LEFT OUTER JOIN I_WorkViewTextTP AS _WorkViewText ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_WorkViewGroupTP AS _WorkViewGroup ON /* condition not available in parsed metadata */  -- association [1..*]
;