I_SettlmtDocItemPartner

DDL: I_SETTLMTDOCITEMPARTNER Type: view BASIC

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

CategorySettlement Document
Data CategoryDimension
StatusReleased
Purpose
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 )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentLO-AB
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageSales 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

Data Sources (1)

SourceAliasJoin Type
R_SettlmtDocItemPartner R_SettlmtDocItemPartner from

Associations (3)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;