Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 days ago
JSON representation
🪢 handle selection criteria as global class to keep all criteria together
- Host: GitHub
- URL: https://github.com/keller-michael/selection-criteria-as-class
- Owner: Keller-Michael
- License: mit
- Created: 2019-03-02T14:01:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T07:51:27.000Z (over 1 year ago)
- Last Synced: 2024-08-02T19:01:47.025Z (3 months ago)
- Topics: abap, parameters, select-options, selection-criteria, selection-screen
- Language: ABAP
- Homepage:
- Size: 12.7 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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