on 2021 Oct 19 3:19 AM
Hi All expert,
I am working on an POWL. User want when they select one result record then this record's detail item data be displayed.
May u have any steps info to realize this?
Thanks in advance.
Request clarification before answering.
Hi, Joshua.
Step 1. you add your GUIBB on your POWL component configuration. Refer to below that first section is POWL and second section is detail when a user select a row in POWL worklist.
Step 2. you should occur a event called "POWL_LEAD_SEL", it makes FPM event call.
DATA(lo_event) = cl_fpm_event=>create_by_id( iv_event_id = i_actionid ).
READ TABLE c_result_tab ASSIGNING <l_result_tab> INDEX i_action_index.
IF <l_result_tab> IS ASSIGNED.
lo_event->mo_event_data->set_value(
EXPORTING
iv_key = 'DATA'
iv_value = <l_result_tab>
).
ENDIF.
lo_fpm = cl_fpm_factory=>get_instance( ).
* lo_fpm->raise_event_by_id( i_actionid ).
lo_fpm->raise_event( io_event = lo_event ).
Step 3. get data in your feeder class of your GUIBB in GET_DATA method and do what you want.
CASE io_event->mv_event_id.
WHEN 'POWL_LEAD_SEL' OR 'FPM_TAB_CHANGE'.
io_event->mo_event_data->get_value(
EXPORTING
iv_key = 'DATA'
IMPORTING
ev_value = ls_data
).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
29 | |
9 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.