I_BatchUsageTypeText
Batch Usage Type Text
I_BatchUsageTypeText is a Basic CDS View that provides data about "Batch Usage Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, BatchUsageType. 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_BatchUsageType | _BatchUsageType | $projection.BatchUsageType = _BatchUsageType.BatchUsageType |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IBTCHUSAGETYPET | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Batch Usage Type 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 | BatchUsageType | 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 | BatchUsageType | |||
| BatchUsageTypeText | ||||
| _Language | _Language | |||
| _BatchUsageType | _BatchUsageType |
@AbapCatalog.sqlViewName: 'IBTCHUSAGETYPET'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Batch Usage Type Text'
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass:#CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'BatchUsageType'
@VDM.private: false
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
define view I_BatchUsageTypeText
as select from dd07t
association [0..1] to I_BatchUsageType as _BatchUsageType on $projection.BatchUsageType = _BatchUsageType.BatchUsageType
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 s4bop_batch_usage_type preserving type) as BatchUsageType,
@Semantics.text
cast ( substring ( ddtext, 1, 40 ) as s4bop_batch_usage_type_text preserving type) as BatchUsageTypeText, // DD07T has up to char 60, but this is not required here
_Language,
_BatchUsageType
} where domname = 'S4BOP_BATCH_USAGE' and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_BATCHUSAGETYPE",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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