I_SupplierPartnerFunc_2
Interface for Supplier PF
I_SupplierPartnerFunc_2 is a Basic CDS View that provides data about "Interface for Supplier PF" in SAP S/4HANA. It reads from 2 data sources (tpar, wyt3) and exposes 15 fields with key fields Supplier, PurchasingOrganization, SupplierSubrange, Plant, PartnerFunction. It has 1 association to related views.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupplierPurchasingOrg | _SupplierPurchasing | $projection.Supplier = _SupplierPurchasing.Supplier and $projection.PurchasingOrganization = _SupplierPurchasing.PurchasingOrganization |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISUPLPARTFUNC2 | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Interface for Supplier PF | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Supplier | wyt3 | lifnr | Vendor no. |
| KEY | PurchasingOrganization | wyt3 | ekorg | Purchasing Org. |
| KEY | SupplierSubrange | wyt3 | ltsnr | Suppl. Subrange |
| KEY | Plant | wyt3 | werks | Receiving Plant |
| KEY | PartnerFunction | |||
| KEY | PartnerCounter | wyt3 | parza | Partner counter |
| DefaultPartner | wyt3 | defpa | Default Partner | |
| CreationDate | wyt3 | erdat | Entered On | |
| CreatedByUser | wyt3 | ernam | User Name | |
| PartnerFunctionType | tpar | nrart | Partner Type | |
| pernrelseendasReferenceSupplier | ||||
| ContactPerson | wyt3 | parnr | Responsible | |
| PersonnelNumber | wyt3 | pernr | Personnel no. | |
| AuthorizationGroup | _SupplierPurchasing | AuthorizationGroup | AuthorizGroup | |
| _SupplierPurchasing | _SupplierPurchasing |
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_SupplierPartnerFunc_2.
-- 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: ISUPLPARTFUNC2
CREATE VIEW I_SupplierPartnerFunc_2 AS
SELECT
wyt3.lifnr AS Supplier,
wyt3.ekorg AS PurchasingOrganization,
wyt3.ltsnr AS SupplierSubrange,
wyt3.werks AS Plant,
cast( wyt3.parvw as parvw_unv) AS PartnerFunction,
wyt3.parza AS PartnerCounter,
wyt3.defpa AS DefaultPartner,
wyt3.erdat AS CreationDate,
wyt3.ernam AS CreatedByUser,
tpar.nrart AS PartnerFunctionType,
case when tpar.nrart = 'LI' then wyt3.lifn2 when tpar.nrart = 'AP' then wyt3.parnr when tpar.nrart = 'PE' then wyt3.pernr else '' end as ReferenceSupplier AS pernrelseendasReferenceSupplier,
wyt3.parnr AS ContactPerson,
wyt3.pernr AS PersonnelNumber,
_SupplierPurchasing.AuthorizationGroup AS AuthorizationGroup
FROM wyt3
INNER JOIN tpar ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasing ON Supplier = _SupplierPurchasing.Supplier AND PurchasingOrganization = _SupplierPurchasing.PurchasingOrganization -- association [1..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