Skip to Content

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?
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 04, 2017 at 03:23 PM

    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

    Add comment
    10|10000 characters needed characters exceeded