This method can be used for various purposes to do things right at the start of the application. Amongst other things, this method performs the following activities:
It instantiates the HR Reporting re-use Document Container CL_HRGRT_DOCUMENT_CONTAINER
, by calling its method get_instance
.
It Instantiates CL_FPM
by calling the factory class method CL_FPM_FACTORY~get_instance
.
It reads and sets the header of the application for later use, where you can dynamically modify the header later from your feeder class (e.g. with the payroll period selected by the user, or date selection, etc.).
In order to define this method, call super class INITIALIZE
, see also the following code example.
Syntax
METHOD if_fpm_guibb~initialize.
DATA ls_in_type_values TYPE wdr_context_attr_value.
*call super method
super->if_fpm_guibb~initialize(
it_parameter = it_parameter
io_app_parameter = io_app_parameter
iv_component_name = iv_component_name
is_config_key = is_config_key
).
ENDMETHOD.