I_ExternalTaxHeader
Ext Tax Header for Statutory Reporting
I_ExternalTaxHeader is a Basic CDS View that provides data about "Ext Tax Header for Statutory Reporting" in SAP S/4HANA. It reads from 1 data source (ext_tax_header) and exposes 30 fields with key field ExternalTaxHeaderUUID. Part of development package GLO_FIN_EXT_TAX_GEN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ext_tax_header | ext_tax_header | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Ext Tax Header for Statutory Reporting | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ExternalTaxHeaderUUID | header_uuid | UUID | |
| CompanyCode | bukrs | Value | ||
| AccountingDocument | belnr | SD Document | ||
| FiscalYear | Settlement Year | |||
| FiscalPeriod | ||||
| ReferenceDocumentType | awtyp | Reference Document Type | ||
| OriginalReferenceDocument | awkey | RefKey GJE | ||
| PostingDate | budat | Posting Date | ||
| DocumentDate | bldat | Journal Entry Date | ||
| TaxReportingDate | vatdate | Valid From | ||
| TaxFulfillmentDate | fulfilldate | Tax Settlement Date | ||
| AccountingDocumentType | blart | Rep. rec. doc. type | ||
| ReverseDocument | stblg | Reversed With | ||
| ReverseDocumentFiscalYear | Year | |||
| IsReversed | xreversed | Reversed | ||
| IsReversal | xreversing | Reversal doc. | ||
| AbsoluteExchangeRate | kursf | Exchange Rate | ||
| DocumentReferenceID | xblnr | Reference | ||
| AlternativeReferenceDocument | xblnr_alt | Alternative Reference Document | ||
| AccountingDocumentHeaderText | bktxt | Header Text | ||
| SenderCompanyCode | bukrs_sender | Sender CoCode | ||
| SenderAccountingDocument | belnr_sender | Sender Doc.No. | ||
| SenderFiscalYear | Sender FiscalYr | |||
| SenderLogicalSystem | logsystem_sender | Sender Log Sys. | ||
| AccountingDocumentCategory | bstat | Document Status | ||
| 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_ExternalTaxHeader.
-- 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_ExternalTaxHeader AS
SELECT
header_uuid AS ExternalTaxHeaderUUID,
bukrs AS CompanyCode,
belnr AS AccountingDocument,
cast( gjahr as fis_gjahr_no_conv ) AS FiscalYear,
cast( concat( '0' , monat ) as abap.numc( 3 ) ) AS FiscalPeriod,
awtyp AS ReferenceDocumentType,
awkey AS OriginalReferenceDocument,
budat AS PostingDate,
bldat AS DocumentDate,
vatdate AS TaxReportingDate,
fulfilldate AS TaxFulfillmentDate,
blart AS AccountingDocumentType,
stblg AS ReverseDocument,
cast( stjah as fis_stjah_no_conv ) AS ReverseDocumentFiscalYear,
xreversed AS IsReversed,
xreversing AS IsReversal,
kursf AS AbsoluteExchangeRate,
xblnr AS DocumentReferenceID,
xblnr_alt AS AlternativeReferenceDocument,
bktxt AS AccountingDocumentHeaderText,
bukrs_sender AS SenderCompanyCode,
belnr_sender AS SenderAccountingDocument,
cast( gjahr_sender as fis_gjahr_sender_no_conv ) AS SenderFiscalYear,
logsystem_sender AS SenderLogicalSystem,
bstat AS AccountingDocumentCategory,
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_header
;
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