I_PaymentDifferenceReason

DDL: I_PAYMENTDIFFERENCEREASON SQL: IFIPAYDIFFREASON Type: view BASIC

Payment Difference Reason

I_PaymentDifferenceReason (Basic)

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

Financial Operations

I_PaymentDifferenceReason is a Basic CDS View (Dimension) that provides data about "Payment Difference Reason" in SAP S/4HANA. It reads from 1 data source (t053r) and exposes 6 fields with key fields CompanyCode, PaymentDifferenceReason. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Receivables Management
Data CategoryDimension
StatusReleased
Purpose
This CDS view provides the prerequisites for answering the following business questions: Which payment difference reasons are defined for payment transactions?

Structure
Measures and attributes Some important measures and attributes are: Company Code Indicator: Disputed Item

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-IS
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageFinancial Operations for SAP S/4HANA Cloud Private Edition
Description This CDS view provides the prerequisites for answering the following business questions: <ul> <li><p>Which payment difference reasons are defined for payment transactions?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
t053r t053r from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PaymentDifferenceReasonT _Text $projection.CompanyCode = _Text.CompanyCode and $projection.PaymentDifferenceReason = _Text.PaymentDifferenceReason
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (13)

NameValueLevelField
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Payment Difference Reason view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IFIPAYDIFFREASON view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey PaymentDifferenceReason view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode Company Code
KEY PaymentDifferenceReason Reason Code for Payment Differences
IsDisputed xstrp Indicator: Disputed Item?
PaytDiffIsChargedToSprtGLAcct xausb Indicator: Write Off Difference via Separate Account
_Text _Text
_CompanyCode _CompanyCode

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_PaymentDifferenceReason.
-- 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: IFIPAYDIFFREASON

CREATE VIEW I_PaymentDifferenceReason AS
SELECT
  cast (bukrs as fis_bukrs) AS CompanyCode,
  cast (rstgr as farp_rstgr) AS PaymentDifferenceReason,
  xstrp AS IsDisputed,
  xausb AS PaytDiffIsChargedToSprtGLAcct
FROM t053r
LEFT OUTER JOIN I_PaymentDifferenceReasonT AS _Text ON CompanyCode = _Text.CompanyCode AND PaymentDifferenceReason = _Text.PaymentDifferenceReason  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
;