I_InventoryUsabilityCode
Usability Code to Derive Stock Type
I_InventoryUsabilityCode is a Basic CDS View (Dimension) that provides data about "Usability Code to Derive Stock Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field InventoryUsabilityCode. It has 1 association to related views. Part of development package MM_IM_VDM_STOCK.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_InventoryUsabilityCodeText | _Text | $projection.InventoryUsabilityCode = _Text.InventoryUsabilityCode |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Usability Code to Derive Stock Type | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | InventoryUsabilityCode | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.sapObjectNodeType.name | InventoryUsabilityCode | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InventoryUsabilityCode | |||
| DomainValue | dd07l | domvalue_l | ||
| _Text | _Text |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Usability Code to Derive Stock Type'
@Metadata.ignorePropagatedAnnotations: true
@Analytics: { dataExtraction.enabled:true,
dataCategory: #DIMENSION,
internalName: #LOCAL }
@ObjectModel: { dataCategory: #VALUE_HELP,
modelingPattern: #ANALYTICAL_DIMENSION,
representativeKey: 'InventoryUsabilityCode',
resultSet.sizeCategory: #XS,
supportedCapabilities: [#ANALYTICAL_DIMENSION,
#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SEARCHABLE_ENTITY,
#SQL_DATA_SOURCE,
#VALUE_HELP_PROVIDER],
usageType: { serviceQuality: #A,
dataClass: #META,
sizeCategory: #S },
sapObjectNodeType.name: 'InventoryUsabilityCode' }
@Search.searchable
@VDM: { lifecycle.contract.type: #PUBLIC_LOCAL_API,
viewType: #BASIC }
define view entity I_InventoryUsabilityCode
as select from dd07l
association [0..*] to I_InventoryUsabilityCodeText as _Text on $projection.InventoryUsabilityCode = _Text.InventoryUsabilityCode
{
@ObjectModel.text.association: '_Text'
key cast ( cast ( substring( domvalue_l, 1, 1 ) as abap.char( 1 ) ) as insmk ) as InventoryUsabilityCode,
@Analytics.hidden: true
@Consumption.hidden: true
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
@Search.fuzzinessThreshold: 0.8
dd07l.domvalue_l as DomainValue,
//Associations
_Text
}
where domname = 'INSMK'
and as4local = 'A' and as4vers = '0000';
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