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
KEY object_type ARS_RUNTIME_API_STATE sub_object_type
KEY object_key ARS_RUNTIME_API_STATE sub_object_name
state ARS_RUNTIME_API_STATE release_state
_successor _successor
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'API State of Objects'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
define view entity ARS_API_STATE
  as select from ARS_RUNTIME_API_STATE as api
  association [0..1] to v_ars_release_state        as _state_text             on  _state_text.state = $projection.state
  association [0..*] to ARS_API_SUCCESSOR          as _successor              on  _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
  association [0..*] to ARS_API_CATALOG_ASSIGNMENT as _api_catalog_assignment on  _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
{
  key api.object_type               as tadir_object,
  key api.object_name               as tadir_obj_name,
  key api.sub_object_type           as object_type,
  key api.sub_object_name           as object_key,
  key compatibility_contract        as compatibility_contract, //IF_ARS_API_CONSTANTS=>CS_CONTRACT

      api.release_state             as state, //IF_ARS_API_CONSTANTS=>CS_STATE

      _state_text.description       as state_description,
      api.use_in_key_user_apps      as use_in_key_user_apps,
      api.use_in_sap_cloud_platform as use_in_cloud_development,
      api.successor_classification  as successor_classification, //IF_ARS_API_CONSTANTS=>CS_SUCCESSOR_CLASSIFICATION

      api.successor_object_type     as successor_tadir_object,
      api.successor_object_name     as successor_tadir_obj_name,
      api.successor_sub_object_type as successor_object_type,
      api.successor_sub_object_name as successor_object_key,
      api.successor_concept_name    as successor_concept_name,
      _successor,
      _api_catalog_assignment
}