I_PubSecMessageStatusText

DDL: I_PUBSECMESSAGESTATUSTEXT SQL: IPSMSGSTATUSTEXT Type: view BASIC

Public Sector Message Status Text

Public Sector Message Status - Text

I_PubSecMessageStatusText (Basic)

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

Cross Applications

I_PubSecMessageStatusText is a Basic CDS View that provides data about "Public Sector Message Status Text" in SAP S/4HANA. It reads from 1 data source (I_DomainFixedValueText) and exposes 5 fields with key fields PublicSectorMessageStatus, Language. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-PS-CA
CapabilitiesLanguage-Dependent Text
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to provide a structured representation of message statuses specific to the public sector. It extracts and casts data from a domain table to define a key status indicator, which can be used for further analysis or reporting purposes.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the different message statuses available for public sector communications?</p></li> <li><p>How can these message statuses be categorized or represented in a structured format?</p></li> <li><p>What textual descriptions are associated with each public sector message status?</p></li> </ul> <p>This view provides supported values for PublicSectorMessageStatus.</p> <p>The values and their meanings are:</p> <p>Value</p> <p>Meaning</p> <p>1</p> <p>Open</p> <p>2</p> <p>Closed</p> <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
I_DomainFixedValueText I_DomainFixedValueText from

Associations (2)

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

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPSMSGSTATUSTEXT view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #TEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey PublicSectorMessageStatus view
EndUserText.label Public Sector Message Status Text view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PublicSectorMessageStatus Message Status
KEY Language Language Report Text Language
PubSecMessageStatusName DomainText Short Text for Fixed Values
_MessageStatus _MessageStatus
_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_PubSecMessageStatusText.
-- 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: IPSMSGSTATUSTEXT

CREATE VIEW I_PubSecMessageStatusText AS
SELECT
  cast(substring(DomainValue, 1, 1) as msgstatus_ps preserving type) AS PublicSectorMessageStatus,
  Language,
  DomainText AS PubSecMessageStatusName
FROM I_DomainFixedValueText
LEFT OUTER JOIN I_PublicSectorMessageStatus AS _MessageStatus ON PublicSectorMessageStatus = _MessageStatus.PublicSectorMessageStatus  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;