P_RU_TrdClassfctnNmbr

DDL: P_RU_TRDCLASSFCTNNMBR SQL: PRUTRDCLNUM Type: view CONSUMPTION

P_RU_TrdClassfctnNmbr is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_ProductTrdClassfctn, I_TrdClassfctnNmbrSchmUsge) and exposes 5 fields.

Data Sources (2)

SourceAliasJoin Type
I_ProductTrdClassfctn I_ProductTrdClassfctn inner
I_TrdClassfctnNmbrSchmUsge I_TrdClassfctnNmbrSchmUsge from

Annotations (5)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName PRUTRDCLNUM view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (5)

KeyFieldSource TableSource FieldDescription
Product I_ProductTrdClassfctn Product Product Sold
Country I_TrdClassfctnNmbrSchmUsge Country Venue: Ctry/Reg
TrdClassfctnNmbr I_ProductTrdClassfctn TrdClassfctnNmbr Number
ValidityStartDate I_ProductTrdClassfctn ValidityStartDate Validity Start Date
ValidityEndDate I_ProductTrdClassfctn ValidityEndDate ValidTo

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_TrdClassfctnNmbr.
-- 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: PRUTRDCLNUM

CREATE VIEW P_RU_TrdClassfctnNmbr AS
SELECT
  I_ProductTrdClassfctn.Product AS Product,
  I_TrdClassfctnNmbrSchmUsge.Country AS Country,
  I_ProductTrdClassfctn.TrdClassfctnNmbr AS TrdClassfctnNmbr,
  I_ProductTrdClassfctn.ValidityStartDate AS ValidityStartDate,
  I_ProductTrdClassfctn.ValidityEndDate AS ValidityEndDate
FROM I_TrdClassfctnNmbrSchmUsge
INNER JOIN I_ProductTrdClassfctn ON /* join condition not captured in parsed metadata */
;