I_CADOCUMENTBPITEM

CDS View

Document Business Partner Item

I_CADOCUMENTBPITEM is a CDS View in S/4HANA. Document Business Partner Item. It contains 204 fields. 102 CDS views read from this table.

CDS Views using this table (102)

ViewTypeJoinVDMDescription
C_CABalanceLineItemCube view_entity from CONSUMPTION Line Items - Cube
C_CABalanceLineItemCube view_entity union CONSUMPTION Line Items - Cube
C_CACreditItemAnalysis view from CONSUMPTION Analyse von Guthabenposten
C_CALockedOpenItem view from CONSUMPTION Gesperrte offene Posten
C_CANotDisputedDocumentItem view from CONSUMPTION Not Disputed Document item
C_CAOpenItemLockedOnBP view from CONSUMPTION Offene Posten gesperrt auf Partner
C_CAOpenItemLockedOnContrAcct view from CONSUMPTION Offene Posten gesperrt auf Vertragskonto
C_CAOpenItemLockedOnContract view from CONSUMPTION Offene Posten gesperrt auf Vertrag
C_CAOpenItemLockedOnContrItem view from CONSUMPTION Offene Posten gesperrt auf Vertragspos.
C_CAOverdueItemAnalysis view from CONSUMPTION Überfällige Posten analysieren
C_PL_CAExcessDelRepLogItm view_entity from CONSUMPTION FICA PL Reporting Items
I_CABalanceNotificationItem view from COMPOSITE FI-CAC: balance notification
I_CABalanceNotificationItem view union_all COMPOSITE FI-CAC: balance notification
I_CADisputedDocumentItem view from COMPOSITE Items of Documents in Dispute Cases
I_CADocBPItmWthoutSubstitOrigl view_entity from COMPOSITE Doc BP Item Without Substitute Original
I_CADocumentBPItemCube view_entity from COMPOSITE Document Business Partner Item - Cube
I_CADocumentBPItemEnhanced view_entity from COMPOSITE Enhanced Document Business Partner Item
I_CADocumentBPItemPhysical view from COMPOSITE Document Physical Business Partner Item
I_CAInstlmntPlnNoticeSrceItem view from COMPOSITE Installment Plan - Original Item
I_CANotDisputedClearedItem view from COMPOSITE Not Disputed Cleared Items
I_CANotDisputedOpenItem view from COMPOSITE Not Disputed Open Items
I_CAOverdueItemsAtDate view_entity from COMPOSITE FICA Overdue items at given date
I_CAReturnNoticeSourceItem view from COMPOSITE OM - Return Notice Source Item
I_CASecurityDepositItem view left_outer COMPOSITE OM - Security Deposit Item
I_InsurCust360PaytItems view from COMPOSITE Customer 360 - Zahlungspositionen
I_InsurPlcyOutStdgPrem view_entity from COMPOSITE Outstanding Premium
I_NL_SAFTBusinessPartner view inner COMPOSITE SAF-T NL Business Partner
I_NO_BusinessPartnerAmount view_entity from COMPOSITE Norway Customer Line Item CA BP Amount
I_NO_BusinessPartnerAmount view_entity union_all COMPOSITE Norway Customer Line Item CA BP Amount
N_CADocumentBPItem view_entity from Document Business Partner Item
P_BOPFICA_BP_ITEM_1 view_entity from COMPOSITE FICA BP Item 1
P_CAAcctBalBPItem view_entity from CONSUMPTION Account Balance BP Items
P_CAAnalyzeReceivables view from CONSUMPTION Analyse Receivables
P_CABusLockForBusinessPartner view_entity from COMPOSITE Business Lock for a Business Partner
P_CABusLockForContrAcct view_entity from COMPOSITE Business Lock for a Contract Account
P_CABusPrtnToDtCarryFwdAmt view_entity from CONSUMPTION Greece Jounal BP Balance Carry Forward
P_CACalculateSecDepReqStatus view left_outer COMPOSITE Calculate Status of Request Document
P_CAClearingDocument view from COMPOSITE Clearing Document
P_CACollectRelateDocForRequest view inner COMPOSITE Collect related documents for a specific request
P_CACollectRelateDocForRequest view left_outer COMPOSITE Collect related documents for a specific request
P_CACUSTTRIALBALCARFWD view_entity from COMPOSITE CA Customer Trial Balance Carry Forward
P_CACUSTTRIALBALITEM1 view_entity inner COMPOSITE CA Customer Trial Balance Item1
P_CADisputedDocument view inner COMPOSITE Disputed document
P_CADocCreditItemBPAmount view_entity from COMPOSITE Document with business partner amounts
P_CADocCtnDocBPItem view_entity from COMPOSITE Document Container Document Item
P_CADoctBPItemCreditDebit view_entity from COMPOSITE Credit Debit Amount for a BP Item
P_CADocumentBPItemCount view_entity from COMPOSITE Count of Document BP Items
P_CADocumentBusinessPartner view_entity from COMPOSITE Document with Business Partner
P_CADocumentClearedAmountInTC view_entity from COMPOSITE Cleared Amount in Transaction Currency
P_CADocumentDueAmountInTC view_entity from COMPOSITE Due Amount of a Ca Document in TC
P_CADocumentLineItem_Split view_entity from COMPOSITE Line Item Split
P_CADocumentLineItem_Split view_entity union COMPOSITE Line Item Split
P_CADocumentOpenAmountInTC view_entity from COMPOSITE Open Amount of a Contr Acctg Document
P_CADocumentSumBPItem view_entity from COMPOSITE Summarized Business Partner Items
P_CADocumentSumClearedItem view_entity from COMPOSITE Summarized Cleared Items
P_CAInstallmentPlanDocBPItem view_entity from COMPOSITE Installment Plan Document BP Item
P_CAInterestNoticeTotalAmount view from COMPOSITE Total amount of interest notice
P_CANotDisputedDocumentSum view from COMPOSITE Not Disputed Document
P_CAOverdueItemSelection view_entity from COMPOSITE Overdue Item Selection
P_CAScrtyDepReqDistPayTransAmt view left_outer COMPOSITE Get Distinct Payment Document
P_CAScrtyDepReqDocCalDocAmt view left_outer COMPOSITE Calculate Req Doc Document Amount
P_CAStRpBPTaxItem view_entity from COMPOSITE FICA BP Lines
P_CAStRpClrTaxItem view_entity from COMPOSITE FICA Cleared Tax Items
P_CAStRpSrcData view_entity from COMPOSITE FICA Source data
P_CAStRpSrcData1 view_entity from COMPOSITE FICA Source data
P_CAWorklistItemCreditDebit view from COMPOSITE Credit/Debit amounts of a wl
P_ContrAcctgBPItmPostdClrdRvsd view_entity inner COMPOSITE BP line items: Posted, cleared, reversed
P_FicaDocumentItems view inner COMPOSITE Fica Document Items
P_FR_FECBusinessPartnerBalCA view from CONSUMPTION Business Partner Balance FR FEC
P_FR_FECClearingDocCALogic view from CONSUMPTION Clearing document and date logic for CA
P_GR_CADocJournalLogItm view_entity from CONSUMPTION Greece Document Journal Item Logs
P_GR_CustomerLedgerBasicItem view_entity inner COMPOSITE Greece Customer Ledger Basic Item
P_GR_DocJournalBPItem view_entity from CONSUMPTION GR Doc Journal BP items
P_GR_DocJournalBPItem view_entity union_all CONSUMPTION GR Doc Journal BP items
P_IL_CAGenLdgrAmountBPItem view_entity inner COMPOSITE General Ledger amounts With Business Partner items
P_JP_ForeignBPClearedItem view_entity from CONSUMPTION Foreing BP Cleared Items
P_NO_CADocumentBPItem view_entity from COMPOSITE Norway Customer Line Item - CA BP Document Items
P_NO_CADocumentBPItem view_entity union_all COMPOSITE Norway Customer Line Item - CA BP Document Items
P_PT_CADocItmAnnex view_entity inner CONSUMPTION Contract Accounting Document Item for Portugal Annex O
P_PT_CAOpenItemSum view_entity from COMPOSITE Portugal Contract Accounting Sum of Open Items
P_RO_SAFTCActgBalance0 view_entity from CONSUMPTION Customer Balances - core
P_RO_SAFTCActgJournalItemBase0 view_entity from CONSUMPTION RO SAFT items
P_RO_SAFTCActgJournalItemBase0 view_entity union CONSUMPTION RO SAFT items
P_SG_CAClrAmntCalc view from COMPOSITE SG TL FICA Clearing Item Calc
P_SG_CAInvoiceTaxItem view from COMPOSITE SG TL FICA Invoice Tax Item
P_SK_CAOPItem view_entity from COMPOSITE CA Business Partner Item
P_TrialBalanceFlow view_entity from COMPOSITE Overall Balance
P_TrialBalanceFlow view_entity union COMPOSITE Overall Balance
P_TrialBalanceFlow_Log view_entity from CONSUMPTION Overall Balance Log
P_TrialBalMonth view_entity from COMPOSITE Trial Balance Month
P_TrialBalMonth view_entity union COMPOSITE Trial Balance Month
P_TrialBalMonth_Log view_entity from CONSUMPTION Trial Balance Month Log
P_TrialBalPreviousMonth view_entity from COMPOSITE Trial Balance Previous Month
P_TrialBalPreviousMonth view_entity union COMPOSITE Trial Balance Previous Month
P_TrialBalPreviousMonth_Log view_entity from CONSUMPTION Trial Balance Previous Month Log
P_TrialBalPreviousYear view_entity from COMPOSITE Trial Balance Previous Year
P_TrialBalPreviousYear view_entity union COMPOSITE Trial Balance Previous Year
P_TrialBalPreviousYear_Log view_entity from CONSUMPTION Trial Balance Previous Year Log
P_TrialBalYear view_entity from COMPOSITE Trial Balance Year
P_TrialBalYear view_entity union COMPOSITE Trial Balance Year
P_TrialBalYear_Log view_entity from CONSUMPTION Trial Balance Year Log
R_LU_SAFTContractAccountBP view_entity from COMPOSITE SAFT LU Contract Account BP

Fields (204)

KeyField CDS FieldsUsed in Views
KEY BusinessPartner BusinessPartner 37
KEY CAApplicationArea CAApplicationArea 7
KEY CABPItemNumber CABPItemNumber,CAPaymentBPItemNumber,CASubItemNumber 30
KEY CAClearingDocumentNumber CAClearingDocumentNumber,CAReturnDocumentNumber 9
KEY CAClearingReason CAClearingReason 3
KEY CAContract CAContract 16
KEY CADocumentNumber CAClearedDocument,CADocumentNumber 33
KEY CADocumentType CADocumentType 13
KEY CAMainTransaction CAMainTransaction 14
KEY CAPostingDate CAPostingDate,PostingDate 16
KEY CAPostingDateOfClearingDoc CAPostingDateOfClearingDoc,DocumentDate,PostingDate 6
KEY CAReconciliationAccount CAReconciliationAccount,GLAccount 21
KEY CARepetitionItemNumber CARepetitionItemNumber 26
KEY CASubItemNumber CAPaymentDocumentSubItem,CASubItemNumber 31
KEY CASubTransaction CASubTransaction 14
KEY ChartOfAccounts ChartOfAccounts 7
KEY CompanyCode CompanyCode 42
KEY CompanyCodeCurrency CompanyCodeCurrency,LocalCurrency 25
KEY ContractAccount ContractAccount 24
KEY DocumentDate DocumentDate 7
KEY TaxCode TaxCode 6
KEY TransactionCurrency PaymentCurrency,TransactionCurrency 33
_BusinessArea _BusinessArea 1
_BusinessPartner _BusinessPartner 9
_CAAccountAssignmentCategory _AcctAssgmtCat 1
_CAAccountDeterminationCode _AcctDetnCode 1
_CAApplicationArea _ApplArea 1
_CAClearingReason _CAClearingReason,_ClearingReason 3
_CAClearingRestrictionCode _ClrgRstrcnCode 1
_CAClearingStatus _ClearingStatus 1
_CADbtflOrValueAdjmtCode _DbtflOrValAdjmtCode 1
_CADocument _CADocument 2
_CADocumentType _DocType 1
_CADunningProcedure _DunningProcedure 1
_CAFactoringClrgCheckStatus _FctrngClrgChkStatus 1
_CAFactoringReceivableStatus _FactoringRblStatus 1
_CAInterestCode _InterestCode 1
_CAInternalPostingReasonCode _IntPostingReasonCode 1
_CAMainTransaction _CAMainTransaction,_MainTransaction 3
_CANegativePostingControlCode _NgtvPostingCtrlCode 1
_CAOriglStatisticalItemCode _OriglStstclItemCode 1
_CAOtherTaxCode _OtherTaxCode 1
_CAPartnerSettlementStatus _PrtnSettlementStatus 1
_CAPaymentMethod _PaytMethod 1
_CAPaytPreNotificationCode _PaytPreNotifCode 1
_CAPaytSpecificationCategory _PaytSpecCategory 1
_CAPeriodCode _PeriodCode 1
_CAProviderContract _CAProviderContract,_ProviderContract 7
_CARevenueDistrCurrentStatus _CARevnDistrCurSts 1
_CARevenueDistrLastStatus _CARevnDistrLastSts 1
_CARoundingItemCode _CARoundingItemCode 1
_CASEPAPreNotificationRqmtCode _SEPAPreNotifRqmtCode 1
_CASEPAPreNotifOriginCode _SEPAPreNotifOrignCd 1
_CashFlowCompanyCode _CompCodeCashFlow 1
_CAStatisticalItemCode _StatisticalItemCode 1
_CASubApplication _CASubApplication 2
_CASubstituteDocumentCategory _SubstitDocCategory 1
_CASubTransaction _SubTransaction 1
_CAWithholdingTaxCategory _CAWithholdingTaxCat 1
_CAWithholdingTaxSupplement _WhldgTaxSuplmnt 1
_CAWorkflowCheckProcess _WorkflowCheckProcess 1
_CAWorkflowCheckReason _WorkflowCheckReason 1
_ChartOfAccounts _ChartOfAccounts 1
_ClearingCurrency _ClearingCurrency 1
_CollvBillsAltvContractAccount _CAHeaderCollvBills 1
_CompanyCode _CompanyCode,_CompCode 5
_CompanyCodeCurrency _CompanyCodeCurrency 1
_ContractAccount _CAHeader,_ContractAccount 4
_ContractAccountPartner _CAPartner,_ContractAccountPartner 8
_ControllingArea _ControllingArea 1
_Country _Country 1
_Division _Division 1
_GLPostingCurrency _GLPostingCurrency 1
_PartnerCompany _PartnerCompany 1
_PaymentCompanyCode _CompCodePayt 1
_PaytAltvBusinessPartner _AltvBPForPayment 1
_ProfitCenter _ProfitCenter 1
_ReceivingCountry _ReceivingCountry 1
_RevnDistrFnlRcpntContrAccount _CAHeaderFinalRec 1
_Segment _Segment 1
_TransactionCurrency _Currency,_TransactionCurrency 3
_WithholdingTaxCode _WithholdingTaxCode 1
AltvContractAcctForCollvBills AltvContractAcctForCollvBills 1
BusinessArea BusinessArea 15
BusinessPlace BusinessPlace 1
CAAccountAssignment CAAccountAssignment 1
CAAccountAssignmentCategory CAAccountAssignmentCategory 1
CAAccountDeterminationCode CAAccountDeterminationCode 6
CAAdditionalContract CAAdditionalContract 1
CAAdditionalDaysForCashMgmt CAAdditionalDaysForCashMgmt 1
CAAddressOfAltvBPForPayment CAAddressOfAltvBPForPayment 1
CAAltvBPForPayment CAAltvBPForPayment 1
CAAmountInLocalCurrency AmountInLocalCurrency,CAAmountInLocalCurrency,TransactionAmountInLocalCrcy 12
CAAmountInSecondCurrency CAAmountInSecondCurrency 1
CAAmountInThirdCurrency CAAmountInThirdCurrency 1
CAAmountInTransactionCurrency AmountInDisplayCurrency,AmountInTransactionCurrency,CAAmountInTransactionCurrency,CAPaidAmountInTransCurrency 17
CABankOfAltvBPForPayment CABankOfAltvBPForPayment 1
CABaseAmountForWithholdingTax CABaseAmountForWithholdingTax 1
CABPItemText CABPItemText 1
CACardOfAltvBPForPayment CACardOfAltvBPForPayment 1
CACashDiscAmountInClearingCrcy CACashDiscAmountInClearingCrcy 2
CACashDiscountDueDate CACashDiscountDueDate 2
CACashDiscountRate CACashDiscountRate 1
CACashFlowAccount CACashFlowAccount 1
CACashFlowCompanyCode CACashFlowCompanyCode 1
CAChangeIsForbidden CAChangeIsForbidden 1
CAClearingAmountInClearingCrcy AmountInRefundCurrency,CAClearingAmountInClearingCrcy 3
CAClearingCurrency CAClearingCurrency 3
CAClearingDate CAClearingDate,CAPostingDate 8
CAClearingPostingIsReset CAClearingPostingIsReset 1
CAClearingRestrictionCode CAClearingRestrictionCode 2
CAClearingStatus CAClearingStatus 4
CACurrentFactoringStatusOfRbl CACurrentFactoringStatusOfRbl 1
CADeferralDate CADeferralDate 2
CADocBPItemTotalAmountInTC CADocBPItemTotalAmountInTC 1
CADocumentNumberOfOriginItem CADocumentNumberOfOriginItem 2
CADocumentOriginCode CADocumentOriginCode 6
CADoubtfulOrValueAdjmtCode CADoubtfulOrValueAdjmtCode 2
CADownPaymentOffsetTaxAccount CADownPaymentOffsetTaxAccount 1
CADownPaymentTaxAccount CADownPaymentTaxAccount 1
CADunningProcedure CADunningProcedure 5
CAEligibleAmountForCshDiscount CAEligibleAmountForCshDiscount 1
CAEndDateOfBillingPeriod CAEndDateOfBillingPeriod 1
CAExchangeRate CAExchangeRate 3
CAFactoringCheckStsForClrgInfo CAFactoringCheckStsForClrgInfo 1
CAFactoringItem CAFactoringItem 1
CAGLPostingAmount CAGLPostingAmount 1
CAGLPostingCurrency CAGLPostingCurrency 1
CAGLPostingTaxAmount CAGLPostingTaxAmount 1
CAGroupingCodeForBPItems CAGroupingCodeForBPItems 1
CAGroupingCodeForTaxItems CAGroupingCodeForTaxItems 1
CAGroupingForPayment CAGroupingForPayment 1
CAGrpgCodeForTransfToCollAgcy CAGrpgCodeForTransfToCollAgcy 1
CAInterestCode CAInterestCode 1
CAInternalPostingReasonCode CAInternalPostingReasonCode 1
CAIsCashFlowItem CAIsCashFlowItem 1
CAIsDownPaymentRequest CAIsDownPaymentRequest 1
CAIsIncludedInCollectionCase CAIsIncludedInCollectionCase 1
CAIsPartOfJointLiability CAIsPartOfJointLiability 1
CAIsSeparateLineItemInGL CAIsSeparateLineItemInGL 1
CAItemIsExcludedFromDunning CAItemIsExcludedFromDunning 1
CAItemIsOnlyForSettlement CAItemIsOnlyForSettlement 1
CAItemIsWithdrawn CAItemIsWithdrawn 1
CANegativePostingControlCode CANegativePostingControlCode 1
CANetDueDate CANetDueDate 6
CANumberOfRepetitionItems CANumberOfRepetitionItems 1
CAOtherTaxCode CAOtherTaxCode 1
CAPartnerSettlementStatus CAPartnerSettlementStatus 1
CAPaymentCompanyCode CAPaymentCompanyCode 1
CAPaymentMethod CAPaymentMethod 6
CAPaymentPreNotificationCode CAPaymentPreNotificationCode 1
CAPaymentSpecificationCategory CAPaymentSpecificationCategory 1
CAPeriodCode CAPeriodCode 1
CAProviderContractItemNumber CAProviderContractItemNumber 3
CAReceivingCountry CAReceivingCountry 1
CAReferenceDocument CAReferenceDocument 4
CARepetitionGroup CARepetitionGroup 1
CARevenueDistrCurrentStatus CARevenueDistrCurrentStatus 1
CARevenueDistrFinalRecipient CARevenueDistrFinalRecipient 1
CARevenueDistrLastStatus CARevenueDistrLastStatus 1
CARoundingItemCode CARoundingItemCode 1
CASEPAPreNotifExecutionDate CASEPAPreNotifExecutionDate 1
CASEPAPreNotificationNumber CASEPAPreNotificationNumber 1
CASEPAPreNotificationRqmtCode CASEPAPreNotificationRqmtCode 1
CASEPAPreNotifOriginCode CASEPAPreNotifOriginCode 1
CashPlanningGroup CashPlanningGroup 1
CAStartDateOfBillingPeriod CAStartDateOfBillingPeriod 1
CAStatisticalCodeOfOriginItem CAStatisticalCodeOfOriginItem 1
CAStatisticalItemCode CAStatisticalItemCode 7
CASubApplication CASubApplication 11
CASubstituteDocumentCategory CASubstituteDocumentCategory 2
CASubstituteDocumentNumber CASubstituteDocumentNumber 1
CASupplementaryTaxCode CASupplementaryTaxCode 1
CATaxAmountInClearingCrcy CATaxAmountInClearingCrcy 1
CATaxAmountInLocalCurrency CATaxAmountInLocalCurrency 1
CATaxAmountInSecondCurrency CATaxAmountInSecondCurrency 1
CATaxAmountInThirdCurrency CATaxAmountInThirdCurrency 1
CATaxAmountInTransCurrency CATaxAmountInTransCurrency 1
CATaxAmountIsSetFromExternal CATaxAmountIsSetFromExternal 1
CATaxDate CATaxDate 1
CATaxIsCalculatedExternally CATaxIsCalculatedExternally 1
CATaxPortionInLocalCurrency CATaxPortionInLocalCurrency 1
CATaxPortionInTransCurrency CATaxPortionInTransCurrency 1
CAValueDateForClearing CAValueDateForClearing 2
CAWithholdingTaxAmount CAWithholdingTaxAmount 1
CAWithholdingTaxCategory CAWithholdingTaxCategory 1
CAWithholdingTaxPercentage CAWithholdingTaxPercentage 1
CAWithholdingTaxSupplement CAWithholdingTaxSupplement 1
CAWorkflowCheckProcess CAWorkflowCheckProcess 1
CAWorkflowCheckReason CAWorkflowCheckReason 1
ControllingArea ControllingArea 1
Country CompanyCodeCountry,Country 4
Division Division 11
ExchRateIsIndirectQuotation ExchRateIsIndirectQuotation 2
PartnerCompany PartnerCompany 3
PersonnelNumber PersonnelNumber 1
PlannedAmtInTransactionCrcy PlannedAmtInTransactionCrcy 1
PlanningLevel PlanningLevel 1
ProfitCenter ProfitCenter 1
Segment Segment 15
SEPAMandateCAInternalID SEPAMandateCAInternalID 1
TaxJurisdiction TaxJurisdiction 2
WithholdingTaxCertificate WithholdingTaxCertificate 1
WithholdingTaxCode WithholdingTaxCode 1
@AccessControl: { authorizationCheck: #MANDATORY,
                  personalData: { blocking: #REQUIRED,
                                  blockingIndicator: ['_BusinessPartner.IsBusinessPurposeCompleted'] } }

@EndUserText.label: 'Document Business Partner Item'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: { modelingPattern: #NONE,
                sapObjectNodeType.name: 'ContrAcctgDocumentBusPartItem',
                supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
                                         #CDS_MODELING_DATA_SOURCE,
                                         #SQL_DATA_SOURCE ],
                usageType: { dataClass: #TRANSACTIONAL,
                             serviceQuality: #A,
                             sizeCategory: #XXL } }

@Search.searchable: true

@VDM.viewType: #BASIC

define view entity I_CADocumentBPItem
  as select from dfkkop

  association [0..1] to I_BusinessArea                as _BusinessArea                  on  $projection.BusinessArea = _BusinessArea.BusinessArea
  association [1..1] to I_BusinessPartner             as _BusinessPartner               on  $projection.BusinessPartner = _BusinessPartner.BusinessPartner
  association [0..1] to I_BusinessPartner             as _PaytAltvBusinessPartner       on  $projection.CAAltvBPForPayment = _PaytAltvBusinessPartner.BusinessPartner
  association [0..1] to I_CAAccountAssignmentCategory as _CAAccountAssignmentCategory   on  $projection.CAAccountAssignmentCategory = _CAAccountAssignmentCategory.CAAccountAssignmentCategory
  association [0..1] to I_CAAccountDetnCode           as _CAAccountDeterminationCode    on  $projection.CAAccountDeterminationCode = _CAAccountDeterminationCode.CAAccountDeterminationCode
  association [1..1] to I_CAApplicationArea           as _CAApplicationArea             on  $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea
  association [0..1] to I_CAClearingReason            as _CAClearingReason              on  $projection.CAClearingReason = _CAClearingReason.CAClearingReason
  association [0..1] to I_CAClearingRestrictionCode   as _CAClearingRestrictionCode     on  $projection.CAClearingRestrictionCode = _CAClearingRestrictionCode.CAClearingRestrictionCode
  association [0..1] to I_CAClearingStatus            as _CAClearingStatus              on  $projection.CAClearingStatus = _CAClearingStatus.CAClearingStatus
  association [0..1] to I_CADbtflOrValueAdjmtCode     as _CADbtflOrValueAdjmtCode       on  $projection.CADoubtfulOrValueAdjmtCode = _CADbtflOrValueAdjmtCode.CADoubtfulOrValueAdjmtCode
  association [1..1] to I_CADocument                  as _CADocument                    on  $projection.CADocumentNumber = _CADocument.CADocumentNumber
  association [0..1] to I_CADocument                  as _CASubstituteDocument          on  $projection.CASubstituteDocumentNumber = _CASubstituteDocument.CADocumentNumber
  association [0..1] to I_CADocument                  as _CAClearingDocument            on  $projection.CAClearingDocumentNumber = _CAClearingDocument.CADocumentNumber
  association [0..1] to I_CADocument                  as _CAOriginDocument              on  $projection.CADocumentNumberOfOriginItem = _CAOriginDocument.CADocumentNumber
  association [0..1] to I_CADocumentType              as _CADocumentType                on  $projection.CADocumentType    = _CADocumentType.CADocumentType
                                                                                        and $projection.CAApplicationArea = _CADocumentType.CAApplicationArea
  association [0..1] to I_CADocumentOriginCode        as _CADocumentOriginCode          on  $projection.CADocumentOriginCode = _CADocumentOriginCode.CADocumentOriginCode                                                                                      
  association [0..1] to I_CADunningProcedure          as _CADunningProcedure            on  $projection.CADunningProcedure = _CADunningProcedure.CADunningProcedure
  association [0..1] to I_CAFactoringClrgCheckStatus  as _CAFactoringClrgCheckStatus    on  $projection.CAFactoringCheckStsForClrgInfo = _CAFactoringClrgCheckStatus.CAFactoringCheckStsForClrgInfo
  association [0..1] to I_CAFactoringReceivableStatus as _CAFactoringReceivableStatus   on  $projection.CACurrentFactoringStatusOfRbl = _CAFactoringReceivableStatus.CACurrentFactoringStatusOfRbl
  association [0..1] to I_CAInterestCode              as _CAInterestCode                on  $projection.CAInterestCode = _CAInterestCode.CAInterestCode
  association [0..1] to I_CAIntPostingReasonCode      as _CAInternalPostingReasonCode   on  $projection.CAInternalPostingReasonCode = _CAInternalPostingReasonCode.CAInternalPostingReasonCode
  association [1..1] to I_CAMainTransaction           as _CAMainTransaction             on  $projection.CAApplicationArea = _CAMainTransaction.CAApplicationArea
                                                                                        and $projection.CAMainTransaction = _CAMainTransaction.CAMainTransaction
  association [0..1] to I_CANegativePostingCtrlCode   as _CANegativePostingControlCode  on  $projection.CANegativePostingControlCode = _CANegativePostingControlCode.CANegativePostingControlCode
  association [1..1] to I_CAOriglStstclItemCode       as _CAOriglStatisticalItemCode    on  $projection.CAStatisticalCodeOfOriginItem = _CAOriglStatisticalItemCode.CAStatisticalCodeOfOriginItem
  association [0..1] to I_CAOtherTaxCode              as _CAOtherTaxCode                on  $projection.CAOtherTaxCode = _CAOtherTaxCode.CAOtherTaxCode
                                                                                        and $projection.Country        = _CAOtherTaxCode.Country
  association [0..1] to I_CAPartnerSettlementStatus   as _CAPartnerSettlementStatus     on  $projection.CAPartnerSettlementStatus = _CAPartnerSettlementStatus.CAPartnerSettlementStatus
  association [0..1] to I_CAPaymentMethod             as _CAPaymentMethod               on  $projection.Country         = _CAPaymentMethod.Country
                                                                                        and $projection.CAPaymentMethod = _CAPaymentMethod.CAPaymentMethod
  association [0..1] to I_CAPaytPreNotificationCode   as _CAPaytPreNotificationCode     on  $projection.CAPaymentPreNotificationCode = _CAPaytPreNotificationCode.CAPaymentPreNotificationCode
  association [0..1] to I_CAPaytSpecificationCat      as _CAPaytSpecificationCategory   on  $projection.CAPaymentSpecificationCategory = _CAPaytSpecificationCategory.CAPaymentSpecificationCategory
  association [0..1] to I_CAPeriodCode                as _CAPeriodCode                  on  $projection.CAPeriodCode = _CAPeriodCode.CAPeriodCode
  association [0..1] to I_CAProviderContractHeader    as _CAProviderContract            on  $projection.CASubApplication = 'P'
                                                                                        and $projection.CAContract       = _CAProviderContract.CAProviderContract
  association [0..1] to I_CARevenueDistrStatus        as _CARevenueDistrCurrentStatus   on  $projection.CARevenueDistrCurrentStatus = _CARevenueDistrCurrentStatus.CARevenueDistributionStatus
  association [0..1] to I_CARevenueDistrStatus        as _CARevenueDistrLastStatus      on  $projection.CARevenueDistrLastStatus = _CARevenueDistrLastStatus.CARevenueDistributionStatus
  association [0..1] to I_CARoundingItemCode          as _CARoundingItemCode            on  $projection.CARoundingItemCode = _CARoundingItemCode.CARoundingItemCode
  association [0..1] to I_CASEPAPreNotifOriginCode    as _CASEPAPreNotifOriginCode      on  $projection.CASEPAPreNotifOriginCode = _CASEPAPreNotifOriginCode.CASEPAPreNotifOriginCode
  association [0..1] to I_CASEPAPreNotifRqmtCode      as _CASEPAPreNotificationRqmtCode on  $projection.CASEPAPreNotificationRqmtCode = _CASEPAPreNotificationRqmtCode.CASEPAPreNotificationRqmtCode
  association [0..1] to I_CAStatisticalItemCode       as _CAStatisticalItemCode         on  $projection.CAStatisticalItemCode = _CAStatisticalItemCode.CAStatisticalItemCode
  association [0..1] to I_CASubApplication            as _CASubApplication              on  $projection.CASubApplication = _CASubApplication.CASubApplication
  association [1..1] to I_CASubTransaction            as _CASubTransaction              on  $projection.CAApplicationArea = _CASubTransaction.CAApplicationArea
                                                                                        and $projection.CAMainTransaction = _CASubTransaction.CAMainTransaction
                                                                                        and $projection.CASubTransaction  = _CASubTransaction.CASubTransaction
  association [0..1] to I_CASubstituteDocCategory     as _CASubstituteDocumentCategory  on  $projection.CASubstituteDocumentCategory = _CASubstituteDocumentCategory.CASubstituteDocumentCategory
  association [0..1] to I_CAWithholdingTaxCat         as _CAWithholdingTaxCategory      on  $projection.CAWithholdingTaxCategory = _CAWithholdingTaxCategory.CAWithholdingTaxCategory
  association [0..1] to I_CAWithholdingTaxSupplement  as _CAWithholdingTaxSupplement    on  $projection.CAWithholdingTaxSupplement = _CAWithholdingTaxSupplement.CAWithholdingTaxSupplement
                                                                                        and $projection.Country                    = _CAWithholdingTaxSupplement.Country
  association [0..1] to I_CAWorkflowCheckProcess      as _CAWorkflowCheckProcess        on  $projection.CAWorkflowCheckProcess = _CAWorkflowCheckProcess.CAWorkflowCheckProcess
  association [0..1] to I_CAWorkflowCheckReason       as _CAWorkflowCheckReason         on  $projection.CAWorkflowCheckReason = _CAWorkflowCheckReason.CAWorkflowCheckReason
  association [0..1] to I_ChartOfAccounts             as _ChartOfAccounts               on  $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts
  association [1..1] to I_CompanyCode                 as _CompanyCode                   on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_CompanyCode                 as _PaymentCompanyCode            on  $projection.CAPaymentCompanyCode = _PaymentCompanyCode.CompanyCode
  association [0..1] to I_CompanyCode                 as _CashFlowCompanyCode           on  $projection.CACashFlowCompanyCode = _CashFlowCompanyCode.CompanyCode
  association [1..1] to I_ContractAccountHeader       as _ContractAccount               on  $projection.ContractAccount = _ContractAccount.ContractAccount
  association [0..1] to I_ContractAccountHeader       as _CollvBillsAltvContractAccount on  $projection.AltvContractAcctForCollvBills = _CollvBillsAltvContractAccount.ContractAccount
  association [0..1] to I_ContractAccountHeader       as _RevnDistrFnlRcpntContrAccount on  $projection.CARevenueDistrFinalRecipient = _RevnDistrFnlRcpntContrAccount.ContractAccount
  association [1..1] to I_ContractAccountPartner      as _ContractAccountPartner        on  $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner
                                                                                        and $projection.ContractAccount = _ContractAccountPartner.ContractAccount
  association [0..1] to I_ControllingArea             as _ControllingArea               on  $projection.ControllingArea = _ControllingArea.ControllingArea
  association [0..1] to I_Country                     as _Country                       on  $projection.Country = _Country.Country
  association [0..1] to I_Country                     as _ReceivingCountry              on  $projection.CAReceivingCountry = _ReceivingCountry.Country
  association [0..1] to I_Country                     as _TaxCountry                    on  $projection.TaxCountry = _TaxCountry.Country
  association [1..1] to I_Currency                    as _TransactionCurrency           on  $projection.TransactionCurrency = _TransactionCurrency.Currency
  association [0..1] to I_Currency                    as _ClearingCurrency              on  $projection.CAClearingCurrency = _ClearingCurrency.Currency
  association [0..1] to I_Currency                    as _GLPostingCurrency             on  $projection.CAGLPostingCurrency = _GLPostingCurrency.Currency
  association [0..1] to I_Currency                    as _CompanyCodeCurrency           on  $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
  association [0..1] to I_Division                    as _Division                      on  $projection.Division = _Division.Division
  association [1..1] to I_GLAccount                   as _ReconciliationAccount         on  $projection.CAReconciliationAccount = _ReconciliationAccount.GLAccount
                                                                                        and $projection.CompanyCode = _ReconciliationAccount.CompanyCode
  association [0..1] to I_GLAccount                   as _DownPaymentTaxAccount         on  $projection.CADownPaymentTaxAccount = _DownPaymentTaxAccount.GLAccount
                                                                                        and $projection.CompanyCode = _DownPaymentTaxAccount.CompanyCode
  association [0..1] to I_GLAccount                   as _DownPaymentOffsetTaxAccount   on  $projection.CADownPaymentOffsetTaxAccount = _DownPaymentOffsetTaxAccount.GLAccount
                                                                                        and $projection.CompanyCode = _DownPaymentOffsetTaxAccount.CompanyCode
  association [0..1] to I_GLAccount                   as _CashFlowAccount               on  $projection.CACashFlowAccount = _CashFlowAccount.GLAccount
                                                                                        and $projection.CompanyCode = _CashFlowAccount.CompanyCode
  association [0..1] to I_Partnercompany              as _PartnerCompany                on  $projection.PartnerCompany = _PartnerCompany.PartnerCompany
  association [0..1] to I_PlanningLevel               as _PlanningLevel                 on  $projection.PlanningLevel = _PlanningLevel.PlanningLevel
  association [0..*] to I_ProfitCenter                as _ProfitCenter                  on  $projection.ProfitCenter    = _ProfitCenter.ProfitCenter
                                                                                        and $projection.ControllingArea = _ProfitCenter.ControllingArea
  association [0..1] to I_Segment                     as _Segment                       on  $projection.Segment = _Segment.Segment
  association [0..1] to I_WithholdingTaxCode          as _WithholdingTaxCode            on  $projection.Country            = _WithholdingTaxCode.Country
                                                                                        and $projection.WithholdingTaxCode = _WithholdingTaxCode.WithholdingTaxCode

  association [1..1] to E_CADocumentBPItemPhysical    as _Extension                     on  $projection.CADocumentNumber       = _Extension.CADocumentNumber
                                                                                        and $projection.CARepetitionItemNumber = _Extension.CARepetitionItemNumber
                                                                                        and $projection.CABPItemNumber         = _Extension.CABPItemNumber
                                                                                        and $projection.CASubItemNumber        = _Extension.CASubItemNumber


{
      @ObjectModel.foreignKey.association: '_CADocument'
      @Search.defaultSearchElement: true
      @Search.ranking: #HIGH
  key opbel                                                           as CADocumentNumber,
  key opupw                                                           as CARepetitionItemNumber,
  key opupk                                                           as CABPItemNumber,
  key opupz                                                           as CASubItemNumber,

      cpudt_op                                                        as CreationDate,
      cputm_op                                                        as CreationTime,
      chdate                                                          as LastChangeDate,
      chtime                                                          as LastChangeTime,

      @ObjectModel.foreignKey.association: '_CompanyCode'
      bukrs                                                           as CompanyCode,
      @ObjectModel.foreignKey.association: '_BusinessArea'
      gsber                                                           as BusinessArea,
      bupla                                                           as BusinessPlace,
      @ObjectModel.foreignKey.association: '_Segment'
      segment                                                         as Segment,
      @ObjectModel.foreignKey.association: '_ProfitCenter'
      prctr                                                           as ProfitCenter,
      @ObjectModel.foreignKey.association: '_Division'
      spart                                                           as Division,
      pernr                                                           as PersonnelNumber,
      @ObjectModel.foreignKey.association: '_PartnerCompany'
      vbund                                                           as PartnerCompany,
      @ObjectModel.foreignKey.association: '_BusinessPartner'
      gpart                                                           as BusinessPartner,
      vtref                                                           as CAContract,
      vtpos                                                           as CAProviderContractItemNumber,
      vtre2                                                           as CAAdditionalContract,
      @ObjectModel.foreignKey.association: '_ContractAccount'
      vkont                                                           as ContractAccount,
      @ObjectModel.foreignKey.association: '_CASubApplication'
      subap                                                           as CASubApplication,
      @ObjectModel.foreignKey.association: '_CollvBillsAltvContractAccount'
      abwkt                                                           as AltvContractAcctForCollvBills,
      @ObjectModel.foreignKey.association: '_ReconciliationAccount'
      hkont                                                           as CAReconciliationAccount,

      /* posting attributes */
      @ObjectModel.foreignKey.association: '_CAApplicationArea'
      applk                                                           as CAApplicationArea,
      @ObjectModel.foreignKey.association: '_CAMainTransaction'
      hvorg                                                           as CAMainTransaction,
      @ObjectModel.foreignKey.association: '_CASubTransaction'
      tvorg                                                           as CASubTransaction,
      @ObjectModel.foreignKey.association: '_CAAccountDeterminationCode'
      kofiz                                                           as CAAccountDeterminationCode,
      @ObjectModel.foreignKey.association: '_CADbtflOrValueAdjmtCode'
      infoz                                                           as CADoubtfulOrValueAdjmtCode,
      @ObjectModel.foreignKey.association: '_CAAccountAssignmentCategory'
      kontt                                                           as CAAccountAssignmentCategory,
      kontl                                                           as CAAccountAssignment,
      @ObjectModel.foreignKey.association: '_CADocumentType'
      blart                                                           as CADocumentType,
      xanza                                                           as CAIsDownPaymentRequest,
      @Semantics.booleanIndicator: true
      verkz                                                           as CAItemIsOnlyForSettlement,
      @ObjectModel.foreignKey.association: '_CAStatisticalItemCode'
      stakz                                                           as CAStatisticalItemCode,
      optxt                                                           as CABPItemText,
      whang                                                           as CANumberOfRepetitionItems,
      whgrp                                                           as CARepetitionGroup,
      abrzu                                                           as CAStartDateOfBillingPeriod,
      abrzo                                                           as CAEndDateOfBillingPeriod,
      grkey                                                           as CAGroupingCodeForBPItems,
      @ObjectModel.foreignKey.association: '_CAPeriodCode'
      persl                                                           as CAPeriodCode,
      xaesp                                                           as CAChangeIsForbidden,
      @ObjectModel.foreignKey.association: '_CAInterestCode'
      ikey                                                            as CAInterestCode,
      @ObjectModel.foreignKey.association: '_CARoundingItemCode'
      rndps                                                           as CARoundingItemCode,
      @ObjectModel.foreignKey.association: '_ReceivingCountry'
      landl                                                           as CAReceivingCountry,
      @ObjectModel.foreignKey.association: '_CAInternalPostingReasonCode'
      intbu                                                           as CAInternalPostingReasonCode,
      @ObjectModel.foreignKey.association: '_CAWorkflowCheckReason'
      c4eye                                                           as CAWorkflowCheckReason,
      @ObjectModel.foreignKey.association: '_CAWorkflowCheckProcess'
      c4eyp                                                           as CAWorkflowCheckProcess,
      @ObjectModel.foreignKey.association: '_CANegativePostingControlCode'
      negbu                                                           as CANegativePostingControlCode,
      @ObjectModel.foreignKey.association: '_CAPartnerSettlementStatus'
      ptitm                                                           as CAPartnerSettlementStatus,
      @Semantics.booleanIndicator: true
      palix                                                           as CAIsPartOfJointLiability,
      herkf_kk                                                        as CADocumentOriginCode,
      psgrp                                                           as CAGroupingKeyDocumentItems,

      /* document references */
      @ObjectModel.foreignKey.association: '_CASubstituteDocument'
      abwbl                                                           as CASubstituteDocumentNumber,
      @ObjectModel.foreignKey.association: '_CASubstituteDocumentCategory'
      abwtp                                                           as CASubstituteDocumentCategory,
      @ObjectModel.foreignKey.association: '_CAOriglStatisticalItemCode'
      astkz                                                           as CAStatisticalCodeOfOriginItem,
      @ObjectModel.foreignKey.association: '_CAOriginDocument'
      asblg                                                           as CADocumentNumberOfOriginItem,
      xblnr                                                           as CAReferenceDocument,
      opord                                                           as CAClassificationKey,

      /* dates and amounts */
      bldat                                                           as DocumentDate,
      budat                                                           as CAPostingDate,
      faedn                                                           as CANetDueDate,
      studt                                                           as CADeferralDate,
      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      waers                                                           as TransactionCurrency,
      @ObjectModel.foreignKey.association: '_CompanyCodeCurrency'
      _CompanyCode.Currency                                           as CompanyCodeCurrency,

      //kursf                                                                                                                                                                                                                                                                                                           as  CAExchangeRate,  ////replace due to conversion exit EXCRT

      cast( abs(kursf) as fis_absolute_exchangerate preserving type ) as CAExchangeRate,
      cast( case when kursf < 0  then 'X'
                 when kursf >= 0 then ' '
            end as fis_indirect_quotation preserving type )           as ExchRateIsIndirectQuotation,

      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      betrh                                                           as CAAmountInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      betrw                                                           as CAAmountInTransactionCurrency,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency' // AdditionaCurrency1 would be right, but too many dependant tables

      betr2                                                           as CAAmountInSecondCurrency,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency' // AdditionaCurrency2 would be right, but too many dependant tables

      betr3                                                           as CAAmountInThirdCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      oriop                                                           as CADocBPItemTotalAmountInTC,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      augia                                                           as CADocBPItemOriglOpenAmountInTC,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      augda                                                           as CAClearingDeductionAmountInTC,

      /* cash discount */
      faeds                                                           as CACashDiscountDueDate,
      sktpz                                                           as CACashDiscountRate,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      skfbt                                                           as CAEligibleAmountForCshDiscount,

      /* tax data */
      mwskz                                                           as TaxCode,
      mwszkz                                                          as CASupplementaryTaxCode,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      sbeth                                                           as CATaxAmountInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      sbetw                                                           as CATaxAmountInTransCurrency,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency' // AdditionaCurrency1 would be right, but too many dependant tables

      sbet2                                                           as CATaxAmountInSecondCurrency,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency' // AdditionaCurrency2 would be right, but too many dependant tables

      sbet3                                                           as CATaxAmountInThirdCurrency,
      @ObjectModel.foreignKey.association: '_DownPaymentTaxAccount'
      mwsko                                                           as CADownPaymentTaxAccount,
      @ObjectModel.foreignKey.association: '_DownPaymentOffsetTaxAccount'
      mwvko                                                           as CADownPaymentOffsetTaxAccount,
      txjcd                                                           as TaxJurisdiction,
      txdat                                                           as CATaxDate,
      @ObjectModel.foreignKey.association: '_WithholdingTaxCode'
      qsskz                                                           as WithholdingTaxCode,
      @ObjectModel.foreignKey.association: '_CAWithholdingTaxSupplement'
      qssew                                                           as CAWithholdingTaxSupplement,
      @ObjectModel.foreignKey.association: '_CAWithholdingTaxCategory'
      qsptp                                                           as CAWithholdingTaxCategory,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      qsshb                                                           as CABaseAmountForWithholdingTax,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      qbshb                                                           as CAWithholdingTaxAmount,
      qsprz                                                           as CAWithholdingTaxPercentage,
      qsznr                                                           as WithholdingTaxCertificate,
      @ObjectModel.foreignKey.association: '_CAOtherTaxCode'
      strkz                                                           as CAOtherTaxCode,
      txgrp                                                           as CAGroupingCodeForTaxItems,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      sctax                                                           as CATaxPortionInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      sttax                                                           as CATaxPortionInTransCurrency,
      xustpd                                                          as CATaxIsCalculatedExternally,
      inttx                                                           as CATaxAmountIsSetFromExternal,
      @ObjectModel.foreignKey.association: '_TaxCountry'
      tax_country                                                     as TaxCountry,
      taxc_factor                                                     as TransToTaxCntryCrcyCnvrsnFctr,

      /* payment data */
      @ObjectModel.foreignKey.association: '_CAPaymentMethod'
      pymet                                                           as CAPaymentMethod,
      @ObjectModel.foreignKey.association: '_PaymentCompanyCode'
      pybuk                                                           as CAPaymentCompanyCode,
      pygrp                                                           as CAGroupingForPayment,
      @ObjectModel.foreignKey.association: '_CAPaytSpecificationCategory'
      pdtyp                                                           as CAPaymentSpecificationCategory,

      /* clearing data */
      @ObjectModel.foreignKey.association: '_CAClearingStatus'
      augst                                                           as CAClearingStatus,
      augdt                                                           as CAClearingDate,
      @ObjectModel.foreignKey.association: '_CAClearingDocument'
      augbl                                                           as CAClearingDocumentNumber,
      augbd                                                           as CAPostingDateOfClearingDoc,
      @ObjectModel.foreignKey.association: '_CAClearingReason'
      augrd                                                           as CAClearingReason,
      @ObjectModel.foreignKey.association: '_ClearingCurrency'
      augwa                                                           as CAClearingCurrency,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      augbt                                                           as CAClearingAmountInClearingCrcy,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      augbs                                                           as CATaxAmountInClearingCrcy,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      augsk                                                           as CACashDiscAmountInClearingCrcy,
      augvd                                                           as CAValueDateForClearing,
      @ObjectModel.foreignKey.association: '_CAClearingRestrictionCode'
      augrs                                                           as CAClearingRestrictionCode,
      xragl                                                           as CAClearingPostingIsReset,
      augob                                                           as CAItemIsWithdrawn,

      /* dunning and collections */
      xmanl                                                           as CAItemIsExcludedFromDunning,
      @ObjectModel.foreignKey.association: '_CADunningProcedure'
      mahnv                                                           as CADunningProcedure,
      inkps                                                           as CAGrpgCodeForTransfToCollAgcy,
      xcolc                                                           as CAIsIncludedInCollectionCase,

      /* cash management data */
      fdgrp                                                           as CashPlanningGroup,
      @ObjectModel.foreignKey.association: '_PlanningLevel'
      fdlev                                                           as PlanningLevel,
      fdztg                                                           as CAAdditionalDaysForCashMgmt,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast( fdwbt as fis_fdwbt )                                      as PlannedAmtInTransactionCrcy,

      /* alternative business partner for payment */
      @ObjectModel.foreignKey.association: '_PaytAltvBusinessPartner'
      emgpa                                                           as CAAltvBPForPayment,
      embvt                                                           as CABankOfAltvBPForPayment,
      emadr                                                           as CAAddressOfAltvBPForPayment,
      emcrd                                                           as CACardOfAltvBPForPayment,
      emmnd                                                           as SEPAMandateCAInternalID,

      /* GL data */
      @ObjectModel.foreignKey.association: '_GLPostingCurrency'
      pswsl                                                           as CAGLPostingCurrency,
      @Semantics.amount.currencyCode: 'CAGLPostingCurrency'
      pswbt                                                           as CAGLPostingAmount,
      @Semantics.amount.currencyCode: 'CAGLPostingCurrency'
      pswtx                                                           as CAGLPostingTaxAmount,
      xeiph                                                           as CAIsSeparateLineItemInGL,

      /* cash flow data */
      xcsha                                                           as CAIsCashFlowItem,
      @ObjectModel.foreignKey.association: '_CashFlowAccount'
      reacc                                                           as CACashFlowAccount,
      @ObjectModel.foreignKey.association: '_CashFlowCompanyCode'
      rebuk                                                           as CACashFlowCompanyCode,

      /* pre notification data */
      @ObjectModel.foreignKey.association: '_CAPaytPreNotificationCode'
      xpyor                                                           as CAPaymentPreNotificationCode,
      pnnum                                                           as CASEPAPreNotificationNumber,
      @ObjectModel.foreignKey.association: '_CASEPAPreNotifOriginCode'
      pnhkf                                                           as CASEPAPreNotifOriginCode,
      pnexd                                                           as CASEPAPreNotifExecutionDate,
      @ObjectModel.foreignKey.association: '_CASEPAPreNotificationRqmtCode'
      pnctr                                                           as CASEPAPreNotificationRqmtCode,

      /* revenue distribution data */
      @ObjectModel.foreignKey.association: '_RevnDistrFnlRcpntContrAccount'
      finre                                                           as CARevenueDistrFinalRecipient,
      @ObjectModel.foreignKey.association: '_CARevenueDistrCurrentStatus'
      rdsta                                                           as CARevenueDistrCurrentStatus,
      @ObjectModel.foreignKey.association: '_CARevenueDistrLastStatus'
      rdstb                                                           as CARevenueDistrLastStatus,

      /* Factoring */
      @ObjectModel.foreignKey.association: '_CAFactoringReceivableStatus'
      fasta                                                           as CACurrentFactoringStatusOfRbl,
      @ObjectModel.foreignKey.association: '_CAFactoringClrgCheckStatus'
      pasta                                                           as CAFactoringCheckStsForClrgInfo,
      opupf                                                           as CAFactoringItem,

      /* Additional data */
      @ObjectModel.foreignKey.association: '_ControllingArea'
      _CompanyCode.ControllingArea                                    as ControllingArea,
      @ObjectModel.foreignKey.association: '_ChartOfAccounts'
      _CompanyCode.ChartOfAccounts                                    as ChartOfAccounts,
      @ObjectModel.foreignKey.association: '_Country'
      _CompanyCode.Country                                            as Country,


      /* Associations */
      _BusinessArea,
      _BusinessPartner,
      _CAAccountAssignmentCategory,
      _CAAccountDeterminationCode,
      _CAApplicationArea,
      _CAClearingDocument,
      _CAClearingReason,
      _CAClearingRestrictionCode,
      _CAClearingStatus,
      _CADbtflOrValueAdjmtCode,
      _CADocument,
      _CADocumentType,
      _CADunningProcedure,
      _CAFactoringClrgCheckStatus,
      _CAFactoringReceivableStatus,
      _CAInterestCode,
      _CAInternalPostingReasonCode,
      _CAMainTransaction,
      _CANegativePostingControlCode,
      _CAOriginDocument,
      _CAOriglStatisticalItemCode,
      _CAOtherTaxCode,
      _CAPartnerSettlementStatus,
      _CAPaymentMethod,
      _CAPaytPreNotificationCode,
      _CAPaytSpecificationCategory,
      _CAPeriodCode,
      _CAProviderContract,
      _CARevenueDistrCurrentStatus,
      _CARevenueDistrLastStatus,
      _CARoundingItemCode,
      _CASEPAPreNotificationRqmtCode,
      _CASEPAPreNotifOriginCode,
      _CashFlowAccount,
      _CashFlowCompanyCode,
      _CAStatisticalItemCode,
      _CASubApplication,
      _CASubstituteDocumentCategory,
      _CASubstituteDocument,
      _CASubTransaction,
      _CAWithholdingTaxCategory,
      _CAWithholdingTaxSupplement,
      _CAWorkflowCheckProcess,
      _CAWorkflowCheckReason,
      _ClearingCurrency,
      _CollvBillsAltvContractAccount,
      _CompanyCode,
      _CompanyCodeCurrency,
      _ContractAccount,
      _ContractAccountPartner,
      _ControllingArea,
      _ChartOfAccounts,
      _Country,
      _Division,
      _DownPaymentOffsetTaxAccount,
      _DownPaymentTaxAccount,
      _GLPostingCurrency,
      _PartnerCompany,
      _PaytAltvBusinessPartner,
      _PlanningLevel,
      _PaymentCompanyCode,
      _ProfitCenter,
      _ReceivingCountry,
      _ReconciliationAccount,
      _RevnDistrFnlRcpntContrAccount,
      _Segment,
      _TaxCountry,
      _TransactionCurrency,
      _WithholdingTaxCode,
      _CADocumentOriginCode
}