I_BPIdentificationProcessTP

DDL: I_BPIDENTIFICATIONPROCESSTP Type: view_entity TRANSACTIONAL Package: MDC_BUPA_GOV_BO

View for ID data for BP in processes

I_BPIdentificationProcessTP is a Transactional CDS View that provides data about "View for ID data for BP in processes" in SAP S/4HANA. It reads from 1 data source (I_BPIdentificationProcess) and exposes 26 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, BPIdentificationType. It has 6 associations to related views. Part of development package MDC_BUPA_GOV_BO.

Data Sources (1)

SourceAliasJoin Type
I_BPIdentificationProcess I_BPIdentificationProcess from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_Region _Region $projection.Country = _Region.Country and $projection.Region = _Region.Region
[0..1] I_BusPartIdentificationType _BusPartIdentificationType $projection.BPIdentificationType = _BusPartIdentificationType.BPIdentificationType and $projection.businesspartnercategory = _BusPartIdentificationType.BusinessPartnerCategory
[0..1] I_BPProcessKPIRecordType _RecordType $projection.MasterDataChangeProcess = _RecordType.MasterDataChangeProcess and $projection.MDChgProcessStep = _RecordType.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _RecordType.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _RecordType.MDChgProcessSrceObject
[0..1] I_MDChangeProcessKPIRowVH _KPIUpdateStatusText $projection.MDChgProcKPIUpdateStatus = _KPIUpdateStatusText.MDChgProcKPIUpdateStatus
[0..*] I_MDChgProcRecordMessages _RecordMessages $projection.MasterDataChangeProcess = _RecordMessages.MasterDataChangeProcess and $projection.MDChgProcessStep = _RecordMessages.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _RecordMessages.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _RecordMessages.MDChgProcessSrceObject

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label View for ID data for BP in processes view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess
KEY MDChgProcessStep MDChgProcessStep
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem
KEY MDChgProcessSrceObject MDChgProcessSrceObject
KEY BPIdentificationType BPIdentificationType
KEY BPIdentificationNumber BPIdentificationNumber
BusinessPartner BusinessPartner
BPIdnNmbrIssuingInstitute BPIdnNmbrIssuingInstitute
BPIdentificationEntryDate BPIdentificationEntryDate
ValidityStartDate ValidityStartDate
ValidityEndDate ValidityEndDate
Country Country
Region Region
BusinessPartnerCategory _BusinessPartner BusinessPartnerCategory
AddressLine1Text
MDChgProcessSourceModified MDChgProcessSourceModified
MDChgProcessSourceModifBinary MDChgProcessSourceModifBinary
MDChgProcSrceLastChgdDateTime MDChgProcSrceLastChgdDateTime
_BusinessPartner _BusinessPartner
_BusinessPartnerCategory _BusinessPartner _BusinessPartnerCategory
_BusPartIdentificationType _BusPartIdentificationType
_Region _Region
_Country _Country
_RecordType _RecordType
_KPIUpdateStatusText _KPIUpdateStatusText
_RecordMessages _RecordMessages
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'View for ID data for BP in processes'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@Search.searchable: true
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #TRANSACTIONAL
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity I_BPIdentificationProcessTP
  as select from I_BPIdentificationProcess
  association        to parent I_BusinessPartnerProcessTP as _BusinessPartner     on  $projection.MasterDataChangeProcess = _BusinessPartner.MasterDataChangeProcess
                                                                                  and $projection.MDChgProcessStep        = _BusinessPartner.MDChgProcessStep
                                                                                  and $projection.MDChgProcessSrceSystem  = _BusinessPartner.MDChgProcessSrceSystem
                                                                                  and $projection.MDChgProcessSrceObject  = _BusinessPartner.MDChgProcessSrceObject
  association [0..1] to I_Country                         as _Country             on  $projection.Country = _Country.Country
  association [0..1] to I_Region                          as _Region              on  $projection.Country = _Region.Country
                                                                                  and $projection.Region  = _Region.Region
  association [0..1] to I_BusPartIdentificationType       as _BusPartIdentificationType on  $projection.BPIdentificationType    = _BusPartIdentificationType.BPIdentificationType
                                                                                  and $projection.businesspartnercategory = _BusPartIdentificationType.BusinessPartnerCategory
  association [0..1] to I_BPProcessKPIRecordType          as _RecordType          on  $projection.MasterDataChangeProcess = _RecordType.MasterDataChangeProcess
                                                                                  and $projection.MDChgProcessStep        = _RecordType.MDChgProcessStep
                                                                                  and $projection.MDChgProcessSrceSystem  = _RecordType.MDChgProcessSrceSystem
                                                                                  and $projection.MDChgProcessSrceObject  = _RecordType.MDChgProcessSrceObject
  association [0..1] to I_MDChangeProcessKPIRowVH         as _KPIUpdateStatusText on  $projection.MDChgProcKPIUpdateStatus = _KPIUpdateStatusText.MDChgProcKPIUpdateStatus
  association [0..*] to I_MDChgProcRecordMessages         as _RecordMessages      on  $projection.MasterDataChangeProcess = _RecordMessages.MasterDataChangeProcess
                                                                                  and $projection.MDChgProcessStep        = _RecordMessages.MDChgProcessStep
                                                                                  and $projection.MDChgProcessSrceSystem  = _RecordMessages.MDChgProcessSrceSystem
                                                                                  and $projection.MDChgProcessSrceObject  = _RecordMessages.MDChgProcessSrceObject

{
      //I_BPIdentificationProcess

  key MasterDataChangeProcess,
  key MDChgProcessStep,
  key MDChgProcessSrceSystem,
  key MDChgProcessSrceObject,
  key BPIdentificationType,
      @Search.defaultSearchElement: true
      @Search.fuzzinessThreshold: 0.8
      @Search.ranking: #HIGH
  key BPIdentificationNumber,
      BusinessPartner,
      BPIdnNmbrIssuingInstitute,
      BPIdentificationEntryDate,
      ValidityStartDate,
      ValidityEndDate,
      Country,
      Region,
      _BusinessPartner.BusinessPartnerCategory,
      /* Record Identification */
      /* Has been moved to a virtual field in the projection layer, therefore the dummy entry */
      cast( '' as abap.char(209) )  as AddressLine1Text,
      MDChgProcessSourceModified,
      MDChgProcessSourceModifBinary,
      MDChgProcSrceLastChgdDateTime,
      
      cast( case
        when MDChgProcessSourceModified = '' then 'N'
        when MDChgProcessSourceModified = 'X' then 'M'
        else MDChgProcessSourceModified end as mdc_source_modified ) as MDChgProcKPIUpdateStatus,
      _BusinessPartner,
      _BusinessPartner._BusinessPartnerCategory,
      _BusPartIdentificationType,
      _Region,
      _Country,
      _RecordType,
      _KPIUpdateStatusText,
      _RecordMessages
}