I_APInvoiceProcessingTime
Accounts Payable. Invoice Processing Time
I_APInvoiceProcessingTime is a Composite CDS View (Cube) that provides data about "Accounts Payable. Invoice Processing Time" in SAP S/4HANA. It reads from 1 data source (P_APInvoiceProcessingTime7) and exposes 31 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It has 4 associations to related views. Part of development package FINS_FIS_AP_APPS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_APInvoiceProcessingTime7 | P_APInvoiceProcessingTime7 | from |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| P_TodayDate | sydate | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_ExchangeRateType | kurst_curr | |
| P_OverdueInterval1Days | farp_overdue_interval1 | |
| P_OverdueInterval2Days | farp_overdue_interval2 | |
| P_PostingDelayDesc | farp_posting_delay_desc | |
| P_PaymentDelayDesc | farp_payment_delay_desc |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Currency | _DisplayCurrency | $projection.DisplayCurrency = _DisplayCurrency.Currency |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_SupplierCompany | _SupplierCompany | $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Accounts Payable. Invoice Processing Time | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IFIAPINVPROTIME | 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 (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| Supplier | Supplier | Supplier | ||
| YearMonth | Year Month | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| DueDate | Promised For | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DisplayCurrency | ||||
| OverdueType | ||||
| OverdueTypeName | ||||
| OverdueInterval1Days | ||||
| OverdueInterval2Days | ||||
| PaymentDelayDesc | ||||
| PostingDelayDesc | ||||
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| SupplierFinsAuthorizationGrp | _SupplierCompany | AuthorizationGroup | AuthorizGroup | |
| TotalOverdueAmtInDspCrcy | ||||
| OvrdInvcAmtInDspCrcy | ||||
| OvrdPaytAmtInDspCrcy | ||||
| OvrdInvcLostDiscInDspCrcy | ||||
| OvrdPaytLostDiscInDspCrcy | ||||
| OverdueInterval1AmtInDspCrcy | ||||
| OverdueInterval2AmtInDspCrcy | ||||
| OverdueInterval3AmtInDspCrcy | ||||
| NumberOfPostingOverdueInvoices | ||||
| NumberOfClrgOverdueInvoices | ||||
| _DisplayCurrency | _DisplayCurrency | |||
| _Supplier | _Supplier | |||
| _CompanyCode | _CompanyCode |
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_APInvoiceProcessingTime.
-- 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: IFIAPINVPROTIME
-- Parameters: P_TodayDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr, P_OverdueInterval1Days : farp_overdue_interval1, P_OverdueInterval2Days : farp_overdue_interval2, P_PostingDelayDesc : farp_posting_delay_desc, P_PaymentDelayDesc : farp_payment_delay_desc
CREATE VIEW I_APInvoiceProcessingTime AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
AccountingDocumentItem,
Supplier,
cast(YearMonth as fis_yearmonth_c) AS YearMonth,
PostingDate,
cast( DueDate as due_date_sof ) AS DueDate,
TransactionCurrency,
cast( :P_DisplayCurrency as vdm_v_display_currency ) AS DisplayCurrency,
cast( OverdueType as farp_overdue_type ) AS OverdueType,
cast( OverdueTypeName as farp_overdue_type_name ) AS OverdueTypeName,
cast( OverdueInterval1Days as farp_overdue_interval1 ) AS OverdueInterval1Days,
cast( OverdueInterval2Days as farp_overdue_interval2 ) AS OverdueInterval2Days,
cast( PaymentDelayDesc as farp_payment_delay_desc ) AS PaymentDelayDesc,
cast( PostingDelayDesc as farp_posting_delay_desc ) AS PostingDelayDesc,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
_SupplierCompany.AuthorizationGroup AS SupplierFinsAuthorizationGrp,
cast( TotalOverdueAmtInDspCrcy as farp_overdue_amount_dsp_crcy ) AS TotalOverdueAmtInDspCrcy,
cast( OvrdInvcAmtInDspCrcy as farp_overdue_invc_amt_dspcrcy ) AS OvrdInvcAmtInDspCrcy,
cast( OvrdPaytAmtInDspCrcy as farp_overdue_payt_amt_dspcrcy ) AS OvrdPaytAmtInDspCrcy,
cast( cast( OvrdInvcLostDiscInDspCrcy as abap.curr(23,2)) as farp_od_in_lo_disc_amt_dspcrcy ) AS OvrdInvcLostDiscInDspCrcy,
cast( cast( OvrdPaytLostDiscInDspCrcy as abap.curr(23,2)) as farp_od_pa_lo_disc_amt_dspcrcy ) AS OvrdPaytLostDiscInDspCrcy,
cast( cast( OverdueInterval1AmtInDspCrcy as abap.curr(23,2)) as farp_ovrdue_intvl1_amt_dspcrcy ) AS OverdueInterval1AmtInDspCrcy,
cast( cast( OverdueInterval2AmtInDspCrcy as abap.curr(23,2)) as farp_ovrdue_intvl2_amt_dspcrcy ) AS OverdueInterval2AmtInDspCrcy,
cast( cast( OverdueInterval3AmtInDspCrcy as abap.curr(23,2)) as farp_ovrdue_intvl3_amt_dspcrcy ) AS OverdueInterval3AmtInDspCrcy,
cast( cast( NumberOfPostingOverdueInvoices as abap.int4 ) as farp_number_postg_ovrd_invoice ) AS NumberOfPostingOverdueInvoices,
cast( NumberOfClrgOverdueInvoices as farp_number_clrg_ovrd_invoice ) AS NumberOfClrgOverdueInvoices
FROM P_APInvoiceProcessingTime7
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _SupplierCompany ON Supplier = _SupplierCompany.Supplier AND CompanyCode = _SupplierCompany.CompanyCode -- 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