GET_RSAU_OP_MODE

DDL: GET_RSAU_OP_MODE Type: view_entity

Get System Operation Mode

GET_RSAU_OP_MODE is a CDS View that provides data about "Get System Operation Mode" in SAP S/4HANA. It reads from 1 data source (rsauprof) and exposes 7 fields with key field is_active.

Data Sources (1)

SourceAliasJoin Type
rsauprof root from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Get System Operation Mode view
AbapCatalog.entityBuffer.definitionAllowed true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY is_active rsauprof status Workflow Status
generic_usr
max_slotno
currprof
currprofSAASthenXelseendasis_saas
currprofthenXelseendasis_classic
max_count

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 GET_RSAU_OP_MODE.
-- 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 GET_RSAU_OP_MODE AS
SELECT
  root.status AS is_active,
  coalesce(k02.status, '') AS generic_usr,
  coalesce(k03.classes, 2) AS max_slotno,
  coalesce(p99.currprof, '') AS currprof,
  case when k15.currprof = 'SAAS' then 'X' else '' end as is_saas AS currprofSAASthenXelseendasis_saas,
  case when k15.currprof = 'CLASSIC' then 'X' when coalesce( k15.currprof, '' ) = '' then 'X' else '' end as is_classic AS currprofthenXelseendasis_classic,
  cast( coalesce( c10.classes , 1500000 ) as abap.int4 ) AS max_count
FROM rsauprof AS root
;