I_BPContactPersonAddressGovTP

DDL: I_BPCONTACTPERSONADDRESSGOVTP Type: view_entity TRANSACTIONAL

BP Rel Cntct Persn Workplace Addr - TP

I_BPContactPersonAddressGovTP is a Transactional CDS View that provides data about "BP Rel Cntct Persn Workplace Addr - TP" in SAP S/4HANA. It reads from 1 data source (I_BPContactPersonAddressGov) and exposes 30 fields with key fields BPRelshpUUID, BPCntctPersnAddrUUID, MasterDataChangeProcess, MDChgProcessSrceSystem, MDChgProcessSrceObject. It has 12 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPContactPersonAddressGov I_BPContactPersonAddressGov from

Associations (12)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerAddressGovTP _BPAddressDetails $projection.MasterDataChangeProcess = _BPAddressDetails.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _BPAddressDetails.MDChgProcessSrceSystem and $projection.AddressNumberForEdit = _BPAddressDetails.AddressNumber
[0..1] I_BPCntctPersnTelNumberGovTP _StandardTelephoneNumber $projection.MasterDataChangeProcess = _StandardTelephoneNumber.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _StandardTelephoneNumber.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _StandardTelephoneNumber.MDChgProcessSrceObject and $projection.BPRelshpUUID = _StandardTelephoneNumber.BPRelshpUUID and $projection.BPCntctPersnAddrUUID = _StandardTelephoneNumber.BPCntctPersnAddrUUID and $projection.AddressNumber = _StandardTelephoneNumber.AddressNumber and $projection.BPRelshpCatIsInFwdDirection = _StandardTelephoneNumber.BPRelshpCatIsInFwdDirection and _StandardTelephoneNumber.IsDefaultPhoneNumber = 'X'
[0..1] I_BPCntctPersnFaxNumberGovTP _StandardFaxNumber $projection.MasterDataChangeProcess = _StandardFaxNumber.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _StandardFaxNumber.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _StandardFaxNumber.MDChgProcessSrceObject and $projection.BPRelshpUUID = _StandardFaxNumber.BPRelshpUUID and $projection.BPCntctPersnAddrUUID = _StandardFaxNumber.BPCntctPersnAddrUUID and $projection.AddressNumber = _StandardFaxNumber.AddressNumber and $projection.BPRelshpCatIsInFwdDirection = _StandardFaxNumber.BPRelshpCatIsInFwdDirection and _StandardFaxNumber.IsDefaultFaxNumber = 'X'
[0..1] I_BPCntctPersnMblNumberGovTP _StandardMobileNumber $projection.MasterDataChangeProcess = _StandardMobileNumber.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _StandardMobileNumber.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _StandardMobileNumber.MDChgProcessSrceObject and $projection.BPRelshpUUID = _StandardMobileNumber.BPRelshpUUID and $projection.BPCntctPersnAddrUUID = _StandardMobileNumber.BPCntctPersnAddrUUID and $projection.AddressNumber = _StandardMobileNumber.AddressNumber and $projection.BPRelshpCatIsInFwdDirection = _StandardMobileNumber.BPRelshpCatIsInFwdDirection and _StandardMobileNumber.IsDefaultPhoneNumber = 'X'
[0..1] I_BPCntctPersnEmailAddrGovTP _StandardEmailAddress $projection.MasterDataChangeProcess = _StandardEmailAddress.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _StandardEmailAddress.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _StandardEmailAddress.MDChgProcessSrceObject and $projection.BPRelshpUUID = _StandardEmailAddress.BPRelshpUUID and $projection.BPCntctPersnAddrUUID = _StandardEmailAddress.BPCntctPersnAddrUUID and $projection.AddressNumber = _StandardEmailAddress.AddressNumber and $projection.BPRelshpCatIsInFwdDirection = _StandardEmailAddress.BPRelshpCatIsInFwdDirection and _StandardEmailAddress.IsDefaultEmailAddress = 'X'
[0..1] I_BPCntctPersnWebsiteURLGovTP _StandardWebsiteURL $projection.MasterDataChangeProcess = _StandardWebsiteURL.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _StandardWebsiteURL.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _StandardWebsiteURL.MDChgProcessSrceObject and $projection.BPRelshpUUID = _StandardWebsiteURL.BPRelshpUUID and $projection.BPCntctPersnAddrUUID = _StandardWebsiteURL.BPCntctPersnAddrUUID and $projection.AddressNumber = _StandardWebsiteURL.AddressNumber and $projection.BPRelshpCatIsInFwdDirection = _StandardWebsiteURL.BPRelshpCatIsInFwdDirection and _StandardWebsiteURL.IsDefaultURLAddress = 'X'
[0..1] I_BusPartCommMdmTypeVH _CommType $projection.PrfrdCommMediumType = _CommType.CommunicationMediumType
[0..*] I_BPCntctPersnTelNumberGovTP _BPRelshpCntctPersnTelNmbr
[0..*] I_BPCntctPersnMblNumberGovTP _BPRelshpCntctPersnMblNmbr
[0..*] I_BPCntctPersnFaxNumberGovTP _BPRelshpCntctPersnFaxNmbr
[0..*] I_BPCntctPersnEmailAddrGovTP _BPRelshpCntctPersnEmailAddr
[0..*] I_BPCntctPersnWebsiteURLGovTP _BPRelshpCntctPersnWebsiteURL

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label BP Rel Cntct Persn Workplace Addr - TP view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #TRANSACTIONAL view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY BPRelshpUUID
KEY BPCntctPersnAddrUUID
KEY MasterDataChangeProcess MasterDataChangeProcess Process ID
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject MDChgProcessSrceObject Source ID
KEY AddressNumber AddressNumber Src Address No
KEY BPRelshpCatIsInFwdDirection BPRelshpCatIsInFwdDirection Boolean Variable (X = True, - = False, Space = Unknown)
MDChgProcessStep MDChgProcessStep Step Number
AddressNumberForEdit AddressNumber Src Address No
BusinessPartnerAddressUUID BusinessPartnerAddressUUID UUID
StandardUsage StandardUsage TRUE
ContactRelationshipFunction ContactRelationshipFunction Function
ContactRelationshipDepartment ContactRelationshipDepartment Department
Floor Floor Floor
WorkplaceBuilding WorkplaceBuilding Building code
RoomNumber RoomNumber Room Number
PrfrdCommMediumType PrfrdCommMediumType Comm. Method
_RelationshipGov _RelationshipGov
_BPAddressDetails _BPAddressDetails
_BPRelshpCntctPersnTelNmbr _BPRelshpCntctPersnTelNmbr
_BPRelshpCntctPersnMblNmbr _BPRelshpCntctPersnMblNmbr
_BPRelshpCntctPersnFaxNmbr _BPRelshpCntctPersnFaxNmbr
_BPRelshpCntctPersnEmailAddr _BPRelshpCntctPersnEmailAddr
_BPRelshpCntctPersnWebsiteURL _BPRelshpCntctPersnWebsiteURL
_StandardTelephoneNumber _StandardTelephoneNumber
_StandardEmailAddress _StandardEmailAddress
_StandardFaxNumber _StandardFaxNumber
_StandardMobileNumber _StandardMobileNumber
_StandardWebsiteURL _StandardWebsiteURL
_CommType _CommType

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_BPContactPersonAddressGovTP.
-- 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_BPContactPersonAddressGovTP AS
SELECT
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS BPRelshpUUID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS BPCntctPersnAddrUUID,
  MasterDataChangeProcess,
  MDChgProcessSrceSystem,
  MDChgProcessSrceObject,
  AddressNumber,
  BPRelshpCatIsInFwdDirection,
  MDChgProcessStep,
  AddressNumber AS AddressNumberForEdit,
  BusinessPartnerAddressUUID,
  StandardUsage,
  ContactRelationshipFunction,
  ContactRelationshipDepartment,
  Floor,
  WorkplaceBuilding,
  RoomNumber,
  PrfrdCommMediumType
FROM I_BPContactPersonAddressGov
LEFT OUTER JOIN I_BusinessPartnerAddressGovTP AS _BPAddressDetails ON MasterDataChangeProcess = _BPAddressDetails.MasterDataChangeProcess AND MDChgProcessSrceSystem = _BPAddressDetails.MDChgProcessSrceSystem AND AddressNumberForEdit = _BPAddressDetails.AddressNumber  -- association [1..1]
LEFT OUTER JOIN I_BPCntctPersnTelNumberGovTP AS _StandardTelephoneNumber ON MasterDataChangeProcess = _StandardTelephoneNumber.MasterDataChangeProcess AND MDChgProcessSrceSystem = _StandardTelephoneNumber.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _StandardTelephoneNumber.MDChgProcessSrceObject AND BPRelshpUUID = _StandardTelephoneNumber.BPRelshpUUID AND BPCntctPersnAddrUUID = _StandardTelephoneNumber.BPCntctPersnAddrUUID AND AddressNumber = _StandardTelephoneNumber.AddressNumber AND BPRelshpCatIsInFwdDirection = _StandardTelephoneNumber.BPRelshpCatIsInFwdDirection AND _StandardTelephoneNumber.IsDefaultPhoneNumber = 'X'  -- association [0..1]
LEFT OUTER JOIN I_BPCntctPersnFaxNumberGovTP AS _StandardFaxNumber ON MasterDataChangeProcess = _StandardFaxNumber.MasterDataChangeProcess AND MDChgProcessSrceSystem = _StandardFaxNumber.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _StandardFaxNumber.MDChgProcessSrceObject AND BPRelshpUUID = _StandardFaxNumber.BPRelshpUUID AND BPCntctPersnAddrUUID = _StandardFaxNumber.BPCntctPersnAddrUUID AND AddressNumber = _StandardFaxNumber.AddressNumber AND BPRelshpCatIsInFwdDirection = _StandardFaxNumber.BPRelshpCatIsInFwdDirection AND _StandardFaxNumber.IsDefaultFaxNumber = 'X'  -- association [0..1]
LEFT OUTER JOIN I_BPCntctPersnMblNumberGovTP AS _StandardMobileNumber ON MasterDataChangeProcess = _StandardMobileNumber.MasterDataChangeProcess AND MDChgProcessSrceSystem = _StandardMobileNumber.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _StandardMobileNumber.MDChgProcessSrceObject AND BPRelshpUUID = _StandardMobileNumber.BPRelshpUUID AND BPCntctPersnAddrUUID = _StandardMobileNumber.BPCntctPersnAddrUUID AND AddressNumber = _StandardMobileNumber.AddressNumber AND BPRelshpCatIsInFwdDirection = _StandardMobileNumber.BPRelshpCatIsInFwdDirection AND _StandardMobileNumber.IsDefaultPhoneNumber = 'X'  -- association [0..1]
LEFT OUTER JOIN I_BPCntctPersnEmailAddrGovTP AS _StandardEmailAddress ON MasterDataChangeProcess = _StandardEmailAddress.MasterDataChangeProcess AND MDChgProcessSrceSystem = _StandardEmailAddress.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _StandardEmailAddress.MDChgProcessSrceObject AND BPRelshpUUID = _StandardEmailAddress.BPRelshpUUID AND BPCntctPersnAddrUUID = _StandardEmailAddress.BPCntctPersnAddrUUID AND AddressNumber = _StandardEmailAddress.AddressNumber AND BPRelshpCatIsInFwdDirection = _StandardEmailAddress.BPRelshpCatIsInFwdDirection AND _StandardEmailAddress.IsDefaultEmailAddress = 'X'  -- association [0..1]
LEFT OUTER JOIN I_BPCntctPersnWebsiteURLGovTP AS _StandardWebsiteURL ON MasterDataChangeProcess = _StandardWebsiteURL.MasterDataChangeProcess AND MDChgProcessSrceSystem = _StandardWebsiteURL.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _StandardWebsiteURL.MDChgProcessSrceObject AND BPRelshpUUID = _StandardWebsiteURL.BPRelshpUUID AND BPCntctPersnAddrUUID = _StandardWebsiteURL.BPCntctPersnAddrUUID AND AddressNumber = _StandardWebsiteURL.AddressNumber AND BPRelshpCatIsInFwdDirection = _StandardWebsiteURL.BPRelshpCatIsInFwdDirection AND _StandardWebsiteURL.IsDefaultURLAddress = 'X'  -- association [0..1]
LEFT OUTER JOIN I_BusPartCommMdmTypeVH AS _CommType ON PrfrdCommMediumType = _CommType.CommunicationMediumType  -- association [0..1]
LEFT OUTER JOIN I_BPCntctPersnTelNumberGovTP AS _BPRelshpCntctPersnTelNmbr ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_BPCntctPersnMblNumberGovTP AS _BPRelshpCntctPersnMblNmbr ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_BPCntctPersnFaxNumberGovTP AS _BPRelshpCntctPersnFaxNmbr ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_BPCntctPersnEmailAddrGovTP AS _BPRelshpCntctPersnEmailAddr ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_BPCntctPersnWebsiteURLGovTP AS _BPRelshpCntctPersnWebsiteURL ON /* condition not available in parsed metadata */  -- association [0..*]
;