v_ars_release_state

DDL: V_ARS_RELEASE_STATE SQL: V_ARS_REL_STAT Type: view

API Release States

v_ars_release_state is a CDS View that provides data about "API Release States" in SAP S/4HANA. It reads from 1 data source (ars_release_stat) and exposes 3 fields with key field state. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ars_release_stat stat from

Associations (2)

CardinalityTargetAliasCondition
[0..1] ars_rel_state_t text text.state = stat.state and text.langu = $session.system_language
[0..1] ars_rel_state_t text_en text_en.state = stat.state and text_en.langu = 'E'

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName V_ARS_REL_STAT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label API Release States view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY state ars_release_stat state Vehicle Region
rank rank Sequence No.
description

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 v_ars_release_state.
-- 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: V_ARS_REL_STAT

CREATE VIEW v_ars_release_state AS
SELECT
  stat.state AS state,
  rank,
  coalesce(text.descr, coalesce(text_en.descr, '')) AS description
FROM ars_release_stat AS stat
LEFT OUTER JOIN ars_rel_state_t AS text ON text.state = stat.state AND text.langu = $session.system_language  -- association [0..1]
LEFT OUTER JOIN ars_rel_state_t AS text_en ON text_en.state = stat.state AND text_en.langu = 'E'  -- association [0..1]
;