2009 Feb 27 8:39 AM
Hi Experts,
By using GUI status, we can add Applicaiton Toolbar in the UI. My question is how to dynamically enable/disable (not hide the button) the Applicaiton Toolbar on the UI?
Thanks in advance,
Best Regards, Johnney.
2009 Feb 27 8:42 AM
Hi,
Use:
Data:T_tab like standard table of sy-ucomm with header line.
T_itab = <Button>.
Append T_ITAB.
SET-PF STATUS 'STATUS' EXCLUDING 'T_ITAB'.
Hope this resolves your issue.
[REFER|http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba99935c111d1829f0000e829fbfe/content.htm]
Regards,
Gurpreet
2009 Feb 27 8:41 AM
Check this link:
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/toenableanddisableapplicationtollbarbuttonsdependingonthetransaction+code]
2009 Feb 27 8:42 AM
Hi,
Use:
Data:T_tab like standard table of sy-ucomm with header line.
T_itab = <Button>.
Append T_ITAB.
SET-PF STATUS 'STATUS' EXCLUDING 'T_ITAB'.
Hope this resolves your issue.
[REFER|http://help.sap.com/saphelp_nw04/Helpdata/EN/9f/dba99935c111d1829f0000e829fbfe/content.htm]
Regards,
Gurpreet
2009 Feb 27 8:43 AM
2009 Feb 27 8:45 AM
2009 Feb 27 8:47 AM