I_CaseStatusText

DDL: I_CASESTATUSTEXT SQL: ICASESTATUSTEXT Type: view BASIC

Case Status - Text

I_CaseStatusText (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_CaseStatusText is a Basic CDS View that provides data about "Case Status - Text" in SAP S/4HANA. It reads from 1 data source (scmgstatt) and exposes 4 fields with key fields Status, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-DM
CapabilitiesLanguage-Dependent Text, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageFinancial Operations for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to provide a structured representation of case statuses within a dispute case management system. It extracts and organizes data related to the status of cases, allowing for efficient data handling and analysis. The view serves as a dimension in analytical scenarios, enabling users to associate case statuses with descriptive text for better understanding and reporting. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the different statuses available for cases in the dispute case management system?</p></li> <li><p>How can case statuses be associated with descriptive text for reporting purposes?</p></li> <li><p>What is the current status of a specific case within the system?</p></li> <li><p>How can case status data be extracted for analytical purposes?</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
scmgstatt scmgstatt from

Associations (1)

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

Annotations (12)

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

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Status Case: System Status
KEY Language langu Primary lang.
StatusName stat_para_descr Case: System Status Description
_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_CaseStatusText.
-- 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: ICASESTATUSTEXT

CREATE VIEW I_CaseStatusText AS
SELECT
  cast( stat_para as scmgstatpara preserving type ) AS Status,
  langu AS Language,
  stat_para_descr AS StatusName
FROM scmgstatt
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;