I_APFutureAccountsPayable
Future Accounts Payables Smart Business App
I_APFutureAccountsPayable is a Composite CDS View (Cube) that provides data about "Future Accounts Payables Smart Business App" in SAP S/4HANA. It reads from 1 data source (P_APFutureAccountsPay7) and exposes 27 fields with key fields CompanyCode, Supplier, NetDueIntervalText, PaymentBlockingReason. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_APFutureAccountsPay7 | P_APFutureAccountsPay7 | from |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_ExchangeRateType | kurst_curr | |
| P_NetDueInterval1InDays | farp_net_due_interval1 | |
| P_NetDueInterval2InDays | farp_net_due_interval2 | |
| P_NetDueInterval3InDays | farp_net_due_interval3 | |
| P_NetDueInterval4InDays | farp_net_due_interval4 |
Associations (8)
| 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_Country | _SupplierCountry | $projection.SupplierCountry = _SupplierCountry.Country |
| [0..1] | I_Region | _SupplierRegion | $projection.SupplierRegion = _SupplierRegion.Region and $projection.SupplierCountry = _SupplierRegion.Country |
| [0..1] | I_SupplierAccountGroup | _SupplierAccountGroup | $projection.SupplierAccountGroup = _SupplierAccountGroup.SupplierAccountGroup |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_SupplierCompany | _SupplierCompany | $projection.Supplier = _SupplierCompany.Supplier and $projection.CompanyCode = _SupplierCompany.CompanyCode |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIAPFUTACCTPAYB | view | |
| EndUserText.label | Future Accounts Payables Smart Business App | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | 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 (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | Supplier | Supplier | Supplier | |
| KEY | NetDueIntervalText | |||
| KEY | PaymentBlockingReason | Pmnt block | ||
| SupplierRegion | ||||
| SupplierAccountGroup | ||||
| SupplierCountry | ||||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| DisplayCurrency | DisplayCurrency | Display Currency | ||
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| SupplierFinsAuthorizationGrp | _SupplierCompany | AuthorizationGroup | AuthorizGroup | |
| TotalAmountInDisplayCrcy | ||||
| TotalOverdueAmtInDspCrcy | ||||
| TotalNotOvrdAmtInDspCrcy | ||||
| NetDueIntvl1AmtInDspCrcy | ||||
| NetDueIntvl2AmtInDspCrcy | ||||
| NetDueIntvl3AmtInDspCrcy | ||||
| NetDueIntvl4AmtInDspCrcy | ||||
| NetDueLastIntvlAmtInDspCrcy | ||||
| NumberOfOpenItems | ||||
| _CompanyCode | _CompanyCode | |||
| _Supplier | _Supplier | |||
| _DisplayCurrency | _DisplayCurrency | |||
| _SupplierRegion | _SupplierRegion | |||
| _SupplierAccountGroup | _SupplierAccountGroup | |||
| _PaymentBlockingReason | _PaymentBlockingReason | |||
| _SupplierCountry | _SupplierCountry |
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_APFutureAccountsPayable.
-- 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: IFIAPFUTACCTPAYB
-- Parameters: P_KeyDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst_curr, P_NetDueInterval1InDays : farp_net_due_interval1, P_NetDueInterval2InDays : farp_net_due_interval2, P_NetDueInterval3InDays : farp_net_due_interval3, P_NetDueInterval4InDays : farp_net_due_interval4
CREATE VIEW I_APFutureAccountsPayable AS
SELECT
CompanyCode,
Supplier,
cast(NetDueIntervalText as farp_netdue_intvl_text) AS NetDueIntervalText,
cast( PaymentBlockingReason as farp_dzlspr ) AS PaymentBlockingReason,
cast(_Supplier._StandardAddress.Region as farp_supplier_region) AS SupplierRegion,
cast(_Supplier.SupplierAccountGroup as farp_supplier_account_group) AS SupplierAccountGroup,
_Supplier._StandardAddress.Country AS SupplierCountry,
ExchangeRateType,
DisplayCurrency,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
_SupplierCompany.AuthorizationGroup AS SupplierFinsAuthorizationGrp,
cast( sum( TotalAmtInDspCrcy ) as farp_total_amount_display_crcy ) AS TotalAmountInDisplayCrcy,
cast( sum( TotalOverdueAmtInDspCrcy ) as farp_overdue_amount_dsp_crcy ) AS TotalOverdueAmtInDspCrcy,
cast( sum( TotalNotOvrdAmtInDspCrcy ) as farp_not_overdue_amt_dsp_crcy ) AS TotalNotOvrdAmtInDspCrcy,
cast( sum( NetDueIntvl1AmtInDspCrcy ) as farp_netdue_intvl1_amt_dspcrcy ) AS NetDueIntvl1AmtInDspCrcy,
cast( sum( NetDueIntvl2AmtInDspCrcy ) as farp_netdue_intvl2_amt_dspcrcy ) AS NetDueIntvl2AmtInDspCrcy,
cast( sum( NetDueIntvl3AmtInDspCrcy ) as farp_netdue_intvl3_amt_dspcrcy ) AS NetDueIntvl3AmtInDspCrcy,
cast( sum( NetDueIntvl4AmtInDspCrcy ) as farp_netdue_intvl4_amt_dspcrcy ) AS NetDueIntvl4AmtInDspCrcy,
cast( sum( NetDueLastIntvlAmtInDspCrcy ) as farp_netdue_lintvl_amt_dspcrcy ) AS NetDueLastIntvlAmtInDspCrcy,
cast( sum( NumberOfOpenItems ) as farp_number_of_open_items ) AS NumberOfOpenItems
FROM P_APFutureAccountsPay7
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_Country AS _SupplierCountry ON SupplierCountry = _SupplierCountry.Country -- association [0..1]
LEFT OUTER JOIN I_Region AS _SupplierRegion ON SupplierRegion = _SupplierRegion.Region AND SupplierCountry = _SupplierRegion.Country -- association [0..1]
LEFT OUTER JOIN I_SupplierAccountGroup AS _SupplierAccountGroup ON SupplierAccountGroup = _SupplierAccountGroup.SupplierAccountGroup -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- 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