I_ReversalReason

DDL: I_REVERSALREASON Type: view_entity BASIC

Reversal Reason

I_ReversalReason (Basic)

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

ReversalReason · Accounting and Financial Close

I_ReversalReason is a Basic CDS View that provides data about "Reversal Reason" in SAP S/4HANA. It reads from 1 data source (t041c) and exposes 3 fields with key field ReversalReason. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
t041c t041c from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ReversalReasonText _Text $projection.ReversalReason = _Text.ReversalReason

Annotations (12)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
EndUserText.label Reversal Reason view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ReversalReason view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name ReversalReason view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ReversalReason t041c stgrd Reason for Reversal or Inverse Posting
IsNegativePosting t041c xnegp Indicator: Generate Negative Postings
_Text _Text

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_ReversalReason.
-- 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_ReversalReason AS
SELECT
  t041c.stgrd AS ReversalReason,
  t041c.xnegp AS IsNegativePosting
FROM t041c
LEFT OUTER JOIN I_ReversalReasonText AS _Text ON ReversalReason = _Text.ReversalReason  -- association [0..*]
;