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 →

abapEasyALV

Wrapper classes over the classic ALV and SALV frameworks that collect commonly used reporting actions behind fewer method calls, so a report displays a table with set_data and display_data.

Both the classic ALV and newer SALV frameworks expose many rarely used methods, while an ordinary action such as setting a column's text in SALV needs several method calls arranged in the right order. abapEasyALV wraps each framework in its own class, zcl_ea_alv_table for ALV and zcl_ea_salv_table for SALV, so a report can display a table with a set_data and a display_data call. Its README steers towards the SALV wrapper by default, since SALV needs no container, and keeps the ALV wrapper for cases needing cell editing or drag and drop, features SALV lacks. A layout variant is passed straight into display_data and can be picked through an F4 helper on the same object.

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

Marcin KaszubaMarcin KaszubaPersonMaintains this
In the atlas: maintains 6, contributes to 8
@Kaszub09
maintainer

What it declares

Every artifact

Type
Package
Origin
Independently maintained

As a package

Where it runs
does not say
Distributed through
abapGit

Connections3

README

quoted from Kaszub09/abapEasyALV under MIT, read
Kaszub09/abapEasyALV/README.mdOn GitHub

abapEasyALV

Wrapper classes for ALV/SALV frameworks for easy reporting. Check examples for usage.

Installation

Via https://github.com/abapGit/abapGit.

Why

There are numerous methods in both frameworks which are rarely used, while some common actions (like setting text for column in SALV framework) require calling several methods. So the purpose of wrappers is to collect and expose commonly used functionalities.

Why both

While SALV framework is newer and more easier to use (especially since it doesn't require container), it lacks some features like being able to edit cells or drag&drop functionality. So SALV is preferred unless you need them.

Example usage - simple report with ALV.
REPORT zea_alv_ex_simple_report.

TABLES: sflight.

SELECT-OPTIONS:
s_carrid FOR sflight-carrid.
PARAMETERS:
p_layout TYPE disvariant-variant.

INITIALIZATION.
  DATA(alv) = NEW zcl_ea_alv_table( ). "Initialize there so you get f4 for layout.

START-OF-SELECTION.
  SELECT * FROM sflight WHERE carrid IN @s_carrid INTO TABLE @DATA(sflight_tab).
  alv->set_data( REF #( sflight_tab ) ).
  alv->layout-name = p_layout.
  alv->display_data( ).

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
  p_layout = alv->get_layout_from_f4_selection( ).
Example usage - simple report with SALV.
REPORT zea_salv_ex_simple_report.

TABLES: sflight.

SELECT-OPTIONS:
s_carrid FOR sflight-carrid.
PARAMETERS:
p_layout TYPE disvariant-variant.

INITIALIZATION.
  DATA(salv) = NEW zcl_ea_salv_table( ). "Initialize there so you get f4 for layout.

START-OF-SELECTION.
  SELECT * FROM sflight WHERE carrid IN @s_carrid INTO TABLE @DATA(sflight_tab).
  salv->set_data( REF #( sflight_tab ) ).
  salv->display_data( p_layout ).

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
  p_layout = salv->get_layout_from_f4_selection( ).
MIT, read
SAP GUI screens and lists
  1. abeljohny/ZAPMacro DSL turning a one-line select into an ALV listfrom ABAP
  2. abap-ui-toolboxABAP classes for classic SAP GUI development: ALV, screens, treesfrom ABAP
  3. alv_utilitiesABAP class wrapping SALV to set column properties in one callfrom ABAP
  4. abap-alv-struc-viewerALV table view generated from a DDIC structurefrom ABAP
  5. abap-ui-toolsHelper class for classic ABAP dynpro field handling and popupsfrom ABAP
  6. cds2alvGenerator for ALV list reports from a CDS view's field definitionsfrom ABAP
  7. guidrasilVisual designer generating ABAP code for classic SAP GUI screensfrom ABAP
  8. abapMermaidRenders Mermaid diagrams inside an SAP GUI containerfrom ABAP
  9. ZwdDynscreenSelection screens and popups generated from ABAP objects, no dynprofrom ABAP

Details

Sources3
dotabapdiscovered herechecked
github.com/Kaszub09/abapEasyALVtree, 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 configuration0
lines2,340
statements1,810
objects31
files72
analysed, main
abaplint version2.120.84
History in the atlas1
  1. First seen.
For your agent
Ref
artifact:kaszub09-abapeasyalv
JSON
/artifacts/kaszub09-abapeasyalv.json
MCP
Connecting an agent