C_APPayableAmount

DDL: C_APPAYABLEAMOUNT SQL: CPAYABLEAMOUNT Type: view CONSUMPTION Package: ODATA_APOVERVIEWPAGE

Payable Amount for AP Overview Page

C_APPayableAmount is a Consumption CDS View that provides data about "Payable Amount for AP Overview Page" in SAP S/4HANA. It reads from 1 data source (R_AccountsPayablesItem) and exposes 17 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem. It is exposed through 1 OData service (ASQL_F2917). Part of development package ODATA_APOVERVIEWPAGE.

Data Sources (1)

SourceAliasJoin Type
R_AccountsPayablesItem R_AccountsPayablesItem from

Parameters (4)

NameTypeDefault
P_KeyDate vdm_v_key_date
P_TodayDate sydate
P_Language sylangu
P_DisplayCurrency vdm_v_display_currency

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CPAYABLEAMOUNT view
EndUserText.label Payable Amount for AP Overview Page view
Metadata.ignorePropogatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2917 ASQL_F2917 C2 NOT_RELEASED

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
SupplierBasicAuthorizationGrp SupplierBasicAuthorizationGrp
FinancialAccountType FinancialAccountType Fin. Account Type
Supplier Supplier Supplier
SupplierCountry SupplierCountry
SupplierFinsAuthorizationGrp SupplierFinsAuthorizationGrp
AccountingClerk AccountingClerk Clerk Abbrev.
ReconciliationAccount Recon. account
DataPeriodName
DisplayCurrency
Debtor Debtor Debtor
PostingDate PostingDate Posting Date for GR
BusinessArea BusinessArea Business Area
AccountingDocumentType AccountingDocumentType Journal Entry Type

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_APPayableAmount.
-- 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: CPAYABLEAMOUNT
-- Parameters: P_KeyDate : vdm_v_key_date, P_TodayDate : sydate, P_Language : sylangu, P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW C_APPayableAmount AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  AccountingDocumentItem,
  SupplierBasicAuthorizationGrp,
  FinancialAccountType,
  Supplier,
  SupplierCountry,
  SupplierFinsAuthorizationGrp,
  AccountingClerk,
  cast (ReconciliationAccount as farp_akont ) AS ReconciliationAccount,
  cast('' as char20) AS DataPeriodName,
  $parameters.P_DisplayCurrency AS DisplayCurrency,
  Debtor,
  PostingDate,
  BusinessArea,
  AccountingDocumentType
FROM R_AccountsPayablesItem
;