I_TrdClassfctnNmbr
Number
I_TrdClassfctnNmbr is a Basic CDS View that provides data about "Number" in SAP S/4HANA. It reads from 2 data sources (I_TrdClassfctnNmbrSchmCntnt, /sapsll/clsnr) and exposes 22 fields with key fields TrdClassfctnNmbrSchmCntnt, TrdClassfctnNmbr, ValidityStartDate. It has 12 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_TrdClassfctnNmbrSchmCntnt | _Content | inner |
| /sapsll/clsnr | /sapsll/clsnr | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TrdClassfctnNmbrSchmCntnt | _TrdClassfctnNmbrSchmCntnt | $projection.TrdClassfctnNmbrSchmCntnt = _TrdClassfctnNmbrSchmCntnt.TrdClassfctnNmbrSchmCntnt |
| [0..*] | I_TrdClassfctnNmbrSchmCntntTxt | _TrdClassfctnNmbrSchmCntntTxt | $projection.TrdClassfctnNmbrSchmCntnt = _TrdClassfctnNmbrSchmCntntTxt.TrdClassfctnNmbrSchmCntnt |
| [0..1] | I_CalendarDate | _Date | $projection.ValidityStartDate = _Date.CalendarDate |
| [0..*] | I_TrdClassfctnNmbrText | _Text | $projection.TrdClassfctnNmbrSchmCntnt = _Text.TrdClassfctnNmbrSchmCntnt and $projection.TrdClassfctnNmbr = _Text.TrdClassfctnNmbr and $projection.ValidityStartDate = _Text.ValidityStartDate |
| [0..1] | I_UnitOfMeasure | _SupplementaryUnit | $projection.SupplementaryUnit = _SupplementaryUnit.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _SecondSupplementaryUnit | $projection.SecondSupplementaryUnit = _SecondSupplementaryUnit.UnitOfMeasure |
| [0..1] | I_CustomsUnitOfMeasure | _CustomsUnitOfMeasure | $projection.CustomsUnitOfMeasure = _CustomsUnitOfMeasure.CustomsUnitOfMeasure and $projection.UnitOfMeasureSystem = _CustomsUnitOfMeasure.UnitOfMeasureSystem |
| [0..1] | I_CustomsUnitOfMeasure | _SecondCustomsUnitOfMeasure | $projection.SecondCustomsUnitOfMeasure = _SecondCustomsUnitOfMeasure.CustomsUnitOfMeasure and $projection.UnitOfMeasureSystem = _SecondCustomsUnitOfMeasure.UnitOfMeasureSystem |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..1] | P_TrdClassfctnUoMMappg | _InternalUoM | $projection.CustomsUnitOfMeasure = _InternalUoM.CustomsUnitOfMeasure and $projection.UnitOfMeasureSystem = _InternalUoM.UnitOfMeasureSystem |
| [0..1] | P_TrdClassfctnUoMMappg | _SecondInternalUoM | $projection.SecondCustomsUnitOfMeasure = _SecondInternalUoM.CustomsUnitOfMeasure and $projection.UnitOfMeasureSystem = _SecondInternalUoM.UnitOfMeasureSystem |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Number | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | ITRDCLSN | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | TrdClassfctnNmbr | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrdClassfctnNmbrSchmCntnt | nosct | No. Scheme Content | |
| KEY | TrdClassfctnNmbr | ccngn | Number | |
| KEY | ValidityStartDate | datab | Validity period | |
| ValidityEndDate | datbi | Validity period | ||
| CustomsUnitOfMeasure | cuom1 | 1st Customs Unit | ||
| SecondCustomsUnitOfMeasure | cuom2 | 2nd Customs Unit | ||
| TrdClassfctnNmbrSchmType | I_TrdClassfctnNmbrSchmCntnt | TrdClassfctnNmbrSchmType | No. Scheme Type | |
| TrdClassfctnNmbrSchmCntntSrce | I_TrdClassfctnNmbrSchmCntnt | TrdClassfctnNmbrSchmCntntSrce | Content Source | |
| UnitOfMeasureSystem | I_TrdClassfctnNmbrSchmCntnt | UnitOfMeasureSystem | UoM System | |
| CreatedByUser | ernam | User Name | ||
| CreationDateTime | crtsp | Created At | ||
| LastChangedByUser | aenam | User Name | ||
| _TrdClassfctnNmbrSchmCntnt | _TrdClassfctnNmbrSchmCntnt | |||
| _TrdClassfctnNmbrSchmCntntTxt | _TrdClassfctnNmbrSchmCntntTxt | |||
| _Date | _Date | |||
| _Text | _Text | |||
| _SupplementaryUnit | _SupplementaryUnit | |||
| _SecondSupplementaryUnit | _SecondSupplementaryUnit | |||
| _CustomsUnitOfMeasure | _CustomsUnitOfMeasure | |||
| _SecondCustomsUnitOfMeasure | _SecondCustomsUnitOfMeasure | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
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_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: ITRDCLSN
CREATE VIEW I_TrdClassfctnNmbr AS
SELECT
nosct AS TrdClassfctnNmbrSchmCntnt,
ccngn AS TrdClassfctnNmbr,
datab AS ValidityStartDate,
datbi AS ValidityEndDate,
cuom1 AS CustomsUnitOfMeasure,
cuom2 AS SecondCustomsUnitOfMeasure,
_Content.TrdClassfctnNmbrSchmType AS TrdClassfctnNmbrSchmType,
_Content.TrdClassfctnNmbrSchmCntntSrce AS TrdClassfctnNmbrSchmCntntSrce,
_Content.UnitOfMeasureSystem AS UnitOfMeasureSystem,
ernam AS CreatedByUser,
crtsp AS CreationDateTime,
aenam AS LastChangedByUser
FROM /sapsll/clsnr
INNER JOIN I_TrdClassfctnNmbrSchmCntnt AS _Content ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TrdClassfctnNmbrSchmCntnt AS _TrdClassfctnNmbrSchmCntnt ON TrdClassfctnNmbrSchmCntnt = _TrdClassfctnNmbrSchmCntnt.TrdClassfctnNmbrSchmCntnt -- association [0..1]
LEFT OUTER JOIN I_TrdClassfctnNmbrSchmCntntTxt AS _TrdClassfctnNmbrSchmCntntTxt ON TrdClassfctnNmbrSchmCntnt = _TrdClassfctnNmbrSchmCntntTxt.TrdClassfctnNmbrSchmCntnt -- association [0..*]
LEFT OUTER JOIN I_CalendarDate AS _Date ON ValidityStartDate = _Date.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_TrdClassfctnNmbrText AS _Text ON TrdClassfctnNmbrSchmCntnt = _Text.TrdClassfctnNmbrSchmCntnt AND TrdClassfctnNmbr = _Text.TrdClassfctnNmbr AND ValidityStartDate = _Text.ValidityStartDate -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _SupplementaryUnit ON SupplementaryUnit = _SupplementaryUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _SecondSupplementaryUnit ON SecondSupplementaryUnit = _SecondSupplementaryUnit.UnitOfMeasure -- association [0..1]
LEFT OUTER JOIN I_CustomsUnitOfMeasure AS _CustomsUnitOfMeasure ON CustomsUnitOfMeasure = _CustomsUnitOfMeasure.CustomsUnitOfMeasure AND UnitOfMeasureSystem = _CustomsUnitOfMeasure.UnitOfMeasureSystem -- association [0..1]
LEFT OUTER JOIN I_CustomsUnitOfMeasure AS _SecondCustomsUnitOfMeasure ON SecondCustomsUnitOfMeasure = _SecondCustomsUnitOfMeasure.CustomsUnitOfMeasure AND UnitOfMeasureSystem = _SecondCustomsUnitOfMeasure.UnitOfMeasureSystem -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN P_TrdClassfctnUoMMappg AS _InternalUoM ON CustomsUnitOfMeasure = _InternalUoM.CustomsUnitOfMeasure AND UnitOfMeasureSystem = _InternalUoM.UnitOfMeasureSystem -- association [0..1]
LEFT OUTER JOIN P_TrdClassfctnUoMMappg AS _SecondInternalUoM ON SecondCustomsUnitOfMeasure = _SecondInternalUoM.CustomsUnitOfMeasure AND UnitOfMeasureSystem = _SecondInternalUoM.UnitOfMeasureSystem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA