Application Development 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: 

Add Button to GUI STATUS Application toolbar

Former Member
0 Kudos

Hi,

I have to add a button in the application toolbar of a gui status. I have done that many times before, but I never got into trouble like this time....

When I open the Gui status and the tree for the application toolbar, I can see already set buttons. When I now click on change (a modification warning comes) and press the plus-icon, it is possible to enter a new item. But everything I´m typing, I get the message Function code XXXX has not been assigned to a function key. I have never got this before....

When I now go to SE41 and enter a new function key, I can´t use it either afterwards as a button in the application toolbar.

In the tree of the function keys, I can´t change anything...

What can I do here? The program name is SAPMZLCG, so it has been modified sometimes. But how can I change the GUI STATUS now to add a new button?

Thank you!

22 REPLIES 22

Former Member
0 Kudos

can u send the code for verification

0 Kudos

Hi,

which code? It´s just the gui status.... And I can´t add the button.

Former Member
0 Kudos

Hi,

You can use SSCRFIELDS structure for the same.

Best Regards,

Flavay

0 Kudos

Hi Flavya,

thank you for the answer. How exactly do you mean that? Isn´t it possible just to add the button in the GUI STATUS in the application toolbar?

Cheers

Former Member
0 Kudos

Hi,

IN SE41, follow the menupath

utilities-> F Key Consistency

There you will be able to see whatever codes have already been assigned.

SO you can choose a FCODE that is different from them.

Hope this helps.

Regards,

Rajat

0 Kudos

Hi Rajat,

I can see the assigned codes, but how can I use a new one and assign it to a new button?

Thank you

0 Kudos

Has nobody an idea to solve this?

0 Kudos

Add entries in T185F & T185 tables.

Regards

Kannaiah

0 Kudos

Hi Kannaiah,

what exactly should I add? There is no entry in the tables for my program name SAPMZLCG.

0 Kudos

You need to goto the application toolbar and the add your text to the items and click below the text you will get one popup which will ask for static text and dynamic text. select statictext and then add all the information like text name and if you want to add an icon you can do it aswell. the there will be another popup for fuction attributes where you will be able to find some options loke fuction types and reaction need to select all that and then click on the ok button and save check and activate the same and after that activate and check whether the button is visible or not. once the button is visible then you need to check for the ok_code and sy_ucomm and then insert the fuctionality of the button.

I hope this might solve your problem.

0 Kudos

Hi sabyasachi,

when I enter the item text and click below the text, I get the same message like when I just press enter after typing in the name: Function code XXXX has not been assigned to a function key.

Do you know what the problem here is?

0 Kudos

okie can you send me a screen shot of what exact error you are getting

0 Kudos

Hi Michael,

In T185F table, maintain the screen program name and the function of the Push button.

In T185 table, maintain the screen program name and function code of the pushbutton and corresponding the Form name where you are processing the logic of the pushbutton and the program name where subroutine is included.

Regards

kannaiah

0 Kudos

Hi

It means u're trying to insert a new function in status at livell of APPLICATION TOOL BAR without to assigned a function key to it

After APPLICATION TOOL BAR u should see the FUNCTION KEY level, before inserting a new code in APPLICATION TOOL BAR u need to insert it in the FUNCTION KEY level: here u create a link beetween your code a keyboard key (F1, F2,FX,....CTRL+FX.....)

Max

0 Kudos

Thank you all for the help! It was just the modification assistant, which was supressing all action around this... When I have turned it off, it worked.

Thank you.

0 Kudos

Hi Michael,

Could you please help me out by providing your valuable ideas for the below requirement.


Requirement :

1) User wants few zfields in VBAP table. This table can be enhance by append structure.

Those Additionla field values need to be updated in VBAP through Upload functionality.

In VA05 transaction , I need to add one button in application tool bar (VA05 Application tool bar is already having Four buttons).

Button name is "Upload" and when user clicks on that button it should redirect to one screen which contains upload provision.

From here User will upload the Excel and update the table VBAP.

I have read many threads for the Application tool bar enhancement for the Standard T code and Everybody is sugesting to copy the Standard program to z , Copy the GUI status to ZGUI and Findout the Enhancement point.

The thing which i am not understanding is even after doing the copy excltly under which Include i should check the enhancement point and how to proceed further.

2) After completion of Upload , User will give the Sales order number in VA03 and the additional fields data should appear in "Additional data B" tab under Item details.

I can achieve the second requirement and unbale to proceed with first one.

It would be great help if you could answer my query.

0 Kudos

This message was moderated.

0 Kudos

Hello Sujatha Arsid

I can help you on the above requirement. Try to find pf status in the dialogue program of tour screen. Enhance there and write the code as set pf status.

Regards

Mithuunn

0 Kudos

Perfect, thank you for that hint! Exactly what I was looking for. After switching off the modification assistant, the Key assignment Popup accured 🙂

Former Member
0 Kudos

you have to select the fuction code and the move forward for the next popup only then you can assign it and the you need to full fill all the fuction attributes.

former_member217722
Participant
0 Kudos

This message was moderated.

Former Member
0 Kudos

This message was moderated.