I_CATaxDetnType

DDL: I_CATAXDETNTYPE Type: view_entity BASIC

Art der Steuerberechnung

Type of Tax Calculation

I_CATaxDetnType (Basic)

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

Contr Accounting Tax Determination Type · Contract Accounting

I_CATaxDetnType is a Basic CDS View (Dimension) that provides data about "Art der Steuerberechnung" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CATaxDetnType. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves the tax calculation type in Convergent Invoicing. The tax calculation type defines how the tax is calculated when invoicing a billing document. The possible values are defined and provided by SAP. Example No Tax Calculation , Internal Tax Calculation 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 Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description CATaxDetnType Tax Calculation Type

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV
CapabilitiesAssociation Target for Defining CDS Entities, Analytical Dimension, Data Source for Data Extraction, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the tax calculation type in Convergent Invoicing.</p> <p>The tax calculation type defines how the tax is calculated when invoicing a billing document. The possible values are defined and provided by SAP. </p> Example <p>No Tax Calculation, Internal Tax Calculation</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
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CATaxDetnTypeText _CATaxDetnTypeText $projection.CATaxDetnType = _CATaxDetnTypeText.CATaxDetnType

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Art der Steuerberechnung view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CATaxDetnType view
ObjectModel.sapObjectNodeType.name ContrAcctgTaxDetnType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CATaxDetnType Type of Tax Calculation
_CATaxDetnTypeText _CATaxDetnTypeText

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_CATaxDetnType.
-- 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_CATaxDetnType AS
SELECT
  cast ( substring( dd07l.domvalue_l, 1, 2 ) as tax_det_type_kk preserving type ) AS CATaxDetnType
FROM dd07l
LEFT OUTER JOIN I_CATaxDetnTypeText AS _CATaxDetnTypeText ON CATaxDetnType = _CATaxDetnTypeText.CATaxDetnType  -- association [1..*]
;