ZwdDynscreen
An ABAP library that generates a selection screen or a popup for a handful of parameters from objects typed by DDIC elements, without a dynpro created in the program.
A popup asking for a couple of values normally means creating a dynpro in the program. ZwdDynscreen replaces it with objects: a zcl_dynscreen_popup holds one or more zcl_dynscreen_paramater fields typed from a DDIC element, and get_value returns what the user entered or raises zcx_dynscreen_canceled when the popup is closed or the selection cancelled. Five demo reports ship with it: ZWD_DYNSCREEN_TEST1 for a couple of screen elements, ZWD_DYNSCREEN_TEST2_POPUP for similar elements as a popup, ZWD_DYNSCREEN_TEST3_SE16 for a selection screen built from a database table's fields, which the maintainer calls similar to SE16, ZWD_DYNSCREEN_TEST4_TABS for a screen with tabs, and ZWD_DYNSCREEN_TEST5_MINIMAL for a popup with a single field.
Facts
Where it sits
Who is behind it
In the atlas: maintains 3, contributes to 10@WegnerDanmaintainer
Before choosing this
Signals
ActivityQuietNo published releases; repository quiet for 88 months
It publishes no releases, and its repository has been quiet for at least 24 full months. This may be normal for stable software; check whether its current state still fits your use.
What it declares
Every artifact
- Type
- Package
- Origin
- Independently maintained
As a package
- Where it runs
- does not say
- Distributed through
- does not say
Connections
Building screens, lists and interactive controls for the SAP GUI
Download
README
quoted from WegnerDan/ZwdDynscreen under MIT, readZwdDynscreen
Object Oriented Selection Screen Generation for SAP
Use Case / Usage
You need to display a simple popup for a couple of values, but don't want to create a dynpro in your program.
Add a method like this:
Method Definition
METHODS display_material_popup RETURNING VALUE(rv_matnr) TYPE MARA-MATNR
RAISING zcx_dynscreen_canceled. " selection canceled
Method Implementation
METHOD display_material_popup.
DATA:
lo_popup TYPE REF TO zcl_dynscreen_popup,
lo_matnr TYPE REF TO zcl_dynscreen_paramater.
lo_popup = NEW #( iv_text = 'Please enter a new Material Number' ).
lo_matnr = NEW #( io_parent = go_popup
iv_type = 'MARA-MATNR' ).
lo_matnr->get_value( IMPORTING ev_value = rv_value ).
ENDMETHOD.
Method Call
TRY.
lv_material = display_material_popup( ).
CATCH zcx_dynscreen_canceled.
" popup was closed or selection canceled with cancel button
ENDTRY.
Examples
Report ZWD_DYNSCREEN_TEST1 for a demo of a couple screen elements. Sample Generation Result for Report ZWD_DYNSCREEN_TEST1
Report ZWD_DYNSCREEN_TEST2_POPUP contains very similar elements as zwd_dynscreen_test1 but generates a popup.
Report ZWD_DYNSCREEN_TEST3_SE16 generates a selection screen based on db table fields (similar to SE16).
Report ZWD_DYNSCREEN_TEST4_TABS generates a screen with Tabs.
Report ZWD_DYNSCREEN_TEST5_MINIMAL contains a minimal example and generates a popup with a single field.
Others providing
Compare all 10 on the SAP GUI screens and lists page →- abeljohny/ZAPabeljohny/ZAPA tiny DSL included into an ABAP report that replaces a SELECT and an ALV call with a pair of macros, _select to read a table and _display to show the result as an ALV list.independent, abapMacro DSL turning a one-line select into an ALV listfrom ABAP
- abap-ui-toolboxabap-ui-toolboxA collection of ABAP classes for classic SAP GUI development: an enhanced, editable ALV grid, a single-container screen framework, and a tree wrapper.independent, abapABAP classes for classic SAP GUI development: ALV, screens, treesfrom ABAP
- alv_utilitiesalv_utilitiesA single ABAP class that wraps the SALV framework so a report, dynpro or popup listing sets column text, colour, alignment, layout and sorting in single method calls, built against ABAP 7.0.independent, abapABAP class wrapping SALV to set column properties in one callfrom ABAP
- abap-alv-struc-viewerabap-alv-struc-viewerAn ABAP tool that generates an ALV table view straight from a DDIC structure, as a control-driven substitute for classic dynpro fields, with search help, validation and formatting from the structure.independent, abapALV table view generated from a DDIC structurefrom ABAP
- abap-ui-toolsabap-ui-toolsA helper class for the classic ABAP dynpro UI: hiding, disabling and requiring screen fields, setting dropdown values, and asking yes/no questions, in single calls.independent, abapHelper class for classic ABAP dynpro field handling and popupsfrom ABAP
- abapEasyALVabapEasyALVWrapper 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.independent, abapWrapper classes over classic ALV and SALV reportingfrom ABAP
- cds2alvcds2alvAn ABAP tool that generates an ALV list report directly from a CDS view's own field definitions, maintained on SAP_ABA 750 SP26, with further extensions shipped from a separate repository.independent, abapGenerator for ALV list reports from a CDS view's field definitionsfrom ABAP
- guidrasilguidrasilA visual designer for classic SAP GUI screens that wraps containers and controls in a generic shell and generates the ABAP program that displays the layout it places.independent, abapVisual designer generating ABAP code for classic SAP GUI screensfrom ABAP
- abapMermaidabapMermaidAn 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.independent, abapRenders Mermaid diagrams inside an SAP GUI containerfrom ABAP
Details
Sources
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
abaplint
History in the atlas
- First seen.
For your agent
- Ref
artifact:wegnerdan-zwddynscreen- JSON
- /artifacts/wegnerdan-zwddynscreen.json
- MCP
- Connecting an agent