R_CrdtMBPRelationshipTP

DDL: R_CRDTMBPRELATIONSHIPTP Type: view TRANSACTIONAL

Cred. Mgmt BP Relationship

R_CrdtMBPRelationshipTP is a Transactional CDS View that provides data about "Cred. Mgmt BP Relationship" in SAP S/4HANA. It reads from 1 data source (I_BPRelationship) and exposes 15 fields with key fields CrdtMgmtBPHierarchyNode, BusinessPartner. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPRelationship I_BPRelationship from

Associations (4)

CardinalityTargetAliasCondition
[1..1] R_CrdtMBusinessPartnerTP _CrdtMBusinessPartnerTP $projection.BusinessPartner = _CrdtMBusinessPartnerTP.BusinessPartner
[1..1] I_CrdtMBusinessPartner _CrdtMBusinessPartner $projection.ActiveBusinessPartner = _CrdtMBusinessPartner.BusinessPartner
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CreditManagementSegment _CreditSegment $projection.CreditSegment = _CreditSegment.CreditSegment

Annotations (12)

NameValueLevelField
EndUserText.label Cred. Mgmt BP Relationship view
AbapCatalog.sqlViewName RCRDTBPRELTP view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CrdtMgmtBPHierarchyNode
KEY BusinessPartner
CrdtMgmtBPHierarchyParentNode
CrdtMHigherLevelBusPartner
BusinessPartnerIsSelected
ActiveBusinessPartner
CreditSegment
HierarchyLevel
HierarchyDrillState
HierarchyNodeTreeSize
HierarchyNodeIsCycleEndPoint
_CrdtMBusinessPartner _CrdtMBusinessPartner
_BusinessPartner _BusinessPartner
_CreditSegment _CreditSegment
_CrdtMBusinessPartnerTP _CrdtMBusinessPartnerTP

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 R_CrdtMBPRelationshipTP.
-- 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 R_CrdtMBPRelationshipTP AS
SELECT
  cast('' as ukm_bp_hierarchy_parent_id) AS CrdtMgmtBPHierarchyNode,
  cast(' ' as bu_partner preserving type) AS BusinessPartner,
  cast('' as ukm_bp_hierarchy_node_id) AS CrdtMgmtBPHierarchyParentNode,
  cast(' ' as bu_partner preserving type) AS CrdtMHigherLevelBusPartner,
  cast('' as xfeld preserving type) AS BusinessPartnerIsSelected,
  cast(' ' as bu_partner preserving type) AS ActiveBusinessPartner,
  cast(' ' as ukm_credit_sgmnt preserving type ) AS CreditSegment,
  cast(0 as abap.int4) AS HierarchyLevel,
  cast(' ' as ukm_bp_hierarchy_drill_state preserving type) AS HierarchyDrillState,
  cast(0 as abap.int4) AS HierarchyNodeTreeSize,
  cast(0 as abap.int1) AS HierarchyNodeIsCycleEndPoint
FROM I_BPRelationship
LEFT OUTER JOIN R_CrdtMBusinessPartnerTP AS _CrdtMBusinessPartnerTP ON BusinessPartner = _CrdtMBusinessPartnerTP.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CrdtMBusinessPartner AS _CrdtMBusinessPartner ON ActiveBusinessPartner = _CrdtMBusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CreditManagementSegment AS _CreditSegment ON CreditSegment = _CreditSegment.CreditSegment  -- association [0..1]
;