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

How to remove the Execute button(F8) from by Program.....?

Former Member
0 Likes
3,046

Hello experts,

I have a report program which is executed by a hitting the push-butt on which is provided on the Selection - Screen once the fields are filled in the selecton criteria.

I have the report working fine . but the issue is with the execute button which is also appearing beside the push-button.

Kindly provide me the solution how to remove the execute button as the client does not want it.

I do not understand on how to remove it as i have tried in many ways searching for the solution.

Thanks & Regards,

Rajesh Kumar R

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,412

Hi,

You can create a GUI status and append the function codes of those buttons that you want to remove to an internal table.



data: it_exclude TYPE TABLE OF sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
  append 'ONLI' to it_exclude.


set PF-STATUS 'MY_GUI' EXCLUDING it_exclude.

Hello experts,

I have a report program which is executed by a hitting the push-butt on which is provided on the Selection - Screen once the fields are filled in the selecton criteria.

I have the report working fine . but the issue is with the execute button which is also appearing beside the push-button.

Kindly provide me the solution how to remove the execute button as the client does not want it.

I do not understand on how to remove it as i have tried in many ways searching for the solution.

Thanks & Regards,

Rajesh Kumar R

4 REPLIES 4
Read only

Former Member
0 Likes
1,412

hi

try that:


include rsdbc1xx.
....

AT SELECTION-SCREEN OUTPUT.
  append 'ONLI' to current_scr-excl.

regards,darek

Read only

0 Likes
1,412

Hello Sir,

Thanks for your fast reply.

The solution you gave is helpfull.

respective points have been given to you.

Thanks & Regards,

Rajesh Kumar

Read only

Former Member
0 Likes
1,413

Hi,

You can create a GUI status and append the function codes of those buttons that you want to remove to an internal table.



data: it_exclude TYPE TABLE OF sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
  append 'ONLI' to it_exclude.


set PF-STATUS 'MY_GUI' EXCLUDING it_exclude.

Read only

0 Likes
1,412

Hello Sir,

Thanks for your fast reply.

The solution you gave is helpfull.

respective points have been given to you.

Thanks & Regards,

Rajesh Kumar