P_APProcFlowJournalEntry
AP Process Flow Journal Entry
P_APProcFlowJournalEntry is a Consumption CDS View that provides data about "AP Process Flow Journal Entry" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 18 fields with key fields AccountingDocument, CompanyCode, FiscalYear. It has 1 association to related views. Part of development package ODATA_PROCESS_FLOW_AP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntry | journalEntry | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UserContactCard | _UserContactCard | $projection.AccountingDocCreatedByUser = _UserContactCard.ContactCardID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| EndUserText.label | AP Process Flow Journal Entry | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingDocument | I_JournalEntry | AccountingDocument | |
| KEY | CompanyCode | I_JournalEntry | CompanyCode | |
| KEY | FiscalYear | I_JournalEntry | FiscalYear | |
| ReferenceDocument | ||||
| ReferenceDocumentFiscalYear | ||||
| AccountingDocumentCategory | I_JournalEntry | AccountingDocumentCategory | ||
| AccountingDocumentType | I_JournalEntry | AccountingDocumentType | ||
| PostingDate | I_JournalEntry | PostingDate | ||
| ReferenceDocumentType | I_JournalEntry | ReferenceDocumentType | ||
| OriginalReferenceDocument | I_JournalEntry | OriginalReferenceDocument | ||
| DocumentReferenceID | I_JournalEntry | DocumentReferenceID | ||
| AccountingDocCreatedByUser | I_JournalEntry | AccountingDocCreatedByUser | ||
| FullName | _UserContactCard | FullName | ||
| DocumentDate | I_JournalEntry | DocumentDate | ||
| Ledger | I_JournalEntry | Ledger | ||
| _AccountingDocumentType | I_JournalEntry | _AccountingDocumentType | ||
| CompanyCodeName | ||||
| _UserContactCard | _UserContactCard |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl:{
authorizationCheck: #NOT_REQUIRED,
privilegedAssociations: [ '_UserContactCard' ]
}
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #XXL,
dataClass: #TRANSACTIONAL
}
@VDM: {
viewType: #CONSUMPTION,
private: true
}
@EndUserText.label: 'AP Process Flow Journal Entry'
define view entity P_APProcFlowJournalEntry
as select from I_JournalEntry as journalEntry
association [1..1] to I_UserContactCard as _UserContactCard on $projection.AccountingDocCreatedByUser = _UserContactCard.ContactCardID
{
key journalEntry.AccountingDocument as AccountingDocument,
key journalEntry.CompanyCode as CompanyCode,
key journalEntry.FiscalYear as FiscalYear,
// SupplierInvoice Association
substring(journalEntry.OriginalReferenceDocument, 1, 10) as ReferenceDocument,
substring(journalEntry.OriginalReferenceDocument, 11, 4) as ReferenceDocumentFiscalYear,
journalEntry.AccountingDocumentCategory as AccountingDocumentCategory,
// Node information
journalEntry.AccountingDocumentType as AccountingDocumentType,
journalEntry.PostingDate as PostingDate,
journalEntry.ReferenceDocumentType as ReferenceDocumentType,
journalEntry.OriginalReferenceDocument as OriginalReferenceDocument,
journalEntry.DocumentReferenceID as DocumentReferenceID,
journalEntry.AccountingDocCreatedByUser as AccountingDocCreatedByUser,
_UserContactCard.FullName as FullName,
//Additional Info
journalEntry.DocumentDate as DocumentDate,
//Authorization
journalEntry.Ledger as Ledger,
journalEntry._AccountingDocumentType,
journalEntry._CompanyCode.CompanyCodeName as CompanyCodeName,
_UserContactCard
}
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