I_ID_StRpTaxItemGrp

DDL: I_ID_STRPTAXITEMGRP SQL: IIDTAXITEMGRP Type: view COMPOSITE

Tax Item groups for ID Statutory Report

I_ID_StRpTaxItemGrp is a Composite CDS View that provides data about "Tax Item groups for ID Statutory Report" in SAP S/4HANA. It reads from 1 data source (P_ID_STRPTAXITEMGROUP) and exposes 14 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TaxBoxStrucValidityStartDate, TaxBoxStructureType.

Data Sources (1)

SourceAliasJoin Type
P_ID_STRPTAXITEMGROUP P_ID_STRPTAXITEMGROUP from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IIDTAXITEMGRP view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Tax Item groups for ID Statutory Report view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TaxBoxStrucValidityStartDate ValidFrom Vers.Valid From
KEY TaxBoxStructureType TaxBoxStructureType
TaxableAmount
DownPaytTaxableAmt
TaxAmount
DownPaymentTaxAmount
LuxuryTaxAmt
LuxuryTaxDownPaytAmt
TaxBaseAmountInCoCodeCrcy
TotalTaxAmount
LuxuryTaxRate

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_ID_StRpTaxItemGrp.
-- 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: IIDTAXITEMGRP

CREATE VIEW I_ID_StRpTaxItemGrp AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  ValidFrom AS TaxBoxStrucValidityStartDate,
  TaxBoxStructureType,
  sum(TaxableAmount) AS TaxableAmount,
  sum(DownPaytTaxableAmt) AS DownPaytTaxableAmt,
  sum(TaxAmount) AS TaxAmount,
  sum(DownPaymentTaxAmount) AS DownPaymentTaxAmount,
  sum(LuxuryTaxAmt) AS LuxuryTaxAmt,
  sum(LuxuryTaxDownPaytAmt) AS LuxuryTaxDownPaytAmt,
  sum(TaxBaseAmountInCoCodeCrcy) AS TaxBaseAmountInCoCodeCrcy,
  sum(TotalTaxAmount) AS TotalTaxAmount,
  sum(LuxuryTaxRate) AS LuxuryTaxRate
FROM P_ID_STRPTAXITEMGROUP
;