I_BPWEBSITEURL

CDS View

BP Website Core View

I_BPWEBSITEURL is a CDS View in S/4HANA. BP Website Core View. It contains 9 fields. 4 CDS views read from this table.

CDS Views using this table (4)

ViewTypeJoinVDMDescription
I_BPAddlCustWebsiteURLTP view from TRANSACTIONAL BO view for Website URL of MLTAS Customers
I_BPAddlSuplrWebsiteURLTP view from TRANSACTIONAL BO view for Website URL of MLTAS Suppliers
I_BPWebsiteURLTP view from TRANSACTIONAL Business Partner Website
I_BusPartWebsiteURLGov view union_all BASIC BP Website URL Governance

Fields (9)

KeyField CDS FieldsUsed in Views
KEY AddressID AddressID 3
KEY BusinessPartner BusinessPartner 1
KEY IsDefaultURLAddress IsDefaultURLAddress 3
KEY OrdinalNumber OrdinalNumber 3
KEY Person Person 3
KEY ValidityStartDate ValidityStartDate 3
SearchURLAddress SearchURLAddress 3
URLFieldLength URLFieldLength 3
WebsiteURL WebsiteURL 3
@AbapCatalog.sqlViewName: 'IBPWEBSITEURL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'BP Website Core View'
@AccessControl.personalData.blocking: #REQUIRED
@Analytics : {dataCategory: #DIMENSION}      // Need to check

@VDM.viewType: #BASIC 
@ObjectModel.representativeKey: 'AddressID' // Need to check


@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.allowExtensions: true
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view I_BPWebsiteURL //I_BPWebsiteURL_2 will be successor based on the new Address/Communication views

    as select from P_AddressHomepageURL 
        inner join but020 on AddressID = but020.addrnumber

association[1..1] to I_BusinessPartner as _BusinessPartner on $projection.BusinessPartner = _BusinessPartner.BusinessPartner

association [0..1] to I_BPProtectedAddress as _BPProtectedAddress on $projection.BusinessPartner = _BPProtectedAddress.BusinessPartner
                                                                   and $projection.AddressID = _BPProtectedAddress.AddressID
{
    key but020.partner as BusinessPartner,
    key P_AddressHomepageURL.AddressID,
    key P_AddressHomepageURL.Person,
    key P_AddressHomepageURL.OrdinalNumber,
    key P_AddressHomepageURL.ValidityStartDate,
    key P_AddressHomepageURL.IsDefaultURLAddress,    
    P_AddressHomepageURL.CommNumberIsNotUsed,
    P_AddressHomepageURL.UniformResourceIdentifierType,
    P_AddressHomepageURL.SearchURLAddress ,  
    P_AddressHomepageURL.URLFieldLength ,
    P_AddressHomepageURL.WebsiteURL, 
        
    _BusinessPartner,
    _BPProtectedAddress,
    _AddressCommunicationRemark  
}
where
  ( Person = ' ' or _BusinessPartner.BusinessPartnerCategory = '1') ////Do not return Person Workplace Addresses