I_ExternalTaxHeader

DDL: I_EXTERNALTAXHEADER Type: view_entity BASIC Package: GLO_FIN_EXT_TAX_GEN

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)

SourceAliasJoin Type
ext_tax_header ext_tax_header from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;