I_BPCollectionProfileAssgmt
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
| Category | CDS 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
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
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| udmbpprofile | udmbpprofile | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [0..1] | I_CollectionsProfile | _CollectionsProfile | $projection.CollectionProfile = _CollectionsProfile.CollectionProfile |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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