P_DataElementText

DDL: P_DATAELEMENTTEXT SQL: PDATAELEMENTTEXT Type: view BASIC

P_DataElementText is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd03l) and exposes 10 fields with key fields DatabaseTable, DatabaseTableFieldName, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd03l dd03l from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DataElementLabelText _I_DataElementLabelText $projection.rollname = _I_DataElementLabelText.ABAPDataElement and _I_DataElementLabelText.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PDATAELEMENTTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DatabaseTable tabname
KEY DatabaseTableFieldName fieldname
KEY Language _I_DataElementLabelText Language
ABAPDataElementDescription _I_DataElementLabelText ABAPDataElementDescription
ABAPDataElementHeading _I_DataElementLabelText ABAPDataElementHeading
ABAPShortFieldLabel _I_DataElementLabelText ABAPShortFieldLabel
ABAPMediumFieldLabel _I_DataElementLabelText ABAPMediumFieldLabel
ABAPLongFieldLabel _I_DataElementLabelText ABAPLongFieldLabel
rollname dd03l rollname
_Language _I_DataElementLabelText _Language
@AbapCatalog.sqlViewName: 'PDATAELEMENTTEXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
    usageType: {
        dataClass: #META,
        serviceQuality: #A,
        sizeCategory: #S
    }
}
@VDM.viewType: #BASIC
@VDM.private: true
define view P_DataElementText
  as select from dd03l
  association [0..1] to I_DataElementLabelText as _I_DataElementLabelText  on $projection.rollname             = _I_DataElementLabelText.ABAPDataElement  
                                                                          and _I_DataElementLabelText.Language = $session.system_language  
{
  key tabname    as DatabaseTable,
  key fieldname  as DatabaseTableFieldName,
 
      @Consumption.valueHelpDefinition: [{ entity: { name: 'I_Language', element: 'Language' } }]
      @ObjectModel.foreignKey.association: '_Language'
      @Semantics.language: true
  key _I_DataElementLabelText.Language as Language,
  
      @Semantics.text: true
      _I_DataElementLabelText.ABAPDataElementDescription,

      @Semantics.text: true
      _I_DataElementLabelText.ABAPDataElementHeading,

      @Semantics.text: true
      _I_DataElementLabelText.ABAPShortFieldLabel,

      @Semantics.text: true
      _I_DataElementLabelText.ABAPMediumFieldLabel,

      @Semantics.text: true
      _I_DataElementLabelText.ABAPLongFieldLabel,
                
     dd03l.rollname,
      
      //Propagate association

      _I_DataElementLabelText._Language
}
where
  as4local = 'A'
  and (
     tabname = 'BKPF'
  or tabname = 'BKDF'
  or tabname = 'BSEC'
  or tabname = 'BSED'
  or tabname = 'BSEG'
  or tabname = 'BSET'
  or tabname = 'EBKPF'
  or tabname = 'EBSEG'
  or tabname = 'VBKPF'
  or tabname = 'VBSEC'
  or tabname = 'VBSET'
  or tabname = 'BSEGR'
  or tabname = 'BSEGM'
  or tabname = 'VBSEG')
  
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DATAELEMENTLABELTEXT",
"DD03L"
],
"ASSOCIATED":
[
"I_DATAELEMENTLABELTEXT",
"I_LANGUAGE"
],
"BASE":
[
"I_DATAELEMENTLABELTEXT"
],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/