on 06-25-2008 11:41 AM
Hi All,
I am having a requirement where i have to disable a FPM Button at runtime. I created a button through configuration & this button should be desabled at runtime.
Thanks & Regards.
Shafiq Ahmed Khan.
Hi, You could disable the buttons using define_button in either OIF(IF_FPM_CNR_OIF) or GAF(IF_FPM_CNR_GAF) accordingly. But the limitation is, you can disable only those buttons which are in IF_FPM_CONSTANTS->gc_button or the buttons which you created manually. Check for constant button names in IF_FPM_CONSTANTS->gc_button.
Regards,
Pradeep.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Shafiq Ahmed Khan,
The below mentioned class will help you to set the visibility property of FPM button.
Class: CL_FPM_CNR_OIF
Method: IF_FPM_CNR_OIF~DEFINE_BUTTON
Use exporting parameter: IV_VISIBILITY
Set the visibiltity property to abap_false
Please dont forget to give REWARD points..:-)
Thanks,
Bharath.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.