I_TaxBaseBalancesGroup
Grouping Numbers of Tax Base Balances
I_TaxBaseBalancesGroup (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Accounting and Financial Close
I_TaxBaseBalancesGroup is a Basic CDS View that provides data about "Grouping Numbers of Tax Base Balances" in SAP S/4HANA. It reads from 1 data source (t007k) and exposes 7 fields with key fields Country, TaxItemGroupingVersion, TaxCode, TransactionTypeDetermination, DebitCreditCode.
SAP Help Documentation
| Category | Finance |
|---|
This CDS view provides access to the grouping or tax box mapping that you have maintained for tax base amounts for your tax lines. You can use this CDS view to identify the combinations of tax codes, transaction keys, tax base group numbers, and other attributes that are used to determine tax base amounts for your tax lines. This CDS view provides the data to answer the following business questions: Which tax codes, transaction keys, and other attributes determine the grouping of tax base balances in reporting? 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 Country Country/Region Key TaxItemGroupingVersion Tax Grouping Version TaxCode Tax Code TransactionTypeDetermination Transaction Key DebitCreditCode Debit/Credit Code TaxBaseAmountGroupNumber Tax Base Grp No.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Accounting and Financial Close |
| Application Component | FI-LOC-VAT-GEN |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities |
| Package | Accounting and Financial Close for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t007k | t007k | from |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITAXBASEBALGRP | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Grouping Numbers of Tax Base Balances | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | Country/Region Key | ||
| KEY | TaxItemGroupingVersion | t007k | version | Grouping Version for Advance Return for Tax on Sales/Purch. |
| KEY | TaxCode | Tax on Sales/Purchases Code | ||
| KEY | TransactionTypeDetermination | Transaction Key | ||
| KEY | DebitCreditCode | Debit/Credit Code | ||
| KEY | TaxBaseAmountGroupNumber | Group Number for Tax Base Amounts | ||
| TaxGroupOperation | Tax Group Operation |
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_TaxBaseBalancesGroup.
-- 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: ITAXBASEBALGRP
CREATE VIEW I_TaxBaseBalancesGroup AS
SELECT
cast(t007k.land1 as land1_gp) AS Country,
t007k.version AS TaxItemGroupingVersion,
cast(t007k.mwskz as fis_mwskz) AS TaxCode,
cast(t007k.ktosl as fac_ktosl) AS TransactionTypeDetermination,
cast(t007k.shkzg_umsv as fis_shkzg) AS DebitCreditCode,
cast(t007k.basgruno as fis_taxbasbalgrp) AS TaxBaseAmountGroupNumber,
cast(t007k.opera as txgrpgopera) AS TaxGroupOperation
FROM t007k
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA