I_CATaxDeterminationCode

DDL: I_CATAXDETERMINATIONCODE Type: view_entity BASIC Package: FKKB

Tax Determination Code

I_CATaxDeterminationCode (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Contract Accounting Tax Determination Code · Contract Accounting

I_CATaxDeterminationCode is a Basic CDS View that provides data about "Tax Determination Code" in SAP S/4HANA. It reads from 1 data source (te011) and exposes 9 fields with key fields Country, CATaxDeterminationCode, CATaxDetnCodeValidFromDate. It has 3 associations to related views. Part of development package FKKB.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves tax determination codes determining, in combination with country and date, which tax code applies. This CDS view provides the data to answer the business question: Which tax determination code values are available in the system? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations The SAP_A4C_BC_DEV_TST_FICA_PC ( Development - API Test - Contract Accounting ) business catalog needs to be assigned to a user to be able to use this CDS view. Configuration Make the relevant system settings n the Define Sales/Purchase Tax Determination configuration activity.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves tax determination codes determining, in combination with country and date, which tax code applies.</p> <p>This CDS view provides the data to answer the business question: Which tax determination code values are available in the system?</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
te011 te011 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_TaxCalculationProcedure _TaxCalculationProcedure $projection.TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure
[0..1] I_TaxCode _TaxCode $projection.TaxCalculationProcedure = _TaxCode.TaxCalculationProcedure and $projection.TaxCode = _TaxCode.TaxCode

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Tax Determination Code view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name ContrAcctgTaxDeterminationCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Country land1 Country/Region Key
KEY CATaxDeterminationCode ermwskz Indicator: Tax Determination Code
KEY CATaxDetnCodeValidFromDate ab Date from which time slice is valid
CATaxDetnCodeValidToDate bis Date at Which a Time Slice Expires
TaxCode mwskz Tax on Sales/Purchases Code
TaxCalculationProcedure _Country TaxCalculationProcedure Procedure (Pricing, Output Control, Acct. Det., Costing,...)
_Country _Country
_TaxCalculationProcedure _TaxCalculationProcedure
_TaxCode _TaxCode

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_CATaxDeterminationCode.
-- 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.

CREATE VIEW I_CATaxDeterminationCode AS
SELECT
  land1 AS Country,
  ermwskz AS CATaxDeterminationCode,
  ab AS CATaxDetnCodeValidFromDate,
  bis AS CATaxDetnCodeValidToDate,
  mwskz AS TaxCode,
  _Country.TaxCalculationProcedure AS TaxCalculationProcedure
FROM te011
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_TaxCalculationProcedure AS _TaxCalculationProcedure ON TaxCalculationProcedure = _TaxCalculationProcedure.TaxCalculationProcedure  -- association [0..1]
LEFT OUTER JOIN I_TaxCode AS _TaxCode ON TaxCalculationProcedure = _TaxCode.TaxCalculationProcedure AND TaxCode = _TaxCode.TaxCode  -- association [0..1]
;