I_APARToleranceGroup
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
| Category | CDS Views for Receivables Management |
|---|---|
| Data Category | Dimension |
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
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Financial Operations |
| Application Component | FI-AR-IS-2CL |
| Capabilities | Data 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 |
| Package | Financial 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
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t043g | tg | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA