R_BDTSTableFieldStructure

DDL: R_BDTSTABLEFIELDSTRUCTURE SQL: RBDTSTAB Type: view BASIC

BDTS Table field structure

R_BDTSTableFieldStructure is a Basic CDS View that provides data about "BDTS Table field structure" in SAP S/4HANA. It reads from 1 data source (dd03l) and exposes 10 fields with key fields DatabaseTable, DatabaseTableFieldName, DatabaseTableFieldPositionVal.

Data Sources (1)

SourceAliasJoin Type
dd03l dd03l from

Annotations (12)

NameValueLevelField
EndUserText.label BDTS Table field structure view
AbapCatalog.sqlViewName RBDTSTAB view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions false view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY DatabaseTable tabname
KEY DatabaseTableFieldName fieldname
KEY DatabaseTableFieldPositionVal position
DatabaseTableFieldIsKeyField keyflag
ABAPDataElement rollname
ABAPDomain domname
DatabaseTableCheckTableName checktable
BDTSTableFieldABAPDataType
ABAPOutputLengthValue leng
ABAPDictionaryDataTypeDecimals decimals
@EndUserText.label: 'BDTS Table field structure'
@AbapCatalog.sqlViewName: 'RBDTSTAB'
@AbapCatalog.compiler.compareFilter: true


@VDM: {
  viewType: #BASIC,
  lifecycle.contract.type: #SAP_INTERNAL_API
}

@ObjectModel: {
   usageType: {
     dataClass:      #MASTER,
     serviceQuality: #A,
     sizeCategory:   #XL
   }
}

@AccessControl.authorizationCheck: #MANDATORY
@Metadata.allowExtensions:false

@ClientHandling: {
     type: #INHERITED,
     algorithm: #SESSION_VARIABLE
}

define view R_BDTSTableFieldStructure
  as select from dd03l
{
  key tabname                                 as DatabaseTable,
  key fieldname                               as DatabaseTableFieldName,
  key position                                as DatabaseTableFieldPositionVal,
      keyflag                                 as DatabaseTableFieldIsKeyField,
      rollname                                as ABAPDataElement,
      domname                                 as ABAPDomain,
      checktable                              as DatabaseTableCheckTableName,
      cast ( datatype as bdts_abap_datatype ) as BDTSTableFieldABAPDataType,
      leng                                    as ABAPOutputLengthValue,
      decimals                                as ABAPDictionaryDataTypeDecimals
}
where
      as4local = 'A'
  and as4vers  = '0000' 
  and ( rollname is not initial
  or datatype is not initial )
//  and fieldname <> '.INCLUDE'

//  and fieldname <> 'APPEND' 

//  and fieldname <> '.INCLU--AP'

  
  
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD03L"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/