I_BPAddlSuplrFaxNumberTP

DDL: I_BPADDLSUPLRFAXNUMBERTP SQL: IBPADDSFNTP Type: view TRANSACTIONAL

BO view for fax num for MLTAS suppliers

I_BPAddlSuplrFaxNumberTP is a Transactional CDS View that provides data about "BO view for fax num for MLTAS suppliers" in SAP S/4HANA. It reads from 3 data sources (I_BPFaxNumber, I_BPMultipleAssignment, I_Supplier) and exposes 15 fields with key fields BusinessPartner, Supplier, AddressID, Person, OrdinalNumber. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_BPFaxNumber BPFaxNumber 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 IBPADDSFNTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label BO view for fax num for MLTAS suppliers view
VDM.viewType #TRANSACTIONAL view
ObjectModel.writeEnabled true view
Search.searchable true view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.writeDraftPersistence BPADDSFN_D view
ObjectModel.draftEnabled true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BPMultipleAssignment BusinessPartner
KEY Supplier I_Supplier Supplier
KEY AddressID I_BPFaxNumber AddressID
KEY Person I_BPFaxNumber Person
KEY OrdinalNumber I_BPFaxNumber OrdinalNumber
IsDefaultFaxNumber I_BPFaxNumber IsDefaultFaxNumber
FaxCountry I_BPFaxNumber FaxCountry
FaxNumber I_BPFaxNumber FaxNumber
FaxNumberExtension I_BPFaxNumber FaxNumberExtension
InternationalFaxNumber I_BPFaxNumber InternationalFaxNumber
SupplierName I_Supplier SupplierName
BPSupplierName I_Supplier BPSupplierName
AddressCommunicationRemarkText
_BusinessPartner _BusinessPartner
_BPAdditionalSupplier _BPAdditionalSupplier
@AbapCatalog.sqlViewName: 'IBPADDSFNTP'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'BO view for fax num for MLTAS suppliers'

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

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

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

@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MASTER
define view I_BPAddlSuplrFaxNumberTP
  as select from I_BPFaxNumber          as BPFaxNumber
    inner join   I_BPMultipleAssignment as BPMultipleAssignment on BPFaxNumber.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 BPFaxNumber.AddressID,
  key BPFaxNumber.Person,
  key BPFaxNumber.OrdinalNumber,
      BPFaxNumber.IsDefaultFaxNumber,
      BPFaxNumber.FaxCountry,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
      BPFaxNumber.FaxNumber,
      BPFaxNumber.FaxNumberExtension,
      BPFaxNumber.InternationalFaxNumber,
      Supplier.SupplierName,

      //    For field length increment

      Supplier.BPSupplierName,


      // cast('' as ad_remark2 ) as AddressCommunicationRemarkText,

      BPFaxNumber._AddressCommunicationRemark.CommunicationRemarkText as AddressCommunicationRemarkText,

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

}
where
      BPMultipleAssignment.IsStandardAssignment <> 'X'
  and BPMultipleAssignment.BPAssignmentCategory =  'SUPPL'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDRESSCOMMUNICATIONREMARK_2",
"I_BPFAXNUMBER",
"I_BPMULTIPLEASSIGNMENT",
"I_SUPPLIER"
],
"ASSOCIATED":
[
"I_BPADDITIONALSUPPLIERTP",
"I_BUSINESSPARTNERTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/