C_APCshDiscUtilization

DDL: C_APCSHDISCUTILIZATION SQL: CFIAPCSHDISUTI Type: view CONSUMPTION Package: FINS_FIS_AP_APPS

Account Payable Cash Discount Utilization

C_APCshDiscUtilization is a Consumption CDS View that provides data about "Account Payable Cash Discount Utilization" in SAP S/4HANA. It reads from 1 data source (I_APCshDiscUtilization) and exposes 19 fields with key fields CompanyCode, Supplier, PaymentTerms, TransactionCurrency, YearMonth. It is used in 1 Fiori application: Cash Discount Utilization (S/4HANA). Part of development package FINS_FIS_AP_APPS.

Data Sources (1)

SourceAliasJoin Type
I_APCshDiscUtilization I_APCshDiscUtilization from

Parameters (4)

NameTypeDefault
P_KeyDate sydate
P_StartDate vdm_v_start_date
P_DisplayCurrency vdm_v_display_currency
P_Language sylangu

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CFIAPCSHDISUTI view
EndUserText.label Account Payable Cash Discount Utilization view
VDM.viewType #CONSUMPTION view
Analytics.query true view
OData.publish true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY 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

Fiori Apps (1)

App IDApp NameTypeDescription
F1736 Cash Discount Utilization (S/4HANA) Analytical An application to analyze the cash discount utilization for Accounts Payable manager

Cash Discount Utilization (S/4HANA)

Business Role: Accounts Payable Manager

With this app you can monitor in real time the cash discount utilization in your responsible area. You can find out which company code or location needs to make better use of cash discounts. You can also find out about the reasons for cash discount loss so that it can be avoided in the future.This app is available for the role Accounts Payable Manager.

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Supplier Supplier Supplier
KEY PaymentTerms PaymentTerms Pyt Terms
KEY TransactionCurrency TransactionCurrency Transaction Currency
KEY YearMonth YearMonth Year Month
CompanyCodeName _CompanyCode CompanyCodeName Company Name
SupplierName _Supplier SupplierName Supplier Name
PaymentTermsDescription
SupplierAccountGroup SupplierAccountGroup Account group
SupplierAccountGroupName
Country Country Venue: Ctry/Reg
CountryName
SupplierRegion SupplierRegion
SupplierRegionName
DisplayCurrency DisplayCurrency Display Currency
TakenCshDiscInDspCrcy_E TakenCshDiscInDspCrcy_E
OfferedCshDiscInDspCrcy_E OfferedCshDiscInDspCrcy_E
LostCshDiscInDspCrcy_E LostCshDiscInDspCrcy_E
CshDiscUtilizationRatio 1 Cash Discounts Utilization Ratio

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_APCshDiscUtilization.
-- 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: CFIAPCSHDISUTI
-- Parameters: P_KeyDate : sydate, P_StartDate : vdm_v_start_date, P_DisplayCurrency : vdm_v_display_currency, P_Language : sylangu

CREATE VIEW C_APCshDiscUtilization AS
SELECT
  CompanyCode,
  Supplier,
  PaymentTerms,
  TransactionCurrency,
  YearMonth,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _Supplier.SupplierName AS SupplierName,
  _PaymentTerms._Text[1: Language = :P_Language].PaymentTermsDescription AS PaymentTermsDescription,
  SupplierAccountGroup,
  _SupplierAccountGroup._SupplierAccountGroupText[1:Language = $parameters.P_Language].AccountGroupName AS SupplierAccountGroupName,
  Country,
  _Country._Text[1: Language = :P_Language].CountryName AS CountryName,
  SupplierRegion,
  _SupplierRegion._RegionText[1:Language = $parameters.P_Language].RegionName AS SupplierRegionName,
  DisplayCurrency,
  TakenCshDiscInDspCrcy_E,
  OfferedCshDiscInDspCrcy_E,
  LostCshDiscInDspCrcy_E,
  1 AS CshDiscUtilizationRatio
FROM I_APCshDiscUtilization
;