C_BillingDocumentTypeVH

DDL: C_BILLINGDOCUMENTTYPEVH Type: view CONSUMPTION

Billing Document Type Value Help

C_BillingDocumentTypeVH is a Consumption CDS View that provides data about "Billing Document Type Value Help" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentType) and exposes 2 fields with key field BillingDocumentType.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentType I_BillingDocumentType from

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CBILLDOCTYPEVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey BillingDocumentType view
EndUserText.label Billing Document Type Value Help view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentType BillingDocumentType
_Text _Text
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: { 
  sqlViewName: 'CBILLDOCTYPEVH', 
  compiler.compareFilter: true,
  preserveKey: true 
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION

@Search: {
  searchable: true
}

@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.representativeKey: 'BillingDocumentType'

@EndUserText.label: 'Billing Document Type Value Help'

define view C_BillingDocumentTypeVH as select from I_BillingDocumentType {

   key BillingDocumentType,
   
   _Text  
}
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 = 'ICPF' // Intercompany Pro Forma Invoice

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