├── src
├── trees
│ ├── zif_uitb_ctm_types.intf.abap
│ ├── zif_uitb_c_tree_selection.intf.abap
│ ├── zif_uitb_c_column_alignment.intf.abap
│ ├── package.devc.xml
│ ├── zif_uitb_ctm_types.intf.xml
│ ├── zif_uitb_c_column_alignment.intf.xml
│ ├── zif_uitb_c_tree_selection.intf.xml
│ ├── zif_uitb_c_ctm_style.intf.xml
│ ├── zcl_uitb_ctm_columns.clas.xml
│ ├── zcx_uitb_tree_error.clas.xml
│ ├── zcl_uitb_tree_container.clas.xml
│ ├── zcx_uitb_tree_error.clas.abap
│ ├── zif_uitb_c_ctm_style.intf.abap
│ ├── zcl_uitb_ctm_events.clas.xml
│ └── zcl_uitb_ctm_search.clas.xml
├── zuitb_data_cache.prog.abap
├── alv
│ ├── zif_uitb_alv_controller.intf.abap
│ ├── zif_uitb_c_alv_refresh.intf.abap
│ ├── zif_uitb_c_alv_sorting.intf.abap
│ ├── zif_uitb_c_alv_layout_restrict.intf.abap
│ ├── zif_uitb_c_alv_selection_type.intf.abap
│ ├── zif_uitb_c_alv_selection.intf.abap
│ ├── zif_uitb_c_alv_function_type.intf.abap
│ ├── package.devc.xml
│ ├── zif_uitb_alv_adpt_selections.intf.abap
│ ├── zif_uitb_c_alv_cell_types.intf.abap
│ ├── zif_uitb_c_alv_chglist_flavor.intf.abap
│ ├── zif_uitb_c_alv_display_types.intf.abap
│ ├── zif_uitb_c_alv_colheader_mode.intf.abap
│ ├── zif_uitb_alv_function_holder.intf.abap
│ ├── zif_uitb_alv_types.intf.xml
│ ├── zif_uitb_c_alv_colors.intf.xml
│ ├── zif_uitb_c_alv_functions.intf.xml
│ ├── zif_uitb_c_alv_refresh.intf.xml
│ ├── zif_uitb_c_alv_sorting.intf.xml
│ ├── zif_uitb_c_alv_cell_style.intf.xml
│ ├── zif_uitb_c_alv_cell_types.intf.xml
│ ├── zcl_uitb_alv_output.clas.xml
│ ├── zif_uitb_c_alv_selection.intf.xml
│ ├── zcl_uitb_alv_column.clas.xml
│ ├── zcl_uitb_alv_metadata.clas.xml
│ ├── zif_uitb_alv_adpt_selections.intf.xml
│ ├── zif_uitb_alv_controller.intf.xml
│ ├── zif_uitb_c_alv_chglist_flavor.intf.xml
│ ├── zif_uitb_c_alv_metadata_types.intf.xml
│ ├── zif_uitb_c_alv_selection_type.intf.xml
│ ├── zcl_uitb_alv_cell_style.clas.xml
│ ├── zcl_uitb_alv_controller.clas.xml
│ ├── zcl_uitb_alv_selections.clas.xml
│ ├── zif_uitb_alv_metadata_ctrller.intf.xml
│ ├── zif_uitb_c_alv_colheader_mode.intf.xml
│ ├── zcl_uitb_alv_changelist.clas.xml
│ ├── zcl_uitb_alv_dropdown.clas.xml
│ ├── zcl_uitb_alv_dropdowns.clas.xml
│ ├── zcl_uitb_alv_func_settings.clas.xml
│ ├── zcl_uitb_editable_alv_popup.clas.xml
│ ├── zcl_uitb_alv_selction_ctrller.clas.xml
│ ├── zcl_uitb_alv_sort.clas.xml
│ ├── zcl_uitb_alv_sorts.clas.xml
│ ├── zuitb_test_alv.prog.xml
│ ├── zif_uitb_c_alv_metadata_types.intf.abap
│ ├── zcl_uitb_alv_cell_style.clas.abap
│ ├── zcl_uitb_alv_display_settings.clas.xml
│ ├── zcx_uitb_alv_error.clas.xml
│ ├── zcl_uitb_alv_evt_controller.clas.xml
│ ├── zcl_uitb_alv_grid_adapter.clas.xml
│ ├── zcx_uitb_alv_existing.clas.xml
│ ├── zcx_uitb_alv_no_data.clas.xml
│ ├── zcx_uitb_alv_not_found.clas.xml
│ ├── zcl_uitb_alv_fieldcat_util.clas.xml
│ ├── zcl_uitb_alv_func_settings.clas.abap
│ ├── zcl_uitb_alv_metadata.clas.abap
│ ├── zif_uitb_c_alv_display_types.intf.xml
│ ├── zif_uitb_c_alv_layout_restrict.intf.xml
│ ├── zif_uitb_alv_function_holder.intf.xml
│ ├── zcl_uitb_alv_data.clas.xml
│ ├── zcl_uitb_alv_fieldcat_util.clas.abap
│ ├── zif_uitb_c_alv_function_type.intf.xml
│ ├── zcl_uitb_alv_metadata_util.clas.xml
│ ├── zcl_uitb_alv_data_descr.clas.xml
│ ├── zcl_uitb_alv_filter.clas.xml
│ ├── zcx_uitb_alv_no_data.clas.abap
│ ├── zif_uitb_c_alv_colors.intf.abap
│ ├── zcx_uitb_alv_existing.clas.abap
│ ├── zcx_uitb_alv_not_found.clas.abap
│ └── zcl_uitb_alv_dropdown.clas.abap
├── zif_uitb_pai_callback.intf.abap
├── zuitb_gui_template.fugr.lzuitb_gui_templateo01.abap
├── gui
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworko01.abap
│ ├── zif_uitb_gui_view.intf.abap
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworki01.abap
│ ├── package.devc.xml
│ ├── zif_uitb_gui_command_executor.intf.abap
│ ├── zif_uitb_gui_command_handler.intf.abap
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworkf01.xml
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworki01.xml
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworko01.xml
│ ├── zcl_uitb_gui_screen_base.clas.locals_imp.abap
│ ├── zif_uitb_ty_gui_screen.intf.abap
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworktop.xml
│ ├── zcl_uitb_gui_code_editor.clas.locals_imp.abap
│ ├── zif_uitb_gui_view.intf.xml
│ ├── zuitb_gui_framework.fugr.saplzuitb_gui_framework.xml
│ ├── zif_uitb_c_gui_screen.intf.xml
│ ├── zcl_uitb_gui_code_editor.clas.locals_def.abap
│ ├── zcl_uitb_gui_screen.clas.xml
│ ├── zcl_uitb_gui_simple_command.clas.xml
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworkd01.xml
│ ├── zif_uitb_gui_composite_view.intf.abap
│ ├── zif_uitb_gui_control.intf.abap
│ ├── zuitb_gui_framework_test.prog.xml
│ ├── zcl_uitb_gui_screen.clas.abap
│ ├── zif_uitb_gui_screen.intf.abap
│ ├── zcl_uitb_gui_screen_base.clas.locals_def.abap
│ ├── zif_uitb_ty_gui_screen.intf.xml
│ ├── zif_uitb_gui_command_executor.intf.xml
│ ├── zif_uitb_gui_command_handler.intf.xml
│ ├── zcl_uitb_gui_modal_dialog.clas.xml
│ ├── zif_uitb_gui_command.intf.abap
│ ├── zcx_uitb_gui_exception.clas.xml
│ ├── zcl_uitb_gui_modal_dialog.clas.abap
│ ├── zif_uitb_gui_dynpro_events.intf.abap
│ ├── zcx_uitb_gui_exception.clas.abap
│ ├── zif_uitb_gui_screen.intf.xml
│ ├── zif_uitb_gui_command.intf.xml
│ ├── zif_uitb_gui_composite_view.intf.xml
│ ├── zcl_uitb_gui_dialog.clas.xml
│ ├── zif_uitb_gui_control.intf.xml
│ ├── zcl_uitb_gui_simple_command.clas.abap
│ ├── zcl_uitb_gui_editor_dnd_object.clas.xml
│ ├── zuitb_gui_framework.fugr.lzuitb_gui_frameworkd01.abap
│ ├── zif_uitb_gui_dynpro_events.intf.xml
│ ├── zuitb_gui_framework.fugr.saplzuitb_gui_framework.abap
│ ├── zcl_uitb_gui_dynpro_handler.clas.xml
│ ├── zuitb_gui_framework.fugr.zuitb_call_gui_screen.abap
│ └── zif_uitb_gui_pbo_callback.intf.abap
├── zif_uitb_disposable.intf.abap
├── zuitb_gui_template.fugr.lzuitb_gui_templatei01.abap
├── popup
│ ├── zif_uitb_pgv_field_validation.intf.abap
│ ├── package.devc.xml
│ ├── zcl_uitb_popup_editor.clas.xml
│ ├── zif_uitb_pgv_field_validation.intf.xml
│ ├── zif_uitb_pgv_check_evt_fields.intf.abap
│ ├── zuitb_pgv_exits.prog.xml
│ ├── zcl_uitb_pgv_popup.clas.xml
│ ├── zcl_uitb_pgv_default_checks.clas.xml
│ ├── zif_uitb_pgv_check_evt_fields.intf.xml
│ ├── zcl_uitb_pgv_exit_events.clas.abap
│ ├── zcl_uitb_pgv_exit_events.clas.xml
│ ├── zcl_uitb_pgv_factory.clas.xml
│ └── zcl_uitb_popup_help_viewer.clas.xml
├── zif_uitb_page_scroller.intf.abap
├── zif_uitb_exit_callback.intf.abap
├── collection
│ ├── zif_uitb_iterator.intf.abap
│ ├── zif_uitb_enumerator.intf.abap
│ ├── zif_uitb_data_ref_iterator.intf.abap
│ ├── package.devc.xml
│ ├── zif_uitb_enumerable.intf.abap
│ ├── zif_uitb_list.intf.xml
│ ├── zif_uitb_enumerable.intf.xml
│ ├── zif_uitb_enumerator.intf.xml
│ ├── zif_uitb_iterator.intf.xml
│ ├── zcl_uitb_enumerator.clas.xml
│ ├── zcl_uitb_list_iterator.clas.xml
│ ├── zcl_uitb_object_list.clas.xml
│ ├── zif_uitb_data_ref_iterator.intf.xml
│ ├── zcl_uitb_data_ref_iterator.clas.xml
│ ├── zif_uitb_list.intf.abap
│ ├── zcx_uitb_element_not_found.clas.xml
│ ├── zcl_uitb_data_list.clas.macros.abap
│ ├── zcl_uitb_data_list.clas.xml
│ ├── zcl_uitb_list_iterator.clas.abap
│ ├── zcl_uitb_enumerator.clas.abap
│ └── zcl_uitb_object_list.clas.abap
├── zif_uitb_readonly_table.intf.abap
├── zif_uitb_toolbar_events.intf.abap
├── zif_uitb_c_code_viewer_themes.intf.abap
├── zif_uitb_c_protocol_level.intf.abap
├── 005056b375121ed89ed388a1f0e15ae3.smim.xml
├── 024d418489721ed986d1d1b239fa6a61.smim.xml
├── 024d418489721ed986d1d68411bbaa66.smim.xml
├── package.devc.xml
├── 005056b375121ed89ed3920ca4b8fb1b.smim.xml
├── zif_uitb_composite_view.intf.abap
├── zuitb_gui_template.fugr.lzuitb_gui_templatef01.xml
├── zuitb_gui_template.fugr.lzuitb_gui_templatei01.xml
├── zuitb_gui_template.fugr.lzuitb_gui_templateo01.xml
├── zif_uitb_exception_message.intf.abap
├── zif_uitb_view_callback.intf.abap
├── zuitb_gui_template.fugr.lzuitb_gui_templatetop.xml
├── zif_uitb_c_toolbar_functions.intf.abap
├── zcl_uitb_log.clas.xml
├── zif_uitb_c_protocol_level.intf.xml
├── zif_uitb_page_scroller.intf.xml
├── zif_uitb_pai_callback.intf.xml
├── zif_uitb_pbo_callback.intf.xml
├── zif_uitb_view_callback.intf.xml
├── zif_uitb_content_searcher.intf.abap
├── zif_uitb_readonly_table.intf.xml
├── zif_uitb_toolbar_events.intf.xml
├── zuitb_gui_template.fugr.saplzuitb_gui_template.xml
├── zcl_uitb_html_editor.clas.xml
├── zif_uitb_c_code_viewer_themes.intf.xml
├── zcl_uitb_generic_exporter.clas.xml
├── zcl_uitb_generic_importer.clas.xml
├── zcl_uitb_generic_table.clas.xml
├── zcl_utib_custom_value_help.clas.xml
├── zcl_uitb_table_func_executor.clas.xml
├── zcx_uitb_exception.clas.xml
├── zcx_uitb_screen.clas.xml
├── zcl_uitb_screen_field_manager.clas.xml
├── zuitb_screen_util.prog.xml
├── zuitb_gui_template.fugr.lzuitb_gui_templated01.xml
├── zcl_uitb_alv_color_mapper.clas.abap
├── zuitb_dynpread_itab.ttyp.xml
├── zuitb_tab_component_itab.ttyp.xml
├── zuitb_abap_comp_type_itab.ttyp.xml
├── zuitb_abap_compdescr_t.ttyp.xml
├── zuitb_field_range_map_itab.ttyp.xml
├── zuitb_global_object_map_t.ttyp.xml
├── zuitb_data_cache.prog.xml
├── zif_uitb_disposable.intf.xml
├── zcl_uitb_rtti_util.clas.xml
├── zuitb_info.msag.xml
├── zcl_uitb_message_util.clas.xml
├── zif_uitb_composite_view.intf.xml
├── zcl_utib_custom_value_help.clas.abap
├── zcl_uitb_code_completer.clas.xml
├── zuitb_generic_range_itab.ttyp.xml
├── zcx_uitb_application_exc.clas.xml
├── zcl_uitb_alv_color_mapper.clas.xml
├── zuitb_code_viewer_theme.dtel.xml
├── zuitb_line_number.dtel.xml
├── zcl_uitb_protocol_alv.clas.xml
├── zif_uitb_content_searcher.intf.xml
├── zif_uitb_exit_callback.intf.xml
├── zcl_uitb_abap_code_viewer.clas.xml
├── zif_uitb_exception_message.intf.xml
├── zuitb_field_range_map.tabl.xml
├── zuitb_global_object_map.tabl.xml
├── zcl_uitb_code_completer.clas.locals_def.abap
├── zcx_uitb_exception.clas.abap
├── zif_uitb_pbo_callback.intf.abap
├── zuitb_protocol_info.tabl.xml
├── zuitb_gui_template.fugr.saplzuitb_gui_template.abap
├── zuitb_code_viewer_theme.doma.xml
├── zif_uitb_view.intf.xml
├── zif_uitb_view.intf.abap
├── zcl_uitb_appl_util.clas.xml
├── zuitb_abap_compdescr.tabl.xml
├── zuitb_global_data_ref.tabl.xml
├── zuitb_gui_template.fugr.zuitb_call_template_screen.abap
├── zuitb_generic_range.tabl.xml
├── zcl_uitb_message_util.clas.abap
├── zcl_uitb_cursor.clas.xml
├── zuitb_gui_template.fugr.lzuitb_gui_templated01.abap
├── zcl_uitb_log.clas.abap
├── zcx_uitb_nc_exception.clas.xml
├── zuitb_abap_comp_type.tabl.xml
├── zif_uitb_c_toolbar_functions.intf.xml
├── zif_uitb_template_prog.intf.xml
└── zcl_uitb_data_cache.clas.xml
├── .abapgit.xml
├── README.md
└── LICENSE
/src/trees/zif_uitb_ctm_types.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_CTM_TYPES
2 | public .
3 |
4 | endinterface.
5 |
--------------------------------------------------------------------------------
/src/zuitb_data_cache.prog.abap:
--------------------------------------------------------------------------------
1 | FORM init.
2 | *... Dummy Form to initialize the function pool
3 | ENDFORM.
4 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_controller.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_ALV_CONTROLLER
2 | public .
3 |
4 | endinterface.
5 |
--------------------------------------------------------------------------------
/src/zif_uitb_pai_callback.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_PAI_CALLBACK
2 | public .
3 | methods exit_screen.
4 | endinterface.
5 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templateo01.abap:
--------------------------------------------------------------------------------
1 | MODULE pbo OUTPUT.
2 | lcl_local_controller=>pbo( ).
3 | ENDMODULE.
4 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworko01.abap:
--------------------------------------------------------------------------------
1 | MODULE pbo OUTPUT.
2 | lcl_local_controller=>pbo( ).
3 | ENDMODULE.
4 |
--------------------------------------------------------------------------------
/src/zif_uitb_disposable.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_DISPOSABLE
2 | public .
3 |
4 |
5 | methods DISPOSE .
6 | endinterface.
7 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_view.intf.abap:
--------------------------------------------------------------------------------
1 | "!
UI View
2 | "! Marker interface for a UI View
3 | INTERFACE zif_uitb_gui_view
4 | PUBLIC .
5 |
6 | ENDINTERFACE.
7 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templatei01.abap:
--------------------------------------------------------------------------------
1 | MODULE pai INPUT.
2 | lcl_local_controller=>pai( ).
3 | ENDMODULE.
4 |
5 | MODULE exit input.
6 | lcl_local_controller=>exit( ).
7 | ENDMODULE.
8 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_refresh.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_refresh
2 | PUBLIC .
3 | CONSTANTS none TYPE i VALUE 0.
4 | CONSTANTS soft TYPE i VALUE 1.
5 | CONSTANTS full TYPE i VALUE 2.
6 | ENDINTERFACE.
7 |
--------------------------------------------------------------------------------
/src/popup/zif_uitb_pgv_field_validation.intf.abap:
--------------------------------------------------------------------------------
1 | "! Simple popup field value validation
2 | INTERFACE zif_uitb_pgv_field_validation
3 | PUBLIC .
4 |
5 | ENDINTERFACE.
6 |
--------------------------------------------------------------------------------
/src/zif_uitb_page_scroller.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_page_scroller
2 | PUBLIC .
3 | METHODS scroll_page_up.
4 | METHODS scroll_page_down.
5 | METHODS scroll_page_top .
6 | METHODS scroll_page_bottom .
7 | ENDINTERFACE.
8 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_sorting.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_sorting
2 | PUBLIC .
3 | CONSTANTS none TYPE i VALUE 0.
4 | CONSTANTS ascending TYPE i VALUE 1.
5 | CONSTANTS descending TYPE i VALUE 2.
6 | ENDINTERFACE.
7 |
--------------------------------------------------------------------------------
/src/zif_uitb_exit_callback.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_EXIT_CALLBACK
2 | public .
3 |
4 |
5 | methods CANCEL_EXIT .
6 | methods EXIT_CANCELLED
7 | returning
8 | value(RF_EXIT_CANCELLED) type SAP_BOOL .
9 | endinterface.
10 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_iterator.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_iterator
2 | PUBLIC .
3 | METHODS has_next
4 | RETURNING
5 | VALUE(rf_has_next) TYPE boolean.
6 | METHODS get_next
7 | RETURNING
8 | VALUE(rr_element) TYPE REF TO object.
9 | ENDINTERFACE.
10 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_enumerator.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_enumerator
2 | PUBLIC .
3 | METHODS has_next
4 | RETURNING
5 | VALUE(rf_has_next) TYPE boolean.
6 | METHODS get_next
7 | RETURNING
8 | VALUE(rr_element) TYPE REF TO object.
9 | ENDINTERFACE.
10 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworki01.abap:
--------------------------------------------------------------------------------
1 | MODULE pai INPUT.
2 | zcl_uitb_screen_util=>handle_gui_command( CHANGING cv_ok_code = ok_code ).
3 | lcl_local_controller=>pai( ).
4 | ENDMODULE.
5 |
6 | MODULE exit INPUT.
7 | lcl_local_controller=>exit( ).
8 | ENDMODULE.
9 |
--------------------------------------------------------------------------------
/src/zif_uitb_readonly_table.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_READONLY_TABLE
2 | public .
3 |
4 |
5 | methods UPDATE_FIELDS
6 | importing
7 | !IV_FUNCTION type SY-UCOMM optional .
8 | methods DETERMINE_LINE_COUNT .
9 | methods DETERMINE_CURRENT_LINE .
10 | endinterface.
11 |
--------------------------------------------------------------------------------
/src/zif_uitb_toolbar_events.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_toolbar_events
2 | PUBLIC .
3 | EVENTS function_selected
4 | EXPORTING
5 | VALUE(ev_fcode) TYPE ui_func .
6 |
7 | EVENTS dropdown_clicked
8 | EXPORTING
9 | VALUE(ev_fcode) TYPE ui_func.
10 | ENDINTERFACE.
11 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_data_ref_iterator.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_data_ref_iterator
2 | PUBLIC .
3 | METHODS has_next
4 | RETURNING
5 | VALUE(rf_has_next) TYPE abap_bool.
6 | METHODS get_next
7 | RETURNING
8 | VALUE(rr_element) TYPE REF TO data.
9 | ENDINTERFACE.
10 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_tree_selection.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_tree_selection
2 | PUBLIC .
3 | CONSTANTS single_selection TYPE i VALUE cl_tree_model=>node_sel_mode_single ##no_text.
4 | CONSTANTS multiple_selection TYPE i VALUE cl_tree_model=>node_sel_mode_multiple ##no_text.
5 | ENDINTERFACE.
6 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_code_viewer_themes.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_code_viewer_themes
2 | PUBLIC .
3 | CONSTANTS default TYPE zuitb_code_viewer_theme VALUE '1'.
4 | CONSTANTS coy TYPE zuitb_code_viewer_theme VALUE '2'.
5 | CONSTANTS a11y_dark TYPE zuitb_code_viewer_theme VALUE '3'.
6 | ENDINTERFACE.
7 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_layout_restrict.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_C_ALV_LAYOUT_RESTRICT
2 | public .
3 |
4 |
5 | constants RESTRICT_NONE type I value 1 ##NO_TEXT.
6 | constants RESTRICT_USER_SPECIFIC type I value 2 ##NO_TEXT.
7 | constants RESTRICT_CROSS_USER type I value 3 ##NO_TEXT.
8 | endinterface.
9 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_selection_type.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_selection_type
2 | PUBLIC .
3 | CONSTANTS cells TYPE i VALUE 1.
4 | CONSTANTS rows TYPE i VALUE 2.
5 | CONSTANTS columns TYPE i VALUE 3.
6 | CONSTANTS none TYPE i VALUE 0.
7 | CONSTANTS cell TYPE i VALUE 4.
8 | ENDINTERFACE.
9 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_selection.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_selection
2 | PUBLIC .
3 | CONSTANTS cell TYPE i VALUE 3.
4 | CONSTANTS multiple TYPE i VALUE 2.
5 | CONSTANTS none TYPE i VALUE 0.
6 | CONSTANTS row_column TYPE i VALUE 4.
7 | CONSTANTS single TYPE i VALUE 1.
8 | ENDINTERFACE.
9 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_column_alignment.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_column_alignment
2 | PUBLIC .
3 | CONSTANTS align_center TYPE i VALUE cl_item_tree_model=>align_center.
4 | CONSTANTS align_left TYPE i VALUE cl_item_tree_model=>align_left.
5 | CONSTANTS align_right TYPE i VALUE cl_item_tree_model=>align_right.
6 | ENDINTERFACE.
7 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_protocol_level.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_protocol_level
2 | PUBLIC .
3 | CONSTANTS error TYPE protlevel VALUE '2' ##NO_TEXT.
4 | CONSTANTS info TYPE protlevel VALUE '4' ##NO_TEXT.
5 | CONSTANTS success TYPE protlevel VALUE '3' ##NO_TEXT.
6 | CONSTANTS warning TYPE protlevel VALUE '3' ##NO_TEXT.
7 | ENDINTERFACE.
8 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_function_type.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_C_ALV_FUNCTION_TYPE
2 | public .
3 |
4 |
5 | constants BUTTON type I value 0 ##NO_TEXT.
6 | constants SEPARATOR type I value 3 ##NO_TEXT.
7 | constants MENU_BUTTON type I value 2 ##NO_TEXT.
8 | constants DROPDOWN_BUTTON type I value 1 ##NO_TEXT.
9 | endinterface.
10 |
--------------------------------------------------------------------------------
/src/gui/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | GUI Framework
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/005056b375121ed89ed388a1f0e15ae3.smim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | /SAP/PUBLIC/zuitb
6 | X
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command_executor.intf.abap:
--------------------------------------------------------------------------------
1 | "! Executable GUI Command
2 | INTERFACE zif_uitb_gui_command_executor
3 | PUBLIC .
4 | CONSTANTS c_ucomm_prefix TYPE ui_func VALUE '_&EXC_'.
5 |
6 | "! Executes the command logic
7 | "!
8 | METHODS execute.
9 | ENDINTERFACE.
10 |
--------------------------------------------------------------------------------
/src/024d418489721ed986d1d1b239fa6a61.smim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | /SAP/PUBLIC/zuitb/prism.js
6 | M_TEXT_L
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/024d418489721ed986d1d68411bbaa66.smim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | /SAP/PUBLIC/zuitb/prism.css
6 | M_TEXT_L
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | UI Toolbox
7 | X
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/popup/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Pop Ups
7 | X
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/trees/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Trees
7 | X
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command_handler.intf.abap:
--------------------------------------------------------------------------------
1 | "! UI Command Handler
2 | INTERFACE zif_uitb_gui_command_handler
3 | PUBLIC .
4 |
5 | "! Execute the given command
6 | "!
7 | METHODS execute_command
8 | IMPORTING
9 | io_command type ref to zif_uitb_gui_command.
10 | ENDINTERFACE.
11 |
--------------------------------------------------------------------------------
/src/005056b375121ed89ed3920ca4b8fb1b.smim.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | /SAP/PUBLIC/zuitb/html_editor.html
6 | M_APP_L
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/alv/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ALV with edit option
7 | X
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_adpt_selections.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_alv_adpt_selections
2 | PUBLIC .
3 | METHODS get_current_cell .
4 | METHODS get_selected_cells .
5 | METHODS get_selected_columns .
6 | METHODS get_selected_rows .
7 | METHODS set_current_cell .
8 | METHODS set_selected_cells .
9 | METHODS set_selected_columns .
10 | METHODS set_selected_rows .
11 | ENDINTERFACE.
12 |
--------------------------------------------------------------------------------
/src/zif_uitb_composite_view.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_composite_view
2 | PUBLIC .
3 |
4 | INTERFACES zif_uitb_view.
5 |
6 | "! Set Child visible/hidden
7 | "!
8 | METHODS set_child_visibility
9 | IMPORTING
10 | io_child TYPE REF TO zif_uitb_view
11 | if_visible TYPE abap_bool DEFAULT abap_true.
12 | ENDINTERFACE.
13 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_cell_types.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_cell_types
2 | PUBLIC .
3 | CONSTANTS text TYPE i VALUE 0.
4 | CONSTANTS checkbox TYPE i VALUE 1.
5 | CONSTANTS button TYPE i VALUE 2.
6 | CONSTANTS dropdown TYPE i VALUE 3.
7 | CONSTANTS hotspot TYPE i VALUE 5.
8 | CONSTANTS checkbox_hotspot TYPE i VALUE 6.
9 | ENDINTERFACE.
10 |
--------------------------------------------------------------------------------
/src/collection/package.devc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Generic Collections
7 | X
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templatef01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_TEMPLATEF01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templatei01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_TEMPLATEI01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templateo01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_TEMPLATEO01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworkf01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_FRAMEWORKF01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworki01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_FRAMEWORKI01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworko01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_FRAMEWORKO01
7 | I
8 | D
9 | X
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/src/zif_uitb_exception_message.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_EXCEPTION_MESSAGE
2 | public .
3 |
4 |
5 | methods PRINT
6 | importing
7 | !IV_MSG_TYPE type SY-MSGTY default 'S'
8 | !IV_DISPLAY_TYPE type SY-MSGTY default 'E'
9 | !IF_TO_SCREEN type ABAP_BOOL default ABAP_TRUE
10 | returning
11 | value(RV_MESSAGE) type STRING .
12 | methods GET_MESSAGE
13 | returning
14 | value(RESULT) type STRING .
15 | endinterface.
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_view_callback.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_view_callback
2 | PUBLIC .
3 | EVENTS before_output
4 | EXPORTING
5 | VALUE(er_callback) TYPE REF TO ZIF_UITB_pbo_callback.
6 | EVENTS user_command
7 | EXPORTING
8 | VALUE(ev_function_id) TYPE sy-ucomm
9 | VALUE(er_callback) TYPE REF TO ZIF_UITB_pai_callback.
10 | EVENTS exit
11 | EXPORTING
12 | VALUE(er_callback) TYPE REF TO ZIF_UITB_exit_callback.
13 | ENDINTERFACE.
14 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_chglist_flavor.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_chglist_flavor
2 | PUBLIC .
3 | CONSTANTS setter TYPE i VALUE 1.
4 | CONSTANTS register TYPE i VALUE 2.
5 | CONSTANTS selections TYPE i VALUE 3.
6 | CONSTANTS application TYPE i VALUE 4.
7 | CONSTANTS data_set TYPE i VALUE 5.
8 | CONSTANTS functions TYPE i VALUE 6.
9 | CONSTANTS refresh TYPE i VALUE 7.
10 | CONSTANTS close_screen TYPE i VALUE 8.
11 | ENDINTERFACE.
12 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_screen_base.clas.locals_imp.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for the definition and implementation of
2 | *"* local helper classes, interface definitions and type
3 | *"* declarations
4 | CLASS lcl_simple_ui_command IMPLEMENTATION.
5 |
6 | METHOD zif_uitb_gui_command~set_context_menu.
7 | mo_menu = io_menu.
8 | ENDMETHOD.
9 |
10 | METHOD constructor.
11 | mv_function = iv_function.
12 | mv_type = iv_type.
13 | ENDMETHOD.
14 |
15 | ENDCLASS.
16 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_ty_gui_screen.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_ty_gui_screen
2 | PUBLIC .
3 |
4 | TYPES:
5 | "! Map of F-Key to user function
6 | "!
7 | BEGIN OF ty_s_fkey_map,
8 | fkey TYPE ui_func,
9 | mapped_function TYPE ui_func,
10 | text TYPE gui_text,
11 | END OF ty_s_fkey_map.
12 |
13 | TYPES: ty_t_fkey_map TYPE STANDARD TABLE OF ty_s_fkey_map WITH KEY fkey.
14 | ENDINTERFACE.
15 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_enumerable.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_enumerable
2 | PUBLIC .
3 | METHODS size
4 | RETURNING
5 | VALUE(rv_size) TYPE sy-tabix .
6 | METHODS get_enumerator
7 | RETURNING
8 | VALUE(rr_enumerator) TYPE REF TO ZIF_UITB_enumerator.
9 | METHODS get_element
10 | IMPORTING
11 | !iv_index TYPE sy-tabix
12 | RETURNING
13 | VALUE(rr_element) TYPE REF TO object
14 | RAISING
15 | ZCX_UITB_element_not_found .
16 | ENDINTERFACE.
17 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_display_types.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_display_types
2 | PUBLIC .
3 |
4 | "! ALV is shown in container of existing view
5 | CONSTANTS embedded TYPE i VALUE 0.
6 | "! ALV is shown in a non modal dialog
7 | CONSTANTS dialog TYPE i VALUE 1.
8 | "! ALV is shown in a modal dialog
9 | CONSTANTS modal_dialog TYPE i VALUE 2.
10 | ENDINTERFACE.
11 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templatetop.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_TEMPLATETOP
7 | S
8 | D$
9 | I
10 | S
11 | X
12 | D$S
13 | X
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/.abapgit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | E
6 | /src/
7 | PREFIX
8 |
9 | - /.gitignore
10 | - /LICENSE
11 | - /README.md
12 | - /package.json
13 | - /.travis.yml
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_colheader_mode.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_c_alv_colheader_mode
2 | PUBLIC .
3 |
4 | "! Description and tooltip are taken from data element
5 | CONSTANTS default TYPE i VALUE 1.
6 | "! Technical column name is taken as tooltip and description
7 | "! is taken as column header
8 | CONSTANTS tech_as_tooltip TYPE i VALUE 2.
9 | "! Technical column name is taken as column header and
10 | "! description is taken as tooltip
11 | CONSTANTS tech_as_column_header TYPE i VALUE 3.
12 | ENDINTERFACE.
13 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_list.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_LIST
7 | E
8 | List
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworktop.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_FRAMEWORKTOP
7 | S
8 | D$
9 | I
10 | S
11 | X
12 | D$S
13 | X
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_toolbar_functions.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_C_TOOLBAR_FUNCTIONS
2 | public .
3 |
4 |
5 | constants EXPAND_ALL type UI_FUNC value '%EXPAND_ALL%' ##NO_TEXT.
6 | constants EXPAND type UI_FUNC value '%EXPAND%' ##NO_TEXT.
7 | constants COLLAPSE_ALL type UI_FUNC value '%COLLAPSE_ALL%' ##NO_TEXT.
8 | constants COLLAPSE type UI_FUNC value '%COLLAPSE%' ##NO_TEXT.
9 | constants FIND type UI_FUNC value '%FIND%' ##NO_TEXT.
10 | constants FIND_MORE type UI_FUNC value '%FIND_MORE%' ##NO_TEXT.
11 | endinterface.
12 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_function_holder.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_ALV_FUNCTION_HOLDER
2 | public .
3 |
4 |
5 | events FUNCTION_REGISTERED
6 | exporting
7 | value(ES_FUNCTION) type ZIF_UITB_ALV_TYPES=>TY_ALV_FUNCTION .
8 | events UNREGISTER_FUNCTIONS
9 | exporting
10 | value(EF_TOOLBAR) type ABAP_BOOL optional
11 | value(EF_CONTEXT_MENU) type ABAP_BOOL optional .
12 | events UNREGISTER_FUNCTION
13 | exporting
14 | value(ES_FUNCTION) type ZIF_UITB_ALV_TYPES=>TY_ALV_FUNCTION .
15 | endinterface.
16 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_code_editor.clas.locals_imp.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for the definition and implementation of
2 | *"* local helper classes, interface definitions and type
3 | *"* declarations
4 |
5 | CLASS lcl_pretty_printer_settings IMPLEMENTATION.
6 | METHOD if_pretty_printer_settings~get_case_mode.
7 | case_mode = if_pretty_printer_settings~co_case_mode_hikey.
8 | ENDMETHOD.
9 |
10 | METHOD constructor.
11 | super->constructor( ).
12 | mv_line_length = iv_line_length.
13 | ENDMETHOD.
14 |
15 | ENDCLASS.
16 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_view.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_VIEW
7 | E
8 | UI View
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zcl_uitb_log.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_LOG
7 | E
8 | Log
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_enumerable.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ENUMERABLE
7 | E
8 | Enumerable
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_enumerator.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ENUMERATOR
7 | E
8 | Enumerator
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_iterator.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ITERATOR
7 | E
8 | Itererator
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_protocol_level.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_PROTOCOL_LEVEL
7 | E
8 | Log Level
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_page_scroller.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_PAGE_SCROLLER
7 | E
8 | Page Scroller
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_pai_callback.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_PAI_CALLBACK
7 | E
8 | Callback for PAI
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_pbo_callback.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_PBO_CALLBACK
7 | E
8 | Callback for PBO
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_view_callback.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_VIEW_CALLBACK
7 | E
8 | View Callback
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_types.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ALV_TYPES
7 | E
8 | Type Definitions for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_colors.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_COLORS
7 | E
8 | Colors for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_content_searcher.intf.abap:
--------------------------------------------------------------------------------
1 | "! Content Searcher
2 | INTERFACE zif_uitb_content_searcher
3 | PUBLIC .
4 |
5 | "! Start searching
6 | "!
7 | METHODS search.
8 | "! Continue searching
9 | "!
10 | "! @parameter iv_search_value |
11 | METHODS search_next
12 | IMPORTING
13 | iv_search_value TYPE string OPTIONAL.
14 | ENDINTERFACE.
15 |
--------------------------------------------------------------------------------
/src/zif_uitb_readonly_table.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_READONLY_TABLE
7 | E
8 | Read Only Table
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zif_uitb_toolbar_events.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_TOOLBAR_EVENTS
7 | E
8 | Events for Toolbar
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.saplzuitb_gui_template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SAPLZUITB_GUI_TEMPLATE
7 | S
8 | D$
9 | F
10 | S
11 | D
12 | X
13 | D$S
14 | X
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_functions.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_FUNCTIONS
7 | E
8 | Functions for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_refresh.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_REFRESH
7 | E
8 | Refresh types for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_sorting.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_SORTING
7 | E
8 | Sorting modes of ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.saplzuitb_gui_framework.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | SAPLZUITB_GUI_FRAMEWORK
7 | S
8 | D$
9 | F
10 | S
11 | D
12 | X
13 | D$S
14 | X
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_cell_style.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_CELL_STYLE
7 | E
8 | Cell Styles for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_cell_types.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_CELL_TYPES
7 | E
8 | Cell Types for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_c_gui_screen.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_GUI_SCREEN
7 | E
8 | Constants for GUI Screen
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_ctm_types.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_CTM_TYPES
7 | E
8 | Types for Columnn Tree Model
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_output.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_OUTPUT
7 | E
8 | ALV Output
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_selection.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_SELECTION
7 | E
8 | Selection modes for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_column_alignment.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_COLUMN_ALIGNMENT
7 | E
8 | Column Alignment
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_tree_selection.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_TREE_SELECTION
7 | E
8 | Selection modes for Tree
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_column.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_COLUMN
7 | E
8 | Column for ALV Grid
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_metadata.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_METADATA
7 | E
8 | Meta Data for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_adpt_selections.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ALV_ADPT_SELECTIONS
7 | E
8 | ALV Adapter for Selections
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_controller.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ALV_CONTROLLER
7 | E
8 | Marker Interface for ALV Controller
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_chglist_flavor.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_CHGLIST_FLAVOR
7 | E
8 | Changelist Types for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_metadata_types.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_METADATA_TYPES
7 | E
8 | Type of ALV Grid Metadata
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_selection_type.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_SELECTION_TYPE
7 | E
8 | Type of Selection for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_enumerator.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ENUMERATOR
7 | E
8 | Enumerator
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_ctm_style.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_CTM_STYLE
7 | E
8 | Styles for Column Tree Mode nodes/items
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zcl_uitb_html_editor.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_HTML_EDITOR
7 | E
8 | HTML Editor for ABAP
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_code_viewer_themes.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_CODE_VIEWER_THEMES
7 | E
8 | Theme Constants for Code Viewer
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_cell_style.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_CELL_STYLE
7 | E
8 | Cell Style for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_controller.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_CONTROLLER
7 | E
8 | ALV Controller
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_selections.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_SELECTIONS
7 | E
8 | Selections of ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_metadata_ctrller.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ALV_METADATA_CTRLLER
7 | E
8 | ALV Controller for Meta Data
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_colheader_mode.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_COLHEADER_MODE
7 | E
8 | Display modes ALV Column Headers
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_list_iterator.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_LIST_ITERATOR
7 | E
8 | List Iterator
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_object_list.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_OBJECT_LIST
7 | E
8 | List of Objects
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_data_ref_iterator.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_DATA_REF_ITERATOR
7 | E
8 | Iterator for Data References
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/zcl_uitb_generic_exporter.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GENERIC_EXPORTER
7 | E
8 | Generic Exporter
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcl_uitb_generic_importer.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GENERIC_IMPORTER
7 | E
8 | Generic Importer
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcl_uitb_generic_table.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GENERIC_TABLE
7 | E
8 | Generic Table Controller
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcl_utib_custom_value_help.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UTIB_CUSTOM_VALUE_HELP
7 | E
8 | Custom F4 help
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_changelist.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_CHANGELIST
7 | E
8 | Changelist for ALV Grid
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_dropdown.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_DROPDOWN
7 | E
8 | Dropdown for ALV Column
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_dropdowns.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_DROPDOWNS
7 | E
8 | Dropdowns for ALV Column
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_popup_editor.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_POPUP_EDITOR
7 | E
8 | Text Editor in Dialog Box
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/popup/zif_uitb_pgv_field_validation.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_PGV_FIELD_VALIDATION
7 | E
8 | Simple popup field value validation
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/src/trees/zcl_uitb_ctm_columns.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_CTM_COLUMNS
7 | E
8 | Columns of Column Tree Model
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_func_settings.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_FUNC_SETTINGS
7 | E
8 | Functional Settings for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_code_editor.clas.locals_def.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for any type of declarations (class
2 | *"* definitions, interfaces or type declarations) you need for
3 | *"* components in the private section
4 |
5 | CLASS lcl_pretty_printer_settings DEFINITION
6 | INHERITING FROM cl_pretty_printer_wb_settings.
7 |
8 | PUBLIC SECTION.
9 | METHODS constructor
10 | IMPORTING
11 | iv_line_length TYPE i.
12 | METHODS if_pretty_printer_settings~get_case_mode
13 | REDEFINITION.
14 | PRIVATE SECTION.
15 | DATA mv_line_length TYPE i.
16 | ENDCLASS.
17 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_screen.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_SCREEN
7 | E
8 | Generic Screen with optional GUI Toolbar
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcl_uitb_table_func_executor.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_TABLE_FUNC_EXECUTOR
7 | E
8 | Executes functions on table
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcx_uitb_exception.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_EXCEPTION
7 | E
8 | General Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_editable_alv_popup.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_EDITABLE_ALV_POPUP
7 | E
8 | Editable ALV in Dialog Box
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/trees/zcx_uitb_tree_error.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_TREE_ERROR
7 | E
8 | Tree Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/zcx_uitb_screen.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_SCREEN
7 | E
8 | Errors in screen logic
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_selction_ctrller.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_SELCTION_CTRLLER
7 | E
8 | Selection Controller for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_sort.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_SORT
7 | E
8 | Sorting Definition of ALV
9 | 1
10 | X
11 | X
12 | X
13 | P
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_sorts.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_SORTS
7 | E
8 | Sorting Definitions of ALV
9 | 1
10 | X
11 | X
12 | X
13 | P
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_data_ref_iterator.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_DATA_REF_ITERATOR
7 | E
8 | Iterator for Data References
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_simple_command.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_SIMPLE_COMMAND
7 | E
8 | Simple Implementation of UI Commdn
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/trees/zcl_uitb_tree_container.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_TREE_CONTAINER
7 | E
8 | Container with Tree and optional Toolbar
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zcl_uitb_screen_field_manager.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_SCREEN_FIELD_MANAGER
7 | E
8 | Manage values for screen fields
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/src/zuitb_screen_util.prog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_SCREEN_UTIL
7 | I
8 | E
9 | X
10 |
11 |
12 | -
13 | R
14 | Screen Utilities
15 | 16
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworkd01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_FRAMEWORKD01
7 | I
8 | S
9 | E
10 | X
11 |
12 |
13 | -
14 | R
15 | Local Class Definitions
16 | 23
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templated01.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | LZUITB_GUI_TEMPLATED01
7 | I
8 | S
9 | E
10 | X
11 |
12 |
13 | -
14 | R
15 | Include LZUITB_GUI_TEMPLATED01
16 | 30
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/src/zcl_uitb_alv_color_mapper.clas.abap:
--------------------------------------------------------------------------------
1 | class ZCL_UITB_ALV_COLOR_MAPPER definition
2 | public
3 | final
4 | create public .
5 |
6 | public section.
7 |
8 | class-methods STRING_TO_STRUC
9 | importing
10 | !IV_COLOR type CHAR4
11 | returning
12 | value(RESULT) type LVC_S_COLO .
13 | protected section.
14 | private section.
15 | ENDCLASS.
16 |
17 |
18 |
19 | CLASS ZCL_UITB_ALV_COLOR_MAPPER IMPLEMENTATION.
20 |
21 |
22 | METHOD string_to_struc.
23 | result-col = iv_color+1(1).
24 | result-int = iv_color+2(1).
25 | result-inv = iv_color+3(1).
26 | ENDMETHOD.
27 | ENDCLASS.
28 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_composite_view.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_gui_composite_view
2 | PUBLIC .
3 |
4 | INTERFACES zif_uitb_gui_view.
5 |
6 | "! Set Child visible/hidden
7 | "!
8 | METHODS set_child_visibility
9 | IMPORTING
10 | io_child TYPE REF TO zif_uitb_gui_view
11 | if_visible TYPE abap_bool DEFAULT abap_true.
12 |
13 | "! Executes the given command
14 | "!
15 | METHODS execute_command DEFAULT IGNORE
16 | IMPORTING
17 | io_command TYPE REF TO zif_uitb_gui_command.
18 | ENDINTERFACE.
19 |
--------------------------------------------------------------------------------
/src/popup/zif_uitb_pgv_check_evt_fields.intf.abap:
--------------------------------------------------------------------------------
1 | "! Fields in check event of Input dialog
2 | INTERFACE zif_uitb_pgv_check_evt_fields
3 | PUBLIC .
4 |
5 | TYPES tt_fields TYPE STANDARD TABLE OF sval WITH EMPTY KEY.
6 |
7 | "! Returns the fields with the current values
8 | METHODS get_fields
9 | RETURNING
10 | VALUE(rt_fields) TYPE tt_fields.
11 |
12 | "! Sets validation error
13 | METHODS set_validation_error
14 | IMPORTING
15 | is_error TYPE svale.
16 | ENDINTERFACE.
17 |
--------------------------------------------------------------------------------
/src/zuitb_dynpread_itab.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_DYNPREAD_ITAB
7 | E
8 | DYNPREAD
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | Table type for dynpread
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/alv/zuitb_test_alv.prog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_TEST_ALV
7 | S
8 | 1
9 | X
10 | D$S
11 | X
12 |
13 |
14 | -
15 | R
16 | Test Programm for ALV Framework
17 | 31
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_control.intf.abap:
--------------------------------------------------------------------------------
1 | "! GUI Control
2 | INTERFACE zif_uitb_gui_control
3 | PUBLIC .
4 | "! Set focus to control
5 | "!
6 | METHODS focus.
7 | "! Checks if the control has the focus
8 | "!
9 | "! @parameter rf_has_focus |
10 | METHODS has_focus
11 | RETURNING
12 | VALUE(rf_has_focus) TYPE abap_bool.
13 |
14 | "! Frees the gui control
15 | "!
16 | METHODS free DEFAULT IGNORE.
17 | ENDINTERFACE.
18 |
--------------------------------------------------------------------------------
/src/zuitb_tab_component_itab.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_TAB_COMPONENT_ITAB
7 | E
8 | ZUITB_TAB_COMPONENT
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | List of components of a table
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_metadata_types.intf.abap:
--------------------------------------------------------------------------------
1 | "! Type of ALV Grid Metadata
2 | INTERFACE zif_uitb_c_alv_metadata_types
3 | PUBLIC .
4 | CONSTANTS display_settings TYPE string VALUE 'DISPLAY_SETTINGS'.
5 | CONSTANTS columns TYPE string VALUE 'COLUMNS'.
6 | CONSTANTS column TYPE string VALUE 'COLUMN'.
7 | CONSTANTS filters TYPE string VALUE 'FILTERS'.
8 | CONSTANTS filter TYPE string VALUE 'FILTER'.
9 | CONSTANTS sorts TYPE string VALUE 'SORTS'.
10 | CONSTANTS sort TYPE string VALUE 'SORT'.
11 | constants dropdown type string value 'DROPDOWN'.
12 | constants dropdowns type string value 'DROPDOWNS'.
13 | ENDINTERFACE.
14 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework_test.prog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GUI_FRAMEWORK_TEST
7 | S
8 | 1
9 | X
10 | D$S
11 | X
12 |
13 |
14 | -
15 | R
16 | Test for GUI Framework
17 | 22
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/popup/zuitb_pgv_exits.prog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_PGV_EXITS
7 | S
8 | 1
9 | X
10 | D$S
11 | X
12 |
13 |
14 | -
15 | R
16 | Exit Forms popup_get_values functions
17 | 37
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/zuitb_abap_comp_type_itab.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_ABAP_COMP_TYPE_ITAB
7 | E
8 | ZUITB_ABAP_COMP_TYPE
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | List of abap component types
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/zuitb_abap_compdescr_t.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_ABAP_COMPDESCR_T
7 | E
8 | ZUITB_ABAP_COMPDESCR
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | List of ABAP Component descriptions
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/zuitb_field_range_map_itab.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_FIELD_RANGE_MAP_ITAB
7 | E
8 | ZUITB_FIELD_RANGE_MAP
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | List of ranges of fields
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/zuitb_global_object_map_t.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GLOBAL_OBJECT_MAP_T
7 | E
8 | ZUITB_GLOBAL_OBJECT_MAP
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | List of global object maps
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_screen.clas.abap:
--------------------------------------------------------------------------------
1 | "! Generic Screen with optional GUI Toolbar
2 | CLASS zcl_uitb_gui_screen DEFINITION
3 | PUBLIC
4 | INHERITING FROM zcl_uitb_gui_screen_base
5 | ABSTRACT
6 | CREATE PUBLIC .
7 |
8 | PUBLIC SECTION.
9 | METHODS constructor
10 | IMPORTING
11 | iv_title TYPE string.
12 | PROTECTED SECTION.
13 | PRIVATE SECTION.
14 | ENDCLASS.
15 |
16 |
17 |
18 | CLASS zcl_uitb_gui_screen IMPLEMENTATION.
19 |
20 | METHOD constructor.
21 |
22 | super->constructor(
23 | iv_title = iv_title
24 | iv_lifetime = cl_gui_control=>lifetime_dynpro
25 | ).
26 |
27 | ENDMETHOD.
28 | ENDCLASS.
29 |
--------------------------------------------------------------------------------
/src/zuitb_data_cache.prog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_DATA_CACHE
7 | S
8 | D$
9 | I
10 | X
11 | D$S
12 | X
13 |
14 |
15 | -
16 | R
17 | Include for filling references to global data variables
18 | 62
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/zif_uitb_disposable.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_DISPOSABLE
7 | E
8 | Disposable Entity
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | DISPOSE
16 | E
17 | Disposes the entity
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_cell_style.clas.abap:
--------------------------------------------------------------------------------
1 | class ZCL_UITB_ALV_CELL_STYLE definition
2 | public
3 | final
4 | create public .
5 |
6 | public section.
7 |
8 | methods SET_MAX_LENGTH
9 | importing
10 | !VALUE type INT4 .
11 | methods SET_STYLE
12 | importing
13 | !VALUE type LVC_STYLE .
14 | PROTECTED SECTION.
15 | PRIVATE SECTION.
16 | DATA mv_fieldname TYPE fieldname.
17 | DATA mv_style TYPE lvc_style.
18 | DATA mv_maxlen TYPE lvc_s_styl-maxlen.
19 | ENDCLASS.
20 |
21 |
22 |
23 | CLASS ZCL_UITB_ALV_CELL_STYLE IMPLEMENTATION.
24 |
25 |
26 | method SET_MAX_LENGTH.
27 | mv_style = value.
28 | endmethod.
29 |
30 |
31 | METHOD set_style.
32 | mv_style = value.
33 | ENDMETHOD.
34 | ENDCLASS.
35 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_screen.intf.abap:
--------------------------------------------------------------------------------
1 | "! GUI Screen
2 | INTERFACE zif_uitb_gui_screen
3 | PUBLIC .
4 | * INTERFACES zif_uitb_gui_events.
5 |
6 | DATA mf_visible TYPE abap_bool read-only.
7 |
8 | "! Displays the screen
9 | "!
10 | METHODS show
11 | IMPORTING
12 | iv_top TYPE i OPTIONAL
13 | iv_left TYPE i OPTIONAL
14 | iv_width TYPE i OPTIONAL
15 | iv_height TYPE i OPTIONAL.
16 |
17 | "! Leaves the current screen
18 | "!
19 | METHODS leave_screen DEFAULT IGNORE
20 | IMPORTING
21 | !if_prevent_exit_event TYPE abap_bool DEFAULT abap_true .
22 |
23 | ENDINTERFACE.
24 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 | # ABAP UI Toolbox
3 |
4 | Tools for ABAP SAP GUI Development
5 |
6 | ## Package overview
7 | - **/src**
8 | Miscellaneous objects that are needed in the sub packages
9 | - **/src/alv**
10 | Contains Classes/interfaces for enhanced/editable ALV Grid (similar to CL_SALV_TABLE)
11 | - **/src/collection**
12 | Classes/Interfaces for *Object* or *REF TO DATA* lists
13 | - **/src/gui**
14 | Framework for easy to use Screens that consist of a single GUI Container
15 | - **/src/trees**
16 | Contains Object model wrapper around CL_COLUMN_TREE_MODEL
17 |
18 | ## Installation
19 |
20 | Install this repository using [abapGit](https://github.com/abapGit/abapGit#abapgit).
21 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_screen_base.clas.locals_def.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for any type of declarations (class
2 | *"* definitions, interfaces or type declarations) you need for
3 | *"* components in the private section
4 | CLASS lcl_simple_ui_command DEFINITION.
5 | PUBLIC SECTION.
6 | INTERFACES zif_uitb_gui_command.
7 |
8 | ALIASES ty_command_type
9 | FOR zif_uitb_gui_command~ty_command_type.
10 | ALIASES mv_function
11 | FOR zif_uitb_gui_command~mv_function.
12 | ALIASES mv_type
13 | FOR zif_uitb_gui_command~mv_type.
14 |
15 | DATA mo_menu TYPE REF TO cl_ctmenu READ-ONLY.
16 |
17 | METHODS constructor
18 | IMPORTING
19 | iv_type TYPE ty_command_type
20 | iv_function TYPE ui_func.
21 | ENDCLASS.
22 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_ty_gui_screen.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_TY_GUI_SCREEN
7 | E
8 | Types for GUI Framework
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | TY_S_FKEY_MAP
16 | E
17 | Map of F-Key to user function
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command_executor.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_COMMAND_EXECUTOR
7 | E
8 | Executable GUI Command
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | EXECUTE
16 | E
17 | Executes the command logic
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command_handler.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_COMMAND_HANDLER
7 | E
8 | UI Command Handler
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | EXECUTE_COMMAND
16 | E
17 | Execute the given command
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_pgv_popup.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_PGV_POPUP
7 | E
8 | Popup for data input
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | Creates new popup
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/zcl_uitb_rtti_util.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_RTTI_UTIL
7 | E
8 | RTTI Util
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | GET_STRUCT_COMPONENTS
17 | E
18 | Returns components of structure
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_display_settings.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_DISPLAY_SETTINGS
7 | E
8 | Display Settings of ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | CONSTRUCTOR
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/trees/zcx_uitb_tree_error.clas.abap:
--------------------------------------------------------------------------------
1 | "! Tree Error
2 | CLASS zcx_uitb_tree_error DEFINITION
3 | PUBLIC
4 | INHERITING FROM zcx_uitb_application_exc
5 | FINAL
6 | CREATE PUBLIC .
7 |
8 | PUBLIC SECTION.
9 |
10 | CONSTANTS:
11 | BEGIN OF zcx_uitb_tree_error,
12 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
13 | msgno TYPE symsgno VALUE '001',
14 | attr1 TYPE scx_attrname VALUE '',
15 | attr2 TYPE scx_attrname VALUE '',
16 | attr3 TYPE scx_attrname VALUE '',
17 | attr4 TYPE scx_attrname VALUE '',
18 | END OF zcx_uitb_tree_error.
19 | PROTECTED SECTION.
20 | PRIVATE SECTION.
21 | ENDCLASS.
22 |
23 |
24 |
25 | CLASS zcx_uitb_tree_error IMPLEMENTATION.
26 |
27 | ENDCLASS.
28 |
--------------------------------------------------------------------------------
/src/zuitb_info.msag.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_INFO
7 | E
8 | Info Messages
9 |
10 |
11 |
12 | E
13 | ZUITB_INFO
14 | 000
15 | Import of &1 started
16 |
17 |
18 | E
19 | ZUITB_INFO
20 | 001
21 | Import of &2 ended
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_error.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_ALV_ERROR
7 | E
8 | General ALV Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_modal_dialog.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_MODAL_DIALOG
7 | E
8 | Modal dialog with optional toolbar
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | Constructor
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/zcl_uitb_message_util.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_MESSAGE_UTIL
7 | E
8 | Message Utility
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | SPLIT_STRING_TO_SYMSG
17 | E
18 | Splits text into sy-msg variables
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/zif_uitb_composite_view.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_COMPOSITE_VIEW
7 | E
8 | UI Composite View - Consists of several views
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | SET_CHILD_VISIBILITY
16 | E
17 | Set Child visible/hidden
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE zif_uitb_gui_command
2 | PUBLIC .
3 | "! Type of command
4 | TYPES ty_command_type TYPE i.
5 |
6 | CONSTANTS:
7 | BEGIN OF c_command_type,
8 | request_menu TYPE ty_command_type VALUE 0,
9 | normal TYPE ty_command_type VALUE 1,
10 | dynpro TYPE ty_command_type VALUE 2,
11 | END OF c_command_type.
12 |
13 | DATA mv_function TYPE ui_func READ-ONLY.
14 | DATA mr_params TYPE REF TO data READ-ONLY.
15 | DATA mv_type TYPE ty_command_type READ-ONLY.
16 |
17 | "! Adds the given menu to the command
18 | "!
19 | METHODS set_context_menu
20 | IMPORTING
21 | io_menu TYPE REF TO cl_ctmenu.
22 | ENDINTERFACE.
23 |
--------------------------------------------------------------------------------
/src/zcl_utib_custom_value_help.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS zcl_utib_custom_value_help DEFINITION
2 | PUBLIC
3 | FINAL
4 | CREATE PUBLIC .
5 |
6 | PUBLIC SECTION.
7 | METHODS constructor
8 | IMPORTING
9 | iv_projection TYPE string
10 | iv_from TYPE string
11 | iv_order_by TYPE string OPTIONAL.
12 | METHODS call_value_help.
13 | PROTECTED SECTION.
14 | PRIVATE SECTION.
15 | METHODS select_data.
16 | METHODS pre_filter_data.
17 | ENDCLASS.
18 |
19 |
20 |
21 | CLASS zcl_utib_custom_value_help IMPLEMENTATION.
22 | METHOD constructor.
23 |
24 | ENDMETHOD.
25 |
26 | METHOD call_value_help.
27 |
28 | ENDMETHOD.
29 |
30 | METHOD select_data.
31 |
32 | ENDMETHOD.
33 |
34 | METHOD pre_filter_data.
35 |
36 | ENDMETHOD.
37 |
38 | ENDCLASS.
39 |
--------------------------------------------------------------------------------
/src/zcl_uitb_code_completer.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_CODE_COMPLETER
7 | E
8 | ABAP code completer
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | GET_COMPLETION_RESULTS
17 | E
18 | Retrieve code completion results
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_evt_controller.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_EVT_CONTROLLER
7 | E
8 | Event Controller for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | RAISE_CONTEXT_MENU
17 | E
18 | Raise context menu event
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_grid_adapter.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_GRID_ADAPTER
7 | E
8 | Grid Adapter for ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | FILL_MENU_FROM_SERIALIZED
17 | E
18 | Deserialize menu from table
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/collection/zif_uitb_list.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_list
2 | PUBLIC .
3 |
4 |
5 | METHODS add
6 | IMPORTING
7 | !ir_element TYPE REF TO object .
8 | METHODS clear .
9 | METHODS size
10 | RETURNING
11 | VALUE(rv_size) TYPE sy-tabix .
12 | METHODS get_iterator
13 | RETURNING
14 | VALUE(rr_iterator) TYPE REF TO ZIF_UITB_iterator .
15 | METHODS get_element
16 | IMPORTING
17 | !iv_index TYPE sy-tabix
18 | RETURNING
19 | VALUE(rr_element) TYPE REF TO object
20 | RAISING
21 | ZCX_UITB_element_not_found .
22 | METHODS remove
23 | IMPORTING
24 | !ir_element TYPE REF TO object .
25 | METHODS remove_at
26 | IMPORTING
27 | !iv_index TYPE sy-tabix
28 | RAISING
29 | ZCX_UITB_element_not_found.
30 | ENDINTERFACE.
31 |
--------------------------------------------------------------------------------
/src/zuitb_generic_range_itab.ttyp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GENERIC_RANGE_ITAB
7 | E
8 | ZUITB_GENERIC_RANGE
9 | S
10 | STRU
11 | T
12 | D
13 | N
14 | Generic Range Table
15 | R
16 | CHAR128
17 | CHAR
18 | 000128
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/src/zcx_uitb_application_exc.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_APPLICATION_EXC
7 | E
8 | General Application Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_existing.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_ALV_EXISTING
7 | E
8 | ALV Error if object already exists
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_no_data.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_ALV_NO_DATA
7 | E
8 | ALV Error if no data would be displayed
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_not_found.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_ALV_NOT_FOUND
7 | E
8 | ALV Error if object could not be found
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/gui/zcx_uitb_gui_exception.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_GUI_EXCEPTION
7 | E
8 | Generic GUI Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | ZCX_UITB_GUI_EXCEPTION
18 | E
19 | Generic Exception message
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/collection/zcx_uitb_element_not_found.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_ELEMENT_NOT_FOUND
7 | E
8 | Element could not be found Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_fieldcat_util.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_FIELDCAT_UTIL
7 | E
8 | Utilities for handling ALV Fieldcatalog
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CREATE_FIELD_CATALOG
17 | E
18 | Creates field catalog from dynamic table
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_modal_dialog.clas.abap:
--------------------------------------------------------------------------------
1 | "! Modal dialog with optional toolbar
2 | CLASS zcl_uitb_gui_modal_dialog DEFINITION
3 | PUBLIC
4 | INHERITING FROM zcl_uitb_gui_screen_base
5 | ABSTRACT
6 | CREATE PUBLIC.
7 |
8 | PUBLIC SECTION.
9 | "! Constructor
10 | "!
11 | METHODS constructor
12 | IMPORTING
13 | iv_title TYPE string.
14 | PROTECTED SECTION.
15 | PRIVATE SECTION.
16 | ENDCLASS.
17 |
18 |
19 |
20 | CLASS zcl_uitb_gui_modal_dialog IMPLEMENTATION.
21 |
22 | METHOD constructor.
23 |
24 | super->constructor(
25 | iv_title = iv_title
26 | iv_lifetime = cl_gui_control=>lifetime_dynpro
27 | ).
28 | mf_as_dialog = abap_true.
29 |
30 | ENDMETHOD.
31 |
32 | ENDCLASS.
33 |
--------------------------------------------------------------------------------
/src/zcl_uitb_alv_color_mapper.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_COLOR_MAPPER
7 | E
8 | Maps color definition into different types
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | STRING_TO_STRUC
17 | E
18 | Maps string color definition into lvc_s_col definition
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_dynpro_events.intf.abap:
--------------------------------------------------------------------------------
1 | "! Events for GUI
2 | INTERFACE zif_uitb_gui_dynpro_events
3 | PUBLIC .
4 | "! Event for Screen repainting
5 | "!
6 | EVENTS before_output
7 | EXPORTING
8 | VALUE(eo_callback) TYPE REF TO zif_uitb_gui_pbo_callback.
9 | "! Event Entered user command
10 | EVENTS user_command
11 | EXPORTING
12 | VALUE(ev_function_id) TYPE ui_func.
13 | "! Exit event from Screen
14 | "!
15 | EVENTS exit
16 | EXPORTING
17 | VALUE(eo_callback) TYPE REF TO zif_uitb_exit_callback.
18 |
19 | "! Screen was exited
20 | "!
21 | EVENTS exited.
22 |
23 | ENDINTERFACE.
24 |
--------------------------------------------------------------------------------
/src/zuitb_code_viewer_theme.dtel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_CODE_VIEWER_THEME
7 | E
8 | ZUITB_CODE_VIEWER_THEME
9 | 55
10 | 10
11 | 20
12 | 40
13 | Theme for Code Viewer
14 | Code Viewer Theme
15 | Theme
16 | Theme
17 | Code Viewer Theme
18 | E
19 | D
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/src/zuitb_line_number.dtel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_LINE_NUMBER
7 | E
8 | 06
9 | 10
10 | 20
11 | 40
12 | Line Number in Coding
13 | Line
14 | Line
15 | Line Number
16 | Line Number in Coding
17 | E
18 | INT2
19 | 000005
20 | 000006
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_data_list.clas.macros.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for any macro definitions you need
2 | *"* in the implementation part of the class
3 | define assign_table.
4 | field-SYMBOLS: type table.
5 | assign &1->* to .
6 | end-OF-DEFINITION.
7 |
8 | define assign_struct.
9 | field-symbols: type any.
10 |
11 | assign &1->* to .
12 | end-of-definition.
13 |
14 | define create_line.
15 | data: lr_s_&1 type ref to data.
16 | FIELD-symbols: type any.
17 |
18 | create data lr_s_&1 type handle mr_line_type.
19 |
20 | assign lr_s_&1->* to .
21 |
22 | end-of-definition.
23 |
24 | define create_table.
25 | data: lr_t_&1 type ref to data.
26 | FIELD-symbols: type any.
27 |
28 | create data lr_t_&1 type handle mr_table_type.
29 |
30 | assign lr_t_&1->* to .
31 |
32 | end-of-definition.
33 |
--------------------------------------------------------------------------------
/src/gui/zcx_uitb_gui_exception.clas.abap:
--------------------------------------------------------------------------------
1 | "! Generic GUI Error
2 | CLASS zcx_uitb_gui_exception DEFINITION
3 | PUBLIC
4 | INHERITING FROM zcx_uitb_nc_exception
5 | CREATE PUBLIC .
6 |
7 | PUBLIC SECTION.
8 |
9 | CONSTANTS:
10 | "! Generic Exception message
11 | BEGIN OF zcx_uitb_gui_exception,
12 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
13 | msgno TYPE symsgno VALUE '011',
14 | attr1 TYPE scx_attrname VALUE '',
15 | attr2 TYPE scx_attrname VALUE '',
16 | attr3 TYPE scx_attrname VALUE '',
17 | attr4 TYPE scx_attrname VALUE '',
18 | END OF zcx_uitb_gui_exception .
19 | PROTECTED SECTION.
20 | PRIVATE SECTION.
21 | ENDCLASS.
22 |
23 |
24 |
25 | CLASS zcx_uitb_gui_exception IMPLEMENTATION.
26 |
27 | ENDCLASS.
28 |
--------------------------------------------------------------------------------
/src/zcl_uitb_protocol_alv.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_PROTOCOL_ALV
7 | E
8 | ALV for protocol output
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 | -
16 | I
17 | 001
18 | Type
19 | 14
20 |
21 | -
22 | I
23 | 002
24 | Message
25 | 17
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_screen.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_SCREEN
7 | E
8 | GUI Screen
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | LEAVE_SCREEN
16 | E
17 | Leaves the current screen
18 |
19 |
20 | SHOW
21 | E
22 | Displays the screen
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/zif_uitb_content_searcher.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_CONTENT_SEARCHER
7 | E
8 | Content Searcher
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | SEARCH
16 | E
17 | Start searching
18 |
19 |
20 | SEARCH_NEXT
21 | E
22 | Continue searching
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_command.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_COMMAND
7 | E
8 | UI Command
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | SET_CONTEXT_MENU
16 | E
17 | Adds the given menu to the command
18 |
19 |
20 | TY_COMMAND_TYPE
21 | E
22 | Type of command
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/zif_uitb_exit_callback.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_EXIT_CALLBACK
7 | E
8 | Callback for EXIT event
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | CANCEL_EXIT
16 | E
17 | Cancel the Exit Call
18 |
19 |
20 | EXIT_CANCELLED
21 | E
22 | Signals that the exit was cancelled
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/zcl_uitb_abap_code_viewer.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ABAP_CODE_VIEWER
7 | E
8 | Show ABAP Code with correct syntax highligting
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 | -
16 | I
17 | 001
18 | Code output
19 | 21
20 |
21 | -
22 | I
23 | 002
24 | Source Code is being prepared...
25 | 64
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/zif_uitb_exception_message.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_EXCEPTION_MESSAGE
7 | E
8 | Message of Exception
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | GET_MESSAGE
16 | E
17 | Retrieve the message from the exception
18 |
19 |
20 | PRINT
21 | E
22 | Prints exception message to string or screen
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_composite_view.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_COMPOSITE_VIEW
7 | E
8 | UI Composite View - Consists of several views
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | EXECUTE_COMMAND
16 | E
17 | Executes the given command
18 |
19 |
20 | SET_CHILD_VISIBILITY
21 | E
22 | Set Child visible/hidden
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_pgv_default_checks.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_PGV_DEFAULT_CHECKS
7 | E
8 | Perform default field validation checks
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CHECK_FIELDS
17 | E
18 | Checks field values
19 |
20 |
21 | CONSTRUCTOR
22 | E
23 | Creates new instance
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/trees/zif_uitb_c_ctm_style.intf.abap:
--------------------------------------------------------------------------------
1 | interface ZIF_UITB_C_CTM_STYLE
2 | public .
3 |
4 |
5 | constants DEFAULT type I value CL_TREE_MODEL=>STYLE_DEFAULT ##NO_TEXT.
6 | constants INVERTED_BLUE type I value CL_TREE_MODEL=>STYLE_INTENSIFIED ##NO_TEXT.
7 | constants INVERTED_GRAY type I value CL_TREE_MODEL=>STYLE_INACTIVE ##NO_TEXT.
8 | constants INVERTED_LIGHT_RED type I value CL_TREE_MODEL=>STYLE_INTENSIFD_CRITICAL ##NO_TEXT.
9 | constants LIGHT_BLUE type I value CL_TREE_MODEL=>STYLE_EMPHASIZED_A ##NO_TEXT.
10 | constants LIGHT_GRAY_BLUE type I value CL_TREE_MODEL=>STYLE_EMPHASIZED_B ##NO_TEXT.
11 | constants LIGHT_GREEN type I value CL_TREE_MODEL=>STYLE_EMPHASIZED_POSITIVE ##NO_TEXT.
12 | constants LIGHT_ORANGE type I value CL_TREE_MODEL=>STYLE_EMPHASIZED_C ##NO_TEXT.
13 | constants LIGHT_RED type I value CL_TREE_MODEL=>STYLE_EMPHASIZED_NEGATIVE ##NO_TEXT.
14 | constants LIGHT_YELLOW type I value CL_TREE_MODEL=>STYLE_EMPHASIZED ##NO_TEXT.
15 | endinterface.
16 |
--------------------------------------------------------------------------------
/src/popup/zif_uitb_pgv_check_evt_fields.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_PGV_CHECK_EVT_FIELDS
7 | E
8 | Fields in check event of Input dialog
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | GET_FIELDS
16 | E
17 | Returns the fields with the current values
18 |
19 |
20 | SET_VALIDATION_ERROR
21 | E
22 | Sets validation error
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_pgv_exit_events.clas.abap:
--------------------------------------------------------------------------------
1 | "! Events for popup_get_values checks
2 | CLASS zcl_uitb_pgv_exit_events DEFINITION
3 | PUBLIC
4 | FINAL
5 | CREATE PUBLIC .
6 |
7 | PUBLIC SECTION.
8 | "! Event to check field
9 | CLASS-EVENTS check_field_values
10 | EXPORTING
11 | VALUE(eo_fields) TYPE REF TO zif_uitb_pgv_check_evt_fields.
12 |
13 | "! Raises CHECK_VALUE event
14 | CLASS-METHODS raise_check_values_event
15 | IMPORTING
16 | io_fields TYPE REF TO zif_uitb_pgv_check_evt_fields.
17 | PROTECTED SECTION.
18 | PRIVATE SECTION.
19 | ENDCLASS.
20 |
21 |
22 |
23 | CLASS zcl_uitb_pgv_exit_events IMPLEMENTATION.
24 |
25 | METHOD raise_check_values_event.
26 | RAISE EVENT check_field_values
27 | EXPORTING
28 | eo_fields = io_fields.
29 | ENDMETHOD.
30 |
31 | ENDCLASS.
32 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_pgv_exit_events.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_PGV_EXIT_EVENTS
7 | E
8 | Events for popup_get_values checks
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CHECK_FIELD_VALUES
17 | E
18 | Event to check field
19 |
20 |
21 | RAISE_CHECK_VALUES_EVENT
22 | E
23 | Raises CHECK_VALUE event
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_pgv_factory.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_PGV_FACTORY
7 | E
8 | Factory for creating popups for data input
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CREATE_POPUP
17 | E
18 | Creates new popup
19 |
20 |
21 | CREATE_SINGLE_FIELD_POPUP
22 | E
23 | Creates new popup with one field
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_dialog.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_DIALOG
7 | E
8 | Non modal generic dialog with optional toolbar
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | Creates new Generic non modal dialog
19 |
20 |
21 | ON_CLOSE
22 | E
23 | Close handler for dialog box container
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/zuitb_field_range_map.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_FIELD_RANGE_MAP
7 | E
8 | INTTAB
9 | Range table for a field
10 | 1
11 |
12 |
13 |
14 | FIELDNAME
15 | FIELDNAME
16 | 0
17 | E
18 |
19 |
20 | SELOPT_ITAB
21 | ZUITB_GENERIC_RANGE_ITAB
22 | 0
23 | TTYP
24 | TTYPL
25 | L
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_func_settings.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCL_UITB_alv_func_settings DEFINITION
2 | PUBLIC
3 | INHERITING FROM ZCL_UITB_alv_metadata
4 | FINAL
5 | CREATE PUBLIC.
6 |
7 | PUBLIC SECTION.
8 | METHODS constructor
9 | IMPORTING
10 | ir_controller TYPE REF TO ZIF_UITB_alv_metadata_ctrller.
11 | METHODS get_dropdowns
12 | RETURNING
13 | VALUE(result) TYPE REF TO ZCL_UITB_alv_dropdowns.
14 | PROTECTED SECTION.
15 | PRIVATE SECTION.
16 | DATA mr_dropdowns TYPE REF TO ZCL_UITB_alv_dropdowns.
17 | ENDCLASS.
18 |
19 |
20 |
21 | CLASS ZCL_UITB_alv_func_settings IMPLEMENTATION.
22 |
23 | METHOD constructor.
24 | super->constructor(
25 | io_controller = ir_controller
26 | iv_name = 'FUCTIONAL_SETTINGS'
27 | ).
28 | ENDMETHOD.
29 |
30 | METHOD get_dropdowns.
31 | IF mr_dropdowns IS INITIAL.
32 | mr_dropdowns = NEW #( ir_controller = mr_controller ).
33 | ENDIF.
34 |
35 | result = mr_dropdowns.
36 | ENDMETHOD.
37 |
38 | ENDCLASS.
39 |
--------------------------------------------------------------------------------
/src/zuitb_global_object_map.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GLOBAL_OBJECT_MAP
7 | E
8 | INTTAB
9 | Maps global object to global variable name
10 | 1
11 |
12 |
13 |
14 | VARIABLE_NAME
15 | FIELDNAME
16 | 0
17 | E
18 |
19 |
20 | GLOBAL_REF
21 | OBJECT
22 | 0
23 | REF
24 | REF RO
25 | R
26 | O
27 |
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_control.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_CONTROL
7 | E
8 | GUI Control
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | FOCUS
16 | E
17 | Set focus to control
18 |
19 |
20 | FREE
21 | E
22 | Frees the gui control
23 |
24 |
25 | HAS_FOCUS
26 | E
27 | Checks if the control has the focus
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/zcl_uitb_code_completer.clas.locals_def.abap:
--------------------------------------------------------------------------------
1 | *"* use this source file for any type of declarations (class
2 | *"* definitions, interfaces or type declarations) you need for
3 | *"* components in the private section
4 | CLASS lcl_adt_cc DEFINITION
5 | INHERITING FROM cl_cc_adt_res_code_completion.
6 |
7 | PROTECTED SECTION.
8 | METHODS determine_input_data
9 | REDEFINITION.
10 | ENDCLASS.
11 |
12 | CLASS lcl_completion_request DEFINITION.
13 | PUBLIC SECTION.
14 | INTERFACES if_adt_rest_request.
15 |
16 | METHODS constructor
17 | IMPORTING
18 | it_source_code TYPE rswsourcet
19 | iv_position_x TYPE i
20 | iv_position_y TYPE i.
21 |
22 | DATA mt_source_code TYPE rswsourcet READ-ONLY.
23 | DATA mv_position_x TYPE i READ-ONLY.
24 | DATA mv_position_y TYPE i READ-ONLY.
25 | PRIVATE SECTION.
26 | ENDCLASS.
27 |
28 | CLASS lcl_completion_response DEFINITION.
29 | PUBLIC SECTION.
30 | INTERFACES if_adt_rest_response.
31 |
32 | DATA mt_completion_results TYPE scc_adt_completion_results READ-ONLY.
33 | ENDCLASS.
34 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_metadata.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCL_UITB_alv_metadata DEFINITION
2 | PUBLIC
3 | ABSTRACT
4 | CREATE PUBLIC .
5 |
6 | PUBLIC SECTION.
7 | METHODS constructor
8 | IMPORTING
9 | io_controller TYPE REF TO ZIF_UITB_alv_metadata_ctrller
10 | iv_name TYPE string OPTIONAL .
11 | PROTECTED SECTION.
12 | DATA mr_controller TYPE REF TO ZIF_UITB_alv_metadata_ctrller.
13 | DATA mv_name TYPE string.
14 |
15 | METHODS set_setter_changed
16 | IMPORTING
17 | iv_method TYPE string.
18 | private section.
19 | ENDCLASS.
20 |
21 |
22 |
23 | CLASS ZCL_UITB_ALV_METADATA IMPLEMENTATION.
24 |
25 |
26 | METHOD constructor.
27 | mr_controller = io_controller.
28 | mv_name = iv_name.
29 | ENDMETHOD.
30 |
31 |
32 | METHOD set_setter_changed.
33 | mr_controller->set_changed(
34 | iv_name = mv_name
35 | iv_flavour = zif_uitb_c_alv_chglist_flavor=>setter
36 | iv_refresh_mode = zif_uitb_c_alv_refresh=>soft
37 | iv_method = iv_method
38 | ).
39 | ENDMETHOD.
40 | ENDCLASS.
41 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_display_types.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_DISPLAY_TYPES
7 | E
8 | Display types for alv
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | DIALOG
16 | E
17 | ALV is shown in a non modal dialog
18 |
19 |
20 | EMBEDDED
21 | E
22 | ALV is shown in container of existing view
23 |
24 |
25 | MODAL_DIALOG
26 | E
27 | ALV is shown in a modal dialog
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_layout_restrict.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_LAYOUT_RESTRICT
7 | E
8 | Layout Restrictions for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | RESTRICT_CROSS_USER
16 | E
17 | Allow User-Specific
18 |
19 |
20 | RESTRICT_NONE
21 | E
22 | Allow Cross-User and User-Specific
23 |
24 |
25 | RESTRICT_USER_SPECIFIC
26 | E
27 | Allow Cross-User
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_simple_command.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS zcl_uitb_gui_simple_command DEFINITION
2 | PUBLIC
3 | FINAL
4 | CREATE PUBLIC .
5 |
6 | PUBLIC SECTION.
7 | INTERFACES zif_uitb_gui_command.
8 |
9 | ALIASES mv_function
10 | FOR zif_uitb_gui_command~mv_function.
11 | ALIASES mr_params
12 | FOR zif_uitb_gui_command~mr_params.
13 | ALIASES mv_type
14 | FOR zif_uitb_gui_command~mv_type.
15 | DATA mo_menu TYPE REF TO cl_ctmenu READ-ONLY.
16 |
17 | METHODS constructor
18 | IMPORTING
19 | iv_function TYPE ui_func
20 | iv_type TYPE zif_uitb_gui_command=>ty_command_type DEFAULT zif_uitb_gui_command=>c_command_type-normal
21 | ir_params TYPE REF TO data OPTIONAL.
22 | PROTECTED SECTION.
23 | PRIVATE SECTION.
24 | ENDCLASS.
25 |
26 |
27 |
28 | CLASS zcl_uitb_gui_simple_command IMPLEMENTATION.
29 | METHOD constructor.
30 | mv_function = iv_function.
31 | mv_type = iv_type.
32 | mr_params = ir_params.
33 | ENDMETHOD.
34 |
35 | METHOD zif_uitb_gui_command~set_context_menu.
36 | mo_menu = io_menu.
37 | ENDMETHOD.
38 |
39 |
40 | ENDCLASS.
41 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_editor_dnd_object.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_EDITOR_DND_OBJECT
7 | E
8 | Drag-n-Drop Object for Editor
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | Creates new dnd object for editor
19 |
20 |
21 | GET_TEXT
22 | E
23 | Retrieve stored text
24 |
25 |
26 | IS_LONG_TEXT
27 | E
28 | Is this a long text?
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.lzuitb_gui_frameworkd01.abap:
--------------------------------------------------------------------------------
1 | CLASS lcl_exit_callback DEFINITION.
2 | PUBLIC SECTION.
3 | INTERFACES zif_uitb_exit_callback.
4 | PRIVATE SECTION.
5 | DATA: mf_exit_cancelled TYPE sap_bool.
6 | ENDCLASS.
7 |
8 | CLASS lcl_local_controller DEFINITION.
9 | PUBLIC SECTION.
10 | CLASS-METHODS pai.
11 | CLASS-METHODS pbo.
12 | CLASS-METHODS exit.
13 | CLASS-METHODS clean_up.
14 | CLASS-METHODS leave_screen.
15 | PRIVATE SECTION.
16 | CLASS-METHODS clear_functions.
17 | CLASS-METHODS fill_dynamic_functions.
18 | CLASS-METHODS should_exit
19 | CHANGING
20 | cf_exit TYPE abap_bool.
21 | ENDCLASS.
22 |
23 | CLASS lcl_pbo_callback DEFINITION.
24 |
25 | PUBLIC SECTION.
26 | DATA mt_fkey_map TYPE zif_uitb_ty_gui_screen=>ty_t_fkey_map READ-ONLY.
27 | DATA mt_function_exclude TYPE STANDARD TABLE OF sy-ucomm READ-ONLY.
28 |
29 | INTERFACES zif_uitb_gui_pbo_callback.
30 | METHODS constructor
31 | IMPORTING
32 | if_first_screen_call TYPE sap_bool.
33 | PRIVATE SECTION.
34 | DATA mf_is_first_screen_call TYPE sap_bool.
35 | ENDCLASS.
36 |
--------------------------------------------------------------------------------
/src/zcx_uitb_exception.clas.abap:
--------------------------------------------------------------------------------
1 | "! General Error
2 | CLASS zcx_uitb_exception DEFINITION
3 | PUBLIC
4 | INHERITING FROM zcx_uitb_nc_exception
5 | FINAL
6 | CREATE PUBLIC .
7 |
8 | PUBLIC SECTION.
9 |
10 | CONSTANTS:
11 | BEGIN OF general_error,
12 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
13 | msgno TYPE symsgno VALUE '000',
14 | attr1 TYPE scx_attrname VALUE 'MSGV1',
15 | attr2 TYPE scx_attrname VALUE 'MSGV2',
16 | attr3 TYPE scx_attrname VALUE 'MSGV3',
17 | attr4 TYPE scx_attrname VALUE 'MSGV4',
18 | END OF general_error,
19 | BEGIN OF cancelled_by_user,
20 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
21 | msgno TYPE symsgno VALUE '002',
22 | attr1 TYPE scx_attrname VALUE '',
23 | attr2 TYPE scx_attrname VALUE '',
24 | attr3 TYPE scx_attrname VALUE '',
25 | attr4 TYPE scx_attrname VALUE '',
26 | END OF cancelled_by_user.
27 | PROTECTED SECTION.
28 | PRIVATE SECTION.
29 | ENDCLASS.
30 |
31 |
32 | CLASS zcx_uitb_exception IMPLEMENTATION.
33 |
34 | ENDCLASS.
35 |
--------------------------------------------------------------------------------
/src/trees/zcl_uitb_ctm_events.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_CTM_EVENTS
7 | E
8 | Events of Column Tree Model
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | ADD_KEY_FOR_KEYPRESS
17 | E
18 | Adds key for keypress event
19 |
20 |
21 | BUILD_EVENTS
22 | E
23 | Build events table
24 |
25 |
26 | REMOVE_ALL_KEY_STROKES
27 | E
28 | Removes all registered key strokes
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/zif_uitb_pbo_callback.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_pbo_callback
2 | PUBLIC .
3 |
4 | "! Deactivates the given function
5 | "! @parameter iv_function | the function id to be deactivated
6 | METHODS deactivate_function
7 | IMPORTING
8 | iv_function TYPE ui_func.
9 | "! Deactivates the given functions
10 | "! @parameter it_functions | the functions to be deactivated
11 | METHODS deactivate_functions
12 | IMPORTING
13 | it_functions TYPE ui_functions.
14 | "! Sets the screen title
15 | "! @parameter iv_title | the new title of the screen
16 | METHODS set_title
17 | IMPORTING
18 | iv_title TYPE string.
19 |
20 | METHODS set_status
21 | IMPORTING
22 | iv_status TYPE syst_pfkey
23 | iv_progname TYPE sy-repid OPTIONAL.
24 | "! Returns 'X' if first screen call
25 | "! is still in progress
26 | "! @parameter rf_is_first | first screen call in progress
27 | METHODS is_first_screen_call
28 | RETURNING
29 | VALUE(rf_is_first) TYPE sap_bool.
30 |
31 | "! Leaves the current screen and
32 | "! goes back to previous one
33 | METHODS exit_screen.
34 | ENDINTERFACE.
35 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2019 Ludwig Stockbauer-Muhr
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
--------------------------------------------------------------------------------
/src/zuitb_protocol_info.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_PROTOCOL_INFO
7 | E
8 | INTTAB
9 | Data for Generation Protocol
10 | E
11 | 1
12 |
13 |
14 |
15 | TYPE_ICON
16 | ICON_D
17 | 0
18 | E
19 |
20 |
21 | LINE
22 | ZUITB_LINE_NUMBER
23 | 0
24 | E
25 |
26 |
27 | MESSAGE
28 | TEXT2048
29 | 0
30 | E
31 |
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.saplzuitb_gui_template.abap:
--------------------------------------------------------------------------------
1 | *******************************************************************
2 | * System-defined Include-files. *
3 | *******************************************************************
4 | INCLUDE lzuitb_gui_templatetop. " Global Data
5 | * INCLUDE lzuitb_gui_templated01.
6 |
7 | INCLUDE lzuitb_gui_templateuxx. " Function Modules
8 |
9 | *******************************************************************
10 | * User-defined Include-files (if necessary). *
11 | *******************************************************************
12 | * INCLUDE LZUITB_GUI_TEMPLATEF... " Subroutines
13 | * INCLUDE LZUITB_GUI_TEMPLATEO... " PBO-Modules
14 | * INCLUDE LZUITB_GUI_TEMPLATEI... " PAI-Modules
15 | * INCLUDE LZUITB_GUI_TEMPLATEE... " Events
16 | * INCLUDE LZUITB_GUI_TEMPLATEP... " Local class implement.
17 | * INCLUDE LZUITB_GUI_TEMPLATET99. " ABAP Unit tests
18 |
19 |
20 | INCLUDE lzuitb_gui_templatef01.
21 |
22 | INCLUDE lzuitb_gui_templatei01.
23 |
24 | INCLUDE lzuitb_gui_templateo01.
25 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_alv_function_holder.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_ALV_FUNCTION_HOLDER
7 | E
8 | Holds Function codes for ALV
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | FUNCTION_REGISTERED
16 | E
17 | Function was registered to ALV
18 |
19 |
20 | UNREGISTER_FUNCTION
21 | E
22 | Unregister single function
23 |
24 |
25 | UNREGISTER_FUNCTIONS
26 | E
27 | Unregister multiple functions for either toolbar or menu
28 |
29 |
30 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/zuitb_code_viewer_theme.doma.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_CODE_VIEWER_THEME
7 | E
8 | CHAR
9 | 000001
10 | 000001
11 | X
12 | Themes for Code Viewer
13 | E
14 |
15 |
16 |
17 | 0001
18 | E
19 | 1
20 | Default
21 |
22 |
23 | 0002
24 | E
25 | 2
26 | Coy
27 |
28 |
29 | 0003
30 | E
31 | 3
32 | A11y Dark
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_data_list.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_DATA_LIST
7 | E
8 | Dynamic Table
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CREATE_FOR_TABLE_NAME
17 | E
18 | Creates new list for given table name
19 |
20 |
21 | CREATE_FOR_TABLE_REF
22 | E
23 | Creates new list for given table ref
24 |
25 |
26 | CREATE_FOR_TABLE_TYPE
27 | E
28 | Creates new list for given table type name
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/zif_uitb_view.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_VIEW
7 | E
8 | View
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | FREE
16 | E
17 | Free allocated resources
18 |
19 |
20 | HIDE
21 | E
22 | Hides the view
23 |
24 |
25 | IS_VISIBLE
26 | E
27 | Is this view visible
28 |
29 |
30 | SHOW
31 | E
32 | Displays the view
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/zif_uitb_view.intf.abap:
--------------------------------------------------------------------------------
1 | "! View
2 | INTERFACE zif_uitb_view
3 | PUBLIC .
4 |
5 | DATA mf_visible TYPE abap_bool .
6 |
7 | "! Displays the view
8 | "!
9 | "! If the control is a Non modal dialog the metric value is in
10 | "! Pixel. Also the additional parameter if_center is only
11 | "! valid for a non modal dialog and automatically centers the dialog on the
12 | "! current screen
13 | METHODS show
14 | IMPORTING
15 | if_center TYPE abap_bool OPTIONAL
16 | !iv_start_line TYPE i OPTIONAL
17 | !iv_start_column TYPE i OPTIONAL
18 | !iv_end_line TYPE i OPTIONAL
19 | !iv_end_column TYPE i OPTIONAL .
20 | "! Is this view visible
21 | "!
22 | METHODS is_visible DEFAULT IGNORE
23 | RETURNING
24 | VALUE(result) TYPE abap_bool .
25 | "! Hides the view
26 | "!
27 | METHODS hide DEFAULT IGNORE .
28 | "! Free allocated resources
29 | "!
30 | METHODS free DEFAULT IGNORE .
31 | ENDINTERFACE.
32 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_data.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_DATA
7 | E
8 | Data of ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | SET_CHANGE_EVENT
17 | E
18 | Sets the change event type
19 |
20 |
21 | SET_CONTAINER_FOR_LOG
22 | E
23 | Sets container for application log
24 |
25 |
26 |
27 |
28 | SET_CONTAINER_FOR_LOG
29 | IO_CONTAINER
30 | E
31 | Container reference for log
32 |
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_fieldcat_util.clas.abap:
--------------------------------------------------------------------------------
1 | class ZCL_UITB_ALV_FIELDCAT_UTIL definition
2 | public
3 | final
4 | create public .
5 |
6 | public section.
7 |
8 | class-methods CREATE_FIELD_CATALOG
9 | importing
10 | !IR_TABLE type ref to DATA
11 | !IV_FIELD_LANGUAGE type LANGU default SY-LANGU
12 | !IF_EDITABLE type ABAP_BOOL optional
13 | returning
14 | value(RESULT) type LVC_T_FCAT .
15 | protected section.
16 | private section.
17 | ENDCLASS.
18 |
19 |
20 |
21 | CLASS ZCL_UITB_ALV_FIELDCAT_UTIL IMPLEMENTATION.
22 |
23 |
24 | METHOD create_field_catalog.
25 | *... create alv object to get all information about the fields in the table
26 | DATA(lr_alv) = zcl_uitb_alv=>create_alv(
27 | ir_data = ir_table
28 | iv_description_language = iv_field_language
29 | ir_container = cl_gui_container=>screen0
30 | if_editable = if_editable
31 | ).
32 |
33 | *... retrieve field catalog information
34 | result = zcl_uitb_alv_metadata_util=>set_fieldcatalog(
35 | ir_columns = lr_alv->get_columns( )
36 | ir_display_settings = lr_alv->get_display_settings( )
37 | ).
38 | ENDMETHOD.
39 | ENDCLASS.
40 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_function_type.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_ALV_FUNCTION_TYPE
7 | E
8 | Type of ALV Function
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | BUTTON
16 | E
17 | Button
18 |
19 |
20 | DROPDOWN_BUTTON
21 | E
22 | Dropdown Button (Only menu)
23 |
24 |
25 | MENU_BUTTON
26 | E
27 | Menu Button (Function + Menu)
28 |
29 |
30 | SEPARATOR
31 | E
32 | Separator
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_dynpro_events.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_GUI_DYNPRO_EVENTS
7 | E
8 | Events for GUI
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | BEFORE_OUTPUT
16 | E
17 | Event for Screen repainting
18 |
19 |
20 | EXIT
21 | E
22 | Exit event from Screen
23 |
24 |
25 | EXITED
26 | E
27 | Screen was exited
28 |
29 |
30 | USER_COMMAND
31 | E
32 | Event Entered user command
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/zcl_uitb_appl_util.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_APPL_UTIL
7 | E
8 | Application Utils
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 | -
16 | I
17 | 001
18 | Yes
19 | 13
20 |
21 | -
22 | I
23 | 002
24 | No
25 | 12
26 |
27 |
28 |
29 |
30 | BUILD_SELOPT
31 | E
32 | Erzeugt selopt aus einem Wert
33 |
34 |
35 | BUILD_SELOPT_TAB_FROM_TABLE
36 | E
37 | Erstellt selopt-Tabelle aus Tabelle
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/src/zuitb_abap_compdescr.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_ABAP_COMPDESCR
7 | E
8 | INTTAB
9 | ABAP Component description
10 | 1
11 |
12 |
13 |
14 | LENGTH
15 | INT4
16 | 0
17 | E
18 |
19 |
20 | DECIMALS
21 | INT4
22 | 0
23 | E
24 |
25 |
26 | TYPE_KIND
27 | CHAR1
28 | 0
29 | E
30 |
31 |
32 | NAME
33 | CHAR30
34 | 0
35 | E
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.saplzuitb_gui_framework.abap:
--------------------------------------------------------------------------------
1 | *******************************************************************
2 | * System-defined Include-files. *
3 | *******************************************************************
4 | INCLUDE LZUITB_GUI_FRAMEWORKTOP. " Global Data
5 | * INCLUDE lzuitb_gui_templated01.
6 |
7 | INCLUDE LZUITB_GUI_FRAMEWORKUXX. " Function Modules
8 |
9 | *******************************************************************
10 | * User-defined Include-files (if necessary). *
11 | *******************************************************************
12 | * INCLUDE LZUITB_GUI_TEMPLATEF... " Subroutines
13 | * INCLUDE LZUITB_GUI_TEMPLATEO... " PBO-Modules
14 | * INCLUDE LZUITB_GUI_TEMPLATEI... " PAI-Modules
15 | * INCLUDE LZUITB_GUI_TEMPLATEE... " Events
16 | * INCLUDE LZUITB_GUI_TEMPLATEP... " Local class implement.
17 | * INCLUDE LZUITB_GUI_TEMPLATET99. " ABAP Unit tests
18 |
19 |
20 | INCLUDE LZUITB_GUI_FRAMEWORKF01.
21 | * INCLUDE lzuitb_gui_templatef01.
22 |
23 | INCLUDE LZUITB_GUI_FRAMEWORKI01.
24 | * INCLUDE lzuitb_gui_templatei01.
25 |
26 | INCLUDE LZUITB_GUI_FRAMEWORKO01.
27 | * INCLUDE lzuitb_gui_templateo01.
28 |
--------------------------------------------------------------------------------
/src/trees/zcl_uitb_ctm_search.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_CTM_SEARCH
7 | E
8 | Search functionality for Column Tree Model
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CONSTRUCTOR
17 | E
18 | CONSTRUCTOR
19 |
20 |
21 | FIND
22 | E
23 | Start search in tree
24 |
25 |
26 | FIND_NEXT
27 | E
28 | Find next result in tree
29 |
30 |
31 | MR_MODEL
32 | E
33 | Column Tree Control with Data Management at Backend
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_metadata_util.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_METADATA_UTIL
7 | E
8 | Util for Handling Meta Data of ALV
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | GET_VARIANT
17 | E
18 | Get Variant
19 |
20 |
21 | GET_VARIANT_DEFAULT
22 | E
23 | Get default flag for ALV Variant
24 |
25 |
26 | GET_VARIANT_SAVE
27 | E
28 | Get Save option for ALV Variant
29 |
30 |
31 | SET_VARIANT
32 | E
33 | Set Variant
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/gui/zcl_uitb_gui_dynpro_handler.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_GUI_DYNPRO_HANDLER
7 | E
8 | Handler for Dynpro to GUI Callback
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | FREE_RESOURCES
17 | E
18 | Frees allocated resources
19 |
20 |
21 | RAISE_BEFORE_OUTPUT
22 | E
23 | Raises the PBO event
24 |
25 |
26 | RAISE_EXIT
27 | E
28 | Raises the exit event
29 |
30 |
31 | RAISE_USER_COMMAND
32 | E
33 | Raises the PAI event
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/zuitb_global_data_ref.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GLOBAL_DATA_REF
7 | E
8 | INTTAB
9 | Reference to global data field
10 | E
11 | 1
12 |
13 |
14 |
15 | FIELD_REF
16 | DATA
17 | 0
18 | REF
19 | REF RD
20 | R
21 | D
22 |
23 |
24 | FIELD_NAME
25 | 0
26 | g
27 | 000008
28 | STRG
29 | STRG
30 | Full name of the registered Field
31 |
32 |
33 | REPID
34 | SYST_CPROG
35 | 0
36 | E
37 |
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_data_descr.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_DATA_DESCR
7 | E
8 | Data Describer for ALV Columns
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | DESCRIBE_TABLE
17 | E
18 | Gibt eine Beschreibung der Metadaten einer Struktur
19 |
20 |
21 | FILL_COLUMN
22 | E
23 | Setzt DDIC Informationen in Spaltenobjekt
24 |
25 |
26 | READ_STRUCTDESCR
27 | E
28 | liest ABAP Struktur Beschreibung
29 |
30 |
31 | TRANSFORM
32 | E
33 | Transformiert den Inhalt von dfies für geschachtelte Aufrufe
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.zuitb_call_template_screen.abap:
--------------------------------------------------------------------------------
1 | FUNCTION ZUITB_CALL_TEMPLATE_SCREEN.
2 | *"----------------------------------------------------------------------
3 | *"*"Local Interface:
4 | *" IMPORTING
5 | *" REFERENCE(IV_PROGRAM_TITLE) TYPE CUA_TIT_TX
6 | *" REFERENCE(IR_CALLBACK) TYPE REF TO
7 | *" ZCL_UITB_TEMPLT_PROG_CALLBACK
8 | *" REFERENCE(IT_DYNAMIC_FUNCTIONS) TYPE
9 | *" ZCL_UITB_TEMPLT_PROG_CALLBACK=>TT_DYNAMIC_FUNCTIONS
10 | *" REFERENCE(IV_START_LINE) TYPE I OPTIONAL
11 | *" REFERENCE(IV_START_COLUMN) TYPE I OPTIONAL
12 | *" REFERENCE(IV_END_LINE) TYPE I OPTIONAL
13 | *" REFERENCE(IV_END_COLUMN) TYPE I OPTIONAL
14 | *"----------------------------------------------------------------------
15 | " save current controller
16 | IF gs_view_data IS NOT INITIAL.
17 | INSERT gs_view_data INTO gt_view_controller INDEX 1.
18 | CLEAR gs_view_data.
19 | ENDIF.
20 |
21 | gs_view_data-controller = ir_callback.
22 | gs_view_data-functions = it_dynamic_functions.
23 | gs_view_data-title = iv_program_title.
24 | gs_view_data-is_first_call = abap_true.
25 |
26 | IF iv_start_line IS NOT INITIAL.
27 | gs_view_data-as_dialog = abap_true.
28 | CALL SCREEN 0101 STARTING AT iv_start_column iv_start_line ENDING AT iv_end_column iv_end_line.
29 | ELSE.
30 | CALL SCREEN 0100.
31 | ENDIF.
32 |
33 | ENDFUNCTION.
34 |
--------------------------------------------------------------------------------
/src/zuitb_generic_range.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_GENERIC_RANGE
7 | E
8 | INTTAB
9 | Generic Range
10 | 1
11 |
12 |
13 |
14 | SIGN
15 | DDSIGN
16 | 0
17 | X
18 | F
19 | E
20 |
21 |
22 | OPTION
23 | DDOPTION
24 | 0
25 | X
26 | F
27 | E
28 |
29 |
30 | LOW
31 | CHAR128
32 | 0
33 | E
34 |
35 |
36 | HIGH
37 | CHAR128
38 | 0
39 | E
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_list_iterator.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCL_UITB_list_iterator DEFINITION
2 | PUBLIC
3 | CREATE PROTECTED.
4 |
5 | PUBLIC SECTION.
6 | INTERFACES ZIF_UITB_iterator.
7 | CLASS-METHODS create
8 | IMPORTING
9 | ir_list TYPE REF TO ZIF_UITB_list
10 | RETURNING
11 | VALUE(rr_iterator) TYPE REF TO ZIF_UITB_iterator.
12 | PROTECTED SECTION.
13 | METHODS constructor
14 | IMPORTING
15 | ir_list TYPE REF TO ZIF_UITB_list.
16 | PRIVATE SECTION.
17 | DATA mr_list TYPE REF TO ZIF_UITB_list.
18 | DATA mv_index TYPE sy-tabix.
19 | DATA mv_size TYPE sy-tabix.
20 |
21 | ENDCLASS.
22 |
23 |
24 |
25 | CLASS ZCL_UITB_LIST_ITERATOR IMPLEMENTATION.
26 |
27 |
28 | METHOD constructor.
29 | mr_list = ir_list.
30 | mv_size = mr_list->size( ).
31 | ENDMETHOD.
32 |
33 |
34 | METHOD create.
35 | rr_iterator = new ZCL_UITB_list_iterator( ir_list = ir_list ).
36 | ENDMETHOD.
37 |
38 |
39 | METHOD ZIF_UITB_iterator~get_next.
40 | ADD 1 TO mv_index.
41 | rr_element = mr_list->get_element( mv_index ).
42 | ENDMETHOD.
43 |
44 |
45 | METHOD ZIF_UITB_iterator~has_next.
46 | DATA(lv_index) = mv_index + 1.
47 | TRY.
48 | mr_list->get_element( iv_index = lv_index ).
49 | rf_has_next = abap_true.
50 | CATCH ZCX_UITB_element_not_found.
51 | ENDTRY.
52 | ENDMETHOD.
53 | ENDCLASS.
54 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_filter.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_ALV_FILTER
7 | E
8 | Filter for ALV Column
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | ADD_SELOPT
17 | E
18 | Filterbedingung hinzufügen
19 |
20 |
21 | CLEAR
22 | E
23 | Filterbedingungen löschen
24 |
25 |
26 | CONSTRUCTOR
27 | E
28 | Konstruktor
29 |
30 |
31 | GET
32 | E
33 | Filterbedingungen holen
34 |
35 |
36 | GET_COLUMNNAME
37 | E
38 | Spaltenname holen
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/zcl_uitb_message_util.clas.abap:
--------------------------------------------------------------------------------
1 | "! Message Utility
2 | CLASS zcl_uitb_message_util DEFINITION
3 | PUBLIC
4 | FINAL
5 | CREATE PRIVATE.
6 |
7 | PUBLIC SECTION.
8 | CLASS-METHODS:
9 | "! Splits text into sy-msg variables
10 | split_string_to_symsg
11 | IMPORTING
12 | iv_text TYPE string.
13 | PROTECTED SECTION.
14 | PRIVATE SECTION.
15 | ENDCLASS.
16 |
17 |
18 |
19 | CLASS zcl_uitb_message_util IMPLEMENTATION.
20 |
21 | METHOD split_string_to_symsg.
22 |
23 | DATA: lv_offset TYPE i.
24 |
25 | DATA(lv_rest_text) = iv_text.
26 |
27 | DATA(lv_msgv1) = lv_rest_text.
28 | SHIFT lv_rest_text LEFT BY 50 PLACES.
29 | DATA(lv_msgv2) = lv_rest_text.
30 | SHIFT lv_rest_text LEFT BY 50 PLACES.
31 | DATA(lv_msgv3) = lv_rest_text.
32 | SHIFT lv_rest_text LEFT BY 50 PLACES.
33 | DATA(lv_msgv4) = lv_rest_text.
34 |
35 | IF strlen( lv_rest_text ) > 50.
36 | FIND ALL OCCURRENCES OF REGEX '.\s.' IN SECTION LENGTH 47 OF lv_msgv4 MATCH OFFSET lv_offset.
37 | IF sy-subrc = 0.
38 | lv_offset = lv_offset + 1.
39 | lv_msgv4 = lv_msgv4(lv_offset).
40 |
41 | lv_msgv4 = |{ lv_msgv4 }...|.
42 | ENDIF.
43 | ENDIF.
44 |
45 | MESSAGE e001(00) WITH lv_msgv1 lv_msgv2 lv_msgv3 lv_msgv4 INTO DATA(lv_msg) ##NEEDED.
46 | ENDMETHOD.
47 |
48 | ENDCLASS.
49 |
--------------------------------------------------------------------------------
/src/zcl_uitb_cursor.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_CURSOR
7 | E
8 | Cursor for Screen
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | IS_UPDATED
17 | E
18 | Gets flag "is updated"
19 |
20 |
21 | IS_UPDATE_REQUESTED
22 | E
23 | Checks if a cursor update is requested
24 |
25 |
26 | REFRESH
27 | E
28 | Refresh screen cursor
29 |
30 |
31 | REQUEST_UPDATE
32 | E
33 | Request a cursor update
34 |
35 |
36 | SET_IS_UPDATED
37 | E
38 | Sets cursor to updated
39 |
40 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/zuitb_gui_template.fugr.lzuitb_gui_templated01.abap:
--------------------------------------------------------------------------------
1 | *&---------------------------------------------------------------------*
2 | *& Include LZUITB_GUI_TEMPLATED01
3 | *&---------------------------------------------------------------------*
4 | CLASS lcl_exit_callback DEFINITION.
5 | PUBLIC SECTION.
6 | INTERFACES zif_uitb_exit_callback.
7 | PRIVATE SECTION.
8 | DATA: mf_exit_cancelled TYPE sap_bool.
9 | ENDCLASS.
10 |
11 | CLASS lcl_local_controller DEFINITION.
12 | PUBLIC SECTION.
13 | CLASS-METHODS pai.
14 | CLASS-METHODS pbo.
15 | CLASS-METHODS exit.
16 | CLASS-METHODS clean_up.
17 | CLASS-METHODS leave_screen.
18 | PRIVATE SECTION.
19 | CLASS-METHODS clear_functions.
20 | CLASS-METHODS fill_dynamic_functions.
21 | CLASS-METHODS should_exit
22 | CHANGING
23 | cf_exit TYPE abap_bool.
24 | ENDCLASS.
25 |
26 | CLASS lcl_pai_callback DEFINITION.
27 | PUBLIC SECTION.
28 | INTERFACES zif_uitb_pai_callback.
29 | ENDCLASS.
30 |
31 | CLASS lcl_pbo_callback DEFINITION.
32 |
33 | PUBLIC SECTION.
34 | INTERFACES zif_uitb_pbo_callback.
35 | METHODS constructor
36 | IMPORTING
37 | if_first_screen_call TYPE sap_bool.
38 | METHODS get_exclude
39 | EXPORTING
40 | et_exclude_tab TYPE STANDARD TABLE.
41 | PRIVATE SECTION.
42 | DATA mt_function_exclude TYPE STANDARD TABLE OF sy-ucomm.
43 | DATA mf_is_first_screen_call TYPE sap_bool.
44 | ENDCLASS.
45 |
--------------------------------------------------------------------------------
/src/zcl_uitb_log.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS zcl_uitb_log DEFINITION
2 | PUBLIC
3 | FINAL
4 | CREATE PUBLIC .
5 |
6 | PUBLIC SECTION.
7 |
8 | METHODS add_from_sy
9 | IMPORTING
10 | !if_newobj TYPE protnewobj
11 | !iv_level TYPE protlevel .
12 | METHODS protocol_write .
13 | PROTECTED SECTION.
14 | PRIVATE SECTION.
15 |
16 | DATA mt_sprot_u TYPE sprot_u_t .
17 | ENDCLASS.
18 |
19 |
20 |
21 | CLASS ZCL_UITB_LOG IMPLEMENTATION.
22 |
23 |
24 | METHOD add_from_sy.
25 | * message level
26 | * 1 do not use
27 | * 2 errors and warnings which need action of customer
28 | * 3 warning and success messages
29 | * 4 additional info
30 |
31 | DATA ls_sprot_u TYPE sprot_u.
32 |
33 | APPEND VALUE sprot_u(
34 | level = iv_level
35 | severity = sy-msgty
36 | langu = sy-langu
37 | ag = sy-msgid
38 | msgnr = sy-msgno
39 | newobj = if_newobj
40 | var1 = sy-msgv1
41 | var2 = sy-msgv2
42 | var3 = sy-msgv3
43 | var4 = sy-msgv4
44 | ) TO mt_sprot_u.
45 |
46 | ENDMETHOD.
47 |
48 |
49 | METHOD protocol_write.
50 | CALL FUNCTION 'TR_APPEND_LOG'
51 | TABLES
52 | xmsg = mt_sprot_u
53 | EXCEPTIONS
54 | file_not_found = 1
55 | wrong_call = 2
56 | OTHERS = 3. "#EC *
57 |
58 | CALL FUNCTION 'TR_FLUSH_LOG'.
59 |
60 | ENDMETHOD.
61 | ENDCLASS.
62 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_enumerator.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCL_UITB_enumerator DEFINITION
2 | PUBLIC
3 | CREATE PROTECTED.
4 |
5 | PUBLIC SECTION.
6 | INTERFACES ZIF_UITB_enumerator.
7 | CLASS-METHODS create
8 | IMPORTING
9 | ir_enumerable TYPE REF TO ZIF_UITB_enumerable
10 | RETURNING
11 | VALUE(rr_enumerator) TYPE REF TO ZIF_UITB_enumerator.
12 | PROTECTED SECTION.
13 | METHODS constructor
14 | IMPORTING
15 | ir_enumerable TYPE REF TO ZIF_UITB_enumerable.
16 | PRIVATE SECTION.
17 | DATA mr_enumerable TYPE REF TO ZIF_UITB_enumerable.
18 | DATA mv_index TYPE sy-tabix.
19 | DATA mv_size TYPE sy-tabix.
20 |
21 | ENDCLASS.
22 |
23 |
24 |
25 | CLASS ZCL_UITB_enumerator IMPLEMENTATION.
26 |
27 |
28 | METHOD constructor.
29 | mr_enumerable = ir_enumerable.
30 | mv_size = mr_enumerable->size( ).
31 | ENDMETHOD.
32 |
33 |
34 | METHOD create.
35 | rr_enumerator = NEW ZCL_UITB_enumerator( ir_enumerable = ir_enumerable ).
36 | ENDMETHOD.
37 |
38 |
39 | METHOD ZIF_UITB_enumerator~get_next.
40 | ADD 1 TO mv_index.
41 | rr_element = mr_enumerable->get_element( mv_index ).
42 | ENDMETHOD.
43 |
44 |
45 | METHOD ZIF_UITB_enumerator~has_next.
46 | DATA(lv_index) = mv_index + 1.
47 | TRY.
48 | mr_enumerable->get_element( iv_index = lv_index ).
49 | rf_has_next = abap_true.
50 | CATCH ZCX_UITB_element_not_found.
51 | ENDTRY.
52 | ENDMETHOD.
53 | ENDCLASS.
54 |
--------------------------------------------------------------------------------
/src/zcx_uitb_nc_exception.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCX_UITB_NC_EXCEPTION
7 | E
8 | General no-check Error
9 | 40
10 | 1
11 | X
12 | X
13 | X
14 |
15 |
16 |
17 | CONSTRUCTOR
18 | E
19 | CONSTRUCTOR
20 |
21 |
22 | MSGV1
23 | E
24 | ABAP-Systemfeld: Nachrichtenvariable
25 |
26 |
27 | MSGV2
28 | E
29 | ABAP-Systemfeld: Nachrichtenvariable
30 |
31 |
32 | MSGV3
33 | E
34 | ABAP-Systemfeld: Nachrichtenvariable
35 |
36 |
37 | MSGV4
38 | E
39 | ABAP-Systemfeld: Nachrichtenvariable
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/src/collection/zcl_uitb_object_list.clas.abap:
--------------------------------------------------------------------------------
1 | class ZCL_UITB_OBJECT_LIST definition
2 | public
3 | create public.
4 |
5 | public section.
6 |
7 | interfaces ZIF_UITB_LIST .
8 | PROTECTED SECTION.
9 | PRIVATE SECTION.
10 | DATA mt_table TYPE STANDARD TABLE OF REF TO object.
11 | ENDCLASS.
12 |
13 |
14 |
15 | CLASS ZCL_UITB_OBJECT_LIST IMPLEMENTATION.
16 |
17 |
18 | METHOD ZIF_UITB_LIST~ADD.
19 | APPEND ir_element TO mt_table.
20 | ENDMETHOD.
21 |
22 |
23 | METHOD ZIF_UITB_LIST~CLEAR.
24 | CLEAR mt_table.
25 | ENDMETHOD.
26 |
27 |
28 | METHOD ZIF_UITB_list~get_element.
29 | TRY .
30 | rr_element = mt_table[ iv_index ].
31 | CATCH cx_sy_itab_line_not_found.
32 | RAISE EXCEPTION TYPE ZCX_UITB_element_not_found
33 | EXPORTING
34 | textid = ZCX_UITB_element_not_found=>index_access
35 | index = iv_index.
36 | ENDTRY.
37 | ENDMETHOD.
38 |
39 |
40 | METHOD ZIF_UITB_LIST~GET_ITERATOR.
41 | rr_iterator = ZCL_UITB_list_iterator=>create( ir_list = me ).
42 | ENDMETHOD.
43 |
44 |
45 | METHOD ZIF_UITB_LIST~REMOVE.
46 | ASSIGN mt_table[ table_line = ir_element ] TO FIELD-SYMBOL().
47 | IF sy-subrc = 0.
48 | DELETE mt_table FROM .
49 | ENDIF.
50 | ENDMETHOD.
51 |
52 |
53 | METHOD ZIF_UITB_LIST~REMOVE_AT.
54 | DELETE mt_table INDEX iv_index.
55 | ENDMETHOD.
56 |
57 |
58 | METHOD ZIF_UITB_LIST~SIZE.
59 | rv_size = lines( mt_table ).
60 | ENDMETHOD.
61 | ENDCLASS.
62 |
--------------------------------------------------------------------------------
/src/zuitb_abap_comp_type.tabl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZUITB_ABAP_COMP_TYPE
7 | E
8 | INTTAB
9 | Abap Component type
10 | 1
11 |
12 |
13 |
14 | NAME
15 | FIELDNAME
16 | 0
17 | E
18 |
19 |
20 | TYPE_NAME
21 | 0
22 | C
23 | 000122
24 | CHAR
25 | 000061
26 | CHAR
27 | Component type
28 |
29 |
30 | SIMPLE_NAME
31 | FIELDNAME
32 | 0
33 | E
34 |
35 |
36 | TYPE
37 | CL_ABAP_DATADESCR
38 | 0
39 | REF
40 | REF RC
41 | R
42 | C
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/zif_uitb_c_toolbar_functions.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_C_TOOLBAR_FUNCTIONS
7 | E
8 | Function Codes for toolbar model
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | COLLAPSE
16 | E
17 | Function Code
18 |
19 |
20 | COLLAPSE_ALL
21 | E
22 | Function Code
23 |
24 |
25 | EXPAND
26 | E
27 | Function Code
28 |
29 |
30 | EXPAND_ALL
31 | E
32 | Function Code
33 |
34 |
35 | FIND
36 | E
37 | Function Code
38 |
39 |
40 | FIND_MORE
41 | E
42 | Function Code
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_no_data.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCX_UITB_alv_no_data DEFINITION
2 | PUBLIC
3 | INHERITING FROM ZCX_UITB_alv_error
4 | FINAL
5 | CREATE PUBLIC .
6 |
7 | PUBLIC SECTION.
8 |
9 | CONSTANTS:
10 | BEGIN OF ZCX_UITB_alv_no_data,
11 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
12 | msgno TYPE symsgno VALUE '006',
13 | attr1 TYPE scx_attrname VALUE '',
14 | attr2 TYPE scx_attrname VALUE '',
15 | attr3 TYPE scx_attrname VALUE '',
16 | attr4 TYPE scx_attrname VALUE '',
17 | END OF ZCX_UITB_alv_no_data.
18 |
19 | METHODS constructor
20 | IMPORTING
21 | !textid LIKE if_t100_message=>t100key OPTIONAL
22 | !previous LIKE previous OPTIONAL
23 | !msgv1 TYPE sy-msgv1 OPTIONAL
24 | !msgv2 TYPE sy-msgv2 OPTIONAL
25 | !msgv3 TYPE sy-msgv3 OPTIONAL
26 | !msgv4 TYPE sy-msgv4 OPTIONAL .
27 | PROTECTED SECTION.
28 | PRIVATE SECTION.
29 | ENDCLASS.
30 |
31 |
32 |
33 | CLASS ZCX_UITB_ALV_NO_DATA IMPLEMENTATION.
34 |
35 |
36 | METHOD constructor ##ADT_SUPPRESS_GENERATION.
37 | CALL METHOD super->constructor
38 | EXPORTING
39 | previous = previous
40 | msgv1 = msgv1
41 | msgv2 = msgv2
42 | msgv3 = msgv3
43 | msgv4 = msgv4.
44 | CLEAR me->textid.
45 | IF textid IS INITIAL.
46 | if_t100_message~t100key = ZCX_UITB_alv_no_data.
47 | ELSE.
48 | if_t100_message~t100key = textid.
49 | ENDIF.
50 | ENDMETHOD.
51 | ENDCLASS.
52 |
--------------------------------------------------------------------------------
/src/zif_uitb_template_prog.intf.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZIF_UITB_TEMPLATE_PROG
7 | E
8 | Callback for Template Program
9 | 2
10 | 1
11 | X
12 |
13 |
14 |
15 | ADD_CONTROL_TO_LIFECYCLE
16 | E
17 | Register control to lifecycle of dynpro
18 |
19 |
20 | C_FUNC_F2
21 | E
22 | ABAP System Field: PAI-Triggering Function Code
23 |
24 |
25 | C_FUNC_LEAVE_NO_EXIT_EVENT
26 | E
27 | ABAP System Field: PAI-Triggering Function Code
28 |
29 |
30 | LEAVE_PROGRAM
31 | E
32 | The current template program will be terminated
33 |
34 |
35 | SET_FUNCTION_CODE
36 | E
37 | Sets new function code for PAI
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/src/alv/zif_uitb_c_alv_colors.intf.abap:
--------------------------------------------------------------------------------
1 | INTERFACE ZIF_UITB_C_ALV_COLORS
2 | PUBLIC .
3 | CONSTANTS:
4 | greyblue(04) TYPE c VALUE 'C100',
5 | lightgrey(04) TYPE c VALUE 'C200',
6 | yellow(04) TYPE c VALUE 'C300',
7 | bluegreen(04) TYPE c VALUE 'C400',
8 | green(04) TYPE c VALUE 'C500',
9 | red(04) TYPE c VALUE 'C600',
10 | violett(04) TYPE c VALUE 'C700',
11 |
12 | greyblue_int(04) TYPE c VALUE 'C110',
13 | lightgrey_int(04) TYPE c VALUE 'C210',
14 | yellow_int(04) TYPE c VALUE 'C310',
15 | bluegreen_int(04) TYPE c VALUE 'C410',
16 | green_int(04) TYPE c VALUE 'C510',
17 | red_int(04) TYPE c VALUE 'C610',
18 | violett_int(04) TYPE c VALUE 'C710',
19 |
20 | greyblue_inv(04) TYPE c VALUE 'C101',
21 | lightgrey_inv(04) TYPE c VALUE 'C201',
22 | yellow_inv(04) TYPE c VALUE 'C301',
23 | bluegreen_inv(04) TYPE c VALUE 'C401',
24 | green_inv(04) TYPE c VALUE 'C501',
25 | red_inv(04) TYPE c VALUE 'C601',
26 | violett_inv(04) TYPE c VALUE 'C701',
27 |
28 | greyblue_int_inv(04) TYPE c VALUE 'C111',
29 | lightgrey_int_inv(04) TYPE c VALUE 'C211',
30 | yellow_int_inv(04) TYPE c VALUE 'C311',
31 | bluegreen_int_inv(04) TYPE c VALUE 'C411',
32 | green_int_inv(04) TYPE c VALUE 'C511',
33 | red_int_inv(04) TYPE c VALUE 'C611',
34 | violett_int_inv(04) TYPE c VALUE 'C711'.
35 | ENDINTERFACE.
36 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_existing.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCX_UITB_alv_existing DEFINITION
2 | PUBLIC
3 | INHERITING FROM ZCX_UITB_alv_error
4 | FINAL
5 | CREATE PUBLIC .
6 |
7 | PUBLIC SECTION.
8 |
9 | CONSTANTS:
10 | BEGIN OF ZCX_UITB_alv_existing,
11 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
12 | msgno TYPE symsgno VALUE '004',
13 | attr1 TYPE scx_attrname VALUE 'MSGV1',
14 | attr2 TYPE scx_attrname VALUE 'MSGV2',
15 | attr3 TYPE scx_attrname VALUE 'MSGV3',
16 | attr4 TYPE scx_attrname VALUE 'MSGV4',
17 | END OF ZCX_UITB_alv_existing .
18 |
19 | METHODS constructor
20 | IMPORTING
21 | !textid LIKE if_t100_message=>t100key OPTIONAL
22 | !previous LIKE previous OPTIONAL
23 | !msgv1 TYPE sy-msgv1 OPTIONAL
24 | !msgv2 TYPE sy-msgv2 OPTIONAL
25 | !msgv3 TYPE sy-msgv3 OPTIONAL
26 | !msgv4 TYPE sy-msgv4 OPTIONAL .
27 | PROTECTED SECTION.
28 | PRIVATE SECTION.
29 | ENDCLASS.
30 |
31 |
32 |
33 | CLASS ZCX_UITB_alv_existing IMPLEMENTATION.
34 |
35 |
36 | METHOD constructor ##ADT_SUPPRESS_GENERATION.
37 | CALL METHOD super->constructor
38 | EXPORTING
39 | previous = previous
40 | msgv1 = msgv1
41 | msgv2 = msgv2
42 | msgv3 = msgv3
43 | msgv4 = msgv4.
44 | CLEAR me->textid.
45 | IF textid IS INITIAL.
46 | if_t100_message~t100key = ZCX_UITB_alv_existing.
47 | ELSE.
48 | if_t100_message~t100key = textid.
49 | ENDIF.
50 | ENDMETHOD.
51 | ENDCLASS.
52 |
--------------------------------------------------------------------------------
/src/alv/zcx_uitb_alv_not_found.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCX_UITB_alv_not_found DEFINITION
2 | PUBLIC
3 | INHERITING FROM ZCX_UITB_alv_error
4 | FINAL
5 | CREATE PUBLIC .
6 |
7 | PUBLIC SECTION.
8 | CONSTANTS:
9 | BEGIN OF ZCX_UITB_alv_not_found,
10 | msgid TYPE symsgid VALUE 'ZUITB_EXCEPTION',
11 | msgno TYPE symsgno VALUE '005',
12 | attr1 TYPE scx_attrname VALUE 'MSGV1',
13 | attr2 TYPE scx_attrname VALUE 'MSGV2',
14 | attr3 TYPE scx_attrname VALUE 'MSGV3',
15 | attr4 TYPE scx_attrname VALUE 'MSGV4',
16 | END OF ZCX_UITB_alv_not_found .
17 |
18 | METHODS constructor
19 | IMPORTING
20 | !textid LIKE if_t100_message=>t100key OPTIONAL
21 | !previous LIKE previous OPTIONAL
22 | !msgv1 TYPE sy-msgv1 OPTIONAL
23 | !msgv2 TYPE sy-msgv2 OPTIONAL
24 | !msgv3 TYPE sy-msgv3 OPTIONAL
25 | !msgv4 TYPE sy-msgv4 OPTIONAL .
26 | PROTECTED SECTION.
27 | PRIVATE SECTION.
28 | ENDCLASS.
29 |
30 |
31 |
32 | CLASS ZCX_UITB_alv_not_found IMPLEMENTATION.
33 |
34 |
35 | METHOD constructor ##ADT_SUPPRESS_GENERATION.
36 | CALL METHOD super->constructor
37 | EXPORTING
38 | previous = previous
39 | msgv1 = msgv1
40 | msgv2 = msgv2
41 | msgv3 = msgv3
42 | msgv4 = msgv4.
43 | CLEAR me->textid.
44 | IF textid IS INITIAL.
45 | if_t100_message~t100key = ZCX_UITB_alv_not_found.
46 | ELSE.
47 | if_t100_message~t100key = textid.
48 | ENDIF.
49 | ENDMETHOD.
50 | ENDCLASS.
51 |
--------------------------------------------------------------------------------
/src/gui/zuitb_gui_framework.fugr.zuitb_call_gui_screen.abap:
--------------------------------------------------------------------------------
1 | FUNCTION zuitb_call_gui_screen.
2 | *"----------------------------------------------------------------------
3 | *"*"Local Interface:
4 | *" IMPORTING
5 | *" REFERENCE(IV_PROGRAM_TITLE) TYPE CUA_TIT_TX
6 | *" REFERENCE(IF_MODAL) TYPE ABAP_BOOL OPTIONAL
7 | *" REFERENCE(IO_CALLBACK) TYPE REF TO ZCL_UITB_GUI_DYNPRO_HANDLER
8 | *" REFERENCE(IV_START_LINE) TYPE I OPTIONAL
9 | *" REFERENCE(IV_START_COLUMN) TYPE I OPTIONAL
10 | *" REFERENCE(IV_END_LINE) TYPE I OPTIONAL
11 | *" REFERENCE(IV_END_COLUMN) TYPE I OPTIONAL
12 | *"----------------------------------------------------------------------
13 | DATA(lv_screen_number) = COND sy-dynnr( WHEN if_modal = abap_true THEN '0200' ELSE '0100' ).
14 |
15 | " save current controller
16 | IF gs_view_data IS NOT INITIAL.
17 | INSERT gs_view_data INTO gt_view_controller INDEX 1.
18 | CLEAR gs_view_data.
19 | ENDIF.
20 |
21 | gs_view_data-controller = io_callback.
22 | gs_view_data-title = iv_program_title.
23 | gs_view_data-is_first_call = abap_true.
24 |
25 | IF iv_start_line IS NOT INITIAL.
26 | gs_view_data-as_dialog = abap_true.
27 |
28 | IF iv_end_column IS INITIAL OR iv_end_line IS INITIAL.
29 | CALL SCREEN lv_screen_number STARTING AT iv_start_column iv_start_line.
30 | ELSE.
31 | CALL SCREEN lv_screen_number STARTING AT iv_start_column iv_start_line ENDING AT iv_end_column iv_end_line.
32 | ENDIF.
33 | ELSE.
34 | CALL SCREEN lv_screen_number.
35 | ENDIF.
36 |
37 | ENDFUNCTION.
38 |
--------------------------------------------------------------------------------
/src/popup/zcl_uitb_popup_help_viewer.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_POPUP_HELP_VIEWER
7 | E
8 | Help Dialog Box
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 | -
16 | I
17 | 001
18 | Help
19 | 14
20 |
21 |
22 |
23 |
24 | CREATE
25 | E
26 | Creates new help viewer
27 |
28 |
29 | MR_HTML_VIEWER
30 | E
31 | HTML Control Proxy Class
32 |
33 |
34 | MT_HTML
35 | E
36 | Table for ABAP Keyword Documentation
37 |
38 |
39 | MT_HTML_RAW
40 | E
41 | ITS: Table with MIMEs
42 |
43 |
44 | MV_HTML_URL
45 | E
46 | Text (80 Characters)
47 |
48 |
49 |
50 |
51 |
52 |
--------------------------------------------------------------------------------
/src/alv/zcl_uitb_alv_dropdown.clas.abap:
--------------------------------------------------------------------------------
1 | CLASS ZCL_UITB_alv_dropdown DEFINITION
2 | PUBLIC
3 | INHERITING FROM ZCL_UITB_alv_metadata
4 | FINAL
5 | CREATE PUBLIC
6 | GLOBAL FRIENDS ZCL_UITB_alv_grid_adapter.
7 |
8 | PUBLIC SECTION.
9 | METHODS get_handle
10 | RETURNING
11 | VALUE(result) TYPE i .
12 | METHODS get_values
13 | RETURNING
14 | VALUE(result) TYPE lvc_t_dral.
15 | METHODS set_values
16 | IMPORTING
17 | value TYPE ZIF_UITB_alv_types=>tt_dropdown_value.
18 | METHODS constructor
19 | IMPORTING
20 | iv_handle TYPE i
21 | it_values TYPE ZIF_UITB_alv_types=>tt_dropdown_value OPTIONAL
22 | ir_controller TYPE REF TO ZIF_UITB_alv_metadata_ctrller.
23 | PROTECTED SECTION.
24 | PRIVATE SECTION.
25 | DATA mv_handle.
26 | DATA mt_values TYPE lvc_t_dral.
27 | ENDCLASS.
28 |
29 |
30 |
31 | CLASS ZCL_UITB_alv_dropdown IMPLEMENTATION.
32 | METHOD get_handle.
33 | result = mv_handle.
34 | ENDMETHOD.
35 |
36 | METHOD get_values.
37 | result = mt_values.
38 | ENDMETHOD.
39 |
40 | METHOD set_values.
41 | mt_values = VALUE #(
42 | FOR IN value
43 | ( handle = mv_handle
44 | int_value = -int_value
45 | value = -value )
46 | ).
47 |
48 | set_setter_changed( iv_method = 'SET_VALUES' ).
49 |
50 | ENDMETHOD.
51 |
52 | METHOD constructor.
53 | super->constructor(
54 | io_controller = ir_controller
55 | iv_name = 'DROPDOWN'
56 | ).
57 |
58 | mv_handle = iv_handle.
59 | set_values( it_values ).
60 | ENDMETHOD.
61 |
62 | ENDCLASS.
63 |
--------------------------------------------------------------------------------
/src/gui/zif_uitb_gui_pbo_callback.intf.abap:
--------------------------------------------------------------------------------
1 | "! PBO Callback for GUI Screen
2 | INTERFACE zif_uitb_gui_pbo_callback
3 | PUBLIC .
4 |
5 | "! Maps F-Key functions to given user function
6 | "!
7 | METHODS map_fkey_functions
8 | IMPORTING
9 | it_fkey_map TYPE zif_uitb_ty_gui_screen=>ty_t_fkey_map.
10 | "! Maps F-Key function to given user function
11 | "!
12 | METHODS map_fkey_function
13 | IMPORTING
14 | iv_fkey TYPE ui_func
15 | iv_mapped_function TYPE ui_func
16 | iv_text TYPE gui_text.
17 | "! Deactivates the given function
18 | "!
19 | METHODS deactivate_function
20 | IMPORTING
21 | iv_function TYPE ui_func.
22 | "! Deactivates the given functions
23 | "!
24 | METHODS deactivate_functions
25 | IMPORTING
26 | it_functions TYPE ui_functions.
27 | "! Sets the screen title
28 | "!
29 | METHODS set_title
30 | IMPORTING
31 | iv_title TYPE string.
32 |
33 | "! Manually sets GUI status
34 | "!
35 | METHODS set_status
36 | IMPORTING
37 | iv_status TYPE syst_pfkey
38 | iv_progname TYPE sy-repid OPTIONAL.
39 | "! Returns 'X' if first screen call
40 | "!
41 | METHODS is_first_screen_call
42 | RETURNING
43 | VALUE(rf_is_first) TYPE sap_bool.
44 | ENDINTERFACE.
45 |
--------------------------------------------------------------------------------
/src/zcl_uitb_data_cache.clas.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ZCL_UITB_DATA_CACHE
7 | E
8 | Global data cache
9 | 1
10 | X
11 | X
12 | X
13 |
14 |
15 |
16 | CLEAR_OBJECT_REF
17 | E
18 | Clears object reference
19 |
20 |
21 | GET_DATA_REF
22 | E
23 | Retrieve data reference for given name
24 |
25 |
26 | GET_INSTANCE
27 | E
28 | Get current instance of data cache
29 |
30 |
31 | INITIALIZE_CACHE
32 | E
33 | Initializes the program cache
34 |
35 |
36 | SET_CURRENT_REPID
37 | E
38 | Set's the current report id
39 |
40 |
41 | UPDATE_OBJECT_REF
42 | E
43 | Updates value of object reference
44 |
45 |
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------