Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Keller-Michael/selection-criteria-as-class

🪢 handle selection criteria as global class to keep all criteria together
https://github.com/Keller-Michael/selection-criteria-as-class

abap parameters select-options selection-criteria selection-screen

Last synced: about 1 month ago
JSON representation

🪢 handle selection criteria as global class to keep all criteria together

Awesome Lists containing this project

README

        

## :knot: Handle selection criteria as class
### Description
This development shows how to deal with selection criteria dynamically. The transfer of all selection criteria of a report to the constructor of the application class should be simplified. For that an instance of the local helper class pushes parameters and select options of the report dynamically to an instance of a global class. Afterwards the instance of the global class is given to the constructor of the application class.
### Development Objects
* global class ZCL_SEL_CRITERIA: class to manage parameters and select options
* global class ZCL_SEL_CRITERIA_TEST: class that selects data from database table and list them
* report ZSEL_CRITERIA_TEST: report uses local helper class LCL_SELECTION_CRITERIA to handle selection criteria and afterwards uses an instance of global class ZCL_SEL_CRITERIA_TEST to select and list data