I_CnsmpnTaxControlCodeCoCode

DDL: I_CNSMPNTAXCONTROLCODECOCODE SQL: ICNTRLCODECOCODE Type: view BASIC

Interface view for Company Code based ControlCode

I_CnsmpnTaxControlCodeCoCode is a Basic CDS View (Dimension) that provides data about "Interface view for Company Code based ControlCode" in SAP S/4HANA. It reads from 1 data source (I_ConsumptionTaxControlCode) and exposes 4 fields with key fields ConsumptionTaxCtrlCode, CountryCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ConsumptionTaxControlCode CntrlCode_CoCode from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_CompanyCode _ControlCodeCoCode $projection.CountryCode = _ControlCodeCoCode.Country
[0..*] I_CnsmpnTaxControlCodeText _Text $projection.ConsumptionTaxCtrlCode = _Text.ConsumptionTaxCtrlCode and $projection.CountryCode = _Text.CountryCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ICNTRLCODECOCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Interface view for Company Code based ControlCode view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ConsumptionTaxCtrlCode I_ConsumptionTaxControlCode ConsumptionTaxCtrlCode Taxes F.Trade
KEY CountryCode I_ConsumptionTaxControlCode CountryCode Country/Reg.
_ControlCodeCoCode _ControlCodeCoCode
_Text _Text

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_CnsmpnTaxControlCodeCoCode.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICNTRLCODECOCODE

CREATE VIEW I_CnsmpnTaxControlCodeCoCode AS
SELECT
  CntrlCode_CoCode.ConsumptionTaxCtrlCode AS ConsumptionTaxCtrlCode,
  CntrlCode_CoCode.CountryCode AS CountryCode
FROM I_ConsumptionTaxControlCode AS CntrlCode_CoCode
LEFT OUTER JOIN I_CompanyCode AS _ControlCodeCoCode ON CountryCode = _ControlCodeCoCode.Country  -- association [1..*]
LEFT OUTER JOIN I_CnsmpnTaxControlCodeText AS _Text ON ConsumptionTaxCtrlCode = _Text.ConsumptionTaxCtrlCode AND CountryCode = _Text.CountryCode  -- association [0..*]
;