I_ATPSourceOfSupplyTypeText

DDL: I_ATPSOURCEOFSUPPLYTYPETEXT Type: view_entity BASIC Package: ATP_TPOP_SOURCES_OF_SUPPLY

Source of Supply Type - Text

I_ATPSourceOfSupplyTypeText is a Basic CDS View that provides data about "Source of Supply Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, ATPSourceOfSupplyType. It has 1 association to related views. Part of development package ATP_TPOP_SOURCES_OF_SUPPLY.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Source of Supply Type - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey ATPSourceOfSupplyType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY ATPSourceOfSupplyType
ATPSourceOfSupplyTypeDesc
DomainValue domvalue_l
_SourceOfSupplyType _SourceOfSupplyType
_Language _Language
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Source of Supply Type - Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel.representativeKey: 'ATPSourceOfSupplyType'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [ #LANGUAGE_DEPENDENT_TEXT,
                                      #CDS_MODELING_DATA_SOURCE,
                                      #CDS_MODELING_ASSOCIATION_TARGET,
                                      #SQL_DATA_SOURCE,
                                      #SEARCHABLE_ENTITY ]
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true

define view entity I_ATPSourceOfSupplyTypeText
  as select from dd07t

  association        to parent I_ATPSourceOfSupplyType as _SourceOfSupplyType on $projection.ATPSourceOfSupplyType = _SourceOfSupplyType.ATPSourceOfSupplyType
  association [0..1] to I_Language                     as _Language           on $projection.Language = _Language.Language

{
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language
  key cast( ddlanguage as spras preserving type )                                as Language,
      @ObjectModel.foreignKey.association: '_SourceOfSupplyType'
      @ObjectModel.text.element: ['ATPSourceOfSupplyTypeDesc']
  key cast ( substring( domvalue_l, 1, 1 ) as src_supply_type preserving type ) as ATPSourceOfSupplyType,
      @Search.defaultSearchElement: true
      @Search.ranking: #LOW
      @Search.fuzzinessThreshold: 0.8
      @Semantics.text
      cast( ddtext as atpsourceofsupplytypedesc preserving type )                as ATPSourceOfSupplyTypeDesc,
      @Analytics.hidden: true
      @Consumption.hidden: true
      domvalue_l                                                                 as DomainValue,
      _SourceOfSupplyType,
      _Language
}
where
      domname  = 'SRC_SUPPLY_TYPE'
  and as4local = 'A'
  and as4vers  = '0000'