C_MM_TaxCodeValueHelp

DDL: C_MM_TAXCODEVALUEHELP SQL: CMMTAXCODEVH Type: view CONSUMPTION Package: ODATA_MM_PUR_POMASS_UPDATE

Tax Code Value Help

C_MM_TaxCodeValueHelp is a Consumption CDS View that provides data about "Tax Code Value Help" in SAP S/4HANA. It reads from 1 data source (I_TaxCode) and exposes 3 fields with key fields TaxCode, TaxCalculationProcedure. It has 1 association to related views. Part of development package ODATA_MM_PUR_POMASS_UPDATE.

Data Sources (1)

SourceAliasJoin Type
I_TaxCode I_TaxCode from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TaxCalculationProcedure _TaxCalculationProcedure $projection.TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CMMTAXCODEVH view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey TaxCode view
EndUserText.label Tax Code Value Help view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY TaxCode TaxCode
KEY TaxCalculationProcedure TaxCalculationProcedure
TaxCodeName
@AbapCatalog.sqlViewName: 'CMMTAXCODEVH'
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Search.searchable: true
@AbapCatalog.compiler.compareFilter: true
//@AccessControl.authorizationCheck: #CHECK

@ObjectModel.representativeKey: 'TaxCode'
@EndUserText.label: 'Tax Code Value Help'

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.usageType.dataClass: #CUSTOMIZING
//@OData.publish: true

@ObjectModel.dataCategory: #VALUE_HELP
@Consumption.ranked: true

@ClientHandling.algorithm: #SESSION_VARIABLE

define view C_MM_TaxCodeValueHelp

  as select from I_TaxCode

  association [0..1] to I_TaxCalculationProcedure as _TaxCalculationProcedure on $projection.TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure

{

      @Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.9 }
      @ObjectModel.text.element:  [ 'TaxCodeName' ]
  key TaxCode,

      @Search: { defaultSearchElement: true, ranking: #LOW }
    //  @ObjectModel.foreignKey.association: '_TaxCalculationProcedure'

  key TaxCalculationProcedure,


      @Search: { defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
      _Text[1: Language = $session.system_language].TaxCodeName
      
      // _TaxCalculationProcedure

      
            
      /*Associations*/
     // @Consumption.hidden: true

    //  _TaxCalculationProcedure

}
where TaxCodeIsInactive = ''
    or TaxCodeIsInactive =  ' '