cross_references
Where Used Index
cross_references is a CDS View that provides data about "Where Used Index" in SAP S/4HANA. It reads from 10 data sources and exposes 31 fields with key fields otype, name, include, state, name.
Data Sources (10)
| Source | Alias | Join Type |
|---|---|---|
| cross_v | cross_v | union_all |
| cross_v | cross_v | union_all |
| sedt_bdef | sedt_bdef | left_outer |
| wbcrossgt | wbcrossgt | left_outer |
| wbcrossgt | wbcrossgt | union_all |
| wbcrossgti | wbcrossgti | left_outer |
| wbcrossgti | wbcrossgti | union_all |
| wbcrossgtx | wbcrossgtx | from |
| wbcrossgtx | wbcrossgtx | union_all |
| wbcrossi | wbcrossi | union_all |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CROSS_REF_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Where Used Index | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | otype | wbcrossgt | otype | Type of Val. |
| KEY | name | wbcrossgt | name | Zone name |
| KEY | include | wbcrossgt | include | |
| KEY | state | Vehicle Region | ||
| fullname | wbcrossgtx | long_name | ||
| otype | Type of Val. | |||
| KEY | name | wbcrossgti | name | Zone name |
| KEY | include | wbcrossgti | include | |
| KEY | state | Vehicle Region | ||
| fullname | wbcrossgtx | long_name | ||
| KEY | name | name | Zone name | |
| KEY | include | include | ||
| KEY | state | Vehicle Region | ||
| KEY | name | name | Zone name | |
| KEY | include | include | ||
| KEY | state | Vehicle Region | ||
| KEY | name | name | Zone name | |
| KEY | include | include | ||
| KEY | state | state | Vehicle Region | |
| grade | ||||
| KEY | name | cross_v | name | Zone name |
| KEY | include | cross_v | include | |
| KEY | state | cross_v | state | Vehicle Region |
| grade | ||||
| fullname | ||||
| KEY | name | name | Zone name | |
| KEY | include | include | ||
| KEY | state | state | Vehicle Region | |
| grade | ||||
| fullname | ||||
| refs | refs |
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 cross_references.
-- 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: CROSS_REF_V
CREATE VIEW cross_references AS
SELECT
wbcrossgt.otype AS otype,
wbcrossgt.name AS name,
wbcrossgt.include AS include,
' ' AS state,
wbcrossgtx.long_name AS fullname,
'1' AS grade,
refs
FROM wbcrossgtx
LEFT OUTER JOIN wbcrossgt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN wbcrossgti ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN sedt_bdef ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): wbcrossgtx, wbcrossgt, wbcrossgti, cross_v, wbcrossi
;
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