P_ConfigurableProductPlantSmpl
P_ConfigurableProductPlantSmpl is a Consumption CDS View in SAP S/4HANA. It reads from 5 data sources (P_ReleasedConfigurationProfile, P_ReleasedConfigurationProfile, mara, mara, v_marc_md) and exposes 17 fields with key fields Product, Plant, Plant.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| P_ReleasedConfigurationProfile | _ConfigurationProfile | inner |
| P_ReleasedConfigurationProfile | _ConfigurationProfile | inner |
| mara | Product | inner |
| mara | Product | union |
| v_marc_md | ProductPlant | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCONFPRPLSMPL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | v_marc_md | matnr | Vehicle Model |
| KEY | Plant | v_marc_md | werks | Receiving Plant |
| CreatedByUser | mara | ernam | User Name | |
| CreationDate | mara | ersda | Entry Date | |
| laedaendasLastChangeDate | ||||
| aenamendasLastChangedByUser | ||||
| ProductAuthorizationGroup | mara | begru | AuthorizGroup | |
| mtart | mara | mtart | Product Type | |
| matnrasProduct | ||||
| KEY | Plant | Receiving Plant | ||
| CreatedByUser | mara | ernam | User Name | |
| CreationDate | mara | ersda | Entry Date | |
| laedaendasLastChangeDate | ||||
| aenamendasLastChangedByUser | ||||
| ProductAuthorizationGroup | mara | begru | AuthorizGroup | |
| mtart | mara | mtart | Product Type | |
| matkl | mara | matkl | Product Sold Group |
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_ConfigurableProductPlantSmpl.
-- 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: PCONFPRPLSMPL
CREATE VIEW P_ConfigurableProductPlantSmpl AS
SELECT
ProductPlant.matnr AS Product,
ProductPlant.werks AS Plant,
Product.ernam AS CreatedByUser,
Product.ersda AS CreationDate,
case when Product.laeda is null or Product.laeda = '00000000' then Product.ersda else Product.laeda end as LastChangeDate AS laedaendasLastChangeDate,
case when Product.laeda is null or Product.laeda = '00000000' then Product.ernam else Product.aenam end as LastChangedByUser AS aenamendasLastChangedByUser,
Product.begru AS ProductAuthorizationGroup,
Product.mtart AS mtart,
Product.matkl AS matnrasProduct,
Product.matkl AS matkl
FROM v_marc_md AS ProductPlant
INNER JOIN mara AS Product ON /* join condition not captured in parsed metadata */
INNER JOIN P_ReleasedConfigurationProfile AS _ConfigurationProfile ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): mara
;
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