I_BPPHONENUMBERTEXTPROC

CDS View

Core View for Address-Depend Phone Text

I_BPPHONENUMBERTEXTPROC is a CDS View in S/4HANA. Core View for Address-Depend Phone Text. It contains 9 fields. 3 CDS views read from this table.

CDS Views using this table (3)

ViewTypeJoinVDMDescription
I_BPPhoneNumberTextProcChanges view_entity from Phone Number Text Changes
I_BPPhoneNumberTextProcChanges view_entity union_all Phone Number Text Changes
I_BPPhoneNumberTextProcTP view_entity from TRANSACTIONAL BP Address-Depend Phone Text (Process)

Fields (9)

KeyField CDS FieldsUsed in Views
KEY AddressNumber AddressNumber 1
KEY Language Language 1
KEY MasterDataChangeProcess MasterDataChangeProcess 1
KEY MDChgProcessSrceObject MDChgProcessSrceObject 1
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem 1
KEY MDChgProcessStep MDChgProcessStep 1
KEY OrdinalNumber OrdinalNumber 1
CommunicationRemarkText MDChgProcessRecordObjectText 1
MDChgProcessSourceModified MDChgProcessSourceModified 1
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Core View for Address-Depend Phone Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #XXL,
  dataClass: #MIXED
}
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity I_BPPhoneNumberTextProc 
  as select from but_adr2t_prc as _text inner join but_adr2_prc as _phone 
  on _text.process_id = _phone.process_id and _text.process_step_no = _phone.process_step_no and _text.source_system = _phone.source_system and
     _text.source_id = _phone.source_id and _text.source_addrnumber = _phone.source_addrnumber and _text.consnumber = _phone.consnumber
  
  association [1..1] to I_BusinessPartnerProcess as _BusinessPartner    on  _text.process_id      = _BusinessPartner.MasterDataChangeProcess
                                                                        and _text.process_step_no = _BusinessPartner.MDChgProcessStep
                                                                        and _text.source_system   = _BusinessPartner.MDChgProcessSrceSystem
                                                                        and _text.source_id       = _BusinessPartner.MDChgProcessSrceObject
  association [0..1] to I_BPProtectedAddress     as _BPProtectedAddress on  _text.source_id         = _BPProtectedAddress.BusinessPartner
                                                                        and _text.source_addrnumber = _BPProtectedAddress.AddressID
{
  key _text.process_id               as MasterDataChangeProcess,
  key _text.process_step_no          as MDChgProcessStep,
  key _text.source_system            as MDChgProcessSrceSystem,
  key _text.source_id                as MDChgProcessSrceObject,
  key _text.source_addrnumber        as AddressNumber,
  key _text.consnumber               as OrdinalNumber,
  key _text.langu                    as Language,
      _text.date_from                as AddrCommunicationValidFromDate,
      _text.remark                   as CommunicationRemarkText,
      _text.source_recency           as MDChgProcSrceLastChgdDateTime,
      _text.source_modified          as MDChgProcessSourceModified,
      _text.source_modification_blip as MDChgProcessSourceModifBinary,
      
      _BusinessPartner,
      _BPProtectedAddress
}
where 
     _phone.r3_user = '' 
  or _phone.r3_user = '1'