‎2008 Nov 19 1:52 PM
Hi all,
I want to hide buttons from application toolbar, I have done it by using :
DATA: i_toolbar_exclude100 TYPE ui_functions WITH HEADER LINE.
APPEND 'F1' TO i_toolbar_exclude100.
APPEND 'F2' TO i_toolbar_exclude100.
APPEND 'F3' TO i_toolbar_exclude100.
SET PF-STATUS 'PF_100' EXCLUDING i_toolbar_exclude100.
But in this case, the function code will also not available. I need that function code for further processing.
(Eg. F1 for further processing)
Suggest how it works.
Thanks
Sanket sethi
‎2008 Nov 19 2:06 PM
Hi,
Can you specify your requirement in detail.
As you will be hiding the button, how can you use the function code with out using the button.
I mean what is the use of the function code as you won't be using any button as such..
Cheers,
Simha,
‎2008 Nov 19 2:06 PM
Hi,
Can you specify your requirement in detail.
As you will be hiding the button, how can you use the function code with out using the button.
I mean what is the use of the function code as you won't be using any button as such..
Cheers,
Simha,
‎2008 Nov 19 2:54 PM
Actually I want to use standard function keys(eg. F1, F3) as custom, by which i will proceed my code on these function keys.
Is there any way to do so.
‎2008 Nov 20 6:39 AM
Hi,
You can do this by assigning your custom Function Codes to the Standard Function Keys,
In the Program:
go to the Screen you want to customize the Standard keys Funct Code---->
Go to status of that screen ->go to Utilities-->F key consistency>here you will get all the standard Funct Keys and here you can attach your Customised Funct Code.
you will find something like:
Function keys for screens and lists
Function Key Function Code Icon Function Text
Edited by: Neha Shukla on Nov 20, 2008 7:40 AM
Edited by: Neha Shukla on Nov 20, 2008 7:40 AM
Edited by: Neha Shukla on Nov 20, 2008 7:52 AM
‎2008 Nov 20 6:46 AM
Hi,
You can go to your defined PF-Status for your screen and then you can change the standard function code which is already assigned to the button and then you can use this function code to your own defined button ..
Cheers,
Simha.
‎2008 Nov 20 6:44 AM
I hope the function codes F1 AND F3 are reserved ones.
moreover once you deactivate the function code how can we use them again.
may be i need more clarification on this.
Regards
Ramchander Rao.K