I_InventoryStockType

DDL: I_INVENTORYSTOCKTYPE Type: view BASIC

Inventory Stock Type

I_InventoryStockType is a Basic CDS View (Dimension) that provides data about "Inventory Stock Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field InventoryStockType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InventoryStockTypeT _Text $projection.InventoryStockType = _Text.InventoryStockType

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName IINVSTOCKTYPE view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Inventory Stock Type view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey InventoryStockType view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name InventoryStockType view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY InventoryStockType
_Text _Text
@AbapCatalog: {
                sqlViewName: 'IINVSTOCKTYPE',
                preserveKey: true,
                compiler.compareFilter: true
              }
@EndUserText.label: 'Inventory Stock Type'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
                usageType: {
                             sizeCategory: #S,
                             serviceQuality: #A,
                             dataClass:#CUSTOMIZING
                           },
                representativeKey: 'InventoryStockType',
                modelingPattern: #ANALYTICAL_DIMENSION,
                supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE],
                sapObjectNodeType.name: 'InventoryStockType'
              }

@VDM: {
        viewType: #BASIC,
        lifecycle.contract.type: #PUBLIC_LOCAL_API
      }
@Analytics.dataCategory: #DIMENSION
@Metadata: {
             ignorePropagatedAnnotations: true
           }

define view I_InventoryStockType
  as select from dd07l
  association [0..*] to I_InventoryStockTypeT as _Text on $projection.InventoryStockType = _Text.InventoryStockType
{
      @ObjectModel.text.association: '_Text'
  key cast(substring( domvalue_l, 1, 2 ) as nsdm_lbbsa) as InventoryStockType, //casting to have the right label for consumers

      _Text
}
where
      domname  = 'NSDM_LBBSA'
  and as4local = 'A'  

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_INVENTORYSTOCKTYPET"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/