I_BPContactPersonAddressGov
Base Contact Person Workplace Address
I_BPContactPersonAddressGov is a Transactional CDS View that provides data about "Base Contact Person Workplace Address" in SAP S/4HANA. It reads from 8 data sources and exposes 65 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, AddressNumber. It has 3 associations to related views.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| but020 | AddressLink | inner |
| but020 | AddressLink | inner |
| I_BPContactPersonAddressProc | BPContactPersonAddressProc | from |
| I_BPContactPersonAddressProc | BPContactPersonAddressProc | union_all |
| but000 | BusinessPartner2 | inner |
| but000 | BusinessPartner2 | inner |
| adcp | WorkplaceAddress | inner |
| adcp | WorkplaceAddress | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusPartRelationshipGov | _RelationshipGov | $projection.MasterDataChangeProcess = _RelationshipGov.MasterDataChangeProcess and $projection.MDChgProcessStep = _RelationshipGov.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _RelationshipGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _RelationshipGov.MDChgProcessSrceObject |
| [0..1] | I_MasterDataChangeProcess | _MasterDataChangeProcess | $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess |
| [1..1] | I_BPProtectedAddress | _BPProtectedAddress | $projection.BusinessPartner1 = _BPProtectedAddress.BusinessPartner and $projection.AddressNumber = _BPProtectedAddress.AddressID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Base Contact Person Workplace Address | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (65)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | I_BPContactPersonAddressProc | MasterDataChangeProcess | Process ID |
| KEY | MDChgProcessStep | I_BPContactPersonAddressProc | MDChgProcessStep | Step Number |
| KEY | MDChgProcessSrceSystem | I_BPContactPersonAddressProc | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | I_BPContactPersonAddressProc | MDChgProcessSrceObject | Source ID |
| KEY | AddressNumber | I_BPContactPersonAddressProc | AddressNumber | Address Number |
| KEY | BPRelshpCatIsInFwdDirection | |||
| BusinessPartnerAddressUUID | I_BPContactPersonAddressProc | BusinessPartnerAddressUUID | UUID | |
| StandardUsage | I_BPContactPersonAddressProc | StandardUsage | Stand. address | |
| ContactRelationshipFunction | I_BPContactPersonAddressProc | ContactRelationshipFunction | Unit Func. | |
| ContactRelationshipDepartment | I_BPContactPersonAddressProc | ContactRelationshipDepartment | Department | |
| Floor | I_BPContactPersonAddressProc | Floor | Floor | |
| WorkplaceBuilding | I_BPContactPersonAddressProc | WorkplaceBuilding | Building code | |
| RoomNumber | I_BPContactPersonAddressProc | RoomNumber | Room Number | |
| PrfrdCommMediumType | I_BPContactPersonAddressProc | PrfrdCommMediumType | Comm. Method | |
| BusinessPartner1 | I_BPContactPersonAddressProc | BusinessPartner1 | Busn. Partner | |
| BusinessPartner2 | I_BPContactPersonAddressProc | BusinessPartner2 | Busn. Partner | |
| MasterDataChangeProcess | Process ID | |||
| KEY | MDChgProcessStep | I_BPContactPersonAddressProc | MDChgProcessStep | Step Number |
| KEY | MDChgProcessSrceSystem | I_BPContactPersonAddressProc | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | I_BPContactPersonAddressProc | MDChgProcessSrceObject | Source ID |
| KEY | AddressNumber | I_BPContactPersonAddressProc | AddressNumber | Address Number |
| KEY | BPRelshpCatIsInFwdDirection | |||
| BusinessPartnerAddressUUID | I_BPContactPersonAddressProc | BusinessPartnerAddressUUID | UUID | |
| StandardUsage | I_BPContactPersonAddressProc | StandardUsage | Stand. address | |
| ContactRelationshipFunction | I_BPContactPersonAddressProc | ContactRelationshipFunction | Unit Func. | |
| ContactRelationshipDepartment | I_BPContactPersonAddressProc | ContactRelationshipDepartment | Department | |
| Floor | I_BPContactPersonAddressProc | Floor | Floor | |
| WorkplaceBuilding | I_BPContactPersonAddressProc | WorkplaceBuilding | Building code | |
| RoomNumber | I_BPContactPersonAddressProc | RoomNumber | Room Number | |
| PrfrdCommMediumType | I_BPContactPersonAddressProc | PrfrdCommMediumType | Comm. Method | |
| BusinessPartner1 | I_BPContactPersonAddressProc | BusinessPartner2 | Busn. Partner | |
| BusinessPartner2 | I_BPContactPersonAddressProc | BusinessPartner1 | Busn. Partner | |
| KEY | MDChgProcessStep | Step Number | ||
| KEY | MDChgProcessSrceSystem | Source System | ||
| KEY | MDChgProcessSrceObject | Source ID | ||
| KEY | AddressNumber | adcp | addrnumber | Address Number |
| KEY | BPRelshpCatIsInFwdDirection | |||
| BusinessPartnerAddressUUID | but020 | address_guid | UUID | |
| StandardUsage | BPContactPerson | xdfadr | Stand. address | |
| ContactRelationshipFunction | adcp | function | Unit Func. | |
| ContactRelationshipDepartment | adcp | department | Department | |
| Floor | adcp | floor | Floor | |
| WorkplaceBuilding | adcp | building | Building code | |
| RoomNumber | adcp | roomnumber | Room Number | |
| PrfrdCommMediumType | adcp | deflt_comm | Comm. Method | |
| BusinessPartner1 | BPContactPerson | partner1 | Busn. Partner | |
| BusinessPartner2 | BPContactPerson | partner2 | Busn. Partner | |
| MasterDataIsCurrent | ||||
| KEY | MDChgProcessStep | Step Number | ||
| KEY | MDChgProcessSrceSystem | Source System | ||
| KEY | MDChgProcessSrceObject | Source ID | ||
| KEY | AddressNumber | adcp | addrnumber | Address Number |
| KEY | BPRelshpCatIsInFwdDirection | |||
| BusinessPartnerAddressUUID | but020 | address_guid | UUID | |
| StandardUsage | BPContactPerson | xdfadr | Stand. address | |
| ContactRelationshipFunction | adcp | function | Unit Func. | |
| ContactRelationshipDepartment | adcp | department | Department | |
| Floor | adcp | floor | Floor | |
| WorkplaceBuilding | adcp | building | Building code | |
| RoomNumber | adcp | roomnumber | Room Number | |
| PrfrdCommMediumType | adcp | deflt_comm | Comm. Method | |
| BusinessPartner1 | BPContactPerson | partner2 | Busn. Partner | |
| BusinessPartner2 | BPContactPerson | partner1 | Busn. Partner | |
| MasterDataIsCurrent | ||||
| _RelationshipGov | _RelationshipGov |
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_BPContactPersonAddressGov.
-- 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 I_BPContactPersonAddressGov AS
SELECT
BPContactPersonAddressProc.MasterDataChangeProcess AS MasterDataChangeProcess,
BPContactPersonAddressProc.MDChgProcessStep AS MDChgProcessStep,
BPContactPersonAddressProc.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
BPContactPersonAddressProc.MDChgProcessSrceObject AS MDChgProcessSrceObject,
BPContactPersonAddressProc.AddressNumber AS AddressNumber,
cast( 'X' as boolean ) AS BPRelshpCatIsInFwdDirection,
BPContactPersonAddressProc.BusinessPartnerAddressUUID AS BusinessPartnerAddressUUID,
BPContactPersonAddressProc.StandardUsage AS StandardUsage,
BPContactPersonAddressProc.ContactRelationshipFunction AS ContactRelationshipFunction,
BPContactPersonAddressProc.ContactRelationshipDepartment AS ContactRelationshipDepartment,
BPContactPersonAddressProc.Floor AS Floor,
BPContactPersonAddressProc.WorkplaceBuilding AS WorkplaceBuilding,
BPContactPersonAddressProc.RoomNumber AS RoomNumber,
BPContactPersonAddressProc.PrfrdCommMediumType AS PrfrdCommMediumType,
BPContactPersonAddressProc.BusinessPartner1 AS BusinessPartner1,
BPContactPersonAddressProc.BusinessPartner2 AS BusinessPartner2,
cast( 'X' as abap_boolean preserving type ) AS MasterDataIsCurrent
FROM I_BPContactPersonAddressProc AS BPContactPersonAddressProc
INNER JOIN but000 AS BusinessPartner2 ON /* join condition not captured in parsed metadata */
INNER JOIN adcp AS WorkplaceAddress ON /* join condition not captured in parsed metadata */
INNER JOIN but020 AS AddressLink ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusPartRelationshipGov AS _RelationshipGov ON MasterDataChangeProcess = _RelationshipGov.MasterDataChangeProcess AND MDChgProcessStep = _RelationshipGov.MDChgProcessStep AND MDChgProcessSrceSystem = _RelationshipGov.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _RelationshipGov.MDChgProcessSrceObject -- association [1..1]
LEFT OUTER JOIN I_MasterDataChangeProcess AS _MasterDataChangeProcess ON MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess -- association [0..1]
LEFT OUTER JOIN I_BPProtectedAddress AS _BPProtectedAddress ON BusinessPartner1 = _BPProtectedAddress.BusinessPartner AND AddressNumber = _BPProtectedAddress.AddressID -- association [1..1]
-- UNION ALL with additional select branch(es): I_BPContactPersonAddressProc
;
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