R_BATCHTEXT
R_BATCHTEXT is a CDS View in S/4HANA. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_BatchDistinctText | view_entity | from | COMPOSITE | Batch information by batch key - Text |
| R_BatchTextTP | view_entity | from | TRANSACTIONAL | Batch Description |
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MASTER
}
@Search.searchable: true
@VDM.viewType: #BASIC
--must stay internal as TextObjectKey and SdmVersion shall never be exposed beyond batch management
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view entity R_BatchText
as select from lobm_batch_descr
association [1..1] to I_BatchDistinct as _Batch
on $projection.Material = _Batch.Material
and $projection.BatchIdentifyingPlant = _Batch.Plant
and $projection.Batch = _Batch.Batch
{
key material as Material,
key batchidentifyingplant as BatchIdentifyingPlant,
key batch as Batch,
@Semantics.language: true
key language as Language,
@Semantics.text: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #HIGH
batchdescription as BatchDescription,
textobjectkey as TextObjectKey,
batchdescsilentdatamigrtnvers as BatchDescSilentDataMigrtnVers,
_Batch
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"LOBM_BATCH_DESCR"
],
"ASSOCIATED":
[
"I_BATCHDISTINCT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/