I_PublicSectorMessageType

DDL: I_PUBLICSECTORMESSAGETYPE Type: view BASIC

Public Sector Message Type

I_PublicSectorMessageType (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_PublicSectorMessageType is a Basic CDS View that provides data about "Public Sector Message Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field SystemMessageType. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Taxpayer Identification and Returns Processing
Purpose
This CDS view is designed to provide a structured representation of message types specific to the public sector. It extracts and casts data from the domain 'MSGTYP_PS' within the SAP system, focusing on active and current versions of these message types. The view also includes an association to a text table for descriptive information about each message type. This CDS view provides the data to answer the following business questions: What are the different system message types used in the public sector within the SAP system? How can we retrieve descriptive text information for each public sector message type? Which message types are currently active and relevant for public sector operations? This view provides supported values for SystemMessageType . The values and their meanings are: Value Meaning I Information E Error W Warning 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 Users who want to use this CDS view don't need any special authorization.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-PS-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to provide a structured representation of message types specific to the public sector. It extracts and casts data from the domain 'MSGTYP_PS' within the SAP system, focusing on active and current versions of these message types. The view also includes an association to a text table for descriptive information about each message type. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the different system message types used in the public sector within the SAP system?</p></li> <li><p>How can we retrieve descriptive text information for each public sector message type?</p></li> <li><p>Which message types are currently active and relevant for public sector operations?</p></li> </ul> <p>This view provides supported values for SystemMessageType.</p> <p>The values and their meanings are:</p> <p>Value</p> <p>Meaning</p> <p>I</p> <p>Information</p> <p>E</p> <p>Error</p> <p>W</p> <p>Warning</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
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PublicSectorMessageTypeText _Text $projection.SystemMessageType = _Text.SystemMessageType

Annotations (14)

NameValueLevelField
EndUserText.label Public Sector Message Type view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.sqlViewName IPUBSECMSGTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.representativeKey SystemMessageType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SystemMessageType System Type
_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_PublicSectorMessageType.
-- 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_PublicSectorMessageType AS
SELECT
  cast( substring( dd07l.domvalue_l, 1, 1 ) as ps_system_msg_type preserving type ) AS SystemMessageType
FROM dd07l
LEFT OUTER JOIN I_PublicSectorMessageTypeText AS _Text ON SystemMessageType = _Text.SystemMessageType  -- association [0..*]
;