I_ExternalTaxItem

DDL: I_EXTERNALTAXITEM Type: view_entity BASIC Package: GLO_FIN_EXT_TAX_GEN

Ext Tax Item for Statutory Reporting

I_ExternalTaxItem is a Basic CDS View that provides data about "Ext Tax Item for Statutory Reporting" in SAP S/4HANA. It reads from 1 data source (ext_tax_item) and exposes 64 fields with key fields ExternalTaxHeaderUUID, ExternalTaxItemUUID. Part of development package GLO_FIN_EXT_TAX_GEN.

Data Sources (1)

SourceAliasJoin Type
ext_tax_item ext_tax_item from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
EndUserText.label Ext Tax Item for Statutory Reporting view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view

Fields (64)

KeyFieldSource TableSource FieldDescription
KEY ExternalTaxHeaderUUID header_uuid UUID
KEY ExternalTaxItemUUID taxitem_uuid Tax Item UUID
CompanyCode bukrs Value
AccountingDocument belnr SD Document
FiscalYear Settlement Year
AccountingDocumentItem buzei Posting View Item
TaxationType taxation_type Taxation Type
TaxSection secco Section Code
BusinessPlace bupla Business place
DebitCreditCode shkzg Returns
FinancialAccountType koart Account type
Supplier lifnr Vendor no.
Customer kunnr Stock customer
BusinessPartner partner With Partner
DocumentItemText sgtxt Text
ClearingDate augdt Clearing
ClearingJournalEntry augbl Clrng doc.
ClearingJournalEntryFiscalYear Clrg Fiscal Yr
ClearingItem agzei Clearing Item
Ledger rldnr Ledger (Compat.)
LedgerGroup ldgrp Target Ledger Group
GLAccount hkont Transfer acct
SpecialGLCode umskz Special G/L Ind
SpecialGLTransactionType umsks Transact.Type
Reference3IDByBusinessPartner xref3 Third Reference
InvoiceReference rebzg Invoice Ref.
InvoiceReferenceFiscalYear Fiscal Year
InvoiceItemReference rebzz Item
CompanyCodeCurrency hwaer Local Currency
TransactionCurrency waers Transaction Currency
AdditionalCurrency1 hwae2 Local curr. 2
AdditionalCurrency2 hwae3 Local curr. 3
AmountInCompanyCodeCurrency dmbtr Loc. amount
AmountInTransactionCurrency wrbtr Gross Amount
CashDiscountAmtInCoCodeCrcy sknto Discount Amt
CashDiscountAmount wskto CD Amount
TaxCode mwskz Tax Code
VATRegistration stceg VAT Reg. No.
TaxJurisdiction txjcd Tax Jurisdict.
TaxRate kbetr Tax Rate
TaxRateValidityStartDate txdat_from Tax Rate Valid-From
TaxCountry tax_country Tax Ctry/Rgn
TaxReturnCountry lstml Reporting C/R
LowestLevelTaxJurisdiction txjdp Jurisdict. Code
ConditionType kschl Tax Item Type
TaxItemAcctgDocItemRef taxps Tax doc. item number
TaxItemGroup txgrp Tax off grpg
CountryCurrency reporting_curr Currency
TaxBaseAmountInCoCodeCrcy hwbas LC Base Amt
TaxBaseAmountInTransCrcy fwbas Base Amount
TaxAmountInCoCodeCrcy hwste LC Tax
TaxAmount fwste Tax Amount
TaxAmountInAdditionalCurrency1 h2ste LC 2 Tax
TaxAmountInAdditionalCurrency2 h3ste LC 3 Tax
TaxBaseAmtInAdditionalCrcy1 h2bas LC 2 Base
TaxBaseAmtInAdditionalCrcy2 h3bas LC 3 Base
TransactionTypeDetermination ktosl Transaction
TaxBaseAmountInCountryCrcy lwbas NC Basis
TaxAmountInCountryCrcy lwste Tax Rept. Crcy
CreationDateTime created_at Uploaded On
CreatedByUser created_by Version Created By
LoclInstanceLastChangeDateTime local_last_changed_at Time Stamp
LastChangeDateTime last_changed_at Timestamp
LastChangedByUser changed_by User Name

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_ExternalTaxItem.
-- 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_ExternalTaxItem AS
SELECT
  header_uuid AS ExternalTaxHeaderUUID,
  taxitem_uuid AS ExternalTaxItemUUID,
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  cast( gjahr as fis_gjahr_no_conv ) AS FiscalYear,
  buzei AS AccountingDocumentItem,
  taxation_type AS TaxationType,
  secco AS TaxSection,
  bupla AS BusinessPlace,
  shkzg AS DebitCreditCode,
  koart AS FinancialAccountType,
  lifnr AS Supplier,
  kunnr AS Customer,
  partner AS BusinessPartner,
  sgtxt AS DocumentItemText,
  augdt AS ClearingDate,
  augbl AS ClearingJournalEntry,
  cast(auggj as fis_auggj_no_conv ) AS ClearingJournalEntryFiscalYear,
  agzei AS ClearingItem,
  rldnr AS Ledger,
  ldgrp AS LedgerGroup,
  hkont AS GLAccount,
  umskz AS SpecialGLCode,
  umsks AS SpecialGLTransactionType,
  xref3 AS Reference3IDByBusinessPartner,
  rebzg AS InvoiceReference,
  cast(rebzj as fis_rebzj_no_conv ) AS InvoiceReferenceFiscalYear,
  rebzz AS InvoiceItemReference,
  hwaer AS CompanyCodeCurrency,
  waers AS TransactionCurrency,
  hwae2 AS AdditionalCurrency1,
  hwae3 AS AdditionalCurrency2,
  dmbtr AS AmountInCompanyCodeCurrency,
  wrbtr AS AmountInTransactionCurrency,
  sknto AS CashDiscountAmtInCoCodeCrcy,
  wskto AS CashDiscountAmount,
  mwskz AS TaxCode,
  stceg AS VATRegistration,
  txjcd AS TaxJurisdiction,
  kbetr AS TaxRate,
  txdat_from AS TaxRateValidityStartDate,
  tax_country AS TaxCountry,
  lstml AS TaxReturnCountry,
  txjdp AS LowestLevelTaxJurisdiction,
  kschl AS ConditionType,
  taxps AS TaxItemAcctgDocItemRef,
  txgrp AS TaxItemGroup,
  reporting_curr AS CountryCurrency,
  hwbas AS TaxBaseAmountInCoCodeCrcy,
  fwbas AS TaxBaseAmountInTransCrcy,
  hwste AS TaxAmountInCoCodeCrcy,
  fwste AS TaxAmount,
  h2ste AS TaxAmountInAdditionalCurrency1,
  h3ste AS TaxAmountInAdditionalCurrency2,
  h2bas AS TaxBaseAmtInAdditionalCrcy1,
  h3bas AS TaxBaseAmtInAdditionalCrcy2,
  ktosl AS TransactionTypeDetermination,
  lwbas AS TaxBaseAmountInCountryCrcy,
  lwste AS TaxAmountInCountryCrcy,
  created_at AS CreationDateTime,
  created_by AS CreatedByUser,
  local_last_changed_at AS LoclInstanceLastChangeDateTime,
  last_changed_at AS LastChangeDateTime,
  changed_by AS LastChangedByUser
FROM ext_tax_item
;