I_APInvoiceProcessingAnalysis
Invoice Processing Analysis
I_APInvoiceProcessingAnalysis is a Composite CDS View (Cube) that provides data about "Invoice Processing Analysis" in SAP S/4HANA. It reads from 1 data source (P_APInvoiceProcessingAnalysis5) and exposes 20 fields with key fields CompanyCode, Supplier, PaymentBlockingReason, AccountingDocCreatedByUser, AccountingDocumentCategory. It has 9 associations to related views. Part of development package FINS_FIS_AP_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_APInvoiceProcessingAnalysis5 | P_APInvoiceProcessingAnalysis5 | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate | |
| P_StartDate | vdm_v_start_date | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_ExchangeRateType | kurst_curr |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Currency | _DisplayCurrency | $projection.DisplayCurrency = _DisplayCurrency.Currency |
| [0..1] | I_PaymentBlockingReason | _PaymentBlockingReason | $projection.PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_AccountingDocumentCategory | _AccountingDocumentCategory | $projection.AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory |
| [0..1] | I_PMContactCardUser | _ContactCard | $projection.AccountingDocCreatedByUser = _ContactCard.UserID |
| [0..1] | I_APInvoiceProcessingStatus | _APInvoiceProcessingStatus | $projection.SupplierInvoiceStatus = _APInvoiceProcessingStatus.SupplierInvoiceStatus |
| [0..1] | I_SupplierCompany | _SupplierCompany | $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode |
| [0..1] | I_AccountingClerk | _AccountingClerk | $projection.CompanyCode = _AccountingClerk.CompanyCode and $projection.AccountingClerk = _AccountingClerk.AccountingClerk |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIAPINVPROALY | view | |
| EndUserText.label | Invoice Processing Analysis | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Supplier | Supplier | Supplier | |
| KEY | PaymentBlockingReason | PaymentBlockingReason | Pmnt block | |
| KEY | AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | |
| KEY | AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | |
| KEY | YearMonth | Year Month | ||
| KEY | SupplierInvoiceStatus | Inv. status | ||
| AccountingClerk | ||||
| DisplayCurrency | ||||
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| SupplierFinsAuthorizationGrp | _SupplierCompany | AuthorizationGroup | AuthorizGroup | |
| NumberOfItems | ||||
| _CompanyCode | _CompanyCode | |||
| _Supplier | _Supplier | |||
| _PaymentBlockingReason | _PaymentBlockingReason | |||
| _ContactCard | _ContactCard | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _APInvoiceProcessingStatus | _APInvoiceProcessingStatus | |||
| _AccountingClerk | _AccountingClerk | |||
| _DisplayCurrency | _DisplayCurrency |
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 I_APInvoiceProcessingAnalysis.
-- 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: IFIAPINVPROALY
-- Parameters: P_KeyDate : sydate, P_StartDate : vdm_v_start_date, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr
CREATE VIEW I_APInvoiceProcessingAnalysis AS
SELECT
CompanyCode,
Supplier,
PaymentBlockingReason,
AccountingDocCreatedByUser,
AccountingDocumentCategory,
cast(YearMonth as fis_yearmonth_c) AS YearMonth,
cast( SupplierInvoiceStatus as farp_invoice_procg_status ) AS SupplierInvoiceStatus,
cast(_SupplierCompany.AccountingClerk as farp_busab) AS AccountingClerk,
cast( :P_DisplayCurrency as vdm_v_display_currency ) AS DisplayCurrency,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
_SupplierCompany.AuthorizationGroup AS SupplierFinsAuthorizationGrp,
cast( NumberOfItems as farp_number_of_items ) AS NumberOfItems
FROM P_APInvoiceProcessingAnalysis5
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_PaymentBlockingReason AS _PaymentBlockingReason ON PaymentBlockingReason = _PaymentBlockingReason.PaymentBlockingReason -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentCategory AS _AccountingDocumentCategory ON AccountingDocumentCategory = _AccountingDocumentCategory.AccountingDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_PMContactCardUser AS _ContactCard ON AccountingDocCreatedByUser = _ContactCard.UserID -- association [0..1]
LEFT OUTER JOIN I_APInvoiceProcessingStatus AS _APInvoiceProcessingStatus ON SupplierInvoiceStatus = _APInvoiceProcessingStatus.SupplierInvoiceStatus -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingClerk AS _AccountingClerk ON CompanyCode = _AccountingClerk.CompanyCode AND AccountingClerk = _AccountingClerk.AccountingClerk -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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