I_RO_SAFTCommodityCode
RO SAFT Commodity Code
I_RO_SAFTCommodityCode is a Basic CDS View that provides data about "RO SAFT Commodity Code" in SAP S/4HANA. It reads from 2 data sources (/sapsll/maritc, /sapsll/tunos) and exposes 5 fields with key field ProductID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /sapsll/maritc | _CommodityCode | from |
| /sapsll/tunos | _NumberScheme | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IROSAFTCOMCODE | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | RO SAFT Commodity Code | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductID | /sapsll/maritc | matnr | |
| TrdClassfctnNmbrSchm | /sapsll/maritc | stcts | ||
| CommodityCodeText | /sapsll/maritc | ccngn | ||
| RO_SAFTComCodeValidFromDate | /sapsll/maritc | datab | ||
| RO_SAFTComCodeValidToDate | /sapsll/maritc | datbi |
// active core entity
@AbapCatalog: {
sqlViewName: 'IROSAFTCOMCODE',
preserveKey: true
}
@VDM.viewType: #BASIC
@AccessControl: {
authorizationCheck: #CHECK
}
@AbapCatalog.compiler.compareFilter:true
@EndUserText.label: 'RO SAFT Commodity Code'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory : #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_RO_SAFTCommodityCode as select from /sapsll/maritc as _CommodityCode
inner join /sapsll/tunos as _NumberScheme on _NumberScheme.stcts = _CommodityCode.stcts {
key _CommodityCode.matnr as ProductID,
_CommodityCode.stcts as TrdClassfctnNmbrSchm,
_CommodityCode.ccngn as CommodityCodeText,
_CommodityCode.datab as RO_SAFTComCodeValidFromDate,
_CommodityCode.datbi as RO_SAFTComCodeValidToDate
} where _NumberScheme.ctsty = '01' and _NumberScheme.land1 = 'RO'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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