I_BPCustomerCompanyProcessTP

DDL: I_BPCUSTOMERCOMPANYPROCESSTP Type: view_entity TRANSACTIONAL Package: MDC_CUST_STAGING_BO

Business Partner Customer Company Code Process Data - TP

I_BPCustomerCompanyProcessTP is a Transactional CDS View that provides data about "Business Partner Customer Company Code Process Data - TP" in SAP S/4HANA. It reads from 1 data source (I_BPCustomerCompanyProcess) and exposes 83 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, BPAssignmentID. It has 26 associations to related views. Part of development package MDC_CUST_STAGING_BO.

Data Sources (1)

SourceAliasJoin Type
I_BPCustomerCompanyProcess I_BPCustomerCompanyProcess from

Associations (26)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[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..1] I_AccountingClerk _AccountingClerk $projection.CompanyCode = _AccountingClerk.CompanyCode and $projection.AccountingClerk = _AccountingClerk.AccountingClerk
[0..1] I_ToleranceGroup _ToleranceGroup $projection.CompanyCode = _ToleranceGroup.CompanyCode and $projection.APARToleranceGroup = _ToleranceGroup.APARToleranceGroup
[0..1] I_PaymentBlockingReason _PaymentBlockingReason $projection.PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason
[0..1] I_CashPlanningGroup _CashPlanningGroup $projection.CashPlanningGroup = _CashPlanningGroup.CashPlanningGroup
[0..1] I_GLAccountInCompanyCode _ReconciliationAccount $projection.CompanyCode = _ReconciliationAccount.CompanyCode and $projection.ReconciliationAccount = _ReconciliationAccount.GLAccount and _ReconciliationAccount.ReconciliationAccountType = 'D'
[0..1] I_Customer _HeadOffice $projection.CustomerHeadOffice = _HeadOffice.Customer
[0..1] I_AcctgDocItmDspSqncRule _LayoutSortingRule $projection.LayoutSortingRule = _LayoutSortingRule.AcctgDocItmDisplaySequenceRule
[0..1] I_Paymentmethodsupplement _PaymentMethodSupplement $projection.PaymentMethodSupplement = _PaymentMethodSupplement.PaymentMethodSupplement
[0..1] I_CustomerCompany _AlternativePayer $projection.AlternativePayerAccount = _AlternativePayer.Customer and $projection.CompanyCode = _AlternativePayer.CompanyCode
[0..1] I_Housebank _HouseBank $projection.HouseBank = _HouseBank.HouseBank and $projection.CompanyCode = _HouseBank.CompanyCode
[0..1] I_InterestCalculationCode _InterestCalculationCode $projection.InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode
[0..1] I_MM_SuplrReleaseGroupVH _SupplierReleaseGroup $projection.SupplierReleaseGroup = _SupplierReleaseGroup.SupplierReleaseGroup
[0..1] I_PaymentTerms _CreditMemoPaymentTerms $projection.CreditMemoPaymentTerms = _CreditMemoPaymentTerms.PaymentTerms
[0..1] I_CustomerPaymentTerms _BillExchChargePaymentTerms $projection.BillExchChargePaymentTerms = _BillExchChargePaymentTerms.CustomerPaymentTerms
[0..1] I_NegotiatedLeave _NegotiatedLeave $projection.KnownOrNegotiatedLeave = _NegotiatedLeave.KnownOrNegotiatedLeave
[0..1] I_Customer _BuyingGroupAccount $projection.BuyingGroupAccountNumber = _BuyingGroupAccount.Customer
[0..1] I_BPPeriodicAccountStatement _PeriodicAccountStatement $projection.BPPeriodicAccountStatement = _PeriodicAccountStatement.BPPeriodicAccountStatement
[0..1] I_AcctsReceivablePledging _AcctsReceivablePledging $projection.AcctsReceivablePledgingCode = _AcctsReceivablePledging.AcctsReceivablePledgingCode and $projection.CompanyCode = _AcctsReceivablePledging.CompanyCode
[0..1] E_BPCustomerCompanyProcess _ExtBPCustomerCompanyProcess $projection.MasterDataChangeProcess = _ExtBPCustomerCompanyProcess.MasterDataChangeProcess and $projection.MDChgProcessStep = _ExtBPCustomerCompanyProcess.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _ExtBPCustomerCompanyProcess.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _ExtBPCustomerCompanyProcess.MDChgProcessSrceObject and $projection.BPAssignmentID = _ExtBPCustomerCompanyProcess.BPAssignmentID and $projection.CompanyCode = _ExtBPCustomerCompanyProcess.CompanyCode
[0..*] I_BPCustomerDunningProcessTP _CustomerDunning
[0..*] I_BPCustomerWhgdTaxProcessTP _CustomerWithholdingTax
[0..*] I_BPCustCoTextGeneralProcessTP _CustomerCompanyTextGeneral
[0..*] I_BPCustCoPmtdAltvPayerProcTP _CustomerCompanyPermittedPayer

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Business Partner Customer Company Code Process Data - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess
KEY MDChgProcessStep MDChgProcessStep
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem
KEY MDChgProcessSrceObject MDChgProcessSrceObject
KEY BPAssignmentID BPAssignmentID
KEY CompanyCode CompanyCode
Customer Customer
PersonnelNumber PersonnelNumber
PhysicalInventoryBlockInd PhysicalInventoryBlockInd
DeletionIndicator DeletionIndicator
LayoutSortingRule LayoutSortingRule
AccountingClerk AccountingClerk
ReconciliationAccount ReconciliationAccount
AuthorizationGroup AuthorizationGroup
CustomerHeadOffice CustomerHeadOffice
AlternativePayerAccount AlternativePayerAccount
PaymentMethodsList PaymentMethodsList
CustomerSupplierClearingIsUsed CustomerSupplierClearingIsUsed
PaymentBlockingReason PaymentBlockingReason
PaymentTerms PaymentTerms
BillExchChargePaymentTerms BillExchChargePaymentTerms
InterestCalculationCode InterestCalculationCode
InterestCalculationDate InterestCalculationDate
IntrstCalcFrequencyInMonths IntrstCalcFrequencyInMonths
AccountByCustomer AccountByCustomer
UserAtCustomer UserAtCustomer
CustomerAccountNote CustomerAccountNote
CashPlanningGroup CashPlanningGroup
CollectiveInvoiceVariant CollectiveInvoiceVariant
IsToBeLocallyProcessed IsToBeLocallyProcessed
BPPeriodicAccountStatement BPPeriodicAccountStatement
LastInterestCalcRunDate LastInterestCalcRunDate
RecordPaymentHistoryIndicator RecordPaymentHistoryIndicator
APARToleranceGroup APARToleranceGroup
CheckPaidDurationInDays CheckPaidDurationInDays
HouseBank HouseBank
ItemIsToBePaidSeparately ItemIsToBePaidSeparately
CustPreviousMasterRecordNumber CustPreviousMasterRecordNumber
KnownOrNegotiatedLeave KnownOrNegotiatedLeave
DunningNoticeGroup DunningNoticeGroup
LockboxInternalID LockboxInternalID
PaymentMethodSupplement PaymentMethodSupplement
BuyingGroupAccountNumber BuyingGroupAccountNumber
PaytAdviceIsSentbyEDI PaytAdviceIsSentbyEDI
SupplierReleaseGroup SupplierReleaseGroup
AccountingClerkFaxNumber AccountingClerkFaxNumber
AccountingClerkInternetAddress AccountingClerkInternetAddress
CreditMemoPaymentTerms CreditMemoPaymentTerms
ValueAdjustmentKey ValueAdjustmentKey
DeletionIsBlocked DeletionIsBlocked
AccountingClerkPhoneNumber AccountingClerkPhoneNumber
AcctsReceivablePledgingCode AcctsReceivablePledgingCode
PaymentReason PaymentReason
MDChgProcessSourceModified MDChgProcessSourceModified
MDChgProcessSourceModifBinary MDChgProcessSourceModifBinary
MDChgProcSrceLastChgdDateTime MDChgProcSrceLastChgdDateTime
_Customer _Customer
_CustomerDunning _CustomerDunning
_CustomerWithholdingTax _CustomerWithholdingTax
_CustomerCompanyTextGeneral _CustomerCompanyTextGeneral
_CustomerCompanyPermittedPayer _CustomerCompanyPermittedPayer
_BusinessPartner _BusinessPartner
_CompanyCode _CompanyCode
_RecordType _RecordType
_KPIUpdateStatusText _KPIUpdateStatusText
_AccountingClerk _AccountingClerk
_ToleranceGroup _ToleranceGroup
_PaymentBlockingReason _PaymentBlockingReason
_CashPlanningGroup _CashPlanningGroup
_ReconciliationAccount _ReconciliationAccount
_HeadOffice _HeadOffice
_LayoutSortingRule _LayoutSortingRule
_PaymentMethodSupplement _PaymentMethodSupplement
_AlternativePayer _AlternativePayer
_HouseBank _HouseBank
_InterestCalculationCode _InterestCalculationCode
_SupplierReleaseGroup _SupplierReleaseGroup
_CreditMemoPaymentTerms _CreditMemoPaymentTerms
_BillExchChargePaymentTerms _BillExchChargePaymentTerms
_NegotiatedLeave _NegotiatedLeave
_BuyingGroupAccount _BuyingGroupAccount
_PeriodicAccountStatement _PeriodicAccountStatement
_AcctsReceivablePledging _AcctsReceivablePledging
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Business Partner Customer Company Code Process Data - TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #S,
  dataClass: #MIXED
}
@VDM.viewType: #TRANSACTIONAL
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity I_BPCustomerCompanyProcessTP
  as select from I_BPCustomerCompanyProcess

  association        to parent 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
  composition [0..*] of I_BPCustomerDunningProcessTP   as _CustomerDunning
  composition [0..*] of I_BPCustomerWhgdTaxProcessTP   as _CustomerWithholdingTax
  composition [0..*] of I_BPCustCoTextGeneralProcessTP as _CustomerCompanyTextGeneral
  composition [0..*] of I_BPCustCoPmtdAltvPayerProcTP  as _CustomerCompanyPermittedPayer

  association        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 [0..1] to I_CompanyCode                  as _CompanyCode                 on  $projection.CompanyCode = _CompanyCode.CompanyCode
  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..1] to I_AccountingClerk              as _AccountingClerk             on  $projection.CompanyCode     = _AccountingClerk.CompanyCode
                                                                                       and $projection.AccountingClerk = _AccountingClerk.AccountingClerk
  association [0..1] to I_ToleranceGroup               as _ToleranceGroup              on  $projection.CompanyCode        = _ToleranceGroup.CompanyCode
                                                                                       and $projection.APARToleranceGroup = _ToleranceGroup.APARToleranceGroup
  association [0..1] to I_PaymentBlockingReason        as _PaymentBlockingReason       on  $projection.PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason
  association [0..1] to I_CashPlanningGroup            as _CashPlanningGroup           on  $projection.CashPlanningGroup = _CashPlanningGroup.CashPlanningGroup
  association [0..1] to I_GLAccountInCompanyCode       as _ReconciliationAccount       on  $projection.CompanyCode                          = _ReconciliationAccount.CompanyCode
                                                                                       and $projection.ReconciliationAccount                = _ReconciliationAccount.GLAccount
                                                                                       and _ReconciliationAccount.ReconciliationAccountType = 'D'
  association [0..1] to I_Customer                     as _HeadOffice                  on  $projection.CustomerHeadOffice = _HeadOffice.Customer
  association [0..1] to I_AcctgDocItmDspSqncRule       as _LayoutSortingRule           on  $projection.LayoutSortingRule = _LayoutSortingRule.AcctgDocItmDisplaySequenceRule

  association [0..1] to I_Paymentmethodsupplement      as _PaymentMethodSupplement     on  $projection.PaymentMethodSupplement = _PaymentMethodSupplement.PaymentMethodSupplement
  association [0..1] to I_CustomerCompany              as _AlternativePayer            on  $projection.AlternativePayerAccount = _AlternativePayer.Customer
                                                                                       and $projection.CompanyCode             = _AlternativePayer.CompanyCode
  association [0..1] to I_Housebank                    as _HouseBank                   on  $projection.HouseBank   = _HouseBank.HouseBank
                                                                                       and $projection.CompanyCode = _HouseBank.CompanyCode
  association [0..1] to I_InterestCalculationCode      as _InterestCalculationCode     on  $projection.InterestCalculationCode = _InterestCalculationCode.InterestCalculationCode
  association [0..1] to I_MM_SuplrReleaseGroupVH       as _SupplierReleaseGroup        on  $projection.SupplierReleaseGroup = _SupplierReleaseGroup.SupplierReleaseGroup
  association [0..1] to I_PaymentTerms                 as _CreditMemoPaymentTerms      on  $projection.CreditMemoPaymentTerms = _CreditMemoPaymentTerms.PaymentTerms
  association [0..1] to I_CustomerPaymentTerms         as _BillExchChargePaymentTerms  on  $projection.BillExchChargePaymentTerms = _BillExchChargePaymentTerms.CustomerPaymentTerms
  association [0..1] to I_NegotiatedLeave              as _NegotiatedLeave             on  $projection.KnownOrNegotiatedLeave = _NegotiatedLeave.KnownOrNegotiatedLeave
  association [0..1] to I_Customer                     as _BuyingGroupAccount          on  $projection.BuyingGroupAccountNumber = _BuyingGroupAccount.Customer
  association [0..1] to I_BPPeriodicAccountStatement   as _PeriodicAccountStatement    on  $projection.BPPeriodicAccountStatement = _PeriodicAccountStatement.BPPeriodicAccountStatement
  association [0..1] to I_AcctsReceivablePledging      as _AcctsReceivablePledging     on  $projection.AcctsReceivablePledgingCode = _AcctsReceivablePledging.AcctsReceivablePledgingCode
                                                                                       and $projection.CompanyCode                 = _AcctsReceivablePledging.CompanyCode
  association [0..1] to E_BPCustomerCompanyProcess     as _ExtBPCustomerCompanyProcess on  $projection.MasterDataChangeProcess = _ExtBPCustomerCompanyProcess.MasterDataChangeProcess
                                                                                       and $projection.MDChgProcessStep        = _ExtBPCustomerCompanyProcess.MDChgProcessStep
                                                                                       and $projection.MDChgProcessSrceSystem  = _ExtBPCustomerCompanyProcess.MDChgProcessSrceSystem
                                                                                       and $projection.MDChgProcessSrceObject  = _ExtBPCustomerCompanyProcess.MDChgProcessSrceObject
                                                                                       and $projection.BPAssignmentID          = _ExtBPCustomerCompanyProcess.BPAssignmentID
                                                                                       and $projection.CompanyCode             = _ExtBPCustomerCompanyProcess.CompanyCode
{
  key MasterDataChangeProcess,
  key MDChgProcessStep,
  key MDChgProcessSrceSystem,
  key MDChgProcessSrceObject,
  key BPAssignmentID,
  key CompanyCode,
      Customer,
      PersonnelNumber,
      PhysicalInventoryBlockInd,
      DeletionIndicator,
      LayoutSortingRule,
      AccountingClerk,
      ReconciliationAccount,
      AuthorizationGroup,
      CustomerHeadOffice,
      AlternativePayerAccount,
      PaymentMethodsList,
      CustomerSupplierClearingIsUsed,
      PaymentBlockingReason,
      PaymentTerms,
      BillExchChargePaymentTerms,
      InterestCalculationCode,
      InterestCalculationDate,
      IntrstCalcFrequencyInMonths,
      AccountByCustomer,
      UserAtCustomer,
      CustomerAccountNote,
      CashPlanningGroup,
      CollectiveInvoiceVariant,
      IsToBeLocallyProcessed,
      BPPeriodicAccountStatement,
      LastInterestCalcRunDate,
      RecordPaymentHistoryIndicator,
      APARToleranceGroup,
      CheckPaidDurationInDays,
      HouseBank,
      ItemIsToBePaidSeparately,
      CustPreviousMasterRecordNumber,
      KnownOrNegotiatedLeave,
      DunningNoticeGroup,
      LockboxInternalID,
      PaymentMethodSupplement,
      BuyingGroupAccountNumber,
      PaytAdviceIsSentbyEDI,
      SupplierReleaseGroup,
      AccountingClerkFaxNumber,
      AccountingClerkInternetAddress,
      CreditMemoPaymentTerms,
      ValueAdjustmentKey,
      DeletionIsBlocked,
      AccountingClerkPhoneNumber,
      AcctsReceivablePledgingCode,
      //      WithholdingTaxCountry,

      //      @Semantics.booleanIndicator

      //      IsBusinessPurposeCompleted,

      //      PaymentClearingGroup,

      PaymentReason,
      MDChgProcessSourceModified,
      MDChgProcessSourceModifBinary,
      MDChgProcSrceLastChgdDateTime,
      cast(
        case
          when MDChgProcessSourceModified = '' then 'N'
          when MDChgProcessSourceModified = 'X' then 'M'
        else MDChgProcessSourceModified end as mdc_source_modified
      ) as MDChgProcKPIUpdateStatus,

      _Customer,
      _CustomerDunning,
      _CustomerWithholdingTax,
      _CustomerCompanyTextGeneral,
      _CustomerCompanyPermittedPayer,
      _BusinessPartner,
      _CompanyCode,
      _RecordType,
      _KPIUpdateStatusText,
      _AccountingClerk,
      _ToleranceGroup,
      _PaymentBlockingReason,
      _CashPlanningGroup,
      _ReconciliationAccount,
      _HeadOffice,
      _LayoutSortingRule,
      _PaymentMethodSupplement,
      _AlternativePayer,
      _HouseBank,
      _InterestCalculationCode,
      _SupplierReleaseGroup,
      _CreditMemoPaymentTerms,
      _BillExchChargePaymentTerms,
      _NegotiatedLeave,
      _BuyingGroupAccount,
      _PeriodicAccountStatement,
      _AcctsReceivablePledging
}