I_BPContactPersonAddressGov

DDL: I_BPCONTACTPERSONADDRESSGOV Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin 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)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;