I_LU_SAFTAdditionalZeroLine
SAFT LU Additional VAT Zero Line
I_LU_SAFTAdditionalZeroLine is a Composite CDS View that provides data about "SAFT LU Additional VAT Zero Line" in SAP S/4HANA. It reads from 3 data sources (P_LU_SAFTIsAlternateAccount, P_LU_SAFTZeroTaxLine, I_GLAccountInCompanyCode) and exposes 21 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_LU_SAFTIsAlternateAccount | AlternateAccount | inner |
| P_LU_SAFTZeroTaxLine | Journal | from |
| I_GLAccountInCompanyCode | TaxGLAccount | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILUSAFTADDZEROL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SAFT LU Additional VAT Zero Line | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | P_LU_SAFTZeroTaxLine | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | P_LU_SAFTZeroTaxLine | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | P_LU_SAFTZeroTaxLine | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | |||
| PostingDate | P_LU_SAFTZeroTaxLine | PostingDate | Posting Date for GR | |
| AmountInCompanyCodeCurrency | P_LU_SAFTZeroTaxLine | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| JournalEntryType | P_LU_SAFTZeroTaxLine | AccountingDocumentType | Journal Entry Type | |
| Ledger | P_LU_SAFTZeroTaxLine | Ledger | Ledger | |
| TaxCalculationProcedure | P_LU_SAFTZeroTaxLine | TaxCalculationProcedure | Tax Procedure | |
| FinancialAccountType | P_LU_SAFTZeroTaxLine | FinancialAccountType | Fin. Account Type | |
| TransactionCurrency | P_LU_SAFTZeroTaxLine | TransactionCurrency | Transaction Currency | |
| DebitAmountInCoCodeCrcy | ||||
| CreditAmountInCoCodeCrcy | ||||
| char70asSAFTGeneralLedgerAccountID | ||||
| AlternativeGLAccountendasGLAccount | ||||
| AccountingDocumentItemType | P_LU_SAFTZeroTaxLine | AccountingDocumentItemType | Line Item ID | |
| CompanyCodeCurrency | P_LU_SAFTZeroTaxLine | CompanyCodeCurrency | Local Currency | |
| TaxCode | P_LU_SAFTZeroTaxLine | TaxCode | Tax Code | |
| DebitCreditCode | P_LU_SAFTZeroTaxLine | DebitCreditCode | Single-Character Flag | |
| DocumentItemText | P_LU_SAFTZeroTaxLine | DocumentItemText | Text | |
| _CompanyCodeCurrency | P_LU_SAFTZeroTaxLine | _CompanyCodeCurrency |
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_LU_SAFTAdditionalZeroLine.
-- 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: ILUSAFTADDZEROL
CREATE VIEW I_LU_SAFTAdditionalZeroLine AS
SELECT
Journal.CompanyCode AS CompanyCode,
Journal.FiscalYear AS FiscalYear,
Journal.AccountingDocument AS AccountingDocument,
concat( substring(Journal.LedgerGLLineItem, 4,3) , Journal.TaxItem ) AS LedgerGLLineItem,
Journal.PostingDate AS PostingDate,
Journal.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
Journal.AccountingDocumentType AS JournalEntryType,
Journal.Ledger AS Ledger,
Journal.TaxCalculationProcedure AS TaxCalculationProcedure,
Journal.FinancialAccountType AS FinancialAccountType,
Journal.TransactionCurrency AS TransactionCurrency,
cast( 0 as abap.curr(8,2)) AS DebitAmountInCoCodeCrcy,
cast( 0 as abap.curr(8,2)) AS CreditAmountInCoCodeCrcy,
cast(case when AlternateAccount.IsAltAcct is not initial then concat(TaxGLAccount.CompanyCode, concat('_', Journal.ActiveGLAccount)) else concat(TaxGLAccount.CompanyCode, concat('_', TaxGLAccount.GLAccount)) end as abap.char(70)) as SAFTGeneralLedgerAccountID AS char70asSAFTGeneralLedgerAccountID,
case when AlternateAccount.IsAltAcct is initial then Journal.ActiveGLAccount else TaxGLAccount.AlternativeGLAccount end as GLAccount AS AlternativeGLAccountendasGLAccount,
Journal.AccountingDocumentItemType AS AccountingDocumentItemType,
Journal.CompanyCodeCurrency AS CompanyCodeCurrency,
Journal.TaxCode AS TaxCode,
Journal.DebitCreditCode AS DebitCreditCode,
Journal.DocumentItemText AS DocumentItemText,
Journal._CompanyCodeCurrency AS _CompanyCodeCurrency
FROM P_LU_SAFTZeroTaxLine AS Journal
INNER JOIN P_LU_SAFTIsAlternateAccount AS AlternateAccount ON /* join condition not captured in parsed metadata */
INNER JOIN I_GLAccountInCompanyCode AS TaxGLAccount ON /* join condition not captured in parsed metadata */
;
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