P_AllocationCycleRunStatus

DDL: P_ALLOCATIONCYCLERUNSTATUS SQL: PALOCRUNGRP Type: view CONSUMPTION

P_AllocationCycleRunStatus is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_AllocationRunResult) and exposes 10 fields with key fields UniversalAllocationRun, AllocationCycle, AllocationCycleStartDate, FiscalYear, FiscalPeriod. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_AllocationRunResult P_AllocationRunResult from

Parameters (1)

NameTypeDefault
P_CompanyCode fis_bukrs

Associations (1)

CardinalityTargetAliasCondition
[1] I_AllocationRun _Run $projection.UniversalAllocationRun = _Run.UniversalAllocationRun

Annotations (11)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PALOCRUNGRP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY UniversalAllocationRun UniversalAllocationRun
KEY AllocationCycle AllocationCycle Cycle
KEY AllocationCycleStartDate AllocationCycleStartDate Valid From
KEY FiscalYear LedgerFiscalYear
KEY FiscalPeriod FiscalPeriod Tax period
CompanyCode CompanyCode Receiver Company Code
Ledger _Run Ledger Ledger
AllocationType _Run AllocationType Table
AllocationActualPlanVariant _Run AllocationActualPlanVariant Actual/Plan
AllocationPostingType _Run AllocationPostingType Posting Type

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_AllocationCycleRunStatus.
-- 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: PALOCRUNGRP
-- Parameters: P_CompanyCode : fis_bukrs

CREATE VIEW P_AllocationCycleRunStatus AS
SELECT
  UniversalAllocationRun,
  AllocationCycle,
  AllocationCycleStartDate,
  LedgerFiscalYear AS FiscalYear,
  FiscalPeriod,
  CompanyCode,
  _Run.Ledger AS Ledger,
  _Run.AllocationType AS AllocationType,
  _Run.AllocationActualPlanVariant AS AllocationActualPlanVariant,
  _Run.AllocationPostingType AS AllocationPostingType
FROM P_AllocationRunResult
LEFT OUTER JOIN I_AllocationRun AS _Run ON UniversalAllocationRun = _Run.UniversalAllocationRun  -- association [1]
;