P_AdvncdPlngCalcSimlnFltrs
calculate saved simulation filters
P_AdvncdPlngCalcSimlnFltrs is a Composite CDS View that provides data about "calculate saved simulation filters" in SAP S/4HANA. It reads from 5 data sources (/sapapo/fields_t, I_AdvncdPlngSimulationVers, I_AdvncdPlngSimulationVers, P_AdvncdPlngTimeProfileCalDte, P_AdvncdPlngTimeProfileCalDte) and exposes 19 fields with key fields SimulationSessionUUID, fieldnameendasAdvncdPlngFilterFieldName, AdvncdPlngFilterSelectionID, AdvncdPlngFilterFieldName, AdvncdPlngFilterSelectionID.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| /sapapo/fields_t | filter | from |
| I_AdvncdPlngSimulationVers | SimVers | union_all |
| I_AdvncdPlngSimulationVers | SimVers | union_all |
| P_AdvncdPlngTimeProfileCalDte | TimeProfile | inner |
| P_AdvncdPlngTimeProfileCalDte | TimeProfile | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | calculate saved simulation filters | 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 (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SimulationSessionUUID | /sapapo/fields_t | simsessid | Sim. Session |
| KEY | fieldnameendasAdvncdPlngFilterFieldName | |||
| KEY | AdvncdPlngFilterSelectionID | /sapapo/fields_t | counter | Version |
| AdvncdPlngFilterSelSignValue | /sapapo/fields_t | sign | Type of SIGN component in row type of a Ranges type | |
| AdvncdPlngFilterSelOptionValue | /sapapo/fields_t | optionset | Operator | |
| AdvncdPlngFilterSelLowValue | /sapapo/fields_t | low | ||
| SimulationSessionUUID | Sim. Session | |||
| KEY | AdvncdPlngFilterFieldName | |||
| KEY | AdvncdPlngFilterSelectionID | Version | ||
| AdvncdPlngFilterSelSignValue | Type of SIGN component in row type of a Ranges type | |||
| AdvncdPlngFilterSelOptionValue | Operator | |||
| AdvncdPlngFilterSelLowValue | P_AdvncdPlngTimeProfileCalDte | AdvncdPlngEvalHorizonStartDate | ||
| SimulationSessionUUID | Sim. Session | |||
| KEY | AdvncdPlngFilterFieldName | |||
| KEY | AdvncdPlngFilterSelectionID | Version | ||
| AdvncdPlngFilterSelSignValue | Type of SIGN component in row type of a Ranges type | |||
| AdvncdPlngFilterSelOptionValue | Operator | |||
| AdvncdPlngFilterSelLowValue | P_AdvncdPlngTimeProfileCalDte | AdvncdPlngPlngHorizonStartDate | ||
| AdvncdPlngFilterSelHighValue | P_AdvncdPlngTimeProfileCalDte | AdvncdPlngPlngHorizonEndDate |
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_AdvncdPlngCalcSimlnFltrs.
-- 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_AdvncdPlngCalcSimlnFltrs AS
SELECT
filter.simsessid AS SimulationSessionUUID,
case filter.fieldname when 'RES_NAME' then 'AdvncdPlngResourceName' when 'MATNR' then 'AdvancedPlanningProductName' when 'RES_LOCNO' then 'Location' when 'LOCNO' then 'Location' when 'RES_PLANNER' then 'ResourcePlanner' when 'RES_TYPE' then 'ResourceCategory' when 'FINITE_PLANNING' then 'RsceIsRelevantForFinitePlng' when 'RES_SORT' then 'ResourceSortText' when 'IS_BOTTLENECK' then 'ResourceIsBottleNeck' when 'RRP_SEL_GROUP' then 'ProductPlanningGroup' when 'ORD_NR' then 'AdvncdPlngOrderInternalNumber' when 'OPR_NR' then 'AdvncdPlngOrderOperationNumber' when 'SIMVERS_NAME' then 'SimulationSessionName' when 'SIM_VERSION' then 'PlanningVersionExternal' when 'HORIZONDATETIME' then 'AdvncdPlngDisplayHorizonDteTme' else filter.fieldname end as AdvncdPlngFilterFieldName AS fieldnameendasAdvncdPlngFilterFieldName,
filter.counter AS AdvncdPlngFilterSelectionID,
filter.sign AS AdvncdPlngFilterSelSignValue,
filter.optionset AS AdvncdPlngFilterSelOptionValue,
filter.low AS AdvncdPlngFilterSelLowValue,
'AdvncdPlngDisplayHorizonDte' AS AdvncdPlngFilterFieldName,
TimeProfile.AdvncdPlngPlngHorizonEndDate AS AdvncdPlngFilterSelHighValue
FROM /sapapo/fields_t AS filter
INNER JOIN P_AdvncdPlngTimeProfileCalDte AS TimeProfile ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_AdvncdPlngSimulationVers
;
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