C_APProcessFlowJournalEntryItm
Journal Entry Document Item details for AP process flow
C_APProcessFlowJournalEntryItm is a Consumption CDS View that provides data about "Journal Entry Document Item details for AP process flow" in SAP S/4HANA. It reads from 1 data source (P_ARProcessFlowJournalEntryDoc) and exposes 43 fields with key fields CompanyCode, FiscalYear, AccountingDocument. It has 3 associations to related views. It is exposed through 1 OData service (ASQL_F2691). Part of development package ODATA_PROCESS_FLOW_AP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ARProcessFlowJournalEntryDoc | P_ARProcessFlowJournalEntryDoc | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_JournalEntry | _JournalEntry | $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.AccountingDocument = _JournalEntry.AccountingDocument |
| [0..1] | I_InternalOrder | _InternalOrder | $projection.OrderID = _InternalOrder.InternalOrder |
| [0..1] | I_Order | _Order | $projection.OrderID = _Order.OrderID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CAPPROCFLOWACC | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Journal Entry Document Item details for AP process flow | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| DataAging.noAgingRestriction | false | view | |
| AbapCatalog.preserveKey | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2691 | ASQL_F2691 | C2 | NOT_RELEASED |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| AmountInTransactionCurrency | ||||
| ClearingDate | ClearingDate | Clearing Date | ||
| ClearingDocFiscalYear | ClearingJournalEntryFiscalYear | Fiscal Year of Clearing Journal Entry | ||
| ClearingAccountingDocument | ClearingJournalEntry | Clrng doc. | ||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | ||
| FullName | _UserContactCard | FullName | Name | |
| DocumentDate | DocumentDate | Journal Entry Date | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| FiscalPeriodName | FiscalPeriodName | |||
| Supplier | Supplier | Supplier | ||
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| AccountingDocumentTypeName | AccountingDocumentTypeName | |||
| Ledger | Ledger | Ledger | ||
| IsLeadingLedger | IsLeadingLedger | |||
| BusinessArea | BusinessArea | Business Area | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| GLAccount | GLAccount | General Ledger | ||
| Segment | Segment | Segment number | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Plant | Plant | Valuation Area | ||
| PlantName | _Plant | PlantName | Plant Name | |
| ValuationArea | ValuationArea | Valuation Area | ||
| SalesOrder | SalesOrder | SD Document | ||
| OrderID | OrderID | Order ID | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| AccountingDocumentCategory | _JournalEntry | AccountingDocumentCategory | Journal Entry Category | |
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| AuthorizationGroup | _Supplier | AuthorizationGroup | AuthorizGroup | |
| _SalesDoc | _SalesDoc | |||
| _ServiceDocument | _ServiceDocument | |||
| _ServiceDocumentType | _ServiceDocumentType |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_APProcessFlowJournalEntryItm.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CAPPROCFLOWACC
CREATE VIEW C_APProcessFlowJournalEntryItm AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
FinancialAccountType,
DebitCreditCode,
ReferenceDocumentType,
ReferenceDocument,
TransactionCurrency,
sum( AmountInTransactionCurrency) AS AmountInTransactionCurrency,
ClearingDate,
ClearingJournalEntryFiscalYear AS ClearingDocFiscalYear,
ClearingJournalEntry AS ClearingAccountingDocument,
AccountingDocCreatedByUser,
_UserContactCard.FullName AS FullName,
DocumentDate,
FiscalPeriod,
FiscalPeriodName,
Supplier,
_Supplier.SupplierName AS SupplierName,
AccountingDocumentType,
AccountingDocumentTypeName,
Ledger,
IsLeadingLedger,
BusinessArea,
FunctionalArea,
ProfitCenter,
CostCenter,
GLAccount,
Segment,
ControllingArea,
Plant,
_Plant.PlantName AS PlantName,
ValuationArea,
SalesOrder,
OrderID,
ServiceDocument,
ServiceDocumentType,
_JournalEntry.AccountingDocumentCategory AS AccountingDocumentCategory,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_Supplier.AuthorizationGroup AS AuthorizationGroup
FROM P_ARProcessFlowJournalEntryDoc
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND AccountingDocument = _JournalEntry.AccountingDocument -- association [1..1]
LEFT OUTER JOIN I_InternalOrder AS _InternalOrder ON OrderID = _InternalOrder.InternalOrder -- association [0..1]
LEFT OUTER JOIN I_Order AS _Order ON OrderID = _Order.OrderID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA