Skip to content
handle selection criteria as global class
Branch: master
Clone or download
Latest commit edca126 Mar 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Delete test.txt Mar 2, 2019
.abapgit.xml Add files via upload Mar 2, 2019
LICENSE Initial commit Mar 2, 2019
README.md Update README.md Mar 4, 2019

README.md

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
You can’t perform that action at this time.