R_BDTSTableFieldStructure
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)
| Source | Alias | Join Type |
|---|---|---|
| dd03l | dd03l | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA