P_ACMTrdgContrFinDoc

DDL: P_ACMTRDGCONTRFINDOC SQL: PACMCONFINDOC Type: view BASIC

P_ACMTrdgContrFinDoc is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (bkpf, acdoca) and exposes 6 fields with key fields ClearedAccountingDocument, FiscalYear.

Data Sources (2)

SourceAliasJoin Type
bkpf _AccountingDocumentHeader inner
acdoca AccountingDocumentSegment from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PACMCONFINDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.private true view
VDM.viewType #BASIC view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ClearedAccountingDocument acdoca belnr
KEY FiscalYear acdoca gjahr
ClearingDate acdoca augdt
ClearingJournalEntry acdoca augbl
ACMReferenceKey bkpf awkey
SupplierConfirmationExtNumber bkpf xblnr
@AbapCatalog.sqlViewName: 'PACMCONFINDOC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@VDM.private:true
@VDM.viewType: #BASIC
define view P_ACMTrdgContrFinDoc
  as select from acdoca as AccountingDocumentSegment
    inner join   bkpf as _AccountingDocumentHeader on  _AccountingDocumentHeader.belnr = AccountingDocumentSegment.belnr
                                                   and _AccountingDocumentHeader.gjahr = AccountingDocumentSegment.gjahr
{
  key AccountingDocumentSegment.belnr as ClearedAccountingDocument,
  key AccountingDocumentSegment.gjahr as FiscalYear,
      AccountingDocumentSegment.augdt as ClearingDate,
      AccountingDocumentSegment.augbl as ClearingJournalEntry,
      _AccountingDocumentHeader.awkey as ACMReferenceKey,
      _AccountingDocumentHeader.xblnr as SupplierConfirmationExtNumber
}
where
      AccountingDocumentSegment.augbl != ''
  and AccountingDocumentSegment.augdt is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ACDOCA",
"BKPF"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/