on 07-19-2011 5:59 AM
Hello
i have created 4 Miansteps using FPM GAF.
I want hide or disable NEXT button of only Mainstep4.
How can i customize only Mianstep4 NEXT button.
i have tried with customizing with invisible or disable NEXT button BUT it is happening for all Mainsteps.
BR
-CW
Hi..
get the selected step of the road map using GET_SELECTED_STEP method.. and disable/hide the Next button if that is MAINstep4 in WDDOMODIFY Method.
-- Bhargava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Williams,
If MainStep4 is the last step in your GAF model, then the NEXT_STEP button will be disabled automatically. For other steps you can't dynamically influence property of the NEXT_STEP button (like enable, label etc).
Alternative would be to disable the NEXT_STEP button at design time and add a custome button with Text as 'Next' with design property as 'Next'. this will have same look and feel of the generic next button. then for the custom button you can disable or enable the buttons programatically.
data lo_fpm type REF TO if_fpm.
data lo_gaf type REF TO if_fpm_cnr_gaf.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_gaf ?= lo_fpm->get_service( cl_fpm_service_manager=>gc_key_cnr_gaf ).
lo_gaf->define_button(
iv_variant_id = 'VARIANT_1'
iv_mainstep_id = 'MAINSTEP_2'
iv_function = if_fpm_constants=>gc_button-other_function
iv_enabled = abap_false
iv_text = 'NEXT'
iv_design = '03'
).
BR, Saravanan
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 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.