P_RU_SupplierOKTMO2

DDL: P_RU_SUPPLIEROKTMO2 SQL: PRUSUPPLOKTMO2 Type: view BASIC Package: GLO_FIN_IS_RU

OKTMO codes for Suppliers - preparing 2

P_RU_SupplierOKTMO2 is a Basic CDS View that provides data about "OKTMO codes for Suppliers - preparing 2" in SAP S/4HANA. It reads from 1 data source (P_RU_SupplierOKTMO1) and exposes 3 fields with key fields Supplier, RU_TerritoryClassfctnOKTMO12, RU_TerritoryClassfctnOKTMO34. Part of development package GLO_FIN_IS_RU.

Data Sources (1)

SourceAliasJoin Type
P_RU_SupplierOKTMO1 P_RU_SupplierOKTMO1 from

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRUSUPPLOKTMO2 view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
VDM.private true view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Supplier Supplier Supplier
KEY RU_TerritoryClassfctnOKTMO12
KEY RU_TerritoryClassfctnOKTMO34

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_RU_SupplierOKTMO2.
-- 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: PRUSUPPLOKTMO2

CREATE VIEW P_RU_SupplierOKTMO2 AS
SELECT
  Supplier,
  concat (RU_TerritoryClassfctnOKTMO1, RU_TerritoryClassfctnOKTMO2) AS RU_TerritoryClassfctnOKTMO12,
  concat (RU_TerritoryClassfctnOKTMO3, RU_TerritoryClassfctnOKTMO4) AS RU_TerritoryClassfctnOKTMO34
FROM P_RU_SupplierOKTMO1
;