P_PLANTCURRENCY

DDL: P_PLANTCURRENCY SQL: PPLANTCRCY Type: view BASIC

P_PLANTCURRENCY is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (t001, t001k, t001w) and exposes 4 fields with key field Plant.

Data Sources (3)

SourceAliasJoin Type
t001 t001 inner
t001k t001k inner
t001w t001w from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPLANTCRCY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Plant t001w werks Receiving Plant
ValuationArea t001w bwkey Valuation Area
CompanyCode t001 bukrs Value
CompanyCurrency t001 waers Transaction Currency

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_PLANTCURRENCY.
-- 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: PPLANTCRCY

CREATE VIEW P_PLANTCURRENCY AS
SELECT
  t001w.werks AS Plant,
  t001w.bwkey AS ValuationArea,
  t001.bukrs AS CompanyCode,
  t001.waers AS CompanyCurrency
FROM t001w
INNER JOIN t001k ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
;