I_APARToleranceGroup

DDL: I_APARTOLERANCEGROUP Type: view BASIC

Tolerance Group for Cust and Suppl

I_APARToleranceGroup (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private 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 7 fields with key fields CompanyCode, APARToleranceGroup. It has 2 associations to related views.

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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Analytical Dimension
PackageFinancial Operations for SAP S/4HANA Cloud Private 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 t043g from

Associations (2)

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

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 (7)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode Company Code
KEY APARToleranceGroup Tolerance Group for the Business Partner/G/L Account
GraceDays toler TolPeriod (sec)
FixedCashDiscount Cash Discount Terms Displayed
ArrearsDaysBaseDateDetn vrzde Base Date for Determining Arrears Days for OI Processing
_CompanyCode _CompanyCode
_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
  cast( bukrs as fis_bukrs ) AS CompanyCode,
  cast( togru as farp_togru ) AS APARToleranceGroup,
  toler AS GraceDays,
  cast( sktre as farp_dzbfix ) AS FixedCashDiscount,
  vrzde AS ArrearsDaysBaseDateDetn
FROM t043g
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON _CompanyCode.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_APARToleranceGroupText AS _APARToleranceGroupText ON _APARToleranceGroupText.CompanyCode = CompanyCode AND _APARToleranceGroupText.APARToleranceGroup = APARToleranceGroup  -- association [0..*]
;