DBC2ABAP_SCHEMAS

DDL: DBC2ABAP_SCHEMAS Type: view_entity

SQL1 Service Bindings

DBC2ABAP_SCHEMAS is a CDS View that provides data about "SQL1 Service Bindings" in SAP S/4HANA. It reads from 5 data sources (tadir, sql1_head, sql1_head_t, sql1_head_t, sql1_head_t) and exposes 3 fields with key field SqlServiceName.

Data Sources (5)

SourceAliasJoin Type
tadir adir inner
sql1_head sql1 from
sql1_head_t text_curr left_outer
sql1_head_t text_en left_outer
sql1_head_t text_orig left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label SQL1 Service Bindings view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SqlServiceName sql1_head sql1_name
SqlServiceNameRaw sql1_head sql1_name_raw
SqlServiceDescription
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'SQL1 Service Bindings'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
define view entity DBC2ABAP_SCHEMAS
  as select from    sql1_head   as sql1
    inner join      tadir       as adir      on  adir.pgmid    = 'R3TR'
                                             and adir.object   = 'SQL1'
                                             and adir.obj_name = sql1.sql1_name
    left outer join sql1_head_t as text_curr on  text_curr.sql1_name = sql1.sql1_name
                                             and text_curr.language  = $session.system_language
                                             and text_curr.state     = 'A'
    left outer join sql1_head_t as text_en   on  text_en.sql1_name = sql1.sql1_name
                                             and text_en.language  = 'E'
                                             and text_en.state     = 'A'
    left outer join sql1_head_t as text_orig on  text_orig.sql1_name = sql1.sql1_name
                                             and text_orig.language  = adir.masterlang
                                             and text_orig.state     = 'A'
{
  key sql1.sql1_name                                                                            as SqlServiceName,
      sql1.sql1_name_raw                                                                        as SqlServiceNameRaw,
      coalesce( coalesce( text_curr.description, text_en.description ), text_orig.description ) as SqlServiceDescription
}
where
      sql1.state     =  'A'
  and sql1.sql1_name <> 'S_PRIVILEGED'