C_OutgInvoiceCustCompanyCodeVH

DDL: C_OUTGINVOICECUSTCOMPANYCODEVH Type: view_entity CONSUMPTION Package: ODATA_MANAGE_APAR_GEN_INVOICES

Customer

C_OutgInvoiceCustCompanyCodeVH is a Consumption CDS View that provides data about "Customer" in SAP S/4HANA. It reads from 1 data source (I_CustomerCompany) and exposes 10 fields with key fields Customer, CompanyCode. Part of development package ODATA_MANAGE_APAR_GEN_INVOICES.

Data Sources (1)

SourceAliasJoin Type
I_CustomerCompany I_CustomerCompany from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Customer view
Search.searchable true view
Consumption.ranked true view
EndUserText.label Customer view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer
KEY CompanyCode CompanyCode
Country _Customer Country
CityName _Customer CityName
AddressSearchTerm1 _Customer AddressSearchTerm1
AddressSearchTerm2 _Customer AddressSearchTerm2
CustomerName _Customer CustomerName
_Customer _Customer
AuthorizationGroup AuthorizationGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #CONSUMPTION
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.sizeCategory: #L 
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'Customer'
@Search.searchable: true
@Consumption.ranked: true
@EndUserText.label: 'Customer'
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity C_OutgInvoiceCustCompanyCodeVH as select from I_CustomerCompany
{
  @ObjectModel.text.element: ['CustomerName']
  @Search: {
           defaultSearchElement: true,
           ranking: #HIGH,
           fuzzinessThreshold: 0.8
          }
  key Customer,
  
  @Search: {
           defaultSearchElement: true,
           ranking: #MEDIUM,
           fuzzinessThreshold: 0.8
          }
  key CompanyCode,
  
  _Customer.Country,
  
  _Customer.CityName,
  
  _Customer.AddressSearchTerm1,
   
  @UI.hidden: true
  _Customer.AddressSearchTerm2, 
  
  @Semantics.text:true
  _Customer.CustomerName,
  
  _Customer,
  
  @UI.hidden: true
  AuthorizationGroup,
  
  @UI.hidden: true
  @Semantics.booleanIndicator
  IsBusinessPurposeCompleted
}