I_SourceOfSupplyProcmtCodeText

DDL: I_SOURCEOFSUPPLYPROCMTCODETEXT SQL: ISPSOSPROCURECTX Type: view BASIC Package: VDM_SCMB_MD_TL

Source of Supply Procurement Code

I_SourceOfSupplyProcmtCodeText is a Basic CDS View that provides data about "Source of Supply Procurement Code" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields SourceOfSupplyProcurement, Language. It has 2 associations to related views. Part of development package VDM_SCMB_MD_TL.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey SourceOfSupplyProcurement view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Source of Supply Procurement Code view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISPSOSPROCURECTX view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SourceOfSupplyProcurement
KEY Language ddlanguage
SourceOfSupplyProcurementName ddtext
_SourceOfSupplyProcmtCode _SourceOfSupplyProcmtCode
_Language _Language
@ClientHandling.algorithm:             #SESSION_VARIABLE
@ObjectModel.dataCategory:             #TEXT
@ObjectModel.representativeKey:        'SourceOfSupplyProcurement'
@ObjectModel.usageType.dataClass:      #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory:   #S
@EndUserText.label:                    'Source of Supply Procurement Code'
@VDM.viewType:                         #BASIC
@AccessControl.authorizationCheck:     #NOT_REQUIRED
@AbapCatalog.sqlViewName:              'ISPSOSPROCURECTX'
@AbapCatalog.compiler.compareFilter:   true
@AbapCatalog.preserveKey:              true

define view I_SourceOfSupplyProcmtCodeText
  as select from dd07t

  association [0..1] to I_SourceOfSupplyProcmtCode as _SourceOfSupplyProcmtCode on $projection.SourceOfSupplyProcurement = _SourceOfSupplyProcmtCode.SourceOfSupplyProcurement
  association [0..1] to I_Language                 as _Language                   on $projection.Language = _Language.Language
{
      @ObjectModel.foreignKey.association: '_SourceOfSupplyProcmtCode'
      @ObjectModel.text.element: ['SourceOfSupplyProcurementName']
  key SUBSTRING(dd07t.domvalue_l, 1, 4) as SourceOfSupplyProcurement,

      @Semantics.language
      @ObjectModel.foreignKey.association: '_Language'
  key ddlanguage                        as Language,

      @Semantics.text: true
      ddtext                            as SourceOfSupplyProcurementName,

      //Associations

      _SourceOfSupplyProcmtCode,
      _Language
}

where
      domname  = '/SAPAPO/TR_BESKZ'
  and as4local = 'A';