I_SAFTGenLedgerOneTimeSupplier
SAF-T Gen Ledger OneTimeSupplier
I_SAFTGenLedgerOneTimeSupplier is a Composite CDS View that provides data about "SAF-T Gen Ledger OneTimeSupplier" in SAP S/4HANA. It reads from 2 data sources (I_JournalEntryItem, I_JournalEntryItemOneTimeData) and exposes 40 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | a | from |
| I_JournalEntryItemOneTimeData | b | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_OperationalAcctgDocItem | _AccdocItem | a.CompanyCode = _AccdocItem.CompanyCode and a.AccountingDocument = _AccdocItem.AccountingDocument and a.FiscalYear = _AccdocItem.FiscalYear and a.AccountingDocumentItem = _AccdocItem.AccountingDocumentItem and _AccdocItem.VATRegistration <> '' |
| [0..1] | I_SupplierCompany | _RecAccount | a.Supplier = _RecAccount.Supplier and a.CompanyCode = _RecAccount.CompanyCode |
| [0..1] | I_Address_2 | _DfltAddrRprstn | $projection.AddressID = _DfltAddrRprstn.AddressID and _DfltAddrRprstn.AddressPersonID is initial and _DfltAddrRprstn.AddressRepresentationCode is initial |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISAFTGLOTSUP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | SAF-T Gen Ledger OneTimeSupplier | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | I_JournalEntryItem | SourceLedger | Source Ledger |
| KEY | CompanyCode | I_JournalEntryItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | I_JournalEntryItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | I_JournalEntryItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_JournalEntryItem | LedgerGLLineItem | Journal Entry Item |
| KEY | Ledger | I_JournalEntryItem | Ledger | Ledger |
| ChartOfAccounts | I_JournalEntryItem | ChartOfAccounts | Node Class | |
| GLAccount | I_JournalEntryItem | GLAccount | General Ledger | |
| AccountingDocumentCategory | I_JournalEntryItem | AccountingDocumentCategory | Journal Entry Category | |
| AccountingDocumentItem | I_JournalEntryItem | AccountingDocumentItem | Posting View Item | |
| Supplier | I_JournalEntryItem | Supplier | Supplier | |
| PostingDate | I_JournalEntryItem | PostingDate | Posting Date for GR | |
| CompanyCodeCurrency | I_JournalEntryItem | CompanyCodeCurrency | Local Currency | |
| AddressID | I_JournalEntryItemOneTimeData | AddressID | Ship-to address | |
| CompanyName | ||||
| StreetAddressName | _DfltAddrRprstn | StreetName | Text | |
| StreetPrefixName | _DfltAddrRprstn | StreetPrefixName1 | Street 2 | |
| AdditionalStreetPrefixName | _DfltAddrRprstn | StreetPrefixName2 | Street 3 | |
| StreetSuffixName | _DfltAddrRprstn | StreetSuffixName1 | Street 4 | |
| AdditionalStreetSuffixName | _DfltAddrRprstn | StreetSuffixName2 | Street 5 | |
| HouseNumber | _DfltAddrRprstn | HouseNumber | House Number | |
| CityName | I_JournalEntryItemOneTimeData | CityName | Name | |
| PostalCode | I_JournalEntryItemOneTimeData | PostalCode | Postal Code | |
| Country | I_JournalEntryItemOneTimeData | Country | Venue: Ctry/Reg | |
| POBox | I_JournalEntryItemOneTimeData | POBox | PO Box | |
| POBoxPostalCode | I_JournalEntryItemOneTimeData | POBoxPostalCode | PO Box Postal Code | |
| Region | I_JournalEntryItemOneTimeData | Region | Venue Region | |
| EmailAddress | ||||
| SearchURLAddress | ||||
| _CompanyCode | _CompanyCode | |||
| _JournalEntry | _JournalEntry | |||
| _Ledger | _Ledger | |||
| _FiscalYear | _FiscalYear | |||
| ReconciliationAccount | _RecAccount | ReconciliationAccount | Recon. account | |
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _SourceLedger | _SourceLedger | |||
| _Supplier | _Supplier | |||
| _DfltAddrRprstn | _DfltAddrRprstn |
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_SAFTGenLedgerOneTimeSupplier.
-- 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: ISAFTGLOTSUP
CREATE VIEW I_SAFTGenLedgerOneTimeSupplier AS
SELECT
a.SourceLedger AS SourceLedger,
a.CompanyCode AS CompanyCode,
a.FiscalYear AS FiscalYear,
a.AccountingDocument AS AccountingDocument,
a.LedgerGLLineItem AS LedgerGLLineItem,
a.Ledger AS Ledger,
a.ChartOfAccounts AS ChartOfAccounts,
a.GLAccount AS GLAccount,
a.AccountingDocumentCategory AS AccountingDocumentCategory,
a.AccountingDocumentItem AS AccountingDocumentItem,
a.Supplier AS Supplier,
a.PostingDate AS PostingDate,
a.CompanyCodeCurrency AS CompanyCodeCurrency,
b.AddressID AS AddressID,
concat( concat( b.BusinessPartnerName1, ' '), b.BusinessPartnerName2 ) AS CompanyName,
_DfltAddrRprstn.StreetName AS StreetAddressName,
_DfltAddrRprstn.StreetPrefixName1 AS StreetPrefixName,
_DfltAddrRprstn.StreetPrefixName2 AS AdditionalStreetPrefixName,
_DfltAddrRprstn.StreetSuffixName1 AS StreetSuffixName,
_DfltAddrRprstn.StreetSuffixName2 AS AdditionalStreetSuffixName,
_DfltAddrRprstn.HouseNumber AS HouseNumber,
b.CityName AS CityName,
b.PostalCode AS PostalCode,
b.Country AS Country,
b.POBox AS POBox,
b.POBoxPostalCode AS POBoxPostalCode,
b.Region AS Region,
cast('' as abap.char(241)) AS EmailAddress,
cast('' as abap.char(50)) AS SearchURLAddress,
_RecAccount.ReconciliationAccount AS ReconciliationAccount
FROM I_JournalEntryItem AS a
INNER JOIN I_JournalEntryItemOneTimeData AS b ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OperationalAcctgDocItem AS _AccdocItem ON a.CompanyCode = _AccdocItem.CompanyCode AND a.AccountingDocument = _AccdocItem.AccountingDocument AND a.FiscalYear = _AccdocItem.FiscalYear AND a.AccountingDocumentItem = _AccdocItem.AccountingDocumentItem AND _AccdocItem.VATRegistration <> '' -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _RecAccount ON a.Supplier = _RecAccount.Supplier AND a.CompanyCode = _RecAccount.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _DfltAddrRprstn ON AddressID = _DfltAddrRprstn.AddressID AND _DfltAddrRprstn.AddressPersonID is initial AND _DfltAddrRprstn.AddressRepresentationCode is initial -- 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