Hello,
I traced an error that is occurs when we start the Flex spending account in ESS. This error is in a customer interface class "ZCL_IT0377_GUIBB_FORM" as a feeder class for IT0377 FORM opeation. This customer interface class uses
interface "IF_FPM_GUIBB" for the generic UI building block functionalities. Inside method "IF_FPM_GUIBB_FORM~GET_DATA" happens the error:
CASE io_event->mv_event_id.
WHEN cl_fpm_event=>gc_event_start OR
cl_fpm_event=>gc_event_next_step OR
cl_fpm_event=>gc_event_previous_step.
* If the component is customized in a floorplan which does not contain
* an initial screen, the first event processed is 'FPM_START'
* Usually, this will fail because PERNR was not derived for the user.
* If however PERNR is assigned correctly, process initial steps for display.
IF mv_pernr IS INITIAL.
....
....
....
lv_setdate = sy-datum.
lv_setdate+4(4) = '1101'.
SELECT begda
INTO lv_begda
FROM pa0000
WHERE pernr EQ mv_pernr
AND ( massn LIKE 'A_' OR massn EQ '01' ).
ENDSELECT.
lv_daycnt = lv_setdate - lv_begda.
IF lv_daycnt < 100.
MESSAGE e016(zu) WITH 'You must be on staff for 3 months as of November 1.' INTO lv_mess_dummy.
APPEND cl_hress_fpm_msg_services=>return_msg_fpm_sy( ) TO et_messages.
RETURN.
ENDIF.
....
....
....
It is stating a hard coded statement "You must be on staff fot 3 month as a November 1" that happens when the event "FPM_START" starts.
In the first image in red rectangle you can see that is pointin to Component Configuration "Z_FORM_UIBB_IT0377_4_OIF" but when I click on
the button "Configure UIBB" on the right side, see second image, I cannot find the configuration pointing to event "FPM_START".
My questions:
1. How can I find the configuration for the event "FPM_START"?
2. Is is possible to do changes to avoid by pass the error message?
Thanks in advance nad help is appreciated.
Regards,
Primo.