I_BPProtectedAddress

DDL: I_BPPROTECTEDADDRESS SQL: IBPPROTADDR Type: view COMPOSITE

Business Partner Protected Addresses

I_BPProtectedAddress is a Composite CDS View that provides data about "Business Partner Protected Addresses" in SAP S/4HANA. It reads from 1 data source (P_BPProtectedAddrUsageCount) and exposes 3 fields with key fields BusinessPartner, AddressID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_BPProtectedAddrUsageCount P_BPProtectedAddrUsageCount from

Associations (1)

CardinalityTargetAliasCondition
[1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IBPPROTADDR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
EndUserText.label Business Partner Protected Addresses view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner BusinessPartner
KEY AddressID AddressID
_BusinessPartner _BusinessPartner
@AbapCatalog.sqlViewName: 'IBPPROTADDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Business Partner Protected Addresses'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #REQUIRED

define view I_BPProtectedAddress
  as select from P_BPProtectedAddrUsageCount  
  association [1] to I_BusinessPartner as _BusinessPartner on $projection.BusinessPartner = _BusinessPartner.BusinessPartner
{
  key BusinessPartner,
  key AddressID,
  case
    when BPProtectedAddrUsageCount > 0
      then cast('E' as bu_protected)
    else
      cast(' ' as bu_protected)
  end as BPAddressIsProtected,
  
  _BusinessPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_BPPROTECTEDADDRUSAGECOUNT"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/