cancel
Showing results for 
Search instead for 
Did you mean: 

How to Access Value from User Input Field in FPM (ISR)

Hi Experts,

my team and I are trying to access the input value of an input field that we added to the toolbar of a standard fpm application.

We created an enhancement of this component and added this input field called "Quickadd".

Processeing the Event in Method "PROCESS_EVENT" after the user presses "enter" works absolutely fine, but we are not able to get the input value of this field. We know that we have to use the Flush method in IF_FPM_GUIBB to access the data, but the only thing we get back is the constant value of the "gc_event_par_input_value" wich is 'FPM_GUIBB_TREE_INPUT_VALUE'.

So, what are we doing wrong? How can we get the user Input value of this added toolbar input field?

Accepted Solutions (1)

Accepted Solutions (1)

SaschaW
Participant

Hi Mathias,

you can get the input value in the event data(mo_event_data) from your QUICKADD event.

DATA l_input_value type string.
if io_event->mv_event_id EQ 'QUICKADD'.
io_event->mo_event_data->get_value(
         EXPORTING
            iv_key   = 'QUICKADD'
          IMPORTING
            ev_value = l_input_value
*            er_value =
        ).
endif.

Best regards

Sascha

Answers (0)