C_FactoringReceivableOpenItem

DDL: C_FACTORINGRECEIVABLEOPENITEM Type: view CONSUMPTION

Factoring Receivable Open Items for BVB

C_FactoringReceivableOpenItem is a Consumption CDS View that provides data about "Factoring Receivable Open Items for BVB" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 15 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_OperationalAcctgDocItem I_OperationalAcctgDocItem from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CWLFFCTRCVOI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #CONSUMPTION view
EndUserText.label Factoring Receivable Open Items for BVB view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode
KEY AccountingDocument AccountingDocument
KEY FiscalYear
KEY AccountingDocumentItem AccountingDocumentItem
ReferenceDocumentLogicalSystem ReferenceDocumentLogicalSystem
SettlmtRefDocCat
PostingDate PostingDate
DocumentDate DocumentDate
OpenItemAmountInTC
OpenItemAmountInvertedInTC
TransactionCurrency TransactionCurrency
DebitCreditCode DebitCreditCode
AccountingDocumentType AccountingDocumentType
Customer Customer
CustomerCountry _Customer Country
@AbapCatalog: {
  sqlViewName: 'CWLFFCTRCVOI',
  compiler.compareFilter: true,
  preserveKey: true
}
@AccessControl: {
  authorizationCheck: #NOT_ALLOWED,
  personalData.blocking: #NOT_REQUIRED
}
@ClientHandling: {
  algorithm: #SESSION_VARIABLE
}
@ObjectModel: {
  usageType.dataClass: #MIXED,
  usageType.serviceQuality: #C,
  usageType.sizeCategory: #XXL
}
@VDM: {
  viewType: #CONSUMPTION
}
@EndUserText: {
  label: 'Factoring Receivable Open Items for BVB'
}
@Metadata: {
  allowExtensions: true,
  ignorePropagatedAnnotations: true
}
define view C_FactoringReceivableOpenItem
  as select from I_OperationalAcctgDocItem
{
  key CompanyCode                                                            as CompanyCode,
  key AccountingDocument                                                     as AccountingDocument,
  key cast( FiscalYear as fis_gjahr_no_conv preserving type )                as FiscalYear,
  key AccountingDocumentItem                                                 as AccountingDocumentItem,
      ReferenceDocumentLogicalSystem                                         as ReferenceDocumentLogicalSystem,
      cast( '40' as wlf_ref_type )                                           as SettlmtRefDocCat,
      PostingDate                                                            as PostingDate,
      DocumentDate                                                           as DocumentDate,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast( AmountInTransactionCurrency as wlf_open_item_amount )            as OpenItemAmountInTC,
      @Semantics.amount.currencyCode: 'TransactionCurrency'
      cast( - AmountInTransactionCurrency as wlf_open_item_amount_inverted ) as OpenItemAmountInvertedInTC,
      @Semantics.currencyCode: true
      TransactionCurrency                                                    as TransactionCurrency,
      DebitCreditCode                                                        as DebitCreditCode,
      AccountingDocumentType                                                 as AccountingDocumentType,
      Customer                                                               as Customer,
      _Customer.Country                                                      as CustomerCountry
      // _CustomerCompany.<FactoringGroup> as FactoringGroup,

      
}
where
      AccountingDocumentCategory = ' '
  and FinancialAccountType       = 'D'
  and ClearingAccountingDocument = ' '
  and _PostingKey.IsSalesRelated = 'X'
//and SpecialGLCode = ' '     // this is covered by posting key