I_BILLINGDOCUMENTTYPE

CDS View

Billing Document Type

I_BILLINGDOCUMENTTYPE is a CDS View in S/4HANA. Billing Document Type. It contains 3 fields. 12 CDS views read from this table.

CDS Views using this table (12)

ViewTypeJoinVDMDescription
C_BillgDocListBillgDocTypeVH view from CONSUMPTION Billing Document Type Value Help for Invoice Lists
C_BillingDocumentTypeVH view from CONSUMPTION Billing Document Type Value Help
C_PrelimBillingDocumentTypeVH view from CONSUMPTION Preliminary Billing Document Type
FAC_BillingDocumentTypeVH view from Data Source for Billing Type
I_CnsldtnMasterData view union_all COMPOSITE Consolidation - Combined Master Data
I_DigitalVehBillingDocType view_entity from BASIC Digital Vehicle Billing Document Type
P_AR_LengthOfRefDoc view inner COMPOSITE
P_CnsldtnBillingDocumentType view from COMPOSITE
P_CnsldtnBillingType view from BASIC
P_SDDocumentType view from BASIC
R_PrelimBillgDocItemTextTP view_entity inner TRANSACTIONAL Prelim Billing Document Item - Text TP
R_PrelimBillgDocTextTP view_entity inner TRANSACTIONAL Preliminary Billing Document - Text TP

Fields (3)

KeyField CDS FieldsUsed in Views
KEY BillingDocumentType BillingDocumentType 1
BillgProcDocItmTxtDetnProced TextDeterminationProcedure 1
BillgProcDocTxtDetnProcedure TextDeterminationProcedure 1
@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":""
}
}*/