I_BPAddlSuplrEmailAddressTP

DDL: I_BPADDLSUPLREMAILADDRESSTP SQL: IBPADDSEATP Type: view TRANSACTIONAL Package: VDM_MD_BP

BO view for email for MLTAS suppliers

I_BPAddlSuplrEmailAddressTP is a Transactional CDS View that provides data about "BO view for email for MLTAS suppliers" in SAP S/4HANA. It reads from 3 data sources (I_BPEmailAddress, I_BPMultipleAssignment, I_Supplier) and exposes 12 fields with key fields BusinessPartner, Supplier, AddressID, OrdinalNumber. It has 2 associations to related views. Part of development package VDM_MD_BP.

Data Sources (3)

SourceAliasJoin Type
I_BPEmailAddress BPEmailAddress from
I_BPMultipleAssignment BPMultipleAssignment inner
I_Supplier Supplier inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerTP _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] I_BPAdditionalSupplierTP _BPAdditionalSupplier $projection.BusinessPartner = _BPAdditionalSupplier.BusinessPartner and $projection.Supplier = _BPAdditionalSupplier.Supplier

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IBPADDSEATP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label BO view for email for MLTAS suppliers view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeEnabled true view
Search.searchable true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.writeDraftPersistence BPADDSEA_D view
ObjectModel.draftEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BPMultipleAssignment BusinessPartner
KEY Supplier I_Supplier Supplier
KEY AddressID I_BPEmailAddress AddressID
KEY OrdinalNumber I_BPEmailAddress OrdinalNumber
IsDefaultEmailAddress I_BPEmailAddress IsDefaultEmailAddress
EmailAddress I_BPEmailAddress EmailAddress
IsHomeEmailAddress I_BPEmailAddress IsHomeEmailAddress
AddressCommunicationRemarkText
SupplierName I_Supplier SupplierName
BPSupplierName I_Supplier BPSupplierName
_BusinessPartner _BusinessPartner
_BPAdditionalSupplier _BPAdditionalSupplier
@AbapCatalog.sqlViewName: 'IBPADDSEATP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'BO view for email for MLTAS suppliers'


@VDM.viewType: #TRANSACTIONAL
@ObjectModel.writeEnabled: true
@ObjectModel.createEnabled

@ObjectModel.deleteEnabled
@ObjectModel.updateEnabled
@Search.searchable: true
@ObjectModel.semanticKey: ['BusinessPartner', 'Supplier', 'AddressID', 'OrdinalNumber' ]
@AccessControl.personalData.blocking: #REQUIRED

@ObjectModel.writeDraftPersistence: 'BPADDSEA_D'
@ObjectModel.draftEnabled:true

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view I_BPAddlSuplrEmailAddressTP
  as select from I_BPEmailAddress       as BPEmailAddress
    inner join   I_BPMultipleAssignment as BPMultipleAssignment on BPEmailAddress.AddressID = BPMultipleAssignment.AddressNumber
    inner join   I_Supplier             as Supplier             on BPMultipleAssignment.BPObjectID = Supplier.Supplier

  association [1..1] to I_BusinessPartnerTP      as _BusinessPartner      on  $projection.BusinessPartner = _BusinessPartner.BusinessPartner
  association [1..1] to I_BPAdditionalSupplierTP as _BPAdditionalSupplier on  $projection.BusinessPartner = _BPAdditionalSupplier.BusinessPartner
                                                                          and $projection.Supplier        = _BPAdditionalSupplier.Supplier

{
  key BPMultipleAssignment.BusinessPartner,
  key Supplier.Supplier                                                  as Supplier,
  key BPEmailAddress.AddressID,
  key BPEmailAddress.OrdinalNumber,
      BPEmailAddress.IsDefaultEmailAddress,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      BPEmailAddress.EmailAddress,
      BPEmailAddress.IsHomeEmailAddress,
      BPEmailAddress._AddressCommunicationRemark.CommunicationRemarkText as AddressCommunicationRemarkText,
      //  cast('' as ad_remark2 ) as AddressCommunicationRemarkText,

      Supplier.SupplierName,

      //    For increased field length

      Supplier.BPSupplierName,

      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT]
      _BusinessPartner,
      @ObjectModel.association.type: [#TO_COMPOSITION_PARENT]
      _BPAdditionalSupplier

}
where
      BPMultipleAssignment.IsStandardAssignment <> 'X'
  and BPMultipleAssignment.BPAssignmentCategory =  'SUPPL'