I_ExternalTaxHeaderDraft
Ext Tax Header - Draft
I_ExternalTaxHeaderDraft is a Basic CDS View that provides data about "Ext Tax Header - Draft" in SAP S/4HANA. It reads from 1 data source (ext_tax_header_d) and exposes 31 fields with key fields ExternalTaxHeaderUUID, CompanyCode, AccountingDocument, FiscalYear, DraftUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ext_tax_header_d | ext_tax_header_d | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Ext Tax Header - Draft | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ExternalTaxHeaderUUID | externaltaxheaderuuid | ||
| KEY | CompanyCode | companycode | Receiver Company Code | |
| KEY | AccountingDocument | accountingdocument | Journal Entry | |
| KEY | FiscalYear | G/L Fiscal Year | ||
| KEY | DraftUUID | draftuuid | UUID | |
| FiscalPeriod | fiscalperiod | Tax period | ||
| ReferenceDocumentType | referencedocumenttype | Reference Document Type | ||
| OriginalReferenceDocument | originalreferencedocument | Reference Key | ||
| PostingDate | postingdate | Posting Date for GR | ||
| DocumentDate | documentdate | Journal Entry Date | ||
| TaxReportingDate | taxreportingdate | Tax Reporting Date | ||
| TaxFulfillmentDate | taxfulfillmentdate | Tax Settlement Date | ||
| AccountingDocumentType | accountingdocumenttype | Journal Entry Type | ||
| ReverseDocument | reversedocument | Reversed With | ||
| ReverseDocumentFiscalYear | Year | |||
| IsReversed | isreversed | Reversed? | ||
| IsReversal | isreversal | Reversal doc. | ||
| AbsoluteExchangeRate | absoluteexchangerate | Absolute Exchange Rate | ||
| DocumentReferenceID | documentreferenceid | Reference | ||
| AlternativeReferenceDocument | alternativereferencedocument | Alternative Reference Document | ||
| AccountingDocumentHeaderText | accountingdocumentheadertext | Doc.Header Text | ||
| SenderCompanyCode | sendercompanycode | Sender Company Code | ||
| SenderAccountingDocument | senderaccountingdocument | Sender Journal Entry | ||
| SenderFiscalYear | Sender FiscalYr | |||
| SenderLogicalSystem | senderlogicalsystem | Sender Logical System | ||
| AccountingDocumentCategory | accountingdocumentcategory | Journal Entry Category | ||
| CreationDateTime | creationdatetime | Timestamp | ||
| CreatedByUser | createdbyuser | User Name | ||
| LoclInstanceLastChangeDateTime | loclinstancelastchangedatetime | Changed On | ||
| LastChangeDateTime | lastchangedatetime | Timestamp | ||
| LastChangedByUser | lastchangedbyuser | 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_ExternalTaxHeaderDraft.
-- 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_ExternalTaxHeaderDraft AS
SELECT
ExternalTaxHeaderUUID,
CompanyCode,
AccountingDocument,
cast( fiscalyear as fis_gjahr_no_conv ) AS FiscalYear,
DraftUUID,
FiscalPeriod,
ReferenceDocumentType,
OriginalReferenceDocument,
PostingDate,
DocumentDate,
TaxReportingDate,
TaxFulfillmentDate,
AccountingDocumentType,
ReverseDocument,
cast( reversedocumentfiscalyear as fis_stjah_no_conv ) AS ReverseDocumentFiscalYear,
IsReversed,
IsReversal,
AbsoluteExchangeRate,
DocumentReferenceID,
AlternativeReferenceDocument,
AccountingDocumentHeaderText,
SenderCompanyCode,
SenderAccountingDocument,
cast( senderfiscalyear as fis_gjahr_sender_no_conv ) AS SenderFiscalYear,
SenderLogicalSystem,
AccountingDocumentCategory,
CreationDateTime,
CreatedByUser,
LoclInstanceLastChangeDateTime,
LastChangeDateTime,
LastChangedByUser
FROM ext_tax_header_d
;
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