I_AE_CnsmpnTaxCtrlCodeTxt

DDL: I_AE_CNSMPNTAXCTRLCODETXT SQL: IAECTRLCDTXT Type: view BASIC

Consumption Tax Control Code - Text

I_AE_CnsmpnTaxCtrlCodeTxt is a Basic CDS View that provides data about "Consumption Tax Control Code - Text" in SAP S/4HANA. It reads from 1 data source (t604n) and exposes 11 fields with key fields Language, CountryCode, ConsumptionTaxCtrlCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
t604n t604n from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.CountryCode = _Country.Country
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_AE_CnsmpnTaxCtrlCode _ControlCode $projection.CountryCode = _ControlCode.CountryCode and $projection.ConsumptionTaxCtrlCode = _ControlCode.ConsumptionTaxCtrlCode

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IAECTRLCDTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consumption Tax Control Code - Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.dataCategory #TEXT view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey ConsumptionTaxCtrlCode view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Language spras
KEY CountryCode land1
KEY ConsumptionTaxCtrlCode steuc
ConsumptionTaxCtrlCodeText1 text1
ConsumptionTaxCtrlCodeText2 text2
ConsumptionTaxCtrlCodeText3 text3
ConsumptionTaxCtrlCodeText4 text4
ConsumptionTaxCtrlCodeText5 text5
_Language _Language
_Country _Country
_ControlCode _ControlCode
@AbapCatalog.sqlViewName: 'IAECTRLCDTXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Consumption Tax Control Code - Text'
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@ObjectModel: {

  dataCategory: #TEXT,

  usageType: {
    dataClass: #MIXED,
    serviceQuality: #C,
    sizeCategory: #L
    }
 }
 
@ObjectModel.representativeKey: 'ConsumptionTaxCtrlCode'

@ObjectModel.modelingPattern:           #LANGUAGE_DEPENDENT_TEXT

@ObjectModel.supportedCapabilities:  [  #LANGUAGE_DEPENDENT_TEXT,
                                        #CDS_MODELING_DATA_SOURCE,
                                        #CDS_MODELING_ASSOCIATION_TARGET,
                                        #SQL_DATA_SOURCE                  ]

@ClientHandling.algorithm: #SESSION_VARIABLE  
@Metadata.ignorePropagatedAnnotations: true
                                                         
define view I_AE_CnsmpnTaxCtrlCodeTxt
  as select from t604n
  association [0..1] to I_Country              as _Country     on  $projection.CountryCode = _Country.Country
  association [0..1] to I_Language             as _Language    on  $projection.Language = _Language.Language
  association [0..1] to I_AE_CnsmpnTaxCtrlCode as _ControlCode on  $projection.CountryCode            = _ControlCode.CountryCode
                                                               and $projection.ConsumptionTaxCtrlCode = _ControlCode.ConsumptionTaxCtrlCode

{
       @Semantics.language: true
       @ObjectModel.foreignKey.association: '_Language'
  key  spras as Language,

       @ObjectModel.foreignKey.association: '_Country'
  key  land1 as CountryCode,

       @ObjectModel.foreignKey.association: '_ControlCode'
  key  steuc as ConsumptionTaxCtrlCode,

       @Semantics.text: true
       text1 as ConsumptionTaxCtrlCodeText1,

       @Semantics.text: true
       text2 as ConsumptionTaxCtrlCodeText2,

       @Semantics.text: true
       text3 as ConsumptionTaxCtrlCodeText3,

       @Semantics.text: true
       text4 as ConsumptionTaxCtrlCodeText4,

       @Semantics.text: true
       text5 as ConsumptionTaxCtrlCodeText5,

       _Language,

       _Country,

       _ControlCode //Make association public


}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T604N"
],
"ASSOCIATED":
[
"I_AE_CNSMPNTAXCTRLCODE",
"I_COUNTRY",
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/