I_NL_SAFTBusinessPartner
SAF-T NL Business Partner
I_NL_SAFTBusinessPartner is a Composite CDS View that provides data about "SAF-T NL Business Partner" in SAP S/4HANA. It reads from 11 data sources and exposes 33 fields with key fields CompanyCode, FiscalYear, Ledger, BusinessPartner, Customer.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocument | AccDoc | inner |
| I_BusinessPartner | BP | inner |
| I_BusinessPartner | BP | inner |
| I_BusinessPartner | BP | inner |
| I_CustomerToBusinessPartner | CustToBP | inner |
| I_CADocument | FHead | inner |
| I_CADocumentBPItem | FItem | inner |
| I_JournalEntryItem | JournalLineItem | from |
| I_JournalEntryItem | JournalLineItem | union |
| I_JournalEntryItem | JournalLineItem | union |
| I_SupplierToBusinessPartner | SupToBP | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | dats | |
| P_EndDate | dats |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISAFTNLBP | 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 | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | SAF-T NL Business Partner | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_JournalEntryItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | I_JournalEntryItem | FiscalYear | G/L Fiscal Year |
| KEY | Ledger | I_JournalEntryItem | Ledger | Ledger |
| KEY | BusinessPartner | I_BusinessPartner | BusinessPartner | Issuing Authority |
| KEY | Customer | I_JournalEntryItem | Customer | Sold-to Party |
| KEY | Supplier | I_JournalEntryItem | Supplier | Supplier |
| BusinessPartnerName | ||||
| BusinessPartnerUUID | I_BusinessPartner | BusinessPartnerUUID | UUID | |
| _CompanyCode | I_JournalEntryItem | _CompanyCode | ||
| _Ledger | I_JournalEntryItem | _Ledger | ||
| CompanyCodeasCompanyCode | ||||
| KEY | FiscalYear | I_JournalEntryItem | FiscalYear | G/L Fiscal Year |
| KEY | Ledger | I_JournalEntryItem | Ledger | Ledger |
| KEY | BusinessPartner | I_BusinessPartner | BusinessPartner | Issuing Authority |
| KEY | Customer | I_JournalEntryItem | Customer | Sold-to Party |
| KEY | Supplier | I_JournalEntryItem | Supplier | Supplier |
| BusinessPartnerName | ||||
| BusinessPartnerUUID | I_BusinessPartner | BusinessPartnerUUID | UUID | |
| _CompanyCode | I_JournalEntryItem | _CompanyCode | ||
| _Ledger | I_JournalEntryItem | _Ledger | ||
| OriginalReferenceDocument | ||||
| 1 | 1 | |||
| CompanyCodeasCompanyCode | ||||
| KEY | FiscalYear | I_JournalEntryItem | FiscalYear | G/L Fiscal Year |
| KEY | Ledger | I_JournalEntryItem | Ledger | Ledger |
| KEY | BusinessPartner | I_CADocumentBPItem | BusinessPartner | Issuing Authority |
| KEY | Customer | Sold-to Party | ||
| KEY | Supplier | Supplier | ||
| BusinessPartnerName | ||||
| BusinessPartnerUUID | I_BusinessPartner | BusinessPartnerUUID | UUID | |
| _CompanyCode | I_JournalEntryItem | _CompanyCode | ||
| _Ledger | I_JournalEntryItem | _Ledger | ||
| _FiscalYear | I_JournalEntryItem | _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_NL_SAFTBusinessPartner.
-- 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: ISAFTNLBP
-- Parameters: P_StartDate : dats, P_EndDate : dats
CREATE VIEW I_NL_SAFTBusinessPartner AS
SELECT
JournalLineItem.CompanyCode AS CompanyCode,
JournalLineItem.FiscalYear AS FiscalYear,
JournalLineItem.Ledger AS Ledger,
BP.BusinessPartner AS BusinessPartner,
JournalLineItem.Customer AS Customer,
JournalLineItem.Supplier AS Supplier,
cast(BP.BusinessPartnerName as abap.char(50)) AS BusinessPartnerName,
BP.BusinessPartnerUUID AS BusinessPartnerUUID,
JournalLineItem._CompanyCode AS _CompanyCode,
JournalLineItem._Ledger AS _Ledger,
JournalLineItem._FiscalYear AS CompanyCodeasCompanyCode,
JournalLineItem._FiscalYear AS OriginalReferenceDocument,
1,
JournalLineItem._FiscalYear AS _FiscalYear
FROM I_JournalEntryItem AS JournalLineItem
INNER JOIN I_CustomerToBusinessPartner AS CustToBP 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_SupplierToBusinessPartner AS SupToBP ON /* join condition not captured in parsed metadata */
INNER JOIN I_AccountingDocument AS AccDoc ON /* join condition not captured in parsed metadata */
INNER JOIN I_CADocument AS FHead ON /* join condition not captured in parsed metadata */
INNER JOIN I_CADocumentBPItem AS FItem ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): I_JournalEntryItem
;
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