C_BusinessPartnerRole

DDL: C_BUSINESSPARTNERROLE SQL: CBUPAROLE Type: view CONSUMPTION

Consumption view for Business Partner Role

C_BusinessPartnerRole is a Consumption CDS View that provides data about "Consumption view for Business Partner Role" in SAP S/4HANA. It reads from 1 data source (I_BusinessPartnerRoleTP) and exposes 10 fields with key fields BusinessPartner, BusinessPartnerRole. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BusinessPartnerRoleTP BusinessPartnerRole from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_BusinessPartnerRole _BPRoleValueHelp $projection.BusinessPartnerRoleForEdit = _BPRoleValueHelp.BusinessPartnerRole
[0..1] I_BusinessPartnerRoleText _BPRoleText $projection.BusinessPartnerRoleForEdit = _BPRoleText.BusinessPartnerRole and _BPRoleText.Language = $session.system_language

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CBUPAROLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Consumption view for Business Partner Role 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)

KeyFieldSource TableSource FieldDescription
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 Role Validity Start Date
ValidityEndDate I_BusinessPartnerRoleTP ValidityEndDate Role Validity End Date
RoleCategory I_BusinessPartnerRoleTP RoleCategory BP Role Cat.
_BusinessPartner _BusinessPartner
_BPRoleValueHelp _BPRoleValueHelp
_BPRoleText _BPRoleText

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_BusinessPartnerRole.
-- 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: CBUPAROLE

CREATE VIEW C_BusinessPartnerRole 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,
  BusinessPartnerRole.RoleCategory AS RoleCategory
FROM I_BusinessPartnerRoleTP AS BusinessPartnerRole
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartnerRole AS _BPRoleValueHelp ON BusinessPartnerRoleForEdit = _BPRoleValueHelp.BusinessPartnerRole  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerRoleText AS _BPRoleText ON BusinessPartnerRoleForEdit = _BPRoleText.BusinessPartnerRole AND _BPRoleText.Language = $session.system_language  -- association [0..1]
;