βš™οΈSAPTools
πŸ—ΊοΈ

CDS Domain Model Visualizer

CDSNew

Paste CDS view definitions and visualize the entity relationships as an interactive diagram. Shows associations, compositions, and field mappings between CDS views.

Advertisement

About CDS Domain Model Visualizer

A handful of CDS view definitions with associations and compositions is hard to hold in your head as a data model β€” you end up scrolling between files to trace how entities relate. This visualizer parses pasted CDS view definitions and renders the associations, compositions, and field mappings as an interactive diagram, which is faster than sketching the model by hand before starting a RAP business object.

How to use this tool

  1. Paste one or more CDS view definitions (the DDL source).
  2. The tool parses ASSOCIATION and COMPOSITION clauses and renders them as a diagram.
  3. Click a node to see the field mappings behind a specific association.
  4. Use the diagram to sanity-check your data model before implementing RAP behavior definitions.

All processing happens locally in your browser. No data is sent to any server. Your SAP code and business data remain private at all times.

Frequently Asked Questions

What CDS syntax does the visualizer support?

The visualizer parses standard ABAP CDS DDL syntax: DEFINE VIEW, ASSOCIATION, COMPOSITION, and common field definitions. Paste one or more CDS view definitions and the tool extracts relationships automatically.

What is the difference between ASSOCIATION and COMPOSITION in CDS?

ASSOCIATION is a loose relationship between entities (like a foreign key reference). COMPOSITION is a tighter parent-child relationship used in RAP, where the child entity lifecycle is managed by the parent. Compositions are the basis for RAP business objects with draft handling.

Can I export the diagram?

Yes, you can download the diagram as an SVG file for documentation. The diagram uses an entity-relationship notation showing each CDS view as a box with its fields and arrows for associations and compositions.