I_ProductTrdClassfctn

DDL: I_PRODUCTTRDCLASSFCTN SQL: IPRTRDCLS Type: view BASIC

Product Classfication

I_ProductTrdClassfctn is a Basic CDS View that provides data about "Product Classfication" in SAP S/4HANA. It reads from 1 data source (/sapsll/maritc) and exposes 15 fields with key field ProductTradeClassificationUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/sapsll/maritc _a from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Product _Product $projection.Product = _Product.Product
[0..1] I_TrdClassfctnNmbrSchm _TrdClassfctnNmbrSchm $projection.TrdClassfctnNmbrSchm = _TrdClassfctnNmbrSchm.TrdClassfctnNmbrSchm
[0..*] I_TrdClassfctnNmbrSchmText _TrdClassfctnNmbrSchmText $projection.TrdClassfctnNmbrSchm = _TrdClassfctnNmbrSchmText.TrdClassfctnNmbrSchm

Annotations (8)

NameValueLevelField
EndUserText.label Product Classfication view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPRTRDCLS view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.dataClass #MASTER view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ProductTradeClassificationUUID db_key UUID
TrdClassfctnNmbrUUID db_key UUID
Product
TrdClassfctnNmbrSchm stcts Numbering Scheme
ValidityStartDate datab Validity period
ValidityEndDate datbi Validity period
TrdClassfctnNmbr ccngn Number
TrdClassfctnRemark tclrm Remark
CreatedByUser crea_uname User Name
CreationDateTime crea_date_time Time Stamp
LastChangedByUser lchg_uname User Name
LastChangeDateTime lchg_date_time Time Stamp
_Product _Product
_TrdClassfctnNmbrSchm _TrdClassfctnNmbrSchm
_TrdClassfctnNmbrSchmText _TrdClassfctnNmbrSchmText

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 I_ProductTrdClassfctn.
-- 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: IPRTRDCLS

CREATE VIEW I_ProductTrdClassfctn AS
SELECT
  db_key AS ProductTradeClassificationUUID,
  db_key AS TrdClassfctnNmbrUUID,
  cast (_a.matnr as productnumber) AS Product,
  stcts AS TrdClassfctnNmbrSchm,
  datab AS ValidityStartDate,
  datbi AS ValidityEndDate,
  ccngn AS TrdClassfctnNmbr,
  tclrm AS TrdClassfctnRemark,
  crea_uname AS CreatedByUser,
  crea_date_time AS CreationDateTime,
  lchg_uname AS LastChangedByUser,
  lchg_date_time AS LastChangeDateTime
FROM /sapsll/maritc AS _a
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_TrdClassfctnNmbrSchm AS _TrdClassfctnNmbrSchm ON TrdClassfctnNmbrSchm = _TrdClassfctnNmbrSchm.TrdClassfctnNmbrSchm  -- association [0..1]
LEFT OUTER JOIN I_TrdClassfctnNmbrSchmText AS _TrdClassfctnNmbrSchmText ON TrdClassfctnNmbrSchm = _TrdClassfctnNmbrSchmText.TrdClassfctnNmbrSchm  -- association [0..*]
;