C_BPGovObjPgIdnReferenceRecord
BP Identification References
C_BPGovObjPgIdnReferenceRecord is a Consumption CDS View that provides data about "BP Identification References" in SAP S/4HANA. It reads from 2 data sources (R_BPIdentificationGovDraft, I_BusPartIdentificationGovTP) and exposes 31 fields with key fields BusinessPartnerUUID, BusinessPartnerIdnUUID, MasterDataChangeProcess, MDChgProcessSrceSystem, MDChgProcessSrceObject. It has 6 associations to related views. It is exposed through 4 OData services (ASQL_F7204A, C_BUSINESSPARTNERGOVTP_SRV, C_BUSINESSPARTNERGOVTP_SRV, ...). Part of development package MDC_BUPA_GOV_BO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| R_BPIdentificationGovDraft | _BusinessPartnerIdentification | union |
| I_BusPartIdentificationGovTP | I_BusPartIdentificationGovTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_BPIdentificationGovDraft | _BusinessPartnerDraftId | $projection.MasterDataChangeProcess = _BusinessPartnerDraftId.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _BusinessPartnerDraftId.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerDraftId.MDChgProcessSrceObject and $projection.MasterDataChangeProcess = _BusinessPartnerDraftId.MasterDataChangeProcess and $projection.BusinessPartnerUUID = _BusinessPartnerDraftId.BusinessPartnerUUID and $projection.BusinessPartnerIdnUUID = _BusinessPartnerDraftId.BusinessPartnerIdnUUID and $projection.BPIdentificationType = _BusinessPartnerDraftId.BPIdentificationType and $projection.BPIdentificationNumber = _BusinessPartnerDraftId.BPIdentificationNumber |
| [0..*] | C_ExtlyPrvddBPInfoSegment | _Segment | $projection.MasterDataChangeProcess = _Segment.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _Segment.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Segment.MDChgProcessSrceObject and $projection.BusinessPartnerUUID = _Segment.BusinessPartnerUUID and $projection.BPIdentificationNumber = _Segment.ExtlyPrvddBusinessPartnerInfo and $projection.BPIdentificationType = _Segment.ExtlyPrvddBPInfoDataProvider |
| [0..1] | I_BusPartIdentificationTypeT_2 | _BusPartIdentificationTypeText | $projection.BPIdentificationType = _BusPartIdentificationTypeText.BPIdentificationType and _BusPartIdentificationTypeText.Language = $session.system_language |
| [1..1] | R_BusinessPartnerGovDraft | _BusinessPartnerGovDraft | $projection.MasterDataChangeProcess = _BusinessPartnerGovDraft.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _BusinessPartnerGovDraft.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGovDraft.MDChgProcessSrceObject and $projection.BusinessPartnerUUID = _BusinessPartnerGovDraft.BusinessPartnerUUID |
| [0..1] | I_BPRefRecdExtMDProviderIdn | _ProviderLinkIdTypes | $projection.BPIdentificationType = _ProviderLinkIdTypes.ExtMDPrvdrIdentificationType |
| [1..1] | I_BusinessPartnerGovTP | _BusinessPartnerGov | $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject and $projection.BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | BP Identification References | view | |
| UI.headerInfo.typeName | Reference Record ID | view | |
| UI.headerInfo.typeNamePlural | Items | view | |
| UI.headerInfo.title.value | BPIdentificationType | view | |
| UI.headerInfo.description.value | BPIdentificationNumber | view | |
| UI.headerInfo.description.label | Business Partner Reference Record ID | view |
OData Services (4)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7204A | ASQL_F7204A | C2 | NOT_RELEASED | |
| C_BUSINESSPARTNERGOVTP_SRV | C_BUSINESSPARTNERGOVTP_SRV | V2 | C1 | C1 |
| C_BUSINESSPARTNERGOVTP_SRV | C_BUSINESSPARTNERGOVTP_V2 | V2 | C1 | NOT_RELEASED |
| C_BUSINESSPARTNERGOVTP_SRV | C_BUSINESSPARTNERGOVTP_V4 | V4 | C1 | C1 |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartnerUUID | I_BusPartIdentificationGovTP | BusinessPartnerUUID | UUID |
| KEY | BusinessPartnerIdnUUID | I_BusPartIdentificationGovTP | BusinessPartnerIdnUUID | UUID |
| KEY | MasterDataChangeProcess | I_BusPartIdentificationGovTP | MasterDataChangeProcess | Process ID |
| KEY | MDChgProcessSrceSystem | I_BusPartIdentificationGovTP | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | I_BusPartIdentificationGovTP | MDChgProcessSrceObject | Source ID |
| KEY | BPIdentificationType | I_BusPartIdentificationGovTP | BPIdentificationType | ID Type |
| KEY | BPIdentificationNumber | I_BusPartIdentificationGovTP | BPIdentificationNumber | ID Number |
| BPIdentificationTypeName | _BusPartIdentificationTypeText | BPIdentificationTypeName | ||
| AuthorizationGroup | AuthorizGroup | |||
| IsBusinessPurposeCompleted | Purpose Completed | |||
| DataControllerSet | Data Ctrlr. Set | |||
| BusinessPartner | Issuing Authority | |||
| _Segment | _Segment | |||
| _BusinessPartnerGov | I_BusPartIdentificationGovTP | _BusinessPartnerGov | ||
| _BusinessPartnerGovDraft | _BusinessPartnerGovDraft | |||
| BusinessPartnerUUID | UUID | |||
| KEY | BusinessPartnerIdnUUID | R_BPIdentificationGovDraft | BusinessPartnerIdnUUID | UUID |
| KEY | MasterDataChangeProcess | R_BPIdentificationGovDraft | MasterDataChangeProcess | Process ID |
| KEY | MDChgProcessSrceSystem | R_BPIdentificationGovDraft | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | R_BPIdentificationGovDraft | MDChgProcessSrceObject | Source ID |
| KEY | BPIdentificationType | R_BPIdentificationGovDraft | BPIdnTypeForEdit | ID Type |
| KEY | BPIdentificationNumber | R_BPIdentificationGovDraft | BPIdentificationNumberForEdit | ID Number |
| BPIdentificationTypeName | _BusPartIdentificationTypeText | BPIdentificationTypeName | ||
| AuthorizationGroup | _BusinessPartnerGovDraft | AuthorizationGroup | AuthorizGroup | |
| IsBusinessPurposeCompleted | _BusinessPartnerGovDraft | IsBusinessPurposeCompleted | Purpose Completed | |
| DataControllerSet | _BusinessPartnerGovDraft | DataControllerSet | Data Ctrlr. Set | |
| BusinessPartner | _BusinessPartnerGovDraft | BusinessPartner | Issuing Authority | |
| _Segment | _Segment | |||
| _BusinessPartnerGov | _BusinessPartnerGov | |||
| _BusinessPartnerGovDraft | _BusinessPartnerGovDraft | |||
| _ProviderLinkIdTypes | _ProviderLinkIdTypes |
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_BPGovObjPgIdnReferenceRecord.
-- 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 C_BPGovObjPgIdnReferenceRecord AS
SELECT
I_BusPartIdentificationGovTP.BusinessPartnerUUID AS BusinessPartnerUUID,
I_BusPartIdentificationGovTP.BusinessPartnerIdnUUID AS BusinessPartnerIdnUUID,
I_BusPartIdentificationGovTP.MasterDataChangeProcess AS MasterDataChangeProcess,
I_BusPartIdentificationGovTP.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
I_BusPartIdentificationGovTP.MDChgProcessSrceObject AS MDChgProcessSrceObject,
I_BusPartIdentificationGovTP.BPIdentificationType AS BPIdentificationType,
I_BusPartIdentificationGovTP.BPIdentificationNumber AS BPIdentificationNumber,
_BusPartIdentificationTypeText.BPIdentificationTypeName AS BPIdentificationTypeName,
I_BusPartIdentificationGovTP._BusinessPartnerGov.AuthorizationGroup AS AuthorizationGroup,
I_BusPartIdentificationGovTP._BusinessPartnerGov.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
I_BusPartIdentificationGovTP._BusinessPartnerGov.DataControllerSet AS DataControllerSet,
I_BusPartIdentificationGovTP._BusinessPartnerGov.BusinessPartner AS BusinessPartner,
I_BusPartIdentificationGovTP._BusinessPartnerGov AS _BusinessPartnerGov
FROM I_BusPartIdentificationGovTP
LEFT OUTER JOIN R_BPIdentificationGovDraft AS _BusinessPartnerDraftId ON MasterDataChangeProcess = _BusinessPartnerDraftId.MasterDataChangeProcess AND MDChgProcessSrceSystem = _BusinessPartnerDraftId.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerDraftId.MDChgProcessSrceObject AND MasterDataChangeProcess = _BusinessPartnerDraftId.MasterDataChangeProcess AND BusinessPartnerUUID = _BusinessPartnerDraftId.BusinessPartnerUUID AND BusinessPartnerIdnUUID = _BusinessPartnerDraftId.BusinessPartnerIdnUUID AND BPIdentificationType = _BusinessPartnerDraftId.BPIdentificationType AND BPIdentificationNumber = _BusinessPartnerDraftId.BPIdentificationNumber -- association [0..1]
LEFT OUTER JOIN C_ExtlyPrvddBPInfoSegment AS _Segment ON MasterDataChangeProcess = _Segment.MasterDataChangeProcess AND MDChgProcessSrceSystem = _Segment.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Segment.MDChgProcessSrceObject AND BusinessPartnerUUID = _Segment.BusinessPartnerUUID AND BPIdentificationNumber = _Segment.ExtlyPrvddBusinessPartnerInfo AND BPIdentificationType = _Segment.ExtlyPrvddBPInfoDataProvider -- association [0..*]
LEFT OUTER JOIN I_BusPartIdentificationTypeT_2 AS _BusPartIdentificationTypeText ON BPIdentificationType = _BusPartIdentificationTypeText.BPIdentificationType AND _BusPartIdentificationTypeText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN R_BusinessPartnerGovDraft AS _BusinessPartnerGovDraft ON MasterDataChangeProcess = _BusinessPartnerGovDraft.MasterDataChangeProcess AND MDChgProcessSrceSystem = _BusinessPartnerGovDraft.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerGovDraft.MDChgProcessSrceObject AND BusinessPartnerUUID = _BusinessPartnerGovDraft.BusinessPartnerUUID -- association [1..1]
LEFT OUTER JOIN I_BPRefRecdExtMDProviderIdn AS _ProviderLinkIdTypes ON BPIdentificationType = _ProviderLinkIdTypes.ExtMDPrvdrIdentificationType -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerGovTP AS _BusinessPartnerGov ON MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess AND MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject AND BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID -- association [1..1]
-- UNION with additional select branch(es): R_BPIdentificationGovDraft
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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