I_NO_SAFTSupplierMasterData
Master data of suppliers for SAFT
I_NO_SAFTSupplierMasterData is a Composite CDS View that provides data about "Master data of suppliers for SAFT" in SAP S/4HANA. It reads from 11 data sources and exposes 58 fields with key fields CompanyCode, Supplier, AccountingDocument, LedgerGLLineItem, Supplier.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| I_Address_2 | Address | inner |
| I_BusinessPartner | BP | inner |
| I_BPCurrentDefaultAddress | BPAddress | inner |
| I_NO_SAFTSuppliersInPeriod | I_NO_SAFTSuppliersInPeriod | inner |
| I_SAFTSupplierBalance | I_SAFTSupplierBalance | from |
| I_GLAccountLineItemRawData | JournalItem | union_all |
| I_JournalEntryItemOneTimeData | OneTimeBP | inner |
| I_Supplier | Supplier | inner |
| I_SupplierCompany | SupplierCompany | inner |
| I_SupplierCompany | SupplierCompany | inner |
| I_SupplierToBusinessPartner | SupToBP | inner |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | budat | |
| P_ToPostingDate | budat | |
| P_Ledger | fins_ledger | |
| P_FiscalYear | gjahr |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | Master data of suppliers for SAFT | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_SupplierCompany | CompanyCode | Receiver Company Code |
| KEY | Supplier | I_SupplierCompany | Supplier | Supplier |
| KEY | AccountingDocument | Journal Entry | ||
| KEY | LedgerGLLineItem | Journal Entry Item | ||
| NO_SAFTSupplierID | ||||
| BusinessPartner | I_BusinessPartner | BusinessPartner | Issuing Authority | |
| BusinessPartnerUUID | I_BusinessPartner | BusinessPartnerUUID | UUID | |
| IsOneTimeAccount | I_Supplier | IsOneTimeAccount | One-time acct | |
| GLAccount | I_SupplierCompany | ReconciliationAccount | General Ledger | |
| TaxNumber1 | I_Supplier | TaxNumber1 | Tax Number 1 | |
| TaxNumber2 | I_Supplier | TaxNumber2 | Tax Number 2 | |
| OrganizationBPName1 | I_Supplier | OrganizationBPName1 | Name 1 | |
| OrganizationBPName2 | I_Supplier | OrganizationBPName2 | Name 2 | |
| VATRegistration | I_Supplier | VATRegistration | Tax Number 1 | |
| SupplierName | ||||
| Country | I_Address_2 | Country | Venue: Ctry/Reg | |
| Region | I_Address_2 | Region | Venue Region | |
| CityName | I_Address_2 | CityName | Name | |
| StreetName | I_Address_2 | StreetName | Street | |
| HouseNumber | I_Address_2 | HouseNumber | House Number | |
| PostalCode | I_Address_2 | PostalCode | Postal Code | |
| POBox | I_Address_2 | POBox | PO Box | |
| POBoxPostalCode | I_Address_2 | POBoxPostalCode | PO Box Postal Code | |
| BankAccount | Bank acct | |||
| BankNumber | Bank Key | |||
| RegionName | RegionText | RegionName | Description | |
| _CompanyCode | I_SupplierCompany | _CompanyCode | ||
| P_FromPostingDate | ||||
| P_ToPostingDate | ||||
| P_Ledger | ||||
| CompanyCode | Receiver Company Code | |||
| KEY | Supplier | I_SupplierCompany | Supplier | Supplier |
| KEY | AccountingDocument | I_GLAccountLineItemRawData | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | I_GLAccountLineItemRawData | LedgerGLLineItem | Journal Entry Item |
| Supplier0NAendasNO_SAFTSupplierID | ||||
| BusinessPartner | I_Supplier | BusinessPartner | Issuing Authority | |
| BusinessPartnerUUID | I_Supplier | BusinessPartnerUUID | UUID | |
| IsOneTimeAccount | I_Supplier | IsOneTimeAccount | One-time acct | |
| GLAccount | I_Supplier | GLAccount | General Ledger | |
| TaxNumber1 | I_JournalEntryItemOneTimeData | TaxID1 | Tax Number 1 | |
| TaxNumber2 | I_JournalEntryItemOneTimeData | TaxID2 | Tax Number 2 | |
| OrganizationBPName1 | Name 1 | |||
| OrganizationBPName2 | Name 2 | |||
| VATRegistration | I_JournalEntryItemOneTimeData | TaxID1 | Tax Number 1 | |
| SupplierName | ||||
| Country | I_JournalEntryItemOneTimeData | Country | Venue: Ctry/Reg | |
| Region | I_JournalEntryItemOneTimeData | Region | Venue Region | |
| CityName | I_JournalEntryItemOneTimeData | CityName | Name | |
| StreetName | I_JournalEntryItemOneTimeData | StreetAddressName | Street | |
| HouseNumber | House Number | |||
| PostalCode | I_JournalEntryItemOneTimeData | PostalCode | Postal Code | |
| POBox | I_JournalEntryItemOneTimeData | POBox | PO Box | |
| POBoxPostalCode | I_JournalEntryItemOneTimeData | POBoxPostalCode | PO Box Postal Code | |
| BankAccount | I_JournalEntryItemOneTimeData | BankAccount | Bank acct | |
| BankNumber | I_JournalEntryItemOneTimeData | BankNumber | Bank Key | |
| RegionName | RegionText | RegionName | Description | |
| _CompanyCode | I_SupplierCompany | _CompanyCode | ||
| _Supplier | I_SupplierCompany | _Supplier |
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_NO_SAFTSupplierMasterData.
-- 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.
-- Parameters: P_FromPostingDate : budat, P_ToPostingDate : budat, P_Ledger : fins_ledger, P_FiscalYear : gjahr
CREATE VIEW I_NO_SAFTSupplierMasterData AS
SELECT
SupplierCompany.CompanyCode AS CompanyCode,
SupplierCompany.Supplier AS Supplier,
cast('' as fis_belnr) AS AccountingDocument,
cast('' as fis_docln) AS LedgerGLLineItem,
cast(ltrim(Supplier.Supplier,'0') as saftn_no_supplier_id) AS NO_SAFTSupplierID,
BP.BusinessPartner AS BusinessPartner,
BP.BusinessPartnerUUID AS BusinessPartnerUUID,
Supplier.IsOneTimeAccount AS IsOneTimeAccount,
SupplierCompany.ReconciliationAccount AS GLAccount,
Supplier.TaxNumber1 AS TaxNumber1,
Supplier.TaxNumber2 AS TaxNumber2,
Supplier.OrganizationBPName1 AS OrganizationBPName1,
Supplier.OrganizationBPName2 AS OrganizationBPName2,
Supplier.VATRegistration AS VATRegistration,
cast('' as suppliername) AS SupplierName,
Address.Country AS Country,
Address.Region AS Region,
Address.CityName AS CityName,
Address.StreetName AS StreetName,
Address.HouseNumber AS HouseNumber,
Address.PostalCode AS PostalCode,
Address.POBox AS POBox,
Address.POBoxPostalCode AS POBoxPostalCode,
cast('' as bankn) AS BankAccount,
cast('' as bankk) AS BankNumber,
RegionText.RegionName AS RegionName,
SupplierCompany._CompanyCode AS _CompanyCode,
SupplierCompany._Supplier AS P_FromPostingDate,
P_ToPostingDate: $parameters.P_ToPostingDate AS P_ToPostingDate,
P_Ledger: $parameters.P_Ledger AS P_Ledger,
case when OneTimeBP.TaxID1 is not initial then concat(concat(ltrim(JournalItem.Supplier,'0'), '/'), OneTimeBP.TaxID1) when OneTimeBP.TaxID2 is not initial then concat(concat(ltrim(JournalItem.Supplier,'0'), '/'), OneTimeBP.TaxID2) else concat(ltrim(JournalItem.Supplier,'0'), '/NA') end as NO_SAFTSupplierID AS Supplier0NAendasNO_SAFTSupplierID,
SupplierCompany._Supplier AS _Supplier
FROM I_SAFTSupplierBalance
INNER JOIN I_Supplier AS Supplier ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupplierCompany AS SupplierCompany ON /* join condition not captured in parsed metadata */
INNER JOIN I_SupplierToBusinessPartner AS SupToBP ON /* join condition not captured in parsed metadata */
INNER JOIN I_BusinessPartner AS BP ON /* join condition not captured in parsed metadata */
INNER JOIN I_BPCurrentDefaultAddress AS BPAddress ON /* join condition not captured in parsed metadata */
INNER JOIN I_Address_2 AS Address ON /* join condition not captured in parsed metadata */
INNER JOIN I_NO_SAFTSuppliersInPeriod ON /* join condition not captured in parsed metadata */
INNER JOIN I_JournalEntryItemOneTimeData AS OneTimeBP ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_GLAccountLineItemRawData
;
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