I_CaseReasonText

DDL: I_CASEREASONTEXT SQL: ICASEREASONTEXT Type: view BASIC Package: UDM_DM_CDS

Case Reason - Text

I_CaseReasonText (Basic)

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

Financial Operations

I_CaseReasonText is a Basic CDS View that provides data about "Case Reason - Text" in SAP S/4HANA. It reads from 1 data source (scmgattr_reasont) and exposes 6 fields with key fields CaseType, CaseReason, Language. It has 2 associations to related views. Part of development package UDM_DM_CDS.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-DM-2CL
CapabilitiesData Source for Data Extraction,Language-Dependent Text,Data Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides the case reasons defined for dispute cases.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>Which case reasons are defined for dispute cases?</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
scmgattr_reasont scmgattr_reasont from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CaseType _CaseType $projection.CaseType = _CaseType.CaseType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey CaseReason view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Case Reason - Text view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName ICASEREASONTEXT view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CaseType Usage Type
KEY CaseReason Return/Change Reason
KEY Language langu Primary lang.
CaseReasonName description Text Field of Length 60
_CaseType _CaseType
_Language _Language

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_CaseReasonText.
-- 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: ICASEREASONTEXT

CREATE VIEW I_CaseReasonText AS
SELECT
  cast( case_type as scmgcase_type preserving type ) AS CaseType,
  cast( reason_code as scmg_reason_code preserving type ) AS CaseReason,
  langu AS Language,
  description AS CaseReasonName
FROM scmgattr_reasont
LEFT OUTER JOIN I_CaseType AS _CaseType ON CaseType = _CaseType.CaseType  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;