I_APARToleranceGroup

DDL: I_APARTOLERANCEGROUP Type: view BASIC Package: FINS_FIS_APAR

Tolerance Group for Cust and Suppl

I_APARToleranceGroup (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Accounts Payable / Accounts Receivable Tolerance Group · Financial Operations

I_APARToleranceGroup is a Basic CDS View (Dimension) that provides data about "Tolerance Group for Cust and Suppl" in SAP S/4HANA. It reads from 1 data source (t043g) and exposes 13 fields with key fields CompanyCode, APARToleranceGroup. It has 3 associations to related views. Part of development package FINS_FIS_APAR.

SAP Help Documentation

CategoryCDS Views for Receivables Management
Data CategoryDimension
Purpose
This CDS view helps to retrieve tolerance values for payment differences for groups of customer or supplier accounts. This CDS view provides the data to answer the following business question: Which tolerance values for payment differences related to customers or supplier accounts are available in the system? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations No special authorizations are needed.

Structure
Fields Used for Filtering The main filters are as follows: CompanyCode : This field is used to specify the company code. APARToleranceGroup : This key is assigned to customer or supplier accounts to specify tolerance values for the handling of payment differences. Further Important Fields Important fields in this view include the following: Field Name Description GraceDays Grace Days Due Date FixedCashDiscount Fixed Payment Terms ArrearsDaysBaseDateDetn Arrears Base Date MaxPaytDiffExpnAmountInCCCrcy Maximum Expense Amount from Payment Differences in Company Code Currency MaxPaytDiffRevnAmountInCCCrcy Maximum Revenue Amount from Payment Differences in Company Code Currency MaxPaymentDiffExpensePercent Maximum Permitted Expense Percentage from Payment Differences MaxPaymentDiffRevenuePercent Maximum Allowable Revenue Percentage from Payment Differences CompanyCodeCurrency Company Code Currency

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS-2CL
CapabilitiesData Source for Defining CDS Entities,Association Target for Defining CDS Entities,Data Source in SQL Select,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view helps to retrieve tolerance values for payment differences for groups of customer or supplier accounts.</p> This CDS view provides the data to answer the following business question:<ul> <li> <p>Which tolerance values for payment differences related to customers or supplier accounts are available in the system?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t043g tg from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..*] I_APARToleranceGroupText _APARToleranceGroupText $projection.CompanyCode = _APARToleranceGroupText.CompanyCode and $projection.APARToleranceGroup = _APARToleranceGroupText.APARToleranceGroup
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName IFIAPARTOLGROUP view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey APARToleranceGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.sapObjectNodeType.name APARToleranceGroup view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Tolerance Group for Cust and Suppl view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable false view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode t043g bukrs Company Code
KEY APARToleranceGroup Tolerance Group for the Business Partner/G/L Account
GraceDays t043g toler TolPeriod (sec)
FixedCashDiscount Fixed Payment Terms
ArrearsDaysBaseDateDetn t043g vrzde Base Date for Determining Arrears Days for OI Processing
MaxPaytDiffExpnAmountInCCCrcy Maximum Expense Amount from Payment Differences
MaxPaytDiffRevnAmountInCCCrcy Maximum Revenue Amount from Payment Differences
MaxPaymentDiffExpensePercent Max Permitted Expense Percentage from Payment Differences
MaxPaymentDiffRevenuePercent Max Permitted Revenue Percentage from Payment Differences
CompanyCodeCurrency _t001 waers Transaction Currency
_CompanyCode _CompanyCode
_CompanyCodeCurrency _CompanyCodeCurrency
_APARToleranceGroupText _APARToleranceGroupText

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_APARToleranceGroup.
-- 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.

CREATE VIEW I_APARToleranceGroup AS
SELECT
  tg.bukrs AS CompanyCode,
  cast( tg.togru as farp_togru ) AS APARToleranceGroup,
  tg.toler AS GraceDays,
  cast( tg.sktre as farp_dzbfix ) AS FixedCashDiscount,
  tg.vrzde AS ArrearsDaysBaseDateDetn,
  cast( tg.betrh as farp_betrh_043t ) AS MaxPaytDiffExpnAmountInCCCrcy,
  cast( tg.betrs as farp_betrs_043t ) AS MaxPaytDiffRevnAmountInCCCrcy,
  cast( tg.prozh as farp_prozh_043t ) AS MaxPaymentDiffExpensePercent,
  cast( tg.prozs as farp_prozs_043t ) AS MaxPaymentDiffRevenuePercent,
  _t001.waers AS CompanyCodeCurrency
FROM t043g AS tg
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_APARToleranceGroupText AS _APARToleranceGroupText ON CompanyCode = _APARToleranceGroupText.CompanyCode AND APARToleranceGroup = _APARToleranceGroupText.APARToleranceGroup  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
;