You should call the super class method towards the end of the processing in method GET_DATA
, so that the buttons Previous
and Next
on the screen are set to inactive or active. This depends on if after
the current event has finished processing there actually is a previous or next entry in the set of values, if not, the buttons are greyed out. You must simply pass the currently selected value and the list of values, the rest is done for you.
Example
Code example for handling button activation:
Syntax
me->handle_prev_next_activation(
iv_value = <ls_report_data>-year
it_value_list = <ls_field_usage>-fixed_values ).