P_ACMTrdgContrFinDoc
P_ACMTrdgContrFinDoc is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (finsc_ld_cmp, bkpf, finsc_ledger, acdoca) and exposes 6 fields with key fields ClearedAccountingDocument, FiscalYear.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| finsc_ld_cmp | _AccountingCompanyCodeLedger | inner |
| bkpf | _AccountingDocumentHeader | inner |
| finsc_ledger | _AccountingLeadingLedger | inner |
| acdoca | AccountingDocumentSegment | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
@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
inner join finsc_ld_cmp as _AccountingCompanyCodeLedger on _AccountingCompanyCodeLedger.bukrs = AccountingDocumentSegment.rbukrs
and _AccountingCompanyCodeLedger.rldnr = AccountingDocumentSegment.rldnr
inner join finsc_ledger as _AccountingLeadingLedger on _AccountingLeadingLedger.rldnr = AccountingDocumentSegment.rldnr
{
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
and _AccountingLeadingLedger.xleading = 'X'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA