R_EntProjElmntBlockFuncTP

DDL: R_ENTPROJELMNTBLOCKFUNCTP SQL: RPRJELMNTBLKTP Type: view TRANSACTIONAL

Transactional Processing for proj elmnt block function

R_EntProjElmntBlockFuncTP is a Transactional CDS View that provides data about "Transactional Processing for proj elmnt block function" in SAP S/4HANA. It reads from 2 data sources (I_EnterpriseProject, I_BlockFuncForEntProjElmnt) and exposes 12 fields with key field TaskUUID. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_EnterpriseProject EntProject inner
I_BlockFuncForEntProjElmnt I_BlockFuncForEntProjElmnt from

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_PPM_AuthznByUsrH _AuthUser _AuthUser.ReferencedObjectUUID = $projection.ProjectUUID and _AuthUser.UserID = $session.user and ( _AuthUser.Activity = 'Admin' or _AuthUser.Activity = 'Write' or _AuthUser.Activity = 'Read' )
[0..*] I_PPM_AuthznBySubstitH _AuthSubst _AuthSubst.ReferencedObjectUUID = $projection.ProjectUUID and _AuthSubst.UserID = $session.user and ( _AuthSubst.Activity = 'Admin' or _AuthSubst.Activity = 'Write' or _AuthSubst.Activity = 'Read' )
[0..*] I_PPM_AuthznByUserRoleH _AuthRole _AuthRole.ReferencedObjectUUID = $projection.ProjectUUID and _AuthRole.UserID = $session.user and ( _AuthRole.Activity = 'Admin' or _AuthRole.Activity = 'Write' or _AuthRole.Activity = 'Read' )
[0..*] I_PPM_AuthznByUsrGrpH _AuthGroup _AuthGroup.ReferencedObjectUUID = $projection.ProjectUUID and _AuthGroup.UserID = $session.user and ( _AuthGroup.Activity = 'Admin' or _AuthGroup.Activity = 'Write' or _AuthGroup.Activity = 'Read' )

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName RPRJELMNTBLKTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Transactional Processing for proj elmnt block function view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey TaskUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY TaskUUID TaskUUID
ProjectUUID I_BlockFuncForEntProjElmnt ProjectUUID Project UUID
EntProjTimeRecgIsBlkd Boolean Variable (X = True, - = False, Space = Unknown)
EntProjStaffExpensePostgIsBlkd Boolean Variable (X = True, - = False, Space = Unknown)
EntProjServicePostingIsBlkd Boolean Variable (X = True, - = False, Space = Unknown)
EntProjOtherExpensePostgIsBlkd Boolean Variable (X = True, - = False, Space = Unknown)
EntProjPurchasingIsBlkd Boolean Variable (X = True, - = False, Space = Unknown)
_EntProjElmntBlkFunc _EntProjElmntBlkFunc
_AuthUser _AuthUser
_AuthSubst _AuthSubst
_AuthRole _AuthRole
_AuthGroup _AuthGroup

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_EntProjElmntBlockFuncTP.
-- 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.
-- SQL view name: RPRJELMNTBLKTP

CREATE VIEW R_EntProjElmntBlockFuncTP AS
SELECT
  TaskUUID,
  I_BlockFuncForEntProjElmnt.ProjectUUID AS ProjectUUID,
  cast(EntProjTimeRecgIsBlkd as boolean preserving type ) AS EntProjTimeRecgIsBlkd,
  cast(EntProjStaffExpensePostgIsBlkd as boolean preserving type ) AS EntProjStaffExpensePostgIsBlkd,
  cast(EntProjServicePostingIsBlkd as boolean preserving type ) AS EntProjServicePostingIsBlkd,
  cast(EntProjOtherExpensePostgIsBlkd as boolean preserving type ) AS EntProjOtherExpensePostgIsBlkd,
  cast(EntProjPurchasingIsBlkd as boolean preserving type ) AS EntProjPurchasingIsBlkd
FROM I_BlockFuncForEntProjElmnt
INNER JOIN I_EnterpriseProject AS EntProject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PPM_AuthznByUsrH AS _AuthUser ON _AuthUser.ReferencedObjectUUID = ProjectUUID AND _AuthUser.UserID = $session.user AND ( _AuthUser.Activity = 'Admin' OR _AuthUser.Activity = 'Write' OR _AuthUser.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznBySubstitH AS _AuthSubst ON _AuthSubst.ReferencedObjectUUID = ProjectUUID AND _AuthSubst.UserID = $session.user AND ( _AuthSubst.Activity = 'Admin' OR _AuthSubst.Activity = 'Write' OR _AuthSubst.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUserRoleH AS _AuthRole ON _AuthRole.ReferencedObjectUUID = ProjectUUID AND _AuthRole.UserID = $session.user AND ( _AuthRole.Activity = 'Admin' OR _AuthRole.Activity = 'Write' OR _AuthRole.Activity = 'Read' )  -- association [0..*]
LEFT OUTER JOIN I_PPM_AuthznByUsrGrpH AS _AuthGroup ON _AuthGroup.ReferencedObjectUUID = ProjectUUID AND _AuthGroup.UserID = $session.user AND ( _AuthGroup.Activity = 'Admin' OR _AuthGroup.Activity = 'Write' OR _AuthGroup.Activity = 'Read' )  -- association [0..*]
;