Demo_Chess_V_Cstl_Ws
Short Castling for White Color
Demo_Chess_V_Cstl_Ws is a CDS View that provides data about "Short Castling for White Color" in SAP S/4HANA. It reads from 5 data sources (Demo_Chess_V_Pos_Cds, Demo_Chess_V_Pos_Cds, Demo_Chess_V_Pos_Cds, Demo_Chess_V_Game_Cds, Demo_Chess_V_Pos_Cds) and exposes 15 fields with key fields gameuuid, movecnt, color, chessman, from_x.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| Demo_Chess_V_Pos_Cds | e1 | left_outer |
| Demo_Chess_V_Pos_Cds | f1 | left_outer |
| Demo_Chess_V_Pos_Cds | g1 | left_outer |
| Demo_Chess_V_Game_Cds | game | from |
| Demo_Chess_V_Pos_Cds | h1 | left_outer |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | DEMO_CHESS_SCSW | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Short Castling for White Color | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | gameuuid | Demo_Chess_V_Game_Cds | gameuuid | UUID |
| KEY | movecnt | Demo_Chess_V_Game_Cds | movecnt | Halbzugnummer |
| KEY | color | |||
| KEY | chessman | |||
| KEY | from_x | 5 | ||
| KEY | from_y | 1 | ||
| KEY | to_x | 7 | ||
| KEY | to_y | 1 | ||
| special_flag | ||||
| color_dep | ||||
| chessman_dep | ||||
| from_x_dep | 8 | |||
| from_y_dep | 1 | |||
| to_x_dep | 6 | |||
| to_y_dep | 1 |
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_Cstl_Ws.
-- 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_SCSW
CREATE VIEW Demo_Chess_V_Cstl_Ws AS
SELECT
game.gameuuid AS gameuuid,
game.movecnt AS movecnt,
#DEMO_CHESS_COLOR.'W' AS color,
#DEMO_CHESS_CHESSMAN.'K' AS chessman,
5 AS from_x,
1 AS from_y,
7 AS to_x,
1 AS to_y,
#DEMO_CHESS_SPECIAL_FLAG.'C' AS special_flag,
#DEMO_CHESS_COLOR.'W' AS color_dep,
#DEMO_CHESS_CHESSMAN.'R' AS chessman_dep,
8 AS from_x_dep,
1 AS from_y_dep,
6 AS to_x_dep,
1 AS to_y_dep
FROM Demo_Chess_V_Game_Cds AS game
LEFT OUTER JOIN Demo_Chess_V_Pos_Cds AS e1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Demo_Chess_V_Pos_Cds AS f1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Demo_Chess_V_Pos_Cds AS g1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN Demo_Chess_V_Pos_Cds AS h1 ON /* join condition not captured in parsed metadata */
;
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