VB_CDSVIEW_MAPPING
CDS view for View Browser for mapping
VB_CDSVIEW_MAPPING is a CDS View that provides data about "CDS view for View Browser for mapping" in SAP S/4HANA. It reads from 1 data source (Vb_Core_Cdsviews) and exposes 35 fields with key field DDLSourceName. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| Vb_Core_Cdsviews | Core_CDSViews | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | VB_CDSVIEW_BROWSERTAG | _CdsViewTag | $projection.DDLSourceName = _CdsViewTag.ddlsourcename and _CdsViewTag.username = $session.user |
| [0..1] | Vb_Cdsviews_Appl_Text_Query | _AppCompText | $projection.DDLSourceName = _AppCompText.DDLSourceName |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSVBMAPPING | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | CDS view for View Browser for mapping | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | DDLSourceName | DDL Source Name | |
| DDLSourceNameText | DDLSourceNameText | |||
| DefaultText | DDLSourceNameText | |||
| SQLViewName | SQLViewName | View Name | ||
| CDSViewPackage | Vb_Core_Cdsviews | CDSViewPackage | ||
| CDSReleaseStatus | CDSReleaseStatus | |||
| CDSPrivate | CDSPrivate | |||
| CDSType | CDSType | |||
| CDSName | Vb_Core_Cdsviews | CDSName | ||
| CDSViewCategory | Vb_Core_Cdsviews | CDSViewCategory | ||
| CdsViewType | Vb_Core_Cdsviews | CdsViewType | ||
| ApplicationComponent | Vb_Core_Cdsviews | ApplicationComponent | ||
| ApplicationComponentName | Vb_Core_Cdsviews | ApplicationComponentName | ||
| CDSOriginKey | Vb_Core_Cdsviews | CDSOriginKey | ||
| DeprecatedStatus | Vb_Core_Cdsviews | DeprecatedStatus | ||
| AppID | ||||
| WDAppID | ||||
| CDSOrigin | ||||
| NumberOfAddedTags | ||||
| PrimaryTag | ||||
| SupportedCapability | SupportedCapability | |||
| NumberOfCapabilities | NumberOfCapabilities | |||
| ModelingPattern | ModelingPattern | |||
| _CdsViewUserTag | Vb_Core_Cdsviews | _CdsViewUserTag | ||
| _CdsViewTag | _CdsViewTag | |||
| _CdsDefinition | Vb_Core_Cdsviews | _CdsDefinition | ||
| _CdsViewCrossreference | Vb_Core_Cdsviews | _CdsViewCrossreference | ||
| _CdsViewAnnotation | Vb_Core_Cdsviews | _CdsViewAnnotation | ||
| CDSViewSourceSystem | Vb_Core_Cdsviews | CDSViewSourceSystem | ||
| _CdsSupportedCapabilities | Vb_Core_Cdsviews | _CdsSupportedCapabilities | ||
| _AppCompText | _AppCompText | |||
| IsDraft | ||||
| IsPublished | ||||
| DraftDDLSourceName | ||||
| SourceType | Vb_Core_Cdsviews | SourceType | Source Type |
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_CDSVIEW_MAPPING.
-- 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: CDSVBMAPPING
CREATE VIEW VB_CDSVIEW_MAPPING AS
SELECT
DDLSourceName,
DDLSourceNameText,
DDLSourceNameText AS DefaultText,
SQLViewName,
Core_CDSViews.CDSViewPackage AS CDSViewPackage,
CDSReleaseStatus,
CDSPrivate,
CDSType,
Core_CDSViews.CDSName AS CDSName,
Core_CDSViews.CDSViewCategory AS CDSViewCategory,
Core_CDSViews.CdsViewType AS CdsViewType,
Core_CDSViews.ApplicationComponent AS ApplicationComponent,
Core_CDSViews.ApplicationComponentName AS ApplicationComponentName,
Core_CDSViews.CDSOriginKey AS CDSOriginKey,
Core_CDSViews.DeprecatedStatus AS DeprecatedStatus,
_AnalyticalQueryPublished[app_type = 0].app_id AS AppID,
_AnalyticalQueryPublished[app_type = 1].app_id AS WDAppID,
Core_CDSViews._EditorText[Language = $session.system_language].ddtext AS CDSOrigin,
Core_CDSViews._CdsTagCount.NumberOfAddedTags AS NumberOfAddedTags,
Core_CDSViews._CdsTagCount.PrimaryTag AS PrimaryTag,
SupportedCapability,
NumberOfCapabilities,
ModelingPattern,
Core_CDSViews._CdsViewUserTag AS _CdsViewUserTag,
Core_CDSViews._CdsDefinition AS _CdsDefinition,
Core_CDSViews._CdsViewCrossreference AS _CdsViewCrossreference,
Core_CDSViews._CdsViewAnnotation AS _CdsViewAnnotation,
Core_CDSViews.CDSViewSourceSystem AS CDSViewSourceSystem,
Core_CDSViews._CdsSupportedCapabilities AS _CdsSupportedCapabilities,
'' AS IsDraft,
'' AS IsPublished,
'' AS DraftDDLSourceName,
Core_CDSViews.SourceType AS SourceType
FROM Vb_Core_Cdsviews AS Core_CDSViews
LEFT OUTER JOIN VB_CDSVIEW_BROWSERTAG AS _CdsViewTag ON DDLSourceName = _CdsViewTag.ddlsourcename AND _CdsViewTag.username = $session.user -- association [0..*]
LEFT OUTER JOIN Vb_Cdsviews_Appl_Text_Query AS _AppCompText ON DDLSourceName = _AppCompText.DDLSourceName -- association [0..1]
;
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