Skip to Content
3

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

Oct 24, 2017 at 03:20 PM

175

avatar image

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?
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Sascha Wächter Dec 04, 2017 at 03:23 PM
1

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


1.png (37.2 kB)
Share
10 |10000 characters needed characters left characters exceeded