P_DMVCCompanyCodeByPlant

DDL: P_DMVCCOMPANYCODEBYPLANT SQL: PDMVCCCP Type: view COMPOSITE

P_DMVCCompanyCodeByPlant is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Purreqvaluationarea, I_Plant) and exposes 3 fields with key fields Plant, CompanyCode.

Data Sources (2)

SourceAliasJoin Type
I_Purreqvaluationarea _Purreqvaluationarea inner
I_Plant I_Plant from

Annotations (8)

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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Plant I_Plant Plant Valuation Area
KEY CompanyCode I_Purreqvaluationarea CompanyCode Receiver Company Code
PlantName I_Plant PlantName Plant Name

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_DMVCCompanyCodeByPlant.
-- 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: PDMVCCCP

CREATE VIEW P_DMVCCompanyCodeByPlant AS
SELECT
  I_Plant.Plant AS Plant,
  _Purreqvaluationarea.CompanyCode AS CompanyCode,
  I_Plant.PlantName AS PlantName
FROM I_Plant
INNER JOIN I_Purreqvaluationarea AS _Purreqvaluationarea ON /* join condition not captured in parsed metadata */
;