PackagePackagetypeA library you install and call yourself.See every one →What this type is →independently maintainedindependently maintainedoriginPublished by one person or a small company outside SAP. Says nothing about quality; the readings say that.See every one →

abapMermaid

An ABAP package that renders Mermaid diagrams inside an SAP GUI container through the Edge Chromium Control, from a diagram's own text syntax passed at runtime.

Showing a Mermaid diagram in SAP GUI needs running mermaid.js somewhere the classic Internet Explorer browser control cannot execute it. abapMermaid packages a Mermaid release as an SMW0 object and renders it through the Edge Chromium Control instead, so a zcl_wd_gui_mermaid_js_diagram created against a GUI container can display a diagram from a plain source-code string set with set_source_code_string. It needs SAP GUI 7.70 or higher and the corrections from SAP Note 3002961 for the container's background colour to render correctly, and font colour and type are not yet supported. The maintainer marks it a work in progress with known bugs.

Facts

Last pushLicenceMIT

Where it sits

Lives in
Provides
SAP GUI screens and listsABAPSAP GUI screens and listscapabilityBuilding screens, lists and interactive controls for the SAP GUI. Producing a web interface is [UI written in ABAP](capability:abap-ui-from-abap); operating an existing screen programmatically is [GUI automation](capability:gui-automation).

Who is behind it

Daniel WegnerDaniel WegnerPersonMaintains this
In the atlas: maintains 3, contributes to 10
@WegnerDan
maintainerEnnoPersonContributes to this
In the atlas: contributes to 8
@Ennowulff
Yurii SychovPersonContributes to this
In the atlas: maintains 9, contributes to 10
@ysichov
2 contributors

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
does not say
Distributed through
does not say

Connections1

README

quoted from WegnerDan/abapMermaid under MIT, read
WegnerDan/abapMermaid/README.mdOn GitHub

abapMermaid

Integrate Mermaid Diagrams in SAP GUI Containers

Source Code of mermaid release 11.12.0 is included as SMW0 Object (downloaded from https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js)

Disclaimer

This is a work in progress, there are bugs. The background color of the HTML container is determined with cl_gui_resources, but this might not work correctly if corrections described in SAP Note 3002961 are not applied in the System. The font color and type are on the todo list (doesn't work yet).

Prerequisites

Mermaid does not work in the Internet Explorer Browser Control, so the Edge Chromium Control has to be used. More info in SAP Note 2913405

image

And SAP GUI version should be from 7.70 or higher.

Preview

DATA(diagram) = NEW zcl_wd_gui_mermaid_js_diagram( parent = some_instance_of_cl_gui_container ).
diagram->set_source_code_string(    |graph TD\n|
                                 && |A[Client] --> B[Load Balancer]\n|
                                 && |B --> C[Server01]\n|
                                 && |B --> D[Server02]\n| ).
diagram->display( ).

image image

Sample Programs

Program ZWD_MERMAID_SAMPLE_1

Simplest possible example, basically the code that is mentioned in the preview section.

Program ZWD_MERMAID_SAMPLE_2

Example in a classic screen, with a couple of different diagrams. image

Program ZWD_MERMAID_TEST

Use this to test how a diagram looks in SAP GUI after designing with Mermaid Live Editor. Includes basic error handling (parse errors are displayed in the bottom left corner) and configuration editable as JSON.

image

abapMermaidDocflow

See Details

MIT, read
SAP GUI screens and lists
  1. abeljohny/ZAPMacro DSL turning a one-line select into an ALV list
  2. abap-ui-toolboxABAP classes for classic SAP GUI development: ALV, screens, trees
  3. alv_utilitiesABAP class wrapping SALV to set column properties in one call
  4. abap-alv-struc-viewerALV table view generated from a DDIC structure
  5. abap-ui-toolsHelper class for classic ABAP dynpro field handling and popups
  6. abapEasyALVWrapper classes over classic ALV and SALV reporting
  7. cds2alvGenerator for ALV list reports from a CDS view's field definitions
  8. guidrasilVisual designer generating ABAP code for classic SAP GUI screens
  9. ZwdDynscreenSelection screens and popups generated from ABAP objects, no dynpro

Details

Sources3
dotabapdiscovered herechecked
github.com/WegnerDan/abapMermaidtree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viadotabap
first seen in the atlas
ecosystem and domainabap, ui-and-frontend-bridge
abaplint
issues under its own abaplint configuration398
lines1,652
statements1,096
objects12
files18
analysed, main
abaplint version2.120.84
Contributors2

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:wegnerdan-abapmermaid
JSON
/artifacts/wegnerdan-abapmermaid.json
MCP
Connecting an agent