I_BPCustomerSalesTextProcessTP

DDL: I_BPCUSTOMERSALESTEXTPROCESSTP Type: view_entity TRANSACTIONAL Package: MDC_CUST_STAGING_BO

BP Customer Sales Desc Process Data - TP

I_BPCustomerSalesTextProcessTP is a Transactional CDS View that provides data about "BP Customer Sales Desc Process Data - TP" in SAP S/4HANA. It reads from 1 data source (I_BPCustomerSalesTextProcess) and exposes 25 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, ApplicationTextObjectType. It has 5 associations to related views. Part of development package MDC_CUST_STAGING_BO.

Data Sources (1)

SourceAliasJoin Type
I_BPCustomerSalesTextProcess I_BPCustomerSalesTextProcess from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerProcessTP _BusinessPartner $projection.MasterDataChangeProcess = _BusinessPartner.MasterDataChangeProcess and $projection.MDChgProcessStep = _BusinessPartner.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _BusinessPartner.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartner.MDChgProcessSrceObject
[1..1] I_BPCustomerProcessTP _Customer $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject and $projection.BPAssignmentID = _Customer.BPAssignmentID
[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 (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label BP Customer Sales Desc Process Data - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess
KEY MDChgProcessStep MDChgProcessStep
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem
KEY MDChgProcessSrceObject MDChgProcessSrceObject
KEY ApplicationTextObjectType ApplicationTextObjectType
KEY TextObjectKey TextObjectKey
KEY LongTextID LongTextID
KEY Language Language
KEY MasterDataTextLineIdentifier MasterDataTextLineIdentifier
KEY SalesOrganization SalesOrganization
KEY DistributionChannel DistributionChannel
KEY Division Division
KEY BPAssignmentID BPAssignmentID
Customer Customer
LineTextFormat LineTextFormat
MasterDataLineText MasterDataLineText
MDChgProcSrceLastChgdDateTime MDChgProcSrceLastChgdDateTime
MDChgProcessSourceModified MDChgProcessSourceModified
MDChgProcessSourceModifBinary MDChgProcessSourceModifBinary
_Customer _Customer
_CustomerSalesTextGeneral _CustomerSalesTextGeneral
_RecordType _RecordType
_BusinessPartner _BusinessPartner
_RecordMessages _RecordMessages
_KPIUpdateStatusText _KPIUpdateStatusText
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'BP Customer Sales Desc Process Data - TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #XXL,
  dataClass: #MIXED
}
@VDM.viewType: #TRANSACTIONAL
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity I_BPCustomerSalesTextProcessTP
  as select from I_BPCustomerSalesTextProcess
  association        to parent I_BPCustSalesTextGeneralProcTP as _CustomerSalesTextGeneral on  $projection.MasterDataChangeProcess   = _CustomerSalesTextGeneral.MasterDataChangeProcess
                                                                                           and $projection.MDChgProcessStep          = _CustomerSalesTextGeneral.MDChgProcessStep
                                                                                           and $projection.MDChgProcessSrceSystem    = _CustomerSalesTextGeneral.MDChgProcessSrceSystem
                                                                                           and $projection.MDChgProcessSrceObject    = _CustomerSalesTextGeneral.MDChgProcessSrceObject
                                                                                           and $projection.BPAssignmentID            = _CustomerSalesTextGeneral.BPAssignmentID
                                                                                           and $projection.SalesOrganization         = _CustomerSalesTextGeneral.SalesOrganization
                                                                                           and $projection.DistributionChannel       = _CustomerSalesTextGeneral.DistributionChannel
                                                                                           and $projection.Division                  = _CustomerSalesTextGeneral.Division
                                                                                           and $projection.ApplicationTextObjectType = _CustomerSalesTextGeneral.ApplicationTextObjectType
                                                                                           and $projection.TextObjectKey             = _CustomerSalesTextGeneral.TextObjectKey
                                                                                           and $projection.LongTextID                = _CustomerSalesTextGeneral.LongTextID
                                                                                           and $projection.Language                  = _CustomerSalesTextGeneral.Language                                                                                      

  association [1..1] to 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 [1..1] to I_BPCustomerProcessTP                 as _Customer                 on  $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess
                                                                                           and $projection.MDChgProcessStep        = _Customer.MDChgProcessStep
                                                                                           and $projection.MDChgProcessSrceSystem  = _Customer.MDChgProcessSrceSystem
                                                                                           and $projection.MDChgProcessSrceObject  = _Customer.MDChgProcessSrceObject
                                                                                           and $projection.BPAssignmentID          = _Customer.BPAssignmentID
  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
{


  key MasterDataChangeProcess,
  key MDChgProcessStep,
  key MDChgProcessSrceSystem,
  key MDChgProcessSrceObject,
  key ApplicationTextObjectType,
  key TextObjectKey,
  key LongTextID,
  key Language,
  key MasterDataTextLineIdentifier,
  key SalesOrganization,
  key DistributionChannel,
  key Division,
  key BPAssignmentID,
      Customer,
      LineTextFormat,
      MasterDataLineText,
      MDChgProcSrceLastChgdDateTime,
      cast(
        case
          when MDChgProcessSourceModified = '' then 'N'
          when MDChgProcessSourceModified = 'X' then 'M'
        else MDChgProcessSourceModified end as mdc_source_modified preserving type      ) as MDChgProcKPIUpdateStatus,

      MDChgProcessSourceModified,
      MDChgProcessSourceModifBinary,
      /* Associations */
      _Customer,
      _CustomerSalesTextGeneral,
      _RecordType,
      _BusinessPartner,
      _RecordMessages,
      _KPIUpdateStatusText
}