I_BatchRestrictionStatusText

DDL: I_BATCHRESTRICTIONSTATUSTEXT SQL: IBTCHRSTRSTTXT Type: view BASIC

Batch Restriction Status Text

I_BatchRestrictionStatusText is a Basic CDS View that provides data about "Batch Restriction Status Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, BatchRestrictionStatus. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

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

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IBTCHRSTRSTTXT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Batch Restriction Status Text view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey BatchRestrictionStatus view
VDM.private false view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY BatchRestrictionStatus
BatchRestrictionStatusText
_Language _Language
_BatchRestrictionStatus _BatchRestrictionStatus
@AbapCatalog.sqlViewName: 'IBTCHRSTRSTTXT'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Batch Restriction Status Text'

@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass:#CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'BatchRestrictionStatus'

@VDM.private: false
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API

define view I_BatchRestrictionStatusText 
as select from dd07t
association [0..1] to I_BatchRestrictionStatus as _BatchRestrictionStatus on $projection.BatchRestrictionStatus = _BatchRestrictionStatus.BatchRestrictionStatus
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
  // this view is used in the DPC_EXT implementation as the category in only evaluated there 

  @Semantics.language
  key cast( ddlanguage as spras) as Language,
  key cast ( substring( domvalue_l, 1, 1 ) as batch_status preserving type ) as BatchRestrictionStatus,
  @Semantics.text
  cast ( ddtext as batch_status_text preserving type) as BatchRestrictionStatusText, 

  _Language,
  _BatchRestrictionStatus
} where domname = 'BATCH_STATUS' and as4local = 'A'