VB_DEPRECATED_STATUS
Views with statuses for cloud
VB_DEPRECATED_STATUS is a CDS View that provides data about "Views with statuses for cloud" in SAP S/4HANA. It reads from 1 data source (ddddlsrc) and exposes 3 fields with key field DDLSourceName. Part of development package S_DICT_VB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ddddlsrc | AllViews | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VBDEPRECATED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Views with statuses for cloud | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | ddddlsrc | ddlname | |
| stateendasCDSViewStatus | ||||
| stateendasCDSViewStatusCloud |
@AbapCatalog.sqlViewName: 'VBDEPRECATED'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Views with statuses for cloud'
define view VB_DEPRECATED_STATUS as select from ddddlsrc as AllViews
left outer to one join ARS_APIS_RELEASED_C1_ALL_OR_GR as Cds_Release_Status
on AllViews.ddlname = Cds_Release_Status.tadir_obj_name
and Cds_Release_Status.tadir_object = 'DDLS' // Status will be Released or Deprecated only if this flag is true
{
key AllViews.ddlname as DDLSourceName,
case when Cds_Release_Status.use_in_key_user_apps = 'X'
then Cds_Release_Status.state
end as CDSViewStatus, // Released or Deprecated based on use in key user apps
case when Cds_Release_Status.use_in_cloud_development = 'X'
then Cds_Release_Status.state
end as CDSViewStatusCloud // Released or Deprecated based on use in cloud development
} where AllViews.as4local = 'A' and ( AllViews.source_type = 'V' or AllViews.source_type = 'W' )
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA