Demo_Chess_V_Pos_Cds
Chess positions
Demo_Chess_V_Pos_Cds is a CDS View that provides data about "Chess positions" in SAP S/4HANA. It reads from 2 data sources (demo_chess_pos, DEMO_CHESS_V_POS_CDS_DUMMY) and exposes 16 fields with key fields gameuuid, movecnt, chessman, color, x.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| demo_chess_pos | demo_chess_pos | from |
| DEMO_CHESS_V_POS_CDS_DUMMY | DEMO_CHESS_V_POS_CDS_DUMMY | union_all |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | DEMO_CHESS_SPCDS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Chess positions | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | gameuuid | demo_chess_pos | gameuuid | UUID |
| KEY | movecnt | demo_chess_pos | movecnt | Halbzugnummer |
| KEY | chessman | demo_chess_pos | chessman | Schachfigur |
| KEY | color | demo_chess_pos | color | Level Color |
| KEY | x | demo_chess_pos | x | X-Position |
| KEY | y | demo_chess_pos | y | Y-Position |
| before_x | demo_chess_pos | before_x | X-Position | |
| before_y | demo_chess_pos | before_y | Y-Position | |
| KEY | movecnt | movecnt | Halbzugnummer | |
| KEY | chessman | chessman | Schachfigur | |
| KEY | color | color | Level Color | |
| KEY | x | x | X-Position | |
| KEY | y | y | Y-Position | |
| before_x | before_x | X-Position | ||
| before_y | before_y | Y-Position | ||
| moved_flag | moved_flag |
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 Demo_Chess_V_Pos_Cds.
-- 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: DEMO_CHESS_SPCDS
CREATE VIEW Demo_Chess_V_Pos_Cds AS
SELECT
demo_chess_pos.gameuuid AS gameuuid,
demo_chess_pos.movecnt AS movecnt,
demo_chess_pos.chessman AS chessman,
demo_chess_pos.color AS color,
demo_chess_pos.x AS x,
demo_chess_pos.y AS y,
demo_chess_pos.before_x AS before_x,
demo_chess_pos.before_y AS before_y,
moved_flag
FROM demo_chess_pos
-- UNION ALL with additional select branch(es): DEMO_CHESS_V_POS_CDS_DUMMY
;
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