P_WhereUsdPrftCtrUserStatLang

DDL: P_WHEREUSDPRFTCTRUSERSTATLANG SQL: PWUPCUSL Type: view CONSUMPTION

P_WhereUsdPrftCtrUserStatLang is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_WhereUsdPrftCtrUsrStatBasic) and exposes 12 fields with key fields StatusObject, StatusCode, StatusProfile.

Data Sources (1)

SourceAliasJoin Type
P_WhereUsdPrftCtrUsrStatBasic P_WhereUsdPrftCtrUsrStatBasic from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWUPCUSL 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 #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY StatusObject StatusObject Status Object
KEY StatusCode StatusCode Statuscode
KEY StatusProfile StatusProfile Status Profile
StatusIsInactive StatusIsInactive
UserStatusNameSessionLang UserStatusNameSessionLang
UserStatusShortNameSessionLang UserStatusShortNameSessionLang
MasterLanguage MasterLanguage Primary lang.
UserStatusNameMasterLang
UserStatusShortNameMasterLang
_StatusObject _StatusObject
_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_WhereUsdPrftCtrUserStatLang.
-- 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: PWUPCUSL

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