I_BPCustPartnerFunctionsProc
BP Customer Partner Functions Data
I_BPCustPartnerFunctionsProc is a Basic CDS View that provides data about "BP Customer Partner Functions Data" in SAP S/4HANA. It reads from 2 data sources (knvp_prc, tpar) and exposes 23 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, SalesOrganization. It has 1 association to related views.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BPCustomerProcess | _Customer | $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject and $projection.BPAssignmentID = _Customer.BPAssignmentID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BP Customer Partner Functions Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | knvp_prc | process_id | Process Instance ID |
| KEY | MDChgProcessStep | knvp_prc | process_step_no | Step Number |
| KEY | MDChgProcessSrceSystem | knvp_prc | source_system | Source System |
| KEY | MDChgProcessSrceObject | knvp_prc | source_id | UUID |
| KEY | SalesOrganization | knvp_prc | vkorg | SD Sales Org. |
| KEY | DistributionChannel | knvp_prc | vtweg | RefDistCh-Cust/Mat. |
| KEY | Division | knvp_prc | spart | Source supplier |
| KEY | PartnerFunction | |||
| KEY | PartnerCounter | knvp_prc | parza | Partner counter |
| KEY | BPAssignmentID | knvp_prc | assignment_id | Assignment ID |
| Customer | knvp_prc | kunnr | Stock customer | |
| PartnerFunctionType | tpar | nrart | Partner Type | |
| BPCustomerNumber | knvp_prc | kunn2 | Customer | |
| Supplier | knvp_prc | lifnr | Vendor no. | |
| PersonnelNumber | knvp_prc | pernr | Personnel no. | |
| ContactPerson | knvp_prc | parnr | Responsible | |
| CustomerPartnerDescription | knvp_prc | knref | Partner Desc. | |
| DefaultPartner | knvp_prc | defpa | Default Partner | |
| AddressID | knvp_prc | adrnr | Sold-To Address | |
| MDChgProcSrceLastChgdDateTime | knvp_prc | source_recency | Last Changed On | |
| MDChgProcessSourceModified | knvp_prc | source_modified | Modified | |
| MDChgProcessSourceModifBinary | knvp_prc | source_modification_blip | Modification | |
| _Customer | _Customer |
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_BPCustPartnerFunctionsProc.
-- 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.
CREATE VIEW I_BPCustPartnerFunctionsProc AS
SELECT
knvp_prc.process_id AS MasterDataChangeProcess,
knvp_prc.process_step_no AS MDChgProcessStep,
knvp_prc.source_system AS MDChgProcessSrceSystem,
knvp_prc.source_id AS MDChgProcessSrceObject,
knvp_prc.vkorg AS SalesOrganization,
knvp_prc.vtweg AS DistributionChannel,
knvp_prc.spart AS Division,
cast(knvp_prc.parvw as parvw_unv) AS PartnerFunction,
knvp_prc.parza AS PartnerCounter,
knvp_prc.assignment_id AS BPAssignmentID,
knvp_prc.kunnr AS Customer,
tpar.nrart AS PartnerFunctionType,
knvp_prc.kunn2 AS BPCustomerNumber,
knvp_prc.lifnr AS Supplier,
knvp_prc.pernr AS PersonnelNumber,
knvp_prc.parnr AS ContactPerson,
knvp_prc.knref AS CustomerPartnerDescription,
knvp_prc.defpa AS DefaultPartner,
knvp_prc.adrnr AS AddressID,
knvp_prc.source_recency AS MDChgProcSrceLastChgdDateTime,
knvp_prc.source_modified AS MDChgProcessSourceModified,
knvp_prc.source_modification_blip AS MDChgProcessSourceModifBinary
FROM knvp_prc
INNER JOIN tpar ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BPCustomerProcess AS _Customer ON MasterDataChangeProcess = _Customer.MasterDataChangeProcess AND MDChgProcessStep = _Customer.MDChgProcessStep AND MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject AND BPAssignmentID = _Customer.BPAssignmentID -- 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