PPH_PICSupersessionGroup
Supersession Materials with NetChange
PPH_PICSupersessionGroup is a CDS View that provides data about "Supersession Materials with NetChange" in SAP S/4HANA. It reads from 2 data sources (Pph_MatlocForPlanFileEntry, picps) and exposes 11 fields with key fields Matnr, Werks, Berid. It has 2 associations to related views. Part of development package PPH_AMDP_READ.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| Pph_MatlocForPlanFileEntry | dbvm | from |
| picps | picps | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | PPH_PICSupersessionGroup | _LeadingMaterial | _LeadingMaterial.pickey = $projection.pickey and _LeadingMaterial.Werks = $projection.Werks and _LeadingMaterial.Berid = $projection.Berid and _LeadingMaterial.seqnr = '0001' |
| [1..*] | Pph_MatlocForPlanFileEntry | _SusGroup | _SusGroup.picnum = $projection.picnum and _SusGroup.werks = $projection.Werks and _SusGroup.berid = $projection.Berid |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Supersession Materials with NetChange | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Matnr | Pph_MatlocForPlanFileEntry | matnr | Vehicle Model |
| KEY | Werks | Pph_MatlocForPlanFileEntry | werks | Receiving Plant |
| KEY | Berid | Pph_MatlocForPlanFileEntry | berid | Single-Character Flag |
| pickey | Pph_MatlocForPlanFileEntry | pickey | PIC key | |
| picnum | ||||
| gsaen | ||||
| picpos | picps | picpos | Item no. | |
| seqnr | picps | seqnr | Tank ID | |
| counter | picps | counter | Version | |
| _LeadingMaterial | _LeadingMaterial | |||
| _SusGroup | _SusGroup |
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 PPH_PICSupersessionGroup.
-- 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 PPH_PICSupersessionGroup AS
SELECT
dbvm.matnr AS Matnr,
dbvm.werks AS Werks,
dbvm.berid AS Berid,
dbvm.pickey AS pickey,
picps.picpos AS picpos,
picps.seqnr AS seqnr,
picps.counter AS counter
FROM Pph_MatlocForPlanFileEntry AS dbvm
INNER JOIN picps ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN PPH_PICSupersessionGroup AS _LeadingMaterial ON _LeadingMaterial.pickey = pickey AND _LeadingMaterial.Werks = Werks AND _LeadingMaterial.Berid = Berid AND _LeadingMaterial.seqnr = '0001' -- association [1..1]
LEFT OUTER JOIN Pph_MatlocForPlanFileEntry AS _SusGroup ON _SusGroup.picnum = picnum AND _SusGroup.werks = Werks AND _SusGroup.berid = Berid -- association [1..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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