I_BPCollectionProfileAssgmt

DDL: I_BPCOLLECTIONPROFILEASSGMT Type: view BASIC

Business Partner Collection Profile Assignment

I_BPCollectionProfileAssgmt is a Basic CDS View that provides data about "Business Partner Collection Profile Assignment" in SAP S/4HANA. It reads from 1 data source (udmbpprofile) and exposes 7 fields with key fields BusinessPartner, BPCollPrflAssignmentValidTo. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Collections Management
Purpose
This CDS view provides information about business partners and their assigned collection profiles in SAP Collections Management . It captures the validity period of these assignments and includes associations to detailed information about the business partners and collection profiles. This CDS view provides the data to answer the following business questions: Which collection profiles are assigned to specific business partners? What are the validity periods for each business partner's collection profile assignment? When was the last change made to a business partner's collection profile assignment? How can I access detailed information about a business partner or a collection profile associated with a specific assignment? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: RLTYP ( BP Role ) B_BUP_DCPD ( Business Partner Processing ) BEGRU_BUPA_GRP ( Authorization Group for Business Partners ) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description BusinessPartner Business Partner Number BPCollPrflAssignmentValidTo Closed On BPCollPrflAssignmentValidFrom Created On CollectionProfile Collection Profile LastChangeDateTime Last Changed At

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
udmbpprofile udmbpprofile from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CollectionsProfile _CollectionsProfile $projection.CollectionProfile = _CollectionsProfile.CollectionProfile

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IBPCOLLPROFILE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Business Partner Collection Profile Assignment view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey BPCollPrflAssignmentValidTo view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner partner With Partner
KEY BPCollPrflAssignmentValidTo valid_until Valid Until
BPCollPrflAssignmentValidFrom valid_from Validity Start Time
CollectionProfile coll_profile Collection Prof.
LastChangeDateTime last_changed_at Timestamp
_BusinessPartner _BusinessPartner
_CollectionsProfile _CollectionsProfile

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_BPCollectionProfileAssgmt.
-- 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_BPCollectionProfileAssgmt AS
SELECT
  partner AS BusinessPartner,
  valid_until AS BPCollPrflAssignmentValidTo,
  valid_from AS BPCollPrflAssignmentValidFrom,
  coll_profile AS CollectionProfile,
  last_changed_at AS LastChangeDateTime
FROM udmbpprofile
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CollectionsProfile AS _CollectionsProfile ON CollectionProfile = _CollectionsProfile.CollectionProfile  -- association [0..1]
;