Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hide buttons from application toolbar

Former Member
0 Likes
1,657

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

1 ACCEPTED SOLUTION
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,258

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,

5 REPLIES 5
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,259

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,

Read only

Former Member
0 Likes
1,258

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.

Read only

Former Member
0 Likes
1,258

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

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
1,258

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.

Read only

Former Member
0 Likes
1,258

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