I_BPRelshpDetailsGeneralTP
BP Relationship General Details - TP
I_BPRelshpDetailsGeneralTP is a Transactional CDS View that provides data about "BP Relationship General Details - TP" in SAP S/4HANA. It reads from 1 data source (I_BusPartRelationshipProcessTP) and exposes 25 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject. It has 5 associations to related views. Part of development package MDC_BP_REL_GOV_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BusPartRelationshipProcessTP | _Current | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BusPartCategoryText | _BusinessPartner1Category | $projection.BusinessPartner1Category = _BusinessPartner1Category.BusinessPartnerCategory |
| [0..*] | I_BusPartCategoryText | _BusinessPartner2Category | $projection.BusinessPartner2Category = _BusinessPartner2Category.BusinessPartnerCategory |
| [1] | I_BusPartRelationshipProcess | _Data | $projection.MasterDataChangeProcess = _Data.MasterDataChangeProcess and $projection.MDChgProcessStep = _Data.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Data.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Data.MDChgProcessSrceObject |
| [0..1] | I_BusPartRelshpCategoryDesc | _RelationshipCategoryText | $projection.RelationshipCategory = _RelationshipCategoryText.RelationshipCategory and $projection.bprelshpcatisinfwddirection = _RelationshipCategoryText.BPRelshpCatIsInFwdDirection and _RelationshipCategoryText.BusPartRelshpIsRoleDefinition = '' |
| [0..1] | mdc_own_bus_sys | _OwnSystem | _OwnSystem.own_business_system like '%' |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IMDCBPRELDETTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | BP Relationship General Details - TP | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | MasterDataChangeProcess | Process ID | |
| KEY | MDChgProcessStep | MDChgProcessStep | Step Number | |
| KEY | MDChgProcessSrceSystem | MDChgProcessSrceSystem | Source System | |
| KEY | MDChgProcessSrceObject | MDChgProcessSrceObject | Source ID | |
| MDChgProcessSourceModified | MDChgProcessSourceModified | Modified | ||
| MDChgProcessSourceModifBinary | MDChgProcessSourceModifBinary | |||
| RelationshipCategory | RelationshipCategory | Relationsh.Cat. | ||
| MDChgProcessRecordObjectText | MDChgProcessRecordObjectText | |||
| MDChgProcessSrceBusPart1 | MDChgProcessSrceBusPart1 | |||
| BusinessPartner1Category | ||||
| BusinessPartner1FullName | ||||
| BP1AuthorizationGroup | ||||
| MDChgProcessSrceSystemBP1 | ||||
| BusinessPartner1 | BusinessPartner1 | Partner | ||
| MDChgProcessSrceBusPart2 | MDChgProcessSrceBusPart2 | |||
| BusinessPartner2Category | ||||
| BusinessPartner2FullName | ||||
| BP2AuthorizationGroup | ||||
| MDChgProcessSrceSystemBP2 | ||||
| BusinessPartner2 | BusinessPartner2 | Partner | ||
| BPRelshpCatIsInFwdDirection | _Data | BPRelshpCatIsInFwdDirection | Boolean Variable (X = True, - = False, Space = Unknown) | |
| _BusinessPartner1Category | _BusinessPartner1Category | |||
| _BusinessPartner2Category | _BusinessPartner2Category | |||
| _RelationshipCategoryText | _RelationshipCategoryText | |||
| _Data | _Data |
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_BPRelshpDetailsGeneralTP.
-- 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: IMDCBPRELDETTP
CREATE VIEW I_BPRelshpDetailsGeneralTP AS
SELECT
MasterDataChangeProcess,
MDChgProcessStep,
MDChgProcessSrceSystem,
MDChgProcessSrceObject,
MDChgProcessSourceModified,
MDChgProcessSourceModifBinary,
RelationshipCategory,
MDChgProcessRecordObjectText,
MDChgProcessSrceBusPart1,
case when _BusinessPartner1.BusinessPartnerCategory is not null then _BusinessPartner1.BusinessPartnerCategory else _Data._BusinessPartner1active.BusinessPartnerCategory end AS BusinessPartner1Category,
case when _BusinessPartner1.BusinessPartnerFullName is not null then _BusinessPartner1.BusinessPartnerFullName else _Data._BusinessPartner1active.BusinessPartnerName end AS BusinessPartner1FullName,
case when _BusinessPartner1.AuthorizationGroup is not null then _BusinessPartner1.AuthorizationGroup else _Data._BusinessPartner1active.AuthorizationGroup end AS BP1AuthorizationGroup,
case when _BusinessPartner1.MDChgProcessSrceSystem is not null then _BusinessPartner1.MDChgProcessSrceSystem else _OwnSystem.own_business_system end AS MDChgProcessSrceSystemBP1,
BusinessPartner1,
MDChgProcessSrceBusPart2,
case when _BusinessPartner2.BusinessPartnerCategory is not null then _BusinessPartner2.BusinessPartnerCategory else _Data._BusinessPartner2active.BusinessPartnerCategory end AS BusinessPartner2Category,
case when _BusinessPartner2.BusinessPartnerFullName is not null then _BusinessPartner2.BusinessPartnerFullName else _Data._BusinessPartner2active.BusinessPartnerName end AS BusinessPartner2FullName,
case when _BusinessPartner2.AuthorizationGroup is not null then _BusinessPartner2.AuthorizationGroup else _Data._BusinessPartner2active.AuthorizationGroup end AS BP2AuthorizationGroup,
case when _BusinessPartner2.MDChgProcessSrceSystem is not null then _BusinessPartner2.MDChgProcessSrceSystem else _OwnSystem.own_business_system end AS MDChgProcessSrceSystemBP2,
BusinessPartner2,
_Data.BPRelshpCatIsInFwdDirection AS BPRelshpCatIsInFwdDirection
FROM I_BusPartRelationshipProcessTP AS _Current
LEFT OUTER JOIN I_BusPartCategoryText AS _BusinessPartner1Category ON BusinessPartner1Category = _BusinessPartner1Category.BusinessPartnerCategory -- association [0..*]
LEFT OUTER JOIN I_BusPartCategoryText AS _BusinessPartner2Category ON BusinessPartner2Category = _BusinessPartner2Category.BusinessPartnerCategory -- association [0..*]
LEFT OUTER JOIN I_BusPartRelationshipProcess AS _Data ON MasterDataChangeProcess = _Data.MasterDataChangeProcess AND MDChgProcessStep = _Data.MDChgProcessStep AND MDChgProcessSrceSystem = _Data.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Data.MDChgProcessSrceObject -- association [1]
LEFT OUTER JOIN I_BusPartRelshpCategoryDesc AS _RelationshipCategoryText ON RelationshipCategory = _RelationshipCategoryText.RelationshipCategory AND bprelshpcatisinfwddirection = _RelationshipCategoryText.BPRelshpCatIsInFwdDirection AND _RelationshipCategoryText.BusPartRelshpIsRoleDefinition = '' -- association [0..1]
LEFT OUTER JOIN mdc_own_bus_sys AS _OwnSystem ON /* condition not available in parsed metadata */ -- 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