P_CoCodeCrcyByStore_F4674

DDL: P_COCODECRCYBYSTORE_F4674 SQL: PCCCRCYBYSTF4674 Type: view CONSUMPTION

P_CoCodeCrcyByStore_F4674 is a Consumption CDS View in SAP S/4HANA. It reads from 4 data sources (I_CompanyCode, I_RetailStoreUserAssignment, I_Site, I_ValuationArea) and exposes 2 fields with key field Store.

Data Sources (4)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
I_RetailStoreUserAssignment I_RetailStoreUserAssignment from
I_Site Store inner
I_ValuationArea ValuationArea inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCCCRCYBYSTF4674 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Store I_RetailStoreUserAssignment Store Plant
CompanyCodeCurrency I_CompanyCode Currency Valuation Crcy

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_CoCodeCrcyByStore_F4674.
-- 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: PCCCRCYBYSTF4674

CREATE VIEW P_CoCodeCrcyByStore_F4674 AS
SELECT
  I_RetailStoreUserAssignment.Store AS Store,
  CompanyCode.Currency AS CompanyCodeCurrency
FROM I_RetailStoreUserAssignment
INNER JOIN I_Site AS Store ON /* join condition not captured in parsed metadata */
INNER JOIN I_ValuationArea AS ValuationArea ON /* join condition not captured in parsed metadata */
INNER JOIN I_CompanyCode AS CompanyCode ON /* join condition not captured in parsed metadata */
;