ARS_API_STATE

DDL: ARS_API_STATE Type: view_entity

API State of Objects

ARS_API_STATE is a CDS View that provides data about "API State of Objects" in SAP S/4HANA. It reads from 1 data source (ARS_RUNTIME_API_STATE) and exposes 5 fields with key fields tadir_object, object_type, object_key. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ARS_RUNTIME_API_STATE api from

Associations (3)

CardinalityTargetAliasCondition
[0..1] v_ars_release_state _state_text _state_text.state = $projection.state
[0..*] ARS_API_SUCCESSOR _successor _successor.tadir_object = $projection.tadir_object and _successor.tadir_obj_name = $projection.tadir_obj_name and _successor.object_type = $projection.object_type and _successor.object_key = $projection.object_key and _successor.compatibility_contract = $projection.compatibility_contract
[0..*] ARS_API_CATALOG_ASSIGNMENT _api_catalog_assignment _api_catalog_assignment.tadir_object = $projection.tadir_object and _api_catalog_assignment.tadir_obj_name = $projection.tadir_obj_name and _api_catalog_assignment.object_type = $projection.object_type and _api_catalog_assignment.object_key = $projection.object_key

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label API State of Objects view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY tadir_object ARS_RUNTIME_API_STATE object_type Type
KEY object_type ARS_RUNTIME_API_STATE sub_object_type Subobject Type
KEY object_key ARS_RUNTIME_API_STATE sub_object_name Subobject Name
state ARS_RUNTIME_API_STATE release_state Release Status
_successor _successor

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 ARS_API_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.

CREATE VIEW ARS_API_STATE AS
SELECT
  api.object_type AS tadir_object,
  api.sub_object_type AS object_type,
  api.sub_object_name AS object_key,
  api.release_state AS state
FROM ARS_RUNTIME_API_STATE AS api
LEFT OUTER JOIN v_ars_release_state AS _state_text ON _state_text.state = state  -- association [0..1]
LEFT OUTER JOIN ARS_API_SUCCESSOR AS _successor ON _successor.tadir_object = tadir_object AND _successor.tadir_obj_name = tadir_obj_name AND _successor.object_type = object_type AND _successor.object_key = object_key AND _successor.compatibility_contract = compatibility_contract  -- association [0..*]
LEFT OUTER JOIN ARS_API_CATALOG_ASSIGNMENT AS _api_catalog_assignment ON _api_catalog_assignment.tadir_object = tadir_object AND _api_catalog_assignment.tadir_obj_name = tadir_obj_name AND _api_catalog_assignment.object_type = object_type AND _api_catalog_assignment.object_key = object_key  -- association [0..*]
;