I_CADOCUMENTBPITEMPHYSENHCD

CDS View

Enhanced Document Physical BP Item

I_CADOCUMENTBPITEMPHYSENHCD is a CDS View in S/4HANA. Enhanced Document Physical BP Item. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
R_CADocumentBPItemTP view_entity from TRANSACTIONAL Document Business Partner Item - TP
@AccessControl: { authorizationCheck: #MANDATORY,
                  personalData: { blocking: #REQUIRED,
                                  blockingIndicator: ['_BusinessPartner.IsBusinessPurposeCompleted'] } }

@EndUserText.label: 'Enhanced Document Physical BP Item'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: { modelingPattern: #NONE,
                //representativeKey: 'CABPItemNumber',

                supportedCapabilities: [ #CDS_MODELING_ASSOCIATION_TARGET,
                                         #SQL_DATA_SOURCE,
                                         #CDS_MODELING_DATA_SOURCE ],
                usageType: { serviceQuality: #C,
                             sizeCategory: #XXL,
                             dataClass: #TRANSACTIONAL } }

@VDM.viewType: #COMPOSITE

define view entity I_CADocumentBPItemPhysEnhcd
  as select from I_CADocumentBPItemPhysical

  association [1..1] to I_AdditionalCurrencyRoles as _AddlCrcyRoles on  $projection.CompanyCode    = _AddlCrcyRoles.CompanyCode
                                                                    and _AddlCrcyRoles.Ledger      = ''
                                                                    and _AddlCrcyRoles.LedgerGroup = ''

{
  key CADocumentNumber,
  key CARepetitionItemNumber,
  key CABPItemNumber,
  key CASubItemNumber,
      CompanyCode,
      BusinessArea,
      BusinessPlace,
      Segment,
      ProfitCenter,
      Division,
      PersonnelNumber,
      PartnerCompany,
      BusinessPartner,
      CAContract,
      CAProviderContractItemNumber,
      CAAdditionalContract,
      ContractAccount,
      CASubApplication,
      AltvContractAcctForCollvBills,
      CAReconciliationAccount,
      CAApplicationArea,
      CAMainTransaction,
      CASubTransaction,
      CAAccountDeterminationCode,
      CADoubtfulOrValueAdjmtCode,
      CAAccountAssignmentCategory,
      CAAccountAssignment,
      CADocumentType,
      CAIsDownPaymentRequest,
      @Semantics.booleanIndicator: true
      CAItemIsOnlyForSettlement,
      CAStatisticalItemCode,
      CABPItemText,
      CANumberOfRepetitionItems,
      CARepetitionGroup,
      CAStartDateOfBillingPeriod,
      CAEndDateOfBillingPeriod,
      CAGroupingCodeForBPItems,
      CAPeriodCode,
      CAChangeIsForbidden,
      CAInterestCode,
      CARoundingItemCode,
      CAReceivingCountry,
      CAInternalPostingReasonCode,
      CAWorkflowCheckReason,
      CAWorkflowCheckProcess,
      CANegativePostingControlCode,
      CAPartnerSettlementStatus,
       @Semantics.booleanIndicator: true
      CAIsPartOfJointLiability,
      CADocumentOriginCode,
      CASubstituteDocumentNumber,
      CASubstituteDocumentCategory,
      CAStatisticalCodeOfOriginItem,
      CADocumentNumberOfOriginItem,
      CAReferenceDocument,
      DocumentDate,
      CAPostingDate,
      CANetDueDate,
      CADeferralDate,
      TransactionCurrency,
      CompanyCodeCurrency,
      @ObjectModel.foreignKey.association: '_AdditionalCurrency1'
      _AddlCrcyRoles._AdditionalCrcyRole1Currency.Currency as AdditionalCurrency1,
      @ObjectModel.foreignKey.association: '_AdditionalCurrency2'
      _AddlCrcyRoles._AdditionalCrcyRole2Currency.Currency as AdditionalCurrency2,      
      CAExchangeRate,
      ExchRateIsIndirectQuotation,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      CAAmountInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CAAmountInTransactionCurrency,
      @Semantics.amount.currencyCode: 'AdditionalCurrency1'
      CAAmountInSecondCurrency,
      @Semantics.amount.currencyCode: 'AdditionalCurrency2'
      CAAmountInThirdCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CADocBPItemTotalAmountInTC,
      CACashDiscountDueDate,
      CACashDiscountRate,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CAEligibleAmountForCshDiscount,
      TaxCode,
      CASupplementaryTaxCode,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      CATaxAmountInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CATaxAmountInTransCurrency,
      @Semantics.amount.currencyCode: 'AdditionalCurrency1'
      CATaxAmountInSecondCurrency,
      @Semantics.amount.currencyCode: 'AdditionalCurrency2'
      CATaxAmountInThirdCurrency,
      CADownPaymentTaxAccount,
      CADownPaymentOffsetTaxAccount,
      TaxJurisdiction,
      CATaxDate,
      WithholdingTaxCode,
      CAWithholdingTaxSupplement,
      CAWithholdingTaxCategory,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CABaseAmountForWithholdingTax,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CAWithholdingTaxAmount,
      CAWithholdingTaxPercentage,
      WithholdingTaxCertificate,
      CAOtherTaxCode,
      CAGroupingCodeForTaxItems,
      @Semantics.amount.currencyCode: 'CompanyCodeCurrency'
      CATaxPortionInLocalCurrency,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      CATaxPortionInTransCurrency,
      CATaxIsCalculatedExternally,
      CATaxAmountIsSetFromExternal,
      CAPaymentMethod,
      CAPaymentCompanyCode,
      CAGroupingForPayment,
      CAPaymentSpecificationCategory,
      CAClearingStatus,
      CAClearingDate,
      CAClearingDocumentNumber,
      CAPostingDateOfClearingDoc,
      CAClearingReason,
      CAClearingCurrency,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      CAClearingAmountInClearingCrcy,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      CATaxAmountInClearingCrcy,
      @Semantics.amount.currencyCode: 'CAClearingCurrency'
      CACashDiscAmountInClearingCrcy,
      CAValueDateForClearing,
      CAClearingRestrictionCode,
      CAClearingPostingIsReset,
      CAItemIsWithdrawn,
      CAItemIsExcludedFromDunning,
      CADunningProcedure,
      CAGrpgCodeForTransfToCollAgcy,
      CAIsIncludedInCollectionCase,
      CashPlanningGroup,
      PlanningLevel,
      CAAdditionalDaysForCashMgmt,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      PlannedAmtInTransactionCrcy,
      CAAltvBPForPayment,
      CABankOfAltvBPForPayment,
      CAAddressOfAltvBPForPayment,
      CACardOfAltvBPForPayment,
      SEPAMandateCAInternalID,
      CAGLPostingCurrency,
      @Semantics.amount.currencyCode: 'CAGLPostingCurrency'
      CAGLPostingAmount,
      @Semantics.amount.currencyCode: 'CAGLPostingCurrency'
      CAGLPostingTaxAmount,
      CAIsSeparateLineItemInGL,
      CAIsCashFlowItem,
      CACashFlowAccount,
      CACashFlowCompanyCode,
      CAPaymentPreNotificationCode,
      CASEPAPreNotificationNumber,
      CASEPAPreNotifOriginCode,
      CASEPAPreNotifExecutionDate,
      CASEPAPreNotificationRqmtCode,
      CARevenueDistrFinalRecipient,
      CARevenueDistrCurrentStatus,
      CARevenueDistrLastStatus,
      CACurrentFactoringStatusOfRbl,
      CAFactoringCheckStsForClrgInfo,
      CAFactoringItem,
      ControllingArea,
      ChartOfAccounts,
      Country,
      TaxCalculationProcedure,
      
      /* Associations */
      // associations from I_CADocumentBPItemPhysical

      _AcctAssgmtCat,
      _AcctDetnCode,
      _AltvBPForPayment,
      _ApplArea,
      _BusinessArea,
      _BusinessPartner,
      _CAHeader,
      _CAHeaderCollvBills,
      _CAHeaderFinalRec,
      _CAPartner,
      _CARevnDistrCurSts,
      _CARevnDistrLastSts,
      _CARoundingItemCode,
      _SEPAPreNotifOrignCd,
      _SEPAPreNotifRqmtCode,
      _CashFlowAccount,
      _CASubApplication,
      _ClearingCurrency,
      _ClearingDocHeader,
      _ClearingReason,
      _ClearingStatus,
      _ClrgRstrcnCode,
      _Currency,
      _CompanyCodeCurrency,
      _CompCode,
      _CompCodeCashFlow,
      _CompCodePayt,
      _ControllingArea,
      _ChartOfAccounts,
      _Country,
      _DbtflOrValAdjmtCode,
      _Division,
      _DocHeader,
      _DocType,
      _DunningProcedure,
      _FactoringRblStatus,
      _FctrngClrgChkStatus,
      _GLPostingCurrency,
      _InterestCode,
      _IntPostingReasonCode,
      _MainTransaction,
      _NgtvPostingCtrlCode,
      _OffsetTaxAccount,
      _OriginDocHeader,
      _OriglStstclItemCode,
      _OtherTaxCode,
      _PartnerCompany,
      _PaytMethod,
      _PaytPreNotifCode,
      _PaytSpecCategory,
      _PeriodCode,
      _ProfitCenter,
      _ProviderContract,
      _PrtnSettlementStatus,
      _ReceivingCountry,
      _ReconAccount,
      _Segment,
      _StatisticalItemCode,
      _SubstitDocCategory,
      _SubstitDocHeader,
      _SubTransaction,
      _TaxAccount,
      _WhldgTaxSuplmnt,
      _CAWithholdingTaxCat,
      _WithholdingTaxCode,
      _WorkflowCheckProcess,
      _WorkflowCheckReason,
      // associations from I_AdditionalCurrencyRoles

      _AddlCrcyRoles._AdditionalCrcyRole1Currency._Currency as _AdditionalCurrency1,
      _AddlCrcyRoles._AdditionalCrcyRole2Currency._Currency as _AdditionalCurrency2
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ADDITIONALCURRENCYROLES",
"I_CADOCUMENTBPITEMPHYSICAL",
"I_COMPANYCODECURRENCYROLE"
],
"ASSOCIATED":
[
"I_BUSINESSAREA",
"I_BUSINESSPARTNER",
"I_CAACCOUNTASSIGNMENTCATEGORY",
"I_CAACCOUNTDETNCODE",
"I_CAAPPLICATIONAREA",
"I_CACLEARINGREASON",
"I_CACLEARINGRESTRICTIONCODE",
"I_CACLEARINGSTATUS",
"I_CADBTFLORVALUEADJMTCODE",
"I_CADOCUMENTHEADER",
"I_CADOCUMENTTYPE",
"I_CADUNNINGPROCEDURE",
"I_CAFACTORINGCLRGCHECKSTATUS",
"I_CAFACTORINGRECEIVABLESTATUS",
"I_CAINTERESTCODE",
"I_CAINTPOSTINGREASONCODE",
"I_CAMAINTRANSACTION",
"I_CANEGATIVEPOSTINGCTRLCODE",
"I_CAORIGLSTSTCLITEMCODE",
"I_CAOTHERTAXCODE",
"I_CAPARTNERSETTLEMENTSTATUS",
"I_CAPAYMENTMETHOD",
"I_CAPAYTPRENOTIFICATIONCODE",
"I_CAPAYTSPECIFICATIONCAT",
"I_CAPERIODCODE",
"I_CAPROVIDERCONTRACTHEADER",
"I_CAREVENUEDISTRSTATUS",
"I_CAROUNDINGITEMCODE",
"I_CASEPAPRENOTIFORIGINCODE",
"I_CASEPAPRENOTIFRQMTCODE",
"I_CASTATISTICALITEMCODE",
"I_CASUBAPPLICATION",
"I_CASUBSTITUTEDOCCATEGORY",
"I_CASUBTRANSACTION",
"I_CAWITHHOLDINGTAXCAT",
"I_CAWITHHOLDINGTAXSUPPLEMENT",
"I_CAWORKFLOWCHECKPROCESS",
"I_CAWORKFLOWCHECKREASON",
"I_CHARTOFACCOUNTS",
"I_COMPANYCODE",
"I_CONTRACTACCOUNTHEADER",
"I_CONTRACTACCOUNTPARTNER",
"I_CONTROLLINGAREA",
"I_COUNTRY",
"I_CURRENCY",
"I_DIVISION",
"I_GLACCOUNTINCHARTOFACCOUNTS",
"I_PARTNERCOMPANY",
"I_PROFITCENTER",
"I_SEGMENT",
"I_WITHHOLDINGTAXCODE"
],
"BASE":
[
"I_CADOCUMENTBPITEMPHYSICAL",
"I_COMPANYCODECURRENCYROLE"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/