Hello Experts,
I am currently doing a report which gets data from several tables then processing it and showing it
via ALV. Now, I am kinda confused as to how to declare the classes meaning do I group
all the fetching of data to 1 class(e.g. method 1 to get data from MARA, method 2 to get data from marc, etc)
then create 1 class to process/combine the data and another class to display the data via ALV?
for example:
class data_definition abstract contains all the general data declarations
class get_data contains methods for fetching data and inherits data_definition class.
class process_data contains methods for combining and manipulation of data and inherits get_data class
class display_data contains all the SALV classes and inherits data_definition class
Please recommend a better option for my design.
Thank you guys and take care!