I_SAFTInvoiceListHeader
SAF-T Invoice List Header
I_SAFTInvoiceListHeader is a Basic CDS View that provides data about "SAF-T Invoice List Header" in SAP S/4HANA. It reads from 1 data source (I_InvoiceList) and exposes 35 fields with key field BillingDocument. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InvoiceList | a | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SAFTBillingHeaderTaxCheck | _TaxCheck | $projection.BillingDocument = _TaxCheck.BillingDocument |
| [0..1] | I_SAFTBillingPaymentTerms | _Settlement | $projection.BillingDocument = _Settlement.BillingDocument and $projection.CustomerPaymentTerms = _Settlement.PaymentTerms |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISAFTINVLISTH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SAF-T Invoice List Header | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | |||
| BillingDocumentIsCancelled | I_InvoiceList | InvoiceListIsCancelled | ||
| CancelledBillingDocument | I_InvoiceList | CancelledInvoiceList | ||
| AccountingTransferStatus | I_InvoiceList | AccountingTransferStatus | ||
| BillingDocumentDate | I_InvoiceList | InvoiceListBillingDate | Billing Date | |
| CreationDate | I_InvoiceList | CreationDate | Time Stamp | |
| CreationTime | I_InvoiceList | CreationTime | Time of Change | |
| SDDocumentCategory | I_InvoiceList | SDDocumentCategory | Document Cat. | |
| CreatedByUser | I_InvoiceList | CreatedByUser | User Name | |
| ExchangeRateDate | I_InvoiceList | ExchangeRateDate | Translatn Date | |
| TotalNetAmount | I_InvoiceList | TotalNetAmount | Total Net Amount | |
| TotalTaxAmount | I_InvoiceList | TotalTaxAmount | Tax Amount | |
| TransactionCurrency | I_InvoiceList | TransactionCurrency | Transaction Currency | |
| CustomerPaymentTerms | I_InvoiceList | CustomerPaymentTerms | Pyt Terms | |
| CompanyCode | I_InvoiceList | CompanyCode | Receiver Company Code | |
| CompanyCodeCurrency | ||||
| PayerParty | I_InvoiceList | PayerParty | Payer | |
| AccountingDocument | I_InvoiceList | AccountingDocument | Journal Entry | |
| FiscalYear | I_InvoiceList | FiscalYear | G/L Fiscal Year | |
| AccountingExchangeRate | I_InvoiceList | AccountingExchangeRate | Exch.Rate Acct. | |
| VATRegistration | I_InvoiceList | VATRegistration | VAT Registration No. | |
| VATRegistrationCountry | I_InvoiceList | VATRegistrationCountry | CtryRgnSlsTxNo. | |
| _CompanyCode | _CompanyCode | |||
| _Currency | _CompanyCode | _Currency | ||
| _AccountingDocument | _AccountingDocument | |||
| _TaxCheck | _TaxCheck | |||
| _Settlement | _Settlement | |||
| _PayerParty | _PayerParty | |||
| _VATRegistrationCountry | _VATRegistrationCountry | |||
| Currency | _CompanyCode | Currency | Valuation Crcy | |
| _SDDocumentCategory | _SDDocumentCategory | |||
| _AccountingTransferStatus | _AccountingTransferStatus | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _FiscalYear | _FiscalYear |
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_SAFTInvoiceListHeader.
-- 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: ISAFTINVLISTH
CREATE VIEW I_SAFTInvoiceListHeader AS
SELECT
cast (a.InvoiceList as vbeln_vf) AS BillingDocument,
a.InvoiceListIsCancelled AS BillingDocumentIsCancelled,
a.CancelledInvoiceList AS CancelledBillingDocument,
a.AccountingTransferStatus AS AccountingTransferStatus,
a.InvoiceListBillingDate AS BillingDocumentDate,
a.CreationDate AS CreationDate,
a.CreationTime AS CreationTime,
a.SDDocumentCategory AS SDDocumentCategory,
a.CreatedByUser AS CreatedByUser,
a.ExchangeRateDate AS ExchangeRateDate,
a.TotalNetAmount AS TotalNetAmount,
a.TotalTaxAmount AS TotalTaxAmount,
a.TransactionCurrency AS TransactionCurrency,
a.CustomerPaymentTerms AS CustomerPaymentTerms,
a.CompanyCode AS CompanyCode,
a._CompanyCode.Currency AS CompanyCodeCurrency,
a.PayerParty AS PayerParty,
a.AccountingDocument AS AccountingDocument,
a.FiscalYear AS FiscalYear,
a.AccountingExchangeRate AS AccountingExchangeRate,
a.VATRegistration AS VATRegistration,
a.VATRegistrationCountry AS VATRegistrationCountry,
_CompanyCode._Currency AS _Currency,
_CompanyCode.Currency AS Currency
FROM I_InvoiceList AS a
LEFT OUTER JOIN I_SAFTBillingHeaderTaxCheck AS _TaxCheck ON BillingDocument = _TaxCheck.BillingDocument -- association [0..1]
LEFT OUTER JOIN I_SAFTBillingPaymentTerms AS _Settlement ON BillingDocument = _Settlement.BillingDocument AND CustomerPaymentTerms = _Settlement.PaymentTerms -- association [0..1]
;
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