P_WhereUsdIntOrdAllocPlnCat

DDL: P_WHEREUSDINTORDALLOCPLNCAT Type: view_entity COMPOSITE

WUIO Allocations - Relation to the Plan Category

P_WhereUsdIntOrdAllocPlnCat is a Composite CDS View that provides data about "WUIO Allocations - Relation to the Plan Category" in SAP S/4HANA. It reads from 1 data source (I_AllocationKeyField) and exposes 12 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationCycleSegment, AllocationSetType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_AllocationKeyField I_AllocationKeyField from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PlanningCategory _PlanningCategory $projection.PlanningCategory = _PlanningCategory.PlanningCategory

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label WUIO Allocations - Relation to the Plan Category view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY AllocationType I_AllocationKeyField AllocationType Table
KEY AllocationCycle I_AllocationKeyField AllocationCycle Cycle
KEY AllocationCycleStartDate I_AllocationKeyField AllocationCycleStartDate Valid From
KEY AllocationCycleSegment I_AllocationKeyField AllocationCycleSegment Segment Number
KEY AllocationSetType I_AllocationKeyField AllocationSetType Type of Set
KEY AllocDocumentSequenceNumber I_AllocationKeyField AllocDocumentSequenceNumber Table position
AllocationFieldName I_AllocationKeyField AllocationFieldName Field
AllocationSetName I_AllocationKeyField AllocationSetName Set Name
PlanningCategory
_Cycle I_AllocationKeyField _Cycle
_Segment I_AllocationKeyField _Segment
_PlanningCategory _PlanningCategory

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 P_WhereUsdIntOrdAllocPlnCat.
-- 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 P_WhereUsdIntOrdAllocPlnCat AS
SELECT
  I_AllocationKeyField.AllocationType AS AllocationType,
  I_AllocationKeyField.AllocationCycle AS AllocationCycle,
  I_AllocationKeyField.AllocationCycleStartDate AS AllocationCycleStartDate,
  I_AllocationKeyField.AllocationCycleSegment AS AllocationCycleSegment,
  I_AllocationKeyField.AllocationSetType AS AllocationSetType,
  I_AllocationKeyField.AllocDocumentSequenceNumber AS AllocDocumentSequenceNumber,
  I_AllocationKeyField.AllocationFieldName AS AllocationFieldName,
  I_AllocationKeyField.AllocationSetName AS AllocationSetName,
  cast( left( I_AllocationKeyField.AllocationFieldMinimumValue, 10 ) as fcom_category ) AS PlanningCategory,
  I_AllocationKeyField._Cycle AS _Cycle,
  I_AllocationKeyField._Segment AS _Segment
FROM I_AllocationKeyField
LEFT OUTER JOIN I_PlanningCategory AS _PlanningCategory ON PlanningCategory = _PlanningCategory.PlanningCategory  -- association [0..1]
;