P_PlantValuationArea

DDL: P_PLANTVALUATIONAREA SQL: PPLANTVALAREA Type: view COMPOSITE Package: VDM_MM_PUR_PR

Temporary view for valuation area and company code of plant

P_PlantValuationArea is a Composite CDS View that provides data about "Temporary view for valuation area and company code of plant" in SAP S/4HANA. It reads from 1 data source (I_Plant) and exposes 3 fields. It has 1 association to related views. Part of development package VDM_MM_PUR_PR.

Data Sources (1)

SourceAliasJoin Type
I_Plant I_Plant from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ValuationArea _ValuationArea I_Plant.ValuationArea = _ValuationArea.ValuationArea

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PPLANTVALAREA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
Plant I_Plant Plant Valuation Area
ValuationArea I_Plant ValuationArea Valuation Area
CompanyCode _ValuationArea CompanyCode Receiver Company Code

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_PlantValuationArea.
-- 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: PPLANTVALAREA

CREATE VIEW P_PlantValuationArea AS
SELECT
  I_Plant.Plant AS Plant,
  I_Plant.ValuationArea AS ValuationArea,
  _ValuationArea.CompanyCode AS CompanyCode
FROM I_Plant
LEFT OUTER JOIN I_ValuationArea AS _ValuationArea ON I_Plant.ValuationArea = _ValuationArea.ValuationArea  -- association [0..1]
;