I_BillingDocumentType
Billing Document Type
I_BillingDocumentType is a Basic CDS View (Dimension) that provides data about "Billing Document Type" in SAP S/4HANA. It reads from 1 data source (tvfk) and exposes 11 fields with key field BillingDocumentType. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tvfk | tvfk | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BillingDocumentTypeText | _Text | $projection.BillingDocumentType = _Text.BillingDocumentType |
| [0..1] | I_SDDocumentCategory | _SDDocumentCategory | $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory |
| [0..1] | I_BillingDocumentCategory | _BillingDocumentCategory | $projection.BillingDocumentCategory = _BillingDocumentCategory.BillingDocumentCategory |
| [0..1] | I_TextDeterminationProcedure | _BillgProcDocTxtDetnProcedure | $projection.BillgProcDocTxtDetnProcedure = _BillgProcDocTxtDetnProcedure.TextDeterminationProcedure and _BillgProcDocTxtDetnProcedure.TextObjectCategory = 'VBBK' |
| [0..1] | I_TextDeterminationProcedure | _BillgProcDocItmTxtDetnProced | $projection.BillgProcDocItmTxtDetnProced = _BillgProcDocItmTxtDetnProced.TextDeterminationProcedure and _BillgProcDocItmTxtDetnProced.TextObjectCategory = 'VBBP' |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | BillingDocumentType | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| EndUserText.label | Billing Document Type | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISDBILLGDOCTYPE | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentType | fkart | ||
| SDDocumentCategory | vbtyp | |||
| IncrementItemNumber | incpo | |||
| BillingDocumentCategory | fktyp | |||
| BillgProcDocTxtDetnProcedure | ||||
| BillgProcDocItmTxtDetnProced | ||||
| _Text | _Text | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _BillingDocumentCategory | _BillingDocumentCategory | |||
| _BillgProcDocTxtDetnProcedure | _BillgProcDocTxtDetnProcedure | |||
| _BillgProcDocItmTxtDetnProced | _BillgProcDocItmTxtDetnProced |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'BillingDocumentType'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#SEARCHABLE_ENTITY,
#EXTRACTION_DATA_SOURCE ]
@EndUserText.label: 'Billing Document Type'
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#NOT_REQUIRED
@AbapCatalog: {
sqlViewName: 'ISDBILLGDOCTYPE',
buffering: {
status: #ACTIVE,
type: #FULL
},
preserveKey: true
}
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
define view I_BillingDocumentType
as select from tvfk
association [0..*] to I_BillingDocumentTypeText as _Text on $projection.BillingDocumentType = _Text.BillingDocumentType
association [0..1] to I_SDDocumentCategory as _SDDocumentCategory on $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory
association [0..1] to I_BillingDocumentCategory as _BillingDocumentCategory on $projection.BillingDocumentCategory = _BillingDocumentCategory.BillingDocumentCategory
association [0..1] to I_TextDeterminationProcedure as _BillgProcDocTxtDetnProcedure on $projection.BillgProcDocTxtDetnProcedure = _BillgProcDocTxtDetnProcedure.TextDeterminationProcedure
and _BillgProcDocTxtDetnProcedure.TextObjectCategory = 'VBBK'
association [0..1] to I_TextDeterminationProcedure as _BillgProcDocItmTxtDetnProced on $projection.BillgProcDocItmTxtDetnProced = _BillgProcDocItmTxtDetnProced.TextDeterminationProcedure
and _BillgProcDocItmTxtDetnProced.TextObjectCategory = 'VBBP'
{
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 1.0
@ObjectModel.text.association: '_Text'
key fkart as BillingDocumentType,
@ObjectModel.foreignKey.association: '_SDDocumentCategory'
vbtyp as SDDocumentCategory,
incpo as IncrementItemNumber,
@ObjectModel.foreignKey.association: '_BillingDocumentCategory'
fktyp as BillingDocumentCategory,
@ObjectModel.foreignKey.association: '_BillgProcDocTxtDetnProcedure'
cast(txtgr as billg_proc_doc_text_detn_head preserving type) as BillgProcDocTxtDetnProcedure,
@ObjectModel.foreignKey.association: '_BillgProcDocItmTxtDetnProced'
cast(txtgr_p as billg_proc_doc_text_detn_item preserving type) as BillgProcDocItmTxtDetnProced,
_Text,
_SDDocumentCategory,
_BillingDocumentCategory,
_BillgProcDocTxtDetnProcedure,
_BillgProcDocItmTxtDetnProced
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TVFK"
],
"ASSOCIATED":
[
"I_BILLINGDOCUMENTCATEGORY",
"I_BILLINGDOCUMENTTYPETEXT",
"I_SDDOCUMENTCATEGORY",
"I_TEXTDETERMINATIONPROCEDURE"
],
"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