I_EntProjElmntBlockFunc

DDL: I_ENTPROJELMNTBLOCKFUNC SQL: IPRJELMNTBLKFUNC Type: view BASIC Package: PS_BLOCK_FUNCTIONS

Block Functions for Enterprise Project Elements

I_EntProjElmntBlockFunc is a Basic CDS View that provides data about "Block Functions for Enterprise Project Elements" in SAP S/4HANA. It reads from 1 data source (entprobj_blkfunc) and exposes 14 fields with key field EntProjElementFunctionUUID. It has 4 associations to related views. Part of development package PS_BLOCK_FUNCTIONS.

Data Sources (1)

SourceAliasJoin Type
entprobj_blkfunc BlockFunction from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_WBSElementBasicData _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..1] I_BlockFunctionStatus _BlockFunctionStatus $projection.EntProjElementFunctionIsBlkd = _BlockFunctionStatus.EntProjElementFunctionIsBlkd
[0..*] I_BlockFunctionStatusText _BlockFunctionText $projection.EntProjElementFunctionIsBlkd = _BlockFunctionText.EntProjElementFunctionIsBlkd
[0..1] /s4ppm/task _task $projection.ParentObjectUUID = _task.guid

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRJELMNTBLKFUNC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Block Functions for Enterprise Project Elements view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY EntProjElementFunctionUUID entprobj_blkfunc guid UUID 22 char.
ProjectUUID entprobj_blkfunc project_guid UUID
ParentObjectUUID entprobj_blkfunc parent_object_guid Entity GUID
EntProjElementFunctionID entprobj_blkfunc function_id Function ID
EntProjElementFunctionIsBlkd entprobj_blkfunc is_blocked Func Is Blocked
WBSElementInternalID
EntProjTimeRecgIsBlkd
EntProjStaffExpensePostgIsBlkd
EntProjServicePostingIsBlkd
EntProjOtherExpensePostgIsBlkd
EntProjPurchasingIsBlkd
_WBSElement _WBSElement
_BlockFunctionStatus _BlockFunctionStatus
_BlockFunctionText _BlockFunctionText

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_EntProjElmntBlockFunc.
-- 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: IPRJELMNTBLKFUNC

CREATE VIEW I_EntProjElmntBlockFunc AS
SELECT
  BlockFunction.guid AS EntProjElementFunctionUUID,
  BlockFunction.project_guid AS ProjectUUID,
  BlockFunction.parent_object_guid AS ParentObjectUUID,
  BlockFunction.function_id AS EntProjElementFunctionID,
  BlockFunction.is_blocked AS EntProjElementFunctionIsBlkd,
  cast ( _task.pspnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
  cast(BlockFunction.is_blocked as boole_d) AS EntProjTimeRecgIsBlkd,
  cast(BlockFunction.is_blocked as boole_d) AS EntProjStaffExpensePostgIsBlkd,
  cast(BlockFunction.is_blocked as boole_d) AS EntProjServicePostingIsBlkd,
  cast(BlockFunction.is_blocked as boole_d) AS EntProjOtherExpensePostgIsBlkd,
  cast(BlockFunction.is_blocked as boole_d) AS EntProjPurchasingIsBlkd
FROM entprobj_blkfunc AS BlockFunction
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_BlockFunctionStatus AS _BlockFunctionStatus ON EntProjElementFunctionIsBlkd = _BlockFunctionStatus.EntProjElementFunctionIsBlkd  -- association [0..1]
LEFT OUTER JOIN I_BlockFunctionStatusText AS _BlockFunctionText ON EntProjElementFunctionIsBlkd = _BlockFunctionText.EntProjElementFunctionIsBlkd  -- association [0..*]
LEFT OUTER JOIN /s4ppm/task AS _task ON ParentObjectUUID = _task.guid  -- association [0..1]
;