Demo_Chess_V_Stage12

DDL: DEMO_CHESS_V_STAGE12 SQL: DEMO_CHESS_SST12 Type: view

Principally allowed movements respecting other chessman

Demo_Chess_V_Stage12 is a CDS View that provides data about "Principally allowed movements respecting other chessman" in SAP S/4HANA. It reads from 2 data sources (Demo_Chess_V_Stage8, Demo_Chess_V_Stage11) and exposes 20 fields with key fields gameuuid, movecnt, move_color, move_from_x, move_from_y.

Data Sources (2)

SourceAliasJoin Type
Demo_Chess_V_Stage8 allowed from
Demo_Chess_V_Stage11 forbidden left_outer

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName DEMO_CHESS_SST12 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Principally allowed movements respecting other chessman view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY gameuuid Demo_Chess_V_Stage8 gameuuid UUID
KEY movecnt Demo_Chess_V_Stage8 movecnt Halbzugnummer
KEY move_color Demo_Chess_V_Stage8 move_color
KEY move_from_x Demo_Chess_V_Stage8 move_from_x
KEY move_from_y Demo_Chess_V_Stage8 move_from_y
KEY move_to_x Demo_Chess_V_Stage8 move_to_x
KEY move_to_y Demo_Chess_V_Stage8 move_to_y
KEY color Demo_Chess_V_Stage8 color Level Color
KEY chessman Demo_Chess_V_Stage8 chessman Schachfigur
KEY from_x Demo_Chess_V_Stage8 from_x X-Position
KEY from_y Demo_Chess_V_Stage8 from_y Y-Position
KEY to_x Demo_Chess_V_Stage8 to_x X-Position
KEY to_y Demo_Chess_V_Stage8 to_y Y-Position
special_flag Demo_Chess_V_Stage8 special_flag Special Flag
color_dep Demo_Chess_V_Stage8 color_dep Color
chessman_dep Demo_Chess_V_Stage8 chessman_dep Schachfigur
from_x_dep Demo_Chess_V_Stage8 from_x_dep X-Position
from_y_dep Demo_Chess_V_Stage8 from_y_dep Y-Position
to_x_dep Demo_Chess_V_Stage8 to_x_dep X-Position
to_y_dep Demo_Chess_V_Stage8 to_y_dep Y-Position

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_Stage12.
-- 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_SST12

CREATE VIEW Demo_Chess_V_Stage12 AS
SELECT
  allowed.gameuuid AS gameuuid,
  allowed.movecnt AS movecnt,
  allowed.move_color AS move_color,
  allowed.move_from_x AS move_from_x,
  allowed.move_from_y AS move_from_y,
  allowed.move_to_x AS move_to_x,
  allowed.move_to_y AS move_to_y,
  allowed.color AS color,
  allowed.chessman AS chessman,
  allowed.from_x AS from_x,
  allowed.from_y AS from_y,
  allowed.to_x AS to_x,
  allowed.to_y AS to_y,
  allowed.special_flag AS special_flag,
  allowed.color_dep AS color_dep,
  allowed.chessman_dep AS chessman_dep,
  allowed.from_x_dep AS from_x_dep,
  allowed.from_y_dep AS from_y_dep,
  allowed.to_x_dep AS to_x_dep,
  allowed.to_y_dep AS to_y_dep
FROM Demo_Chess_V_Stage8 AS allowed
LEFT OUTER JOIN Demo_Chess_V_Stage11 AS forbidden ON /* join condition not captured in parsed metadata */
;