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

Adding a button on the SAP GUI without the access key

Former Member
0 Likes
1,049

Hi,

I need to put a button in the SAP toolbar in transaction IE02/IE03/IE05. Once the user clicks on this I need to call a function module. Can this be done without obtaining the access key from SAP? I want to avoid modifying the SAP code.

Thanks.

Hi,

I need to put a button in the SAP toolbar in transaction IE02/IE03/IE05. Once the user clicks on this I need to call a function module. Can this be done without obtaining the access key from SAP? I want to avoid modifying the SAP code.

Thanks.

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
819

I'm sure it can be done by using GuiXT.

Do google search on GuiXT.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
819

I can suggest 2 alternatives ,

1. Check for any menu exists available ..

2. Otherwise design ur own simple screen similar to the one u r looking for and then make a call transaction to this screen

Read only

Former Member
0 Likes
819

Hi Sanjay,

This can be achieved using Exits. Check the below link for documentation.

http://help.sap.com/saphelp_47x200/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm

Regards,

Vara

Read only

Former Member
0 Likes
819

With GuiXT it simple. While you're in the transaction that you want to add the toolbar button to bring up the GuiXT window and click the scripts button on the toolbar. Add the following to the top of the scripts page.

Pushbutton (toolbar) "what ever you want to call your button" "The name of the function ie. SCMP"

To find the name of the function you want to exicute press the F1 key while holding down the left mouse button on the object. This can be done in the transaction or on any of the menus.

The (toolbar) command will actually place the button in the toolbar and assign it an unused FKey which you can see if you hover your mouse over the PB.

I have been doing a lot of modifications since we went live not to long ago and think the GuiXT is about the easiest way to do this.

Good luck,

Steve Lundvall