I_BatchRestrictionStatusText
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)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BatchRestrictionStatus | _BatchRestrictionStatus | $projection.BatchRestrictionStatus = _BatchRestrictionStatus.BatchRestrictionStatus |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
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