I_PlndIndepRqmtItemByIntKey

DDL: I_PLNDINDEPRQMTITEMBYINTKEY Type: view_entity BASIC

Planned Independent Requirement Item by Internal Key

I_PlndIndepRqmtItemByIntKey is a Basic CDS View (Dimension) that provides data about "Planned Independent Requirement Item by Internal Key" in SAP S/4HANA. It reads from 1 data source (pbed) and exposes 11 fields with key fields PlndIndepRqmtInternalID, WorkingDayDate. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
pbed pbed from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_PlndIndepRqmtByIntKey _PlndIndepRqmt $projection.PlndIndepRqmtInternalID = _PlndIndepRqmt.PlndIndepRqmtInternalID
[1..1] I_UnitOfMeasure _UnitOfMeasure $projection.BaseUnit = _UnitOfMeasure.UnitOfMeasure
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_SalesDelivDateCategory _PeriodType $projection.ForecastPeriodType = _PeriodType.SalesDelivDateCategory

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IPIRITEMBYINTK view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey WorkingDayDate view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Planned Independent Requirement Item by Internal Key view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY PlndIndepRqmtInternalID bdzei PIR Pointer
KEY WorkingDayDate
LastChangedByUser pbed aenam User Name
LastChangeDate pbed laeda Last Change
BaseUnit pbed meins Valuation Unit
PlannedQuantity
WithdrawalQuantity pbed entmg Withdrawal Qty
_PlndIndepRqmt _PlndIndepRqmt
_UnitOfMeasure _UnitOfMeasure
_LastChangedByUser _LastChangedByUser
_PeriodType _PeriodType

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_PlndIndepRqmtItemByIntKey.
-- 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_PlndIndepRqmtItemByIntKey AS
SELECT
  bdzei AS PlndIndepRqmtInternalID,
  cast(pbed.pdatu as pph_working_day preserving type) AS WorkingDayDate,
  pbed.aenam AS LastChangedByUser,
  pbed.laeda AS LastChangeDate,
  pbed.meins AS BaseUnit,
  cast(pbed.plnmg as pph_plan_qty preserving type) AS PlannedQuantity,
  pbed.entmg AS WithdrawalQuantity
FROM pbed
LEFT OUTER JOIN I_PlndIndepRqmtByIntKey AS _PlndIndepRqmt ON PlndIndepRqmtInternalID = _PlndIndepRqmt.PlndIndepRqmtInternalID  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON BaseUnit = _UnitOfMeasure.UnitOfMeasure  -- association [1..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_SalesDelivDateCategory AS _PeriodType ON ForecastPeriodType = _PeriodType.SalesDelivDateCategory  -- association [0..1]
;