I_SettlmtDocItemPartner
Settlement Document Item Partner
I_SettlmtDocItemPartner (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sales
I_SettlmtDocItemPartner is a Basic CDS View (Dimension) that provides data about "Settlement Document Item Partner" in SAP S/4HANA. It reads from 1 data source (R_SettlmtDocItemPartner) and exposes 28 fields with key fields SettlmtDoc, SettlmtDocItem, PartnerFunction, PartnerCounter. It has 3 associations to related views.
SAP Help Documentation
| Category | Settlement Document |
|---|---|
| Data Category | Dimension |
| Status | Released |
This CDS view provides the prerequisites for answering questions about settlement document partners at the item level. This CDS view provides the prerequisites for answering the following business questions: What is the function of the partner (e.g. 3rd Party Supplier, Additional Contact)? What is the address of the partner?
Prerequisites
The following authorization objects are required: Authorization Object: W_WBRK_FKA Authorization required for Settlement document type ( LFART ) Authorization Object: W_WBRK_ORG Authorization required for the following: Company Code ( BUKRS ) Purchasing Organization ( EKORG ) Purchasing Group ( EKGRP ) Distribution Channel ( VTWEG ) Division ( SPART ) Sales Organization ( VKORG ) Authorization Object: F_LFA1_BEK Authorization group needs to be maintained for the following: Invoicing Party Invoicing Party Company Payee Party Payee Party Company Alternative Invoicing Party Alternative Invoicing Party Company Supplier Prior Supplier Authorization Object: F_KNA1_BED Authorization group needs to be maintained for the following: Bill To Party Bill To Party Company Payer Party Payer Party Company Customer Customer Settlement Recipient Note In SAP S/4HANA 2021 FPS01, the access control for this CDS view was enhanced with new authorization objects. It now also checks the authorization for the authorization groups with regard to the prior supplier ( PriorSupplier ) and customer settlement recipient ( CustomerSettlmtRecipient ). If you built custom CDS views based on this view prior to SAP S/4HANA 2021 FPS01, you must adjust the access controls accordingly.
Structure
Object types This view is built on the following business objects: Settlement Document The key fields are SettlmtDoc , SettlmtDocItem , PartnerFunction , and PartnerCounter . Measures and attributes Some important measures and attributes are: Settlement document number ( SettlmtDoc ) Settlement document item number ( SettlmtDocItem ) Partner function ( PartnerFunction ) Partner counter ( PartnerCounter ) User ID of the creator ( CreatedByUser ) Creation Date ( CreationDate ) Supplier account number ( Supplier ) Customer number ( Customer ) Number of contact person ( ContactPerson ) Personnel number ( Personnel ) Partner address ( AddressID ) VAT registration number ( VATRegistration )
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | LO-AB |
| Capabilities | Analytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides the prerequisites for answering questions about settlement document partners at the item level.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What is the function of the partner (e.g. 3rd Party Supplier, Additional Contact)? </p></li> <li><p>What is the address of the partner?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SettlmtDocItemPartner | R_SettlmtDocItemPartner | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SettlmtDoc | _SettlmtDoc | $projection.SettlmtDoc = _SettlmtDoc.SettlmtDoc |
| [1..1] | I_SettlmtDocItem | _SettlmtDocItem | $projection.SettlmtDoc = _SettlmtDocItem.SettlmtDoc and $projection.SettlmtDocItem = _SettlmtDocItem.SettlmtDocItem |
| [0..1] | I_Address | _Address | $projection.AddressID = _Address.AddressID |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWLFSTDOCITPART | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Settlement Document Item Partner | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | PartnerCounter | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SettlmtDoc | SettlmtDoc | Settlement Document Number | |
| KEY | SettlmtDocItem | SettlmtDocItem | Document Item | |
| KEY | PartnerFunction | PartnerFunction | Partner Function | |
| KEY | PartnerCounter | PartnerCounter | Partner counter | |
| CreatedByUser | CreatedByUser | Name of User who Created the Document | ||
| CreationDate | CreationDate | Date of Document Creation | ||
| Supplier | Supplier | Account Number of Supplier | ||
| Customer | Customer | Customer Number | ||
| ContactPerson | ContactPerson | Number of Contact Person | ||
| Personnel | Personnel | Personnel Number | ||
| AddressID | AddressID | Ship-to address | ||
| AddressPersonID | AddressPersonID | Person Number | ||
| ReferenceBusinessPartner | ReferenceBusinessPartner | Business Partner Number | ||
| SettlmtDocPartAddrRefType | SettlmtDocPartAddrRefType | Address indicator | ||
| AddressObjectType | AddressObjectType | Address type (1=Organization, 2=Person, 3=Contact person) | ||
| BPAddrDeterminationTransaction | BPAddrDeterminationTransaction | Address Determination in Document | ||
| BPRefAddressIDForDocSpcfcAddr | BPRefAddressIDForDocSpcfcAddr | BP Reference Address Number | ||
| VATRegistration | VATRegistration | VAT Registration Number | ||
| _SettlmtDoc | _SettlmtDoc | |||
| _SettlmtDocItem | _SettlmtDocItem | |||
| _PartnerFunction | _PartnerFunction | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _Address | _Address | |||
| _DfltAddrRprstn | _DfltAddrRprstn | |||
| _BusinessPartnerAddress | _BusinessPartnerAddress | |||
| _PersonWorkplaceAddrDfltRprstn | _PersonWorkplaceAddrDfltRprstn | |||
| _BPRefAddressForDocSpcfcAddr | _BPRefAddressForDocSpcfcAddr |
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_SettlmtDocItemPartner.
-- 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_SettlmtDocItemPartner AS
SELECT
SettlmtDoc,
SettlmtDocItem,
PartnerFunction,
PartnerCounter,
CreatedByUser,
CreationDate,
Supplier,
Customer,
ContactPerson,
Personnel,
AddressID,
AddressPersonID,
ReferenceBusinessPartner,
SettlmtDocPartAddrRefType,
AddressObjectType,
BPAddrDeterminationTransaction,
BPRefAddressIDForDocSpcfcAddr,
VATRegistration
FROM R_SettlmtDocItemPartner
LEFT OUTER JOIN I_SettlmtDoc AS _SettlmtDoc ON SettlmtDoc = _SettlmtDoc.SettlmtDoc -- association [1..1]
LEFT OUTER JOIN I_SettlmtDocItem AS _SettlmtDocItem ON SettlmtDoc = _SettlmtDocItem.SettlmtDoc AND SettlmtDocItem = _SettlmtDocItem.SettlmtDocItem -- association [1..1]
LEFT OUTER JOIN I_Address AS _Address ON AddressID = _Address.AddressID -- 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