This is a generic FPM event (cl_fpm_event=>gc_event_leave_initial_screen
), that runs as you leave the initial screen. At this point you can fetch data that you need to build the main screen. Here, before you process the input data from the user, you get the PERNR
.
Then you should do the processing that fetches the data for filling the list UIBB.
Note
If you have a form UIBB; at this point you can set general or PERNR
specific defaults for the fields in your form.
Code example for fetching PERNR
:
Syntax
TRY.
mv_pernr = cl_hress_employee_services=>get_instance( )->get_pernr( ).
CATCH cx_hress.
* <Errorhandling: Not necessary here, since this is handled earlier by
* component HRESS_C_PERNR_SELECTION>
ENDTRY.