VB_ALL_VIEWS_CE
Views with statuses for cloud
VB_ALL_VIEWS_CE is a CDS View that provides data about "Views with statuses for cloud" in SAP S/4HANA. It reads from 6 data sources and exposes 25 fields with key field DDLSourceName.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| VB_ATOV_U_ITEM_BOM_BASE | _atov_status | left_outer |
| VB_DRAFT_OR_PUBLISH_VIEWS | _draft | from |
| VB_DRAFT_PUBLISH_STATUS_VIEWS | _status | union_all |
| VB_PUBLIC_CDS_VIEWS_CE | AllViews | union_all |
| VB_PUBLIC_CDS_VIEWS_CE | Cds_View_Info | inner |
| VB_PUBLIC_CDS_VIEWS_CE | Cds_View_Info | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VBALLVIEWSCE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #D | 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 (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | VB_DRAFT_OR_PUBLISH_VIEWS | ItemId | Russia Statutory Reporting Report Land Tax, Run Item ID |
| CDSOriginKey | VB_PUBLIC_CDS_VIEWS_CE | CDSOriginKey | ||
| SQLViewName | VB_PUBLIC_CDS_VIEWS_CE | SQLViewName | View Name | |
| CDSName | VB_PUBLIC_CDS_VIEWS_CE | CDSName | ||
| SourceType | VB_PUBLIC_CDS_VIEWS_CE | SourceType | Source Type | |
| CDSViewStatus | ||||
| CDSViewStatusCloud | ||||
| IsDraft | VB_DRAFT_OR_PUBLISH_VIEWS | is_draft | Is Draft | |
| DDLSourceName | Russia Statutory Reporting Report Land Tax, Run Item ID | |||
| CDSOriginKey | VB_PUBLIC_CDS_VIEWS_CE | CDSOriginKey | ||
| SQLViewName | VB_PUBLIC_CDS_VIEWS_CE | SQLViewName | View Name | |
| CDSName | VB_PUBLIC_CDS_VIEWS_CE | CDSName | ||
| SourceType | VB_PUBLIC_CDS_VIEWS_CE | SourceType | Source Type | |
| stateendasCDSViewStatus | ||||
| stateendasCDSViewStatusCloud | ||||
| IsDraft | VB_ATOV_U_ITEM_BOM_BASE | is_draft | Is Draft | |
| DDLSourceName | Russia Statutory Reporting Report Land Tax, Run Item ID | |||
| CDSOriginKey | VB_PUBLIC_CDS_VIEWS_CE | CDSOriginKey | ||
| SQLViewName | VB_PUBLIC_CDS_VIEWS_CE | SQLViewName | View Name | |
| CDSName | VB_PUBLIC_CDS_VIEWS_CE | CDSName | ||
| SourceType | VB_PUBLIC_CDS_VIEWS_CE | SourceType | Source Type | |
| CDSViewStatus | VB_DRAFT_PUBLISH_STATUS_VIEWS | CDSViewStatus | ||
| CDSViewStatusCloud | ||||
| IsDraft | VB_DRAFT_PUBLISH_STATUS_VIEWS | is_draft | Is Draft | |
| DraftDDLSourceName | VB_DRAFT_PUBLISH_STATUS_VIEWS | Ddlname | DDL Source Name |
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 VB_ALL_VIEWS_CE.
-- 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: VBALLVIEWSCE
CREATE VIEW VB_ALL_VIEWS_CE AS
SELECT
_draft.ItemId AS DDLSourceName,
Cds_View_Info.CDSOriginKey AS CDSOriginKey,
Cds_View_Info.SQLViewName AS SQLViewName,
Cds_View_Info.CDSName AS CDSName,
Cds_View_Info.SourceType AS SourceType,
cast (_draft.CDSViewStatus as ars_release_state) AS CDSViewStatus,
cast (' ' as ars_release_state ) AS CDSViewStatusCloud,
_draft.is_draft AS IsDraft,
case when Cds_Release_Status.use_in_key_user_apps = 'X' then Cds_Release_Status.state end as CDSViewStatus AS stateendasCDSViewStatus,
case when Cds_Release_Status.use_in_cloud_development = 'X' then Cds_Release_Status.state end as CDSViewStatusCloud AS stateendasCDSViewStatusCloud,
_status.Ddlname AS DraftDDLSourceName
FROM VB_DRAFT_OR_PUBLISH_VIEWS AS _draft
INNER JOIN VB_PUBLIC_CDS_VIEWS_CE AS Cds_View_Info ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN VB_ATOV_U_ITEM_BOM_BASE AS _atov_status ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): VB_PUBLIC_CDS_VIEWS_CE, VB_DRAFT_PUBLISH_STATUS_VIEWS
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA