I_BlockStatusText
Block Status - Text
I_BlockStatusText is a Basic CDS View that provides data about "Block Status - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields BlockStatus, Language. It has 2 associations to related views. Part of development package VDM_TM_BASIC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BlockStatus | _BlockStatus | $projection.BlockStatus = _BlockStatus.BlockStatus |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Block Status - Text | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | BlockStatus | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | IBLOCKSTATUSTEXT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BlockStatus | |||
| KEY | Language | ddlanguage | ||
| BlockStatusDesc | ddtext | |||
| _BlockStatus | _BlockStatus | |||
| _Language | _Language |
@EndUserText: {label: 'Block Status - Text'}
@Analytics: {dataExtraction: {enabled: true},
internalName: #LOCAL}
@ObjectModel: {representativeKey: 'BlockStatus',
dataCategory: #TEXT,
usageType: {serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING},
modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
supportedCapabilities: [ #LANGUAGE_DEPENDENT_TEXT,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#SEARCHABLE_ENTITY]}
@VDM: {viewType: #BASIC}
@AbapCatalog: {compiler: {compareFilter: true},
sqlViewName: 'IBLOCKSTATUSTEXT',
preserveKey: true,
buffering: {status: #ACTIVE,
type: #FULL}}
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: {ignorePropagatedAnnotations: true}
define view I_BlockStatusText
as select from dd07t
association [0..1] to I_BlockStatus as _BlockStatus on $projection.BlockStatus = _BlockStatus.BlockStatus
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_BlockStatus'
key cast(substring(domvalue_l, 1, 2) as /scmtms/block_status preserving type) as BlockStatus,
@Semantics.language
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
@Semantics.text
ddtext as BlockStatusDesc,
/* Associations */
_BlockStatus,
_Language
}
where
domname = '/SCMTMS/BLOCK_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