I_GLRecordTypeText

DDL: I_GLRECORDTYPETEXT SQL: IFIGLRECORDTYPET Type: view BASIC

General Ledger Record Type - Text

I_GLRecordTypeText is a Basic CDS View that provides data about "General Ledger Record Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, GLRecordType.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Annotations (15)

NameValueLevelField
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label General Ledger Record Type - Text view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AbapCatalog.sqlViewName IFIGLRECORDTYPET view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey GLRecordType view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY GLRecordType
GLRecordTypeName
_Language _Language
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@EndUserText.label: 'General Ledger Record Type - Text'
//@Analytics: { dataExtraction.enabled: true  }

@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@AbapCatalog.sqlViewName: 'IFIGLRECORDTYPET'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'GLRecordType'
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass:  #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ClientHandling.algorithm: #SESSION_VARIABLE
//@AbapCatalog.buffering.status: #ACTIVE          (in moment not possible to activate because of ClientHandling.algorithm: #SESSION_VARIABLE

//@AbapCatalog.buffering.type: #GENERIC

//@AbapCatalog.buffering.numberOfKeyFields: 2

@Metadata.ignorePropagatedAnnotations: true 
//@Search.searchable: true // not possible if field is cast to the correct data element. View is not CONTAINS compatible


@ObjectModel.modelingPattern:        #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, 
                                     #CDS_MODELING_ASSOCIATION_TARGET, 
                                     #SQL_DATA_SOURCE, 
                                     #CDS_MODELING_DATA_SOURCE]

define view I_GLRecordTypeText 
  as select from dd07t
  association[0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
  @Semantics.language
  key cast( ddlanguage as spras ) as Language,
  key cast( substring(domvalue_l, 1, 1) as rrcty ) as GLRecordType,
  @Semantics.text
//  @Search.defaultSearchElement: true

//  @Search.fuzzinessThreshold: 0.8    

  cast( ddtext as fis_glrecordtypename preserving type ) as GLRecordTypeName,
  _Language
  
}
where dd07t.domname = 'RRCTY' and dd07t.as4local = 'A';