I_CustomizingObjectTexts

DDL: I_CUSTOMIZINGOBJECTTEXTS SQL: ICUST_OBJ_TXT Type: view Package: SCTS_REQ_APP

Customizing Object Texts

I_CustomizingObjectTexts is a CDS View that provides data about "Customizing Object Texts" in SAP S/4HANA. It reads from 10 data sources and exposes 10 fields with key fields TransportRequestObjectPgmID, TransportRequestObjectType, TransportRequestObjectName, TransportRequestObjectType, TransportRequestObjectName. It has 1 association to related views. Part of development package SCTS_REQ_APP.

Data Sources (10)

SourceAliasJoin Type
objh CustomizingObjects from
objt CustomizingObjectTexts left_outer
dd02t DictionaryTexts left_outer
objh MaintenanceViews union
dd25t MaintenanceViewTexts left_outer
objh objh union
dd02l Tables union
dd02t TableTexts left_outer
objh Viewclusetrs union
vcldirt ViewclusterTexts left_outer

Associations (1)

CardinalityTargetAliasCondition
[0..1] objh CustomizingObjects Tables.tabname = CustomizingObjects.objectname

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName ICUST_OBJ_TXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Customizing Object Texts view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY TransportRequestObjectPgmID
KEY TransportRequestObjectType
KEY TransportRequestObjectName objectname
KEY TransportRequestObjectType
KEY TransportRequestObjectName objectname
KEY TransportRequestObjectType
KEY TransportRequestObjectName objectname
KEY TransportRequestObjectType
KEY TransportRequestObjectName dd02l tabname
TransportRequestObjectNameDesc dd02t ddtext
@AbapCatalog.sqlViewName: 'ICUST_OBJ_TXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Customizing Object Texts'
define view I_CustomizingObjectTexts
  // For logical transport object and individual transaction object, description is retrieved from table OBJT

  as select from    objh as CustomizingObjects
    left outer join objt as CustomizingObjectTexts on  CustomizingObjects.objectname   = CustomizingObjectTexts.objectname
                                                   and CustomizingObjects.objecttype   = CustomizingObjectTexts.objecttype
                                                   and CustomizingObjectTexts.language = $session.system_language
{
  key    'R3TR'                        as TransportRequestObjectPgmID,
  key    case CustomizingObjects.objecttype
         when 'L' then CustomizingObjects.objectname
         else 'TDAT'
         end                           as TransportRequestObjectType,
  key    case CustomizingObjects.objecttype
         when 'L' then ' '
         else CustomizingObjects.objectname
         end                           as TransportRequestObjectName,
         CustomizingObjectTexts.ddtext as TransportRequestObjectNameDesc
}
where
     CustomizingObjects.objecttype = 'L' // Logical transport object

  or CustomizingObjects.objecttype = 'T' // Individual transaction object


// For table with text table, description is retrieved from table DD02T

union select from objh
  left outer join dd02t as DictionaryTexts on  objh.objectname            = DictionaryTexts.tabname
                                           and DictionaryTexts.ddlanguage = $session.system_language
                                           and DictionaryTexts.as4local   = 'A'
                                           and DictionaryTexts.as4vers    = '0000'
{
  key 'R3TR'                 as TransportRequestObjectPgmID,
  key 'TABU'                 as TransportRequestObjectType,
  key objectname             as TransportRequestObjectName,
      DictionaryTexts.ddtext as TransportRequestObjectNameDesc
}
where
  objecttype = 'S' // Table with text table


// For maintenance view, description is retrieved from table DD25T

union select from objh  as MaintenanceViews
  left outer join dd25t as MaintenanceViewTexts on  MaintenanceViews.objectname     = MaintenanceViewTexts.viewname
                                                and MaintenanceViewTexts.ddlanguage = $session.system_language
                                                and MaintenanceViewTexts.as4local   = 'A'
                                                and MaintenanceViewTexts.as4vers    = '0000'
{
  key 'R3TR'                      as TransportRequestObjectPgmID,
  key 'VDAT'                      as TransportRequestObjectType,
  key objectname                  as TransportRequestObjectName,
      MaintenanceViewTexts.ddtext as TransportRequestObjectNameDesc
}
where
  MaintenanceViews.objecttype = 'V' // Maintenance view


// For viewcluster, description is retrieved from table VCLDIRT

union select from objh    as Viewclusetrs
  left outer join vcldirt as ViewclusterTexts on  Viewclusetrs.objectname = ViewclusterTexts.vclname
                                              and ViewclusterTexts.spras  = $session.system_language
{
  key    'R3TR'                as TransportRequestObjectPgmID,
  key    'CDAT'                as TransportRequestObjectType,
  key    objectname            as TransportRequestObjectName,
         ViewclusterTexts.text as TransportRequestObjectNameDesc
}
where
  Viewclusetrs.objecttype = 'C' // Viewcluster


// For tables i.e. there is no customizing object, description is retrieved from table DD02T

union select from dd02l as Tables /*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
  left outer join dd02t as TableTexts on  Tables.tabname        = TableTexts.tabname
                                      and Tables.as4local       = TableTexts.as4local
                                      and Tables.as4vers        = TableTexts.as4vers
                                      and TableTexts.ddlanguage = $session.system_language
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/ association [0..1] to objh as CustomizingObjects on Tables.tabname = CustomizingObjects.objectname

{
  key    'R3TR'            as TransportRequestObjectPgmID,
  key    'TABU'            as TransportRequestObjectType,
  key    Tables.tabname    as TransportRequestObjectName,
         TableTexts.ddtext as TransportRequestObjectNameDesc

}
where
       Tables.as4local               = 'A'
  and  Tables.as4vers                = '0000'
  and(
       Tables.contflag               = 'C'
    or Tables.contflag               = 'E'
    or Tables.contflag               = 'G'
  )
  and  CustomizingObjects.objectname is null