P_RSHUserStatusLang

DDL: P_RSHUSERSTATUSLANG SQL: PRSHUSL Type: view BASIC

P_RSHUserStatusLang is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_RSHUserStatusBasic) and exposes 11 fields with key fields StatusObject, StatusCode, StatusProfile.

Data Sources (1)

SourceAliasJoin Type
P_RSHUserStatusBasic P_RSHUserStatusBasic from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PRSHUSL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #BASIC view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY StatusObject StatusObject Status Object
KEY StatusCode StatusCode Statuscode
KEY StatusProfile StatusProfile Status Profile
obtyp obtyp Picking area
UserStatusNameSessionLang UserStatusNameSessionLang
UserStatusShortNameSessionLang UserStatusShortNameSessionLang
MasterLanguage MasterLanguage Primary lang.
UserStatusNameMasterLang
UserStatusShortNameMasterLang
_UserStatus _UserStatus
_StatusProfile _StatusProfile

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 P_RSHUserStatusLang.
-- 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: PRSHUSL

CREATE VIEW P_RSHUserStatusLang AS
SELECT
  StatusObject,
  StatusCode,
  StatusProfile,
  obtyp,
  UserStatusNameSessionLang,
  UserStatusShortNameSessionLang,
  MasterLanguage,
  _UserStatus._UserStatusText[ 1: Language = P_RSHUserStatusBasic.MasterLanguage ].UserStatusName AS UserStatusNameMasterLang,
  _UserStatus._UserStatusText[ 1: Language = P_RSHUserStatusBasic.MasterLanguage ].UserStatusShortName AS UserStatusShortNameMasterLang
FROM P_RSHUserStatusBasic
;