P_Plant_Fs
Priavte Factsheet - Plant
P_Plant_Fs is a Basic CDS View that provides data about "Priavte Factsheet - Plant" in SAP S/4HANA. It reads from 6 data sources and exposes 17 fields with key fields AddressID, OriginCountry, Language, SupplierRegion. Part of development package VDM_MD_PRODUCT_OBSOLETE.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_MRPController | MRPController | left_outer |
| I_Plant | Plant | left_outer |
| P_PlantAddrDetails_Fs | PlantAddress | left_outer |
| I_ProductPlant | PlantName | from |
| I_PurchasingGroup | PurchasingGroup | left_outer |
| I_RegionText | RegionText | left_outer |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPLANTFS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AddressID | P_PlantAddrDetails_Fs | AddressID | Ship-to address |
| KEY | OriginCountry | P_PlantAddrDetails_Fs | OriginCountry | Trip Ctry/Reg |
| KEY | Language | P_PlantAddrDetails_Fs | Language | Report Text Language |
| KEY | SupplierRegion | P_PlantAddrDetails_Fs | SupplierRegion | Resident Region |
| MRPControllerName | I_MRPController | MRPControllerName | Controller name | |
| PurchasingGroupName | I_PurchasingGroup | PurchasingGroupName | Purchasing Grp. Name | |
| RegionName | ||||
| PlantName | I_Plant | PlantName | Plant Name | |
| Product | I_ProductPlant | Product | Product Sold | |
| Plant | I_ProductPlant | Plant | Valuation Area | |
| PurchasingGroup | I_ProductPlant | PurchasingGroup | Purchasing Group | |
| MRPResponsible | I_ProductPlant | MRPResponsible | MRP Controller | |
| RegionOfOrigin | I_ProductPlant | RegionOfOrigin | Reg. of Origin | |
| ABCIndicator | I_ProductPlant | ABCIndicator | ABC Indicator | |
| CountryOfOrigin | I_ProductPlant | CountryOfOrigin | Country/Region of Origin | |
| PurchasingGroupPhoneNumber | I_PurchasingGroup | PurchasingGroupPhoneNumber | Tel.No.Purch.Gp | |
| MRPControllerPhoneNumber | I_MRPController | MRPControllerPhoneNumber |
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_Plant_Fs.
-- 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: PPLANTFS
CREATE VIEW P_Plant_Fs AS
SELECT
PlantAddress.AddressID AS AddressID,
PlantAddress.OriginCountry AS OriginCountry,
PlantAddress.Language AS Language,
PlantAddress.SupplierRegion AS SupplierRegion,
MRPController.MRPControllerName AS MRPControllerName,
PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
cast (RegionText.RegionName as xregio preserving type) AS RegionName,
Plant.PlantName AS PlantName,
PlantName.Product AS Product,
PlantName.Plant AS Plant,
PlantName.PurchasingGroup AS PurchasingGroup,
PlantName.MRPResponsible AS MRPResponsible,
PlantName.RegionOfOrigin AS RegionOfOrigin,
PlantName.ABCIndicator AS ABCIndicator,
PlantName.CountryOfOrigin AS CountryOfOrigin,
PurchasingGroup.PurchasingGroupPhoneNumber AS PurchasingGroupPhoneNumber,
MRPController.MRPControllerPhoneNumber AS MRPControllerPhoneNumber
FROM I_ProductPlant AS PlantName
LEFT OUTER JOIN P_PlantAddrDetails_Fs AS PlantAddress ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MRPController AS MRPController ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_PurchasingGroup AS PurchasingGroup ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RegionText AS RegionText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS Plant ON /* join condition not captured in parsed metadata */
;
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