DEMO_CHESS_V_STAGE13

CDS View

Principally allowed movements

DEMO_CHESS_V_STAGE13 is a CDS View in S/4HANA. Principally allowed movements. It contains 16 fields. 2 CDS views read from this table.

CDS Views using this table (2)

ViewTypeJoinVDMDescription
Demo_Chess_V_Allowed view from Allowed Moves regarding all chess rules
Demo_Chess_V_Next view from Generating the final position after carrying out the move

Fields (16)

KeyField CDS FieldsUsed in Views
KEY chessman move_chessman 1
KEY color move_color 1
KEY from_x move_from_x 1
KEY from_y move_from_y 1
KEY gameuuid gameuuid 1
KEY movecnt movecnt 1
KEY to_x move_to_x 1
KEY to_y move_to_y 1
castling_black_long castling_black_long 1
castling_black_short castling_black_short 1
castling_white_long castling_white_long 1
castling_white_short castling_white_short 1
is_castling_black_long is_castling_black_long 1
is_castling_black_short is_castling_black_short 1
is_castling_white_long is_castling_white_long 1
is_castling_white_short is_castling_white_short 1

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Principally allowed movements
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE DEMO_CHESS_V_STAGE13 (
    CHESSMAN,
    COLOR,
    FROM_X,
    FROM_Y,
    GAMEUUID,
    MOVECNT,
    TO_X,
    TO_Y,
    CASTLING_BLACK_LONG,
    CASTLING_BLACK_SHORT,
    CASTLING_WHITE_LONG,
    CASTLING_WHITE_SHORT,
    IS_CASTLING_BLACK_LONG,
    IS_CASTLING_BLACK_SHORT,
    IS_CASTLING_WHITE_LONG,
    IS_CASTLING_WHITE_SHORT,
    PRIMARY KEY (CHESSMAN, COLOR, FROM_X, FROM_Y, GAMEUUID, MOVECNT, TO_X, TO_Y)
);