I_BillingDocumentType_2
Billing Document Type
I_BillingDocumentType_2 is a Basic CDS View (Dimension) that provides data about "Billing Document Type" in SAP S/4HANA. It reads from 1 data source (I_BillingProcessDocumentType) and exposes 11 fields with key field BillingDocumentType. Part of development package VDM_SD_BIL_BD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingProcessDocumentType | I_BillingProcessDocumentType | from |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.entityBuffer.definitionAllowed | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| Consumption.ranked | true | view | |
| EndUserText.label | Billing Document Type | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | BillingDocumentType | view | |
| ObjectModel.sapObjectNodeType.name | BillingDocumentType | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentType | |||
| SDDocumentCategory | SDDocumentCategory | |||
| IncrementItemNumber | IncrementItemNumber | |||
| BillingDocumentCategory | BillingDocumentCategory | |||
| BillgDocTextDetnProcedure | ||||
| BillgDocItemTextDetnProcedure | ||||
| _Text | _Text | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _BillingDocumentCategory | _BillingDocumentCategory | |||
| _BillgDocTextDetnProcedure | _BillgProcDocTxtDetnProcedure | |||
| _BillgDocItemTextDetnProcedure | _BillgProcDocItmTxtDetnProced |
@AbapCatalog.entityBuffer.definitionAllowed: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.internalName: #LOCAL
@Consumption.ranked: true
@EndUserText.label: 'Billing Document Type'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.representativeKey: 'BillingDocumentType'
@ObjectModel.sapObjectNodeType.name: 'BillingDocumentType'
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#SEARCHABLE_ENTITY,
#EXTRACTION_DATA_SOURCE ]
@ObjectModel.usageType: { dataClass: #CUSTOMIZING, serviceQuality: #A, sizeCategory: #S }
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
define root view entity I_BillingDocumentType_2
as select from I_BillingProcessDocumentType
composition of exact one to many I_BillingDocumentTypeText_2 as _Text
{
@ObjectModel.text.association: '_Text'
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
key cast(BillingProcessDocumentType as billingdocumenttype preserving type) as BillingDocumentType,
@ObjectModel.foreignKey.association: '_SDDocumentCategory'
SDDocumentCategory,
IncrementItemNumber,
@ObjectModel.foreignKey.association: '_BillingDocumentCategory'
BillingDocumentCategory,
@ObjectModel.foreignKey.association: '_BillgDocTextDetnProcedure'
cast(BillgProcDocTxtDetnProcedure as billgdoctextdetnprocedure preserving type) as BillgDocTextDetnProcedure,
@ObjectModel.foreignKey.association: '_BillgDocItemTextDetnProcedure'
cast(BillgProcDocItmTxtDetnProced as billgdocitemtextdetnprocedure preserving type) as BillgDocItemTextDetnProcedure,
_Text,
_SDDocumentCategory,
_BillingDocumentCategory,
_BillgProcDocTxtDetnProcedure as _BillgDocTextDetnProcedure,
_BillgProcDocItmTxtDetnProced as _BillgDocItemTextDetnProcedure
}
where SDDocumentCategory = 'M' // Invoice
or SDDocumentCategory = 'N' // Invoice Canceled
or SDDocumentCategory = 'O' // Credit Memo
or SDDocumentCategory = 'P' // Debit Memo
or SDDocumentCategory = 'S' // Credit Memo Canceled
or SDDocumentCategory = 'U' // Pro Forma Invoice
or SDDocumentCategory = '5' // Intercompany Invoice
or SDDocumentCategory = '6' // Intercompany Credit Memo
or SDDocumentCategory = 'DPRQ' // Down Payment Request
or SDDocumentCategory = 'DPCC' // Down Payment Cancellation
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