PB when add pushbutton  to Gui status SE41.

Hi,
When i  want to add pushbutton to my sap gui in transaction SE41, i had this message  "Unable to assign the function to the pushbutton"
Diagnosis
Functions assigned to a pushbutton must be assigned to a function key first, but no free function keys exist.
Thanks in advance,
Karim

Hi Karim,
When you create a pushbutton or use any button on the application toolbar you have to assign function code to it.
For Eg in Application toolbar if you add a button as Display Data the function code can be added as DISP.
So add the funtion code to the button u r creating to resolve the issue.

Similar Messages

  • Add Button to GUI STATUS Application toolbar

    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!

    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.

  • Transport GUI Screen (SE51), GUI-status (SE41) and Titlebar - how?

    Hi,
    Please help me with the following:
    How do you transport the following objects:
    GUI Screen (SE51)
    GUI-status (SE41)
    Titlebar for the GUI
    Thanks,
    John

    You can not create a screen or gui status or gui title without having a program, so there is always a reference to the program.  If you go to SE80, and enter your program name, and hit enter, you will see folders for the screens, gui statuses, and gui titles.  
    The code in your PBO is simply saying that you want to use those for that particular screen, they must already exist in your program.
    In reality, you should always create all of the objects of your program in SE80, and forget about SE51 and SE41,  in doing so you will see how all of the objects of your program are together when using SE80.
    And yes, to confirm, the screen and gui status/titles will be transported with your program.
    Regards,
    Rich Heilman

  • Adding A Pushbutton To GUI Status of Standard Program

    Hi,
    I need to add a pushbutton to the GUI status of one of the SAP standard programs, the system being <b>ECC 6.0</b>. One method which I tried was by copying the standard program as a Z program and then modifying the GUI status per my requirement. Although this works, one drawback in doing it this way was with the introduction of the new Enhancement Framework in ECC 6.0, the defined enhancements from the standard program were not copied to the Z program.
    I am looking for suggestions on how to add a pushbutton in the GUI status of the standard program using the enhancement concept. Please let me know the implications if any, while carrying out this change.
    Regards,
    Ravi Krishna

    GOTO Se41 Transaction ..
    one example :
    Standard Program : SAPLSLVC_FULLSCREEN
    Status : STANDARD_FULLSCREEN
    use ur program first and status and now click on copy status ...
    copy from standard to custom..

  • AT LINE-SELECTION won't be triggered when I use SET PF-STATUS?

    Dear All,
    I have a simple program that shows a list. My program has AT LINE-SELECTION event. I also use a GUI status for my list.
    When I ran my program and double clicked a line, the AT LINE-SELECTION event was never triggered. Later, I deleted the line that registers the GUI status (SET PF-STATUS.... ). When I ran it again and double clicked a line, the AT LINE-SELECTION was triggered.
    Therefore, I conclude that AT LINE-SELECTION won't be triggered when I use SET PF-STATUS. Is it true?
    If so, is there any way to make my list responds to double click event when I also use GUI status?
    Thanks in advance,
    Haris

    Hi Harris,
    Check this link. I think it will answer your question.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba34635c111d1829f0000e829fbfe/content.htm
    Regards,
    Madhu.

  • Report program with detail list and GUI status.

    Hi,
    I am working on type 1 program (report) and want to use detail lists.
    I want to use a GUI status and want to use AT LINE-SELECTION. But AT LINE-SELECTION does not work when I use a GUI status.
    How do I achieve this?
    Thanks.

    Hi
    In the secondary windows, it is not possible to have GUI Status.
    If you need like that, you should go for ALV Reports.
    Here, You can have GUI Status only in the selection-screen as below..
    REPORT  zak014  LINE-SIZE 60 LINE-COUNT 20(2).
    TABLES: sscrfields.
    * Appliction Tool Bar Elements
    SELECTION-SCREEN FUNCTION KEY 1.
    SELECTION-SCREEN FUNCTION KEY 2.
    * Selection Screen
    PARAMETERS: matnr TYPE matnr.
    INITIALIZATION.
      sscrfields-functxt_01 = 'TEST1'.
      sscrfields-functxt_02 = 'TEST2'.
    START-OF-SELECTION.
      WRITE:/20 'CLICK HERE TO NAVIGATE'.
    AT LINE-SELECTION.
      WINDOW STARTING AT 5  5
             ENDING   AT 50 18.
      CASE sy-lsind.
        WHEN 1.
          WRITE:/ 'This is First window'.
        WHEN 2.
          WRITE:/ 'This is second'.
      ENDCASE.
    TOP-OF-PAGE.
      WRITE:/5 'LINE SELECTION'.

  • How to add a gui status in selection screen

    hi
    experts can u help me plzzzzzzzzzzzzzzzzzzzzzz
    for this

    Hi Ravi,
    Refer
    how to add a gui status in a selection screen?
    gui status in selection screen
    gui status in selection screen
    how to set my own gui status when i use selection-screen
    Reward if it helps
    Regards,
    Santosh

  • Gui status - Add status for F1

    Hi,
    My requirement like this way.
    I need to create a Gui status add FCODE to key F1. But if you expand the "Function Keys" icon in Gui status screen and scroll all the way right , you can find a function key option with icon ? . But this FCODE entry is in disable mode.
    But if you check SAP standard program SAPLLMOB and check gui status LOGON. You can find SAVE has been entered .
    Please don't suggest copy the standard gui status and use .
    Any other suggestion?

    I've tried but it did not worked for me.
    I've create a screen with 2 buttons: Button BACK and Button NEXT. The Function Codes are 'BACK' and 'NEXT' also.
    I've also created a brand new status gui and added this funtion codes to key F1 and F2.
    Result: when I press F1 key during screen execution, it opens a help window....
    Something is missing? Can you explain why do not works for me?

  • Upload / download gui-status/dynpro when function group

    Hi All,
    I'm coding a program where I can download and upload reports and module pools but I tried to do the same with function groups and I found It is different to upload dynpro and gui staus when the objet to generate is a function group.
    Could anyone help me a little in order to complete and finish this issue?
    Below is shown the routines I coding in order to achive that:
    For gui-status uploading I use:
    CALL FUNCTION 'RS_CUA_INTERNAL_WRITE'
        EXPORTING
          program   = prog
          language  = sy-langu
          tr_key    = tr_key
          adm       = adm4
        TABLES
          sta       = sta4
          fun       = fun4
          men       = men4
          mtx       = mtx4
          act       = act4
          but       = but4
          pfk       = pfk4
          set       = set4
          doc       = doc4
          tit       = tit4
          biv       = biv46c
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
    For screen uploading I use:
    GENERATE DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id
                          MESSAGE mess  LINE line   WORD    word.
        IF sy-subrc = 0.
          EXPORT DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id.
        ENDIF.
    But both options don't work when uploading function groups
    Regards...
    Edited by: Rob Burbank on Jun 1, 2011 11:58 AM
    Edited by: Kenneth Castañeda on Jun 2, 2011 7:31 PM
    Edited by: Kenneth Castañeda on Jun 2, 2011 7:34 PM

    Hi Kenneth,
    sorry, it is really not obvious that [there is a link behind zsaplink|http://code.google.com/p/saplink/].
    From the link:
    "SAPlink is an open source project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects."
    This software allows you to up- and download all kinds of SAP objects. It is distributed under the GNU General Public License.
    I think this is exactly what you are looking for - or I did not understand your question.
    Regards,
    Clemens

  • How to set my own gui status when i use selection-screen

    how to set my own gui status when i use selection-screen command
    and
    how to set the names in the application tool bar when function keys are created

    Make sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
    Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
    Also check out following discussion -
    Selection Screen PF-STATUS
    Cheers,
    Sanjeev

  • For GUI status in Transaction SE41 to remove menu bar.

    Hi all,
    I want to remove menu bar in se41 so that i can have a pop-up display with out menu bar. can anybody please suggest me ASAP.
    Rewards to all.
    Thanks,
    Arthi.

    Hi Arthi..
    While creating a GUI Status in SE41
    <b>Select the Status type as : DIALOG BOX (instead of Normal Screen)</b>This will Create the GUI status without Menu bar as per popup diaolgs.
    <b>Reward if Helpful.</b>

  • How can i make a vertical line in Application Toolbar when creat GUI STATUS

    I see some standard UI have a separator vertical line in the  GUI STATUS--Application Toolbar?
    Could you tell me how can i creat it in my customer  GUI STATUS?
    TKS a million~~

    Hi.
    Please try.
    1)Change mode your GUI-STATUS.
    2)menu -> Edit -> Insert -> Separator line.

  • OSS Note 1401249 - Issue in GUI status

    Hi ,
    As per 1401249 Note instructions, i need to add a new push button 'Display Income Levy Data',  in the standard report HIECILC0 .
    In SE41 , I am giving the program name HIECILC0 and Status 'ALV', when I click on Change button,  I see 'Modify Status ALV in program HIECILC0' , where as in the Note instructions screen shot it is given as  'Maintain Status ALV in program HIECILC0'.
    Have anyone faced this issue before, why is it 'Modify Status ALV in program HIECILC0' instead of 'Maintain Status ALV in program HIECILC0'.
    I am not able follow the same steps given in the Note instruction because of this issue.
    Please let me know how to proceed with this.

    Hi ,
    The  below thread resolved the issue.
    Can't modify a gui Status
    In SE41 Menu path: Edit -> Modification Operations -> Swich off assistant
    Thanks

  • Is it possible to add pushbuttons to the SAP Easy Access Front Screen ?

    Dear gurus.
    Is it possible to add pushbuttons to the SAP Easy Access Front Screen when a person logs in?
    if so how can we achieve it ?
    Regards
    Saad Nisar.

    SAP Standard Menu
    SAP Standard Menu helps you in including your own menu within the Sap menu bar .It helps us in making own function related to the program, sub routines or any transaction. The main advantage of this standard menu is that u can even modify this menu according to your client or project needs.
    The main advantage of the SAP Menu bar is that it can find specific transaction without knowing the transaction code.           SAP Menu is determined by the task you are doing in the SAP R/3 system.
    Menu are like Drop down list ,as when you click on any particular menu item, further options will be displayed.
    You can have as many as standard menu bar in the SAP Standard menu.
    The SAP Menu Bar contains the menus for the functional and administrative areas of the system.
    Features of the Sap Menu Bar are as Follows
    Menu     Description
    System     It contains all the function that affect the system as a whole such as Create session, User profile and Log off
    Help     This menu provide various types of online help that are available in R/3 system
    Following are the Steps how to modify the SAP Standard Menu Bar
    Transaction code SE41 is used for displaying the Menu Painter Menu. 
    Now in the Program field ,Type the MENUSYST  as the Program Name.
    Now in the Status field choose the option MEN by using the F4 help .
    After choosing the MEN option for the Status field, click on the Change then the Following Screen will be displayed
    Click OK and move Forward , it is just Alerting that Menusyst is a user interface .
    After that the Following screen will appear with Modify Status Men in Program MENUSYST
    Double click on the Menu bar shown in the Left side of the Screen .Such as the Menu bar will open .
    Double click on the System such that list of menu will be displayed .
    Now you can See there  are two columns  present in the system menu ,One is Code column and other is Text column. Right Click on your desired location of these two column such that it will show the option.
    From the option menu choose the option Insert Entry . By choosing this option a new row is inserted in the System menu . when the New row is inserted then type Menu  in the code field and My Option in the Text Field as follows. Both the code field and the Text Field name depends on your requirments.
    Now Double click on the Menu of the Code field such that Function attributes window will open.
    In the fuction type choose the function type as T (Call a transaction).and then Click Ok.
    After Selecting the Function type . Click on the Ok button of the fucntion Attruibute Screen .
    After that activate the Function by selecting the Menu in the code field and click on the Fucntion Code button Present on the top of the Sap Screen .
    Now Save (Ctrl +S ) interface of the program MENUSYST  .
    Now Activate (Ctrl + F3) interface MENUSYST as follows .
    Now Come to the Initial screen of the Menu Painter i.e . SE 41 ,so as to test the modified SAP Statndard Menu ( by Pressing F3 )  and Type the Program As MENUSYST and status as MEN and then Click Test Button .
    After clicking the Test Button the Status Simulation Screen will appear , just click Excute button on that popup screen.
    Now the Menu Painter Intial Screen will appear such that you can test your function code there. Now Click on the System menu in the Menu Bar
    After clicking to the System Menu , the list of the option will open and our Customized /Modified SAP Menu will appear into it as follows .
    Now you can See that the My Option Menu appears on the Standard System Menu. There are various Advantages of the modification of the Standard Menu which are discussed as follows .
         Code Flexibility, As We can choose our own predefined Standard Menu fucntion in the Program as required by the client.
         Independency . Sap program is independent of various other supporting program that are supporting to the defined function.
         Ease of Code . More Uniformity is established between the Standard Menu function.We can include our own predefined fucntion module within this standard function module
    Deactivating of the SAP Standard Menu
    You can just move to the MENUSYST Prgram through SE41 Transaction Code . then Select the MENU option which you had customized and then click the Function Code again in the SAP screen.
    Then Message will be Displayed that Function MENU is Deactivated as follows .
    Now Save and Activate the interface MENUSYST. Test the Program using the Initial Screen SE41
    And check the System menu in the Menu bar ,then the My Option Menu is deactivated .

  • Gui status (AT USER-COMMAND) trigger at first

    Hello all,
    I wrote a basic list  shown below.
    In it , AT USER-COMMAND and AT LINE-SELECTION events are used all.
    when i double click on line in the list, I think the at line-selection should be trigger at first. but  in fact ,the AT USER-COMMAND trigger.
    and the sy-ucomm get the first button value in the GUI-STATUS BAR(There's only one button on it).
    how can i solve it .
    any answers should be appreciated.
    START-OF-SELECTION.
      SET PF-STATUS 'ZSATMM24F1'.
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
      write :  \ 'aaaaaaaaaaaa'
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'TO_a'.
          PERFORM to_a.
      ENDCASE.
    AT LINE-SELECTION.
      write : 'test'.
    best regards,
    daniel.

    Please make sure to add the fcode PICK to the F2 function code in your gui status and try again.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Cfpdfform (CF8) changes text-field font of an adobe 9 pdf form to Courier

    I'm having problems getting cfpdfform to render the text-field font as it exists in the source pdf form. The source pdf form was created in Acrobat 9 Standard. When I download the pdf from the server using cfcontent, the text-fields look as expected,

  • Safari quits unexpectedly for one user after Mavericks upgrade

    2.33 GHz Intel Core 2 Duo 15" Macbook Pro circa mid-2009 OS X 10.9.4 Safari 7.0.5 After the Mavericks upgrade Safari will always stay open for about 30 seconds before crashing and saying "Safari quit unexpectedly". Furthermore, unless I am looking in

  • Convert Date Object to Calendar object

    Hi, I have a Date field in my webdynpro application, I need to to read this from my current context and convert the same to a Calendar field and pass it to my model. Calendar date = CalendarConverter.parseDate(req_date.toString()); The above code giv

  • Update to iTunes released

    http://www.ilounge.com/index.php/news/comments/apple-releases-itunes-501/ I wonder if this will fix the problems with Contacts/Calendar syncing.

  • Javax.microedition.io.ConnectionNotFoundException: TCP open

    i am running my application this connecting to my local servers's web pages but when i try to connect to other internet servers then i am getting following error plz help me in solving this problem..... javax.microedition.io.ConnectionNotFoundExcepti