VB_DRAFT_PUBLISH_STATUS_VIEWS
View to get all staus for custom query
VB_DRAFT_PUBLISH_STATUS_VIEWS is a CDS View that provides data about "View to get all staus for custom query" in SAP S/4HANA. It reads from 2 data sources (VB_DRAFT_AND_PUBLISH_VIEWS, VB_DRAFT_OR_PUBLISH_VIEWS) and exposes 7 fields with key field ItemId.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| VB_DRAFT_AND_PUBLISH_VIEWS | _draft_and_published | from |
| VB_DRAFT_OR_PUBLISH_VIEWS | _draft_or_published | union_all |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VBSTATUSALL | 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 | View to get all staus for custom query | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ItemId | VB_DRAFT_AND_PUBLISH_VIEWS | ItemId | Russia Statutory Reporting Report Land Tax, Run Item ID |
| Ddlname | VB_DRAFT_AND_PUBLISH_VIEWS | Ddlname | DDL Source Name | |
| CDSViewStatus | ||||
| ItemId | Russia Statutory Reporting Report Land Tax, Run Item ID | |||
| Ddlname | VB_DRAFT_OR_PUBLISH_VIEWS | Ddlname | DDL Source Name | |
| CDSViewStatus | VB_DRAFT_OR_PUBLISH_VIEWS | CDSViewStatus | ||
| is_draft | VB_DRAFT_OR_PUBLISH_VIEWS | is_draft | Is Draft |
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_DRAFT_PUBLISH_STATUS_VIEWS.
-- 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: VBSTATUSALL
CREATE VIEW VB_DRAFT_PUBLISH_STATUS_VIEWS AS
SELECT
_draft_and_published.ItemId AS ItemId,
_draft_and_published.Ddlname AS Ddlname,
'PUBLISHED' AS CDSViewStatus,
_draft_or_published.is_draft AS is_draft
FROM VB_DRAFT_AND_PUBLISH_VIEWS AS _draft_and_published
-- UNION ALL with additional select branch(es): VB_DRAFT_OR_PUBLISH_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