I_SettlmtCompnRsn

DDL: I_SETTLMTCOMPNRSN Type: view BASIC

Settlement Compensation Reason

I_SettlmtCompnRsn (Basic)

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

Sales

I_SettlmtCompnRsn is a Basic CDS View that provides data about "Settlement Compensation Reason" in SAP S/4HANA. It reads from 1 data source (wlf_c_compn_rsn) and exposes 2 fields with key field SettlmtCompensationReason. It has 1 association to related views.

SAP Help Documentation

CategorySettlement Management Document
Purpose
This CDS view provides information about compensation reasons in Settlement Management. This CDS view provides the data to answer the following business question: Which are the relevant compensation reasons in Settlement Management? 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 There are no prerequisites.

Structure
Further Important Fields Important fields in this view include the following: Field Name Description SettlmtCompensationReason Compensation Reason SettlmtCompnRsnDesc Compensation Reason Description

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentLO-AB
CapabilitiesData Source for Search, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Provider for Value Help, Data Source for Defining CDS Entities
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information about compensation reasons in Settlement Management.</p> <p>This CDS view provides the data to answer the following business question:</p> <ul> <li><p>Which are the relevant compensation reasons in Settlement Management?</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
wlf_c_compn_rsn wlf_c_compn_rsn from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SettlmtCompnRsnText _Text $projection.SettlmtCompensationReason = _Text.SettlmtCompensationReason

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IWLFSMTCOMPNRSN view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Settlement Compensation Reason view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey SettlmtCompensationReason view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Consumption.ranked true view
Search.searchable true view
Metadata.allowExtensions false view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SettlmtCompensationReason settlmt_compn_rsn Compensation Reason for a Settlement Management Document
_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_SettlmtCompnRsn.
-- 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_SettlmtCompnRsn AS
SELECT
  settlmt_compn_rsn AS SettlmtCompensationReason
FROM wlf_c_compn_rsn
LEFT OUTER JOIN I_SettlmtCompnRsnText AS _Text ON SettlmtCompensationReason = _Text.SettlmtCompensationReason  -- association [0..*]
;