C_BusinessPartnerCustomerRole
Consumption view for Customer BP Roles
C_BusinessPartnerCustomerRole is a Consumption CDS View that provides data about "Consumption view for Customer BP Roles" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartnerRoleTP) and exposes 10 fields with key fields BusinessPartner, BusinessPartnerRole. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusinessPartnerRoleTP | BusinessPartnerRole | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [1..1] | C_BusinessPartnerCustomer | _BusinessPartnerCustomer | $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner |
| [0..1] | I_BusinessPartnerCustRoleTxt | _BPRoleText | $projection.BusinessPartnerRoleForEdit = _BPRoleText.Role and _BPRoleText.Language = $session.system_language |
| [0..1] | I_BusinessPartnerRole | _BPRoleValueHelp | $projection.BusinessPartnerRoleForEdit = _BPRoleValueHelp.BusinessPartnerRole |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CBUPACUSROLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Consumption view for Customer BP Roles | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.type | #CONSUMPTION | view | |
| ObjectModel.writeEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Role | view | |
| UI.headerInfo.typeNamePlural | Roles | view | |
| UI.headerInfo.title.label | Role Description | view | |
| UI.headerInfo.title.value | _BPRoleText.RoleText | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | I_BusinessPartnerRoleTP | BusinessPartner | Issuing Authority |
| KEY | BusinessPartnerRole | I_BusinessPartnerRoleTP | BusinessPartnerRole | BP Role |
| BusinessPartnerForEdit | I_BusinessPartnerRoleTP | BusinessPartnerForEdit | Busn. Partner | |
| BusinessPartnerRoleForEdit | I_BusinessPartnerRoleTP | BusinessPartnerRoleForEdit | BP Role | |
| ValidityStartDate | I_BusinessPartnerRoleTP | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_BusinessPartnerRoleTP | ValidityEndDate | ValidTo | |
| _BusinessPartnerCustomer | _BusinessPartnerCustomer | |||
| _BusinessPartner | _BusinessPartner | |||
| _BPRoleText | _BPRoleText | |||
| _BPRoleValueHelp | _BPRoleValueHelp |
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 C_BusinessPartnerCustomerRole.
-- 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.
-- SQL view name: CBUPACUSROLE
CREATE VIEW C_BusinessPartnerCustomerRole AS
SELECT
BusinessPartnerRole.BusinessPartner AS BusinessPartner,
BusinessPartnerRole.BusinessPartnerRole AS BusinessPartnerRole,
BusinessPartnerRole.BusinessPartnerForEdit AS BusinessPartnerForEdit,
BusinessPartnerRole.BusinessPartnerRoleForEdit AS BusinessPartnerRoleForEdit,
BusinessPartnerRole.ValidityStartDate AS ValidityStartDate,
BusinessPartnerRole.ValidityEndDate AS ValidityEndDate
FROM I_BusinessPartnerRoleTP AS BusinessPartnerRole
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerCustRoleTxt AS _BPRoleText ON BusinessPartnerRoleForEdit = _BPRoleText.Role AND _BPRoleText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerRole AS _BPRoleValueHelp ON BusinessPartnerRoleForEdit = _BPRoleValueHelp.BusinessPartnerRole -- 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