‎2005 Apr 28 9:34 AM
Hello friends
i want to activate/deactivate the button on a pf-status dynamically .
i want to do it with only one pf-status .
if anybody know please help me
thanks in advance
‎2005 Apr 28 9:43 AM
Hello,
Check out Online documentation for:
SET PF-STATUS pfstat ... EXCLUDING f or ... EXCLUDING itab
There are other variants with exaample code.
Hope this helps you.
Regards, Murugesh AS
‎2005 Apr 28 9:43 AM
Hello,
Check out Online documentation for:
SET PF-STATUS pfstat ... EXCLUDING f or ... EXCLUDING itab
There are other variants with exaample code.
Hope this helps you.
Regards, Murugesh AS
‎2005 Apr 28 9:50 AM
with excluding option it will totally exclude that button it won't show on the pf-status.
my requirement is i just want to disable or enable that function dynamically
‎2005 Apr 28 9:55 AM
Hi,
There's a standard way to do that. When you Create / Edit a GUI status in the Menu Painter, you can choose whether you want the disabled function codes to be hidden or to be displayed as grayed out.
Follow the menu path <b>Goto>Attributes>Pushbutton Assignment</b>. You will get a pop-up with three options. The default option is <b>Hide all</b>. Just choose <b>Display all</b> on this pop-up and activate the GUI status. Your functionality is achieved.
If this helps, please reward the points and close the thread. Otherwise, please get back with the problem you might be facing in doing so.
Regards,
Anand Mandalika.
‎2005 Apr 28 10:10 AM
hi poornanad
thanks for cooperating but i think i am not explaining u clearly .
see, in standard ABAP editor if i change the the mode to chage from display using display<->change button then
then pattern button will be enabled
and if i switched to display mode then pattern button will be disabled
my reqirement is also exactly the same thing
as u said in the last reply the button is disabled at every time.
‎2005 Apr 28 10:50 AM
Hi,
I think you have not tried the solution I told you. It will do exactly as you want...
In the PBO, when you use SET PF-STATUS ...EXCLUDING, the buttons which you are trying to exlcude will become disabled when you follow the above instructions.
Otherwise, they will just disappear.
Regards,
Anand Mandalika.
‎2005 Apr 28 11:10 AM
‎2005 Dec 01 3:44 PM
How you solve the problem?
I have the same problem: when I push change button the save button have to display, and when I push again the change button, the save button have to hide.