P_AllocationStatus

DDL: P_ALLOCATIONSTATUS SQL: PALOSTATUS Type: view CONSUMPTION

Allocation Status

P_AllocationStatus is a Consumption CDS View that provides data about "Allocation Status" in SAP S/4HANA. It reads from 2 data sources (I_AllocationCycle, I_AllocationSegment) and exposes 5 fields with key fields AllocationType, AllocationCycle, AllocationCycleStartDate, AllocationSegmentIsLocked.

Data Sources (2)

SourceAliasJoin Type
I_AllocationCycle Cycle from
I_AllocationSegment Segment inner

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PALOSTATUS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
EndUserText.label Allocation Status view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY AllocationType I_AllocationCycle AllocationType Table
KEY AllocationCycle I_AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate I_AllocationCycle AllocationCycleStartDate Valid From
KEY AllocationSegmentIsLocked I_AllocationSegment AllocationSegmentIsLocked Lock indicator
StatusCount

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_AllocationStatus.
-- 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: PALOSTATUS

CREATE VIEW P_AllocationStatus AS
SELECT
  Cycle.AllocationType AS AllocationType,
  Cycle.AllocationCycle AS AllocationCycle,
  Cycle.AllocationCycleStartDate AS AllocationCycleStartDate,
  Segment.AllocationSegmentIsLocked AS AllocationSegmentIsLocked,
  count( * ) AS StatusCount
FROM I_AllocationCycle AS Cycle
INNER JOIN I_AllocationSegment AS Segment ON /* join condition not captured in parsed metadata */
;