I_ResourceAssignmentPlanItem

DDL: I_RESOURCEASSIGNMENTPLANITEM SQL: IRSRCEASGNPLNITM Type: view BASIC

Plan Item of Resource Assignment

I_ResourceAssignmentPlanItem (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

R&D Engineering

I_ResourceAssignmentPlanItem is a Basic CDS View that provides data about "Plan Item of Resource Assignment" in SAP S/4HANA. It reads from 1 data source (/cpd/plandata) and exposes 26 fields with key field PlanLineItemUUID. It has 10 associations to related views.

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentCA-CPD-SS
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
/cpd/plandata /cpd/plandata from

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_ResourceRequest _ResourceRequest $projection.ResourceRequestUUID = _ResourceRequest.ResourceRequestUUID
[0..1] I_EngagementProject _EngagementProject $projection.EngagementProject = _EngagementProject.EngagementProject
[0..1] I_WorkPackage _WorkPackage $projection.WorkPackage = _WorkPackage.WorkPackage
[0..1] I_WorkPackageWorkItem _WorkItem $projection.WorkItem = _WorkItem.WorkItem and $projection.WorkPackage = _WorkItem.WorkPackage
[0..1] I_EngmntProjResourceType _EngagementProjectResourceType $projection.EngagementProjectResourceType = _EngagementProjectResourceType.EngagementProjectResourceType
[0..1] I_EngagementProjectResource _EngagementProjectResource $projection.EngagementProjectResourceType = _EngagementProjectResource.EngagementProjectResourceType and $projection.EngagementProjectResource = _EngagementProjectResource.EngagementProjectResource
[0..1] I_EngagementProjectSrvcOrg _DeliveryOrganization $projection.DeliveryOrganization = _DeliveryOrganization.EngagementProjectServiceOrg
[0..*] I_PersonWorkAgreement _PersonWorkAgreement $projection.EmploymentInternalID = _PersonWorkAgreement.PersonWorkAgreement
[0..1] I_PersonWorkAgreement_1 _PersonWorkAgreement_1 $projection.EmploymentInternalID = _PersonWorkAgreement_1.PersonWorkAgreement
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IRSRCEASGNPLNITM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Plan Item of Resource Assignment view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY PlanLineItemUUID plan_line_guid Planning Line GUID
ResourceRequestUUID demand_key Demand Key
FiscalPeriod period Tax Period
FiscalYear fc_year Fiscal Year
EngagementProject Engagement Project ID
WorkPackage wp_id Plan Item
EngagementProjectResourceType res_type Resource Type ID
EngagementProjectResource resource_id UUID Internal
EmploymentInternalID employee Object ID
WorkItem workitem_id Work Item ID
BillingControlCategory billgctrlcat Billing Control Category
DeliveryOrganization delvry_serv_org Service Organization
UnitOfMeasure uom Unit of Measure
PlndEffortQty effort Total Quantity
EngmntProjPlanLineType line_type Valuation line type
EngmtProjFinPlanVersion version Plan Version ID
_WorkPackage _WorkPackage
_EngagementProject _EngagementProject
_WorkItem _WorkItem
_EngagementProjectResourceType _EngagementProjectResourceType
_EngagementProjectResource _EngagementProjectResource
_DeliveryOrganization _DeliveryOrganization
_PersonWorkAgreement _PersonWorkAgreement
_PersonWorkAgreement_1 _PersonWorkAgreement_1
_ResourceRequest _ResourceRequest
_UnitOfMeasure _UnitOfMeasure

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_ResourceAssignmentPlanItem.
-- 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: IRSRCEASGNPLNITM

CREATE VIEW I_ResourceAssignmentPlanItem AS
SELECT
  plan_line_guid AS PlanLineItemUUID,
  demand_key AS ResourceRequestUUID,
  period AS FiscalPeriod,
  fc_year AS FiscalYear,
  cast(mp_id as /cpd/eng_mp_id preserving type) AS EngagementProject,
  wp_id AS WorkPackage,
  res_type AS EngagementProjectResourceType,
  resource_id AS EngagementProjectResource,
  employee AS EmploymentInternalID,
  workitem_id AS WorkItem,
  billgctrlcat AS BillingControlCategory,
  delvry_serv_org AS DeliveryOrganization,
  uom AS UnitOfMeasure,
  effort AS PlndEffortQty,
  line_type AS EngmntProjPlanLineType,
  version AS EngmtProjFinPlanVersion
FROM /cpd/plandata
LEFT OUTER JOIN I_ResourceRequest AS _ResourceRequest ON ResourceRequestUUID = _ResourceRequest.ResourceRequestUUID  -- association [0..1]
LEFT OUTER JOIN I_EngagementProject AS _EngagementProject ON EngagementProject = _EngagementProject.EngagementProject  -- association [0..1]
LEFT OUTER JOIN I_WorkPackage AS _WorkPackage ON WorkPackage = _WorkPackage.WorkPackage  -- association [0..1]
LEFT OUTER JOIN I_WorkPackageWorkItem AS _WorkItem ON WorkItem = _WorkItem.WorkItem AND WorkPackage = _WorkItem.WorkPackage  -- association [0..1]
LEFT OUTER JOIN I_EngmntProjResourceType AS _EngagementProjectResourceType ON EngagementProjectResourceType = _EngagementProjectResourceType.EngagementProjectResourceType  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectResource AS _EngagementProjectResource ON EngagementProjectResourceType = _EngagementProjectResource.EngagementProjectResourceType AND EngagementProjectResource = _EngagementProjectResource.EngagementProjectResource  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectSrvcOrg AS _DeliveryOrganization ON DeliveryOrganization = _DeliveryOrganization.EngagementProjectServiceOrg  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement AS _PersonWorkAgreement ON EmploymentInternalID = _PersonWorkAgreement.PersonWorkAgreement  -- association [0..*]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgreement_1 ON EmploymentInternalID = _PersonWorkAgreement_1.PersonWorkAgreement  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;