on 08-22-2011 6:10 PM
Hi FPM-Experts,
in the configuration I defined a button (Element-ID BTN_DETAILS / Event-ID DETAILS) with event-parameters.
When I use IF_FPM_CNR_OIF-Method define_button to change the button-property enabled,
the Event-ID of my button is getting initialized.
lo_cnr_oif->define_button(
iv_function = if_fpm_constants=>gc_button-alternate_function
iv_element_id = 'BTN_DETAILS'
iv_enabled = abap_true.
At PROCESS_EVENT a dummy event-ID is sent instead: FPM_ACTION_ID_2
(for debugging i called the get_buttons-method before and after define_button to find out
- ON_ACTION was definitely cleared for my button)
This does not happen for buttons without event-parameters.
I solved my problem, passing my Event-ID DETAILS again to the parameter iv_on_action,
but for me it sounds like a bug in define_button?
lo_cnr_oif->define_button(
iv_function = if_fpm_constants=>gc_button-alternate_function
iv_element_id = 'BTN_DETAILS'
iv_on_action = 'DETAILS'
iv_enabled = abap_true.
Any Expert-suggestions?
Edited by: Franz Essl on Aug 22, 2011 7:12 PM
Hello Franz,
this issue is already known and should be fixed - could you please let me know on which release and SP you are (SAP_ABA, 7.02, 7.01, ...)?
Thanks and best regards,
Julia
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.