P_APCshDiscUtilizationA7

DDL: P_APCSHDISCUTILIZATIONA7 SQL: PFIAPCSHDISUTIA7 Type: view COMPOSITE Package: FINS_FIS_AP_APPS

Account Payable Cash Discount Utilization

P_APCshDiscUtilizationA7 is a Composite CDS View that provides data about "Account Payable Cash Discount Utilization" in SAP S/4HANA. It reads from 1 data source (P_APCshDiscUtilizationA6) and exposes 6 fields with key field CompanyCode. Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
P_APCshDiscUtilizationA6 P_APCshDiscUtilizationA6 from

Parameters (3)

NameTypeDefault
P_KeyDate sydate
P_StartDate vdm_v_start_date
P_DisplayCurrency vdm_v_display_currency

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PFIAPCSHDISUTIA7 view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
Supplier Supplier
PaymentTerms PaymentTerms Pyt Terms
TransactionCurrency TransactionCurrency Transaction Currency
YearMonth YearMonth Year Month
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 P_APCshDiscUtilizationA7.
-- 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: PFIAPCSHDISUTIA7
-- Parameters: P_KeyDate : sydate, P_StartDate : vdm_v_start_date, P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW P_APCshDiscUtilizationA7 AS
SELECT
  CompanyCode,
  cast (Supplier as md_supplier) AS Supplier,
  PaymentTerms,
  TransactionCurrency,
  YearMonth,
  cast(:P_DisplayCurrency as vdm_v_display_currency) AS DisplayCurrency
FROM P_APCshDiscUtilizationA6
;