I_APSFillLvlDurnByAORCube
Fill Level Durations by AOR - Cube
I_APSFillLvlDurnByAORCube is a Composite CDS View (Cube) that provides data about "Fill Level Durations by AOR - Cube" in SAP S/4HANA. It reads from 1 data source (P_APSFillLvlInfoByAOR) and exposes 23 fields with key fields AdvncdPlngPlanningVersion, SimulationSessionUUID, AdvncdPlngResourceID, AdvncdPlngLocationID, FactoryCalendarDate. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_APSFillLvlInfoByAOR | P_APSFillLvlInfoByAOR | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StartDate | vdm_v_start_date | |
| P_EndDate | vdm_v_end_date | |
| P_TimeZoneID | tznzone |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_APSResource | _Resource | $projection.AdvncdPlngResourceID = _Resource.AdvncdPlngResourceID and $projection.AdvncdPlngPlanningVersion = _Resource.AdvncdPlngPlanningVersion and $projection.SimulationSessionUUID = _Resource.SimulationSessionUUID |
| [0..1] | I_APSPlanVersion | _PlanningVersion | $projection.AdvncdPlngPlanningVersion = _PlanningVersion.AdvncdPlngPlanningVersion |
| [0..1] | I_APSSimulationSession | _SimulationSession | $projection.SimulationSessionUUID = _SimulationSession.SimulationSessionUUID |
| [0..*] | I_APSPlanningModelText | _ModelText | $projection.PlanningModel = _ModelText.PlanningModel |
| [0..1] | I_LocationBasic | _Location | $projection.AdvncdPlngLocationID = _Location.LocationUUID |
| [0..*] | I_LocationText | _LocationText | $projection.AdvncdPlngLocationID = _LocationText.LocationUUID |
| [0..*] | I_AdvncdPlngResourceGroupTxt | _ResourceGroupText | $projection.resourcegroup = _ResourceGroupText.ResourceGroup |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Fill Level Durations by AOR - Cube | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.ignorePropagatedAnnotations | false | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_CUBE | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AdvncdPlngPlanningVersion | fl_info | AdvncdPlngPlanningVersion | |
| KEY | SimulationSessionUUID | fl_info | SimulationSessionUUID | Sim. Session |
| KEY | AdvncdPlngResourceID | AdvncdPlngResourceID | Internal Resrce | |
| KEY | AdvncdPlngLocationID | _Resource | LocationUUID | UUID |
| KEY | FactoryCalendarDate | fl_info | PPDSRsceEvaluationStartDate | |
| ResourcePlanner | _Resource | ResourcePlanner | ||
| ResourcePlannerName | _Resource | PlannerName | ||
| ResourceGroup | _Resource | ResourceGroup | ||
| PlanningModel | fl_info | PlanningModel | ||
| PlanningVersionExternal | fl_info | PlanningVersionExternal | ||
| AdvncdPlngResourceName | _Resource | AdvncdPlngResourceName | Resource | |
| ResourceType | _Resource | ResourceType | ||
| ResourceCategory | _Resource | ResourceCategory | ||
| Location | _Resource | ResourceHomeLocation | ||
| LocationType | _Resource | LocationType | Location Type | |
| PPDSTimeUnit | fl_info | PPDSTimeUnit | ||
| _Resource | _Resource | |||
| _Location | _Location | |||
| _PlanningVersion | _PlanningVersion | |||
| _SimulationSession | _SimulationSession | |||
| _ModelText | _ModelText | |||
| _LocationText | _LocationText | |||
| _ResourceGroupText | _ResourceGroupText |
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_APSFillLvlDurnByAORCube.
-- 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.
-- Parameters: P_StartDate : vdm_v_start_date, P_EndDate : vdm_v_end_date, P_TimeZoneID : tznzone
CREATE VIEW I_APSFillLvlDurnByAORCube AS
SELECT
fl_info.AdvncdPlngPlanningVersion AS AdvncdPlngPlanningVersion,
fl_info.SimulationSessionUUID AS SimulationSessionUUID,
AdvncdPlngResourceID,
_Resource.LocationUUID AS AdvncdPlngLocationID,
fl_info.PPDSRsceEvaluationStartDate AS FactoryCalendarDate,
_Resource.ResourcePlanner AS ResourcePlanner,
_Resource.PlannerName AS ResourcePlannerName,
_Resource.ResourceGroup AS ResourceGroup,
fl_info.PlanningModel AS PlanningModel,
fl_info.PlanningVersionExternal AS PlanningVersionExternal,
_Resource.AdvncdPlngResourceName AS AdvncdPlngResourceName,
_Resource.ResourceType AS ResourceType,
_Resource.ResourceCategory AS ResourceCategory,
_Resource.ResourceHomeLocation AS Location,
_Resource.LocationType AS LocationType,
fl_info.PPDSTimeUnit AS PPDSTimeUnit
FROM P_APSFillLvlInfoByAOR
LEFT OUTER JOIN I_APSResource AS _Resource ON AdvncdPlngResourceID = _Resource.AdvncdPlngResourceID AND AdvncdPlngPlanningVersion = _Resource.AdvncdPlngPlanningVersion AND SimulationSessionUUID = _Resource.SimulationSessionUUID -- association [0..1]
LEFT OUTER JOIN I_APSPlanVersion AS _PlanningVersion ON AdvncdPlngPlanningVersion = _PlanningVersion.AdvncdPlngPlanningVersion -- association [0..1]
LEFT OUTER JOIN I_APSSimulationSession AS _SimulationSession ON SimulationSessionUUID = _SimulationSession.SimulationSessionUUID -- association [0..1]
LEFT OUTER JOIN I_APSPlanningModelText AS _ModelText ON PlanningModel = _ModelText.PlanningModel -- association [0..*]
LEFT OUTER JOIN I_LocationBasic AS _Location ON AdvncdPlngLocationID = _Location.LocationUUID -- association [0..1]
LEFT OUTER JOIN I_LocationText AS _LocationText ON AdvncdPlngLocationID = _LocationText.LocationUUID -- association [0..*]
LEFT OUTER JOIN I_AdvncdPlngResourceGroupTxt AS _ResourceGroupText ON resourcegroup = _ResourceGroupText.ResourceGroup -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA