STATUS GUI

Hi all!
I would like to know, how to setup the icons EXIT and BACK from the Standard tollbar.
I created a new Status GUI, with that, the standard tollbar is disabled, my code works, but when I clic on BACK or EXIT nothing happens, I wrote this:
at user-command.
CASE sy-ucomm.
when '&BACK'.
when '&EXIT'.
endcase.
But I don't know what I should write there, I wrote EXIT, but is not working. It's a simple program, no dynpros, it's a simple report.
Also, is there any way writing a code, and after pressing a button to show the :
1. Name of the button. and
2. The function asociated to this button  ?
I'll appreciate any help.
Thanks,
Gaby

Did you set the function type to exit-command for that buttons ?
check this link
link:[http://www.sapdev.co.uk/dialog/exit_command.htm]
Edited by: Keshu Thekkillam on Oct 6, 2009 7:32 PM

Similar Messages

  • Problem Status Gui in Ecc 6.0

    Hi all,
             I have a problem in Ecc 6.0 with status gui. The status not allow to write on the help icon. This icon (help) is protected.
    In 4.6c, the status gui allows to write. The Icon isn't protected in 4.6C.
    Many thanks.

    Hi Jose,
    I would open an oss ticket in your case with BC-OP-AS4 ...
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

  • Multiple selection screens with status gui

    Hi,
    I want to make a report with two selection screens and i should create a status gui for these two.
    So, I've tried to do, the following:
    * FIRST SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK bk WITH FRAME.
    PARAMETERS: pa(200) TYPE c.
    SELECT-OPTIONS: so FOR sflight-carrid.
    SELECTION-SCREEN END OF BLOCK bk.
    * /FIRST SCREEN
    * SECOND SCREEN
    SELECTION-SCREEN BEGIN OF SCREEN 2000.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME.
    PARAMETERS: pa2(200) TYPE c.
    SELECTION-SCREEN END OF BLOCK bk1.
    SELECTION-SCREEN END OF SCREEN 2000.
    * /SECOND SCREEN
    AT SELECTION-SCREEN OUTPUT.
      SET PF-STATUS 'Z_STAT'.
      SET TITLEBAR 'COISO'.
    AT SELECTION-SCREEN.
      IF sy-dynnr EQ '1000'.
        CASE sy-ucomm.
          WHEN 'BACK' OR 'EXIT' OR 'CANC'.
            LEAVE TO SCREEN 0.
          WHEN 'EXECUTAR'.
            CALL SELECTION-SCREEN 2000.
            IF sy-subrc <> 0.
              LEAVE TO SCREEN 1000.
            ENDIF.
        ENDCASE.
    The problem is that on the first selection screen i have the status gui that I've created, but when i use CALL SELECTION-SCREEN 2000
    the status gui (Z_STAT) is not assigned with the screen 2000.
    Is this possible? If yes how, and how can i capture which button on status gui of screen 2000 was clicked, because the field sy-ucomm after the call selection-screen 2000 is not updated?
    Regards,
    Pedro Bessa

    harsh bhalla,
    its the same report. with two selection-screens. Can't i have status gui for both of them?
    Gurpreet Singh,
    I have a selection screen. Not a screen. Can a have a pbo for a selection-screen? or one for each selection-screen?
    The table SSCRFIELDS and the field sy-ucomm stays with the value from the first selection-screen.
    Regards,
    Pedro Bessa

  • Status gui, text elements and screens in Abap in Eclipse

    Hello everybody,
    Today i start using AiE, but i see that i can't create status gui, text elements and screens, the only method to achieve this is open sap gui (from eclipse) and create this directly there. I don't know if i am doing something wrong but i can't see how to create this objects in eclipse.
    Is SAP working to implement this options directly in Eclipse without having to go to sap gui?, if that's right, when are we going to see this options directly in eclipse?.
    In advance thank you very much.
    Best regards.
    Jhon Jairo Teran.

    Hi Jhon Jairo Teran,
    you are right, some development objects are currently only supported in AiE using the SAP GUI integration. However, with each release more and more features become available. For example, editing message classes was added in a recent release. The best way to keep up-to-date with the features of AiE is to follow the AiE space on SDN (ABAP in Eclipse).
    On thing to keep in mind is, that the availability of some features depends on the version of the backend system. Thomas Fiedler created a blog that contains the information which features are available with which backend version: ADT Feature Availability Matrix for AS ABAP Releases.
    Christian

  • Status GUI and change of language

    Hi!
       I need to create the staus gui for Português, English and Deutsche.
        BY SE80 Status GUI. I translate the menu bar for Potuguese and it is changed for others languages too.
      How do I do  ?
    Thanks.

    To change the language got to settings/general/international/language

  • Add icon in Bar Button of Status Gui

    Hi Guys,
    I'd like to add an ICON_POSITIVE of <icon> in the bar button, but when trying it in status gui it show me an error message: "The icon ICON_POSITIVE doesn't exist".
    Please, help me.
    Yours sincerely,
    Marcos.

    Hi guy,
    I've already checked it in this table and the icons ICON_POSITIVE and ICON_NEGATIVE are there, but aren't allowed to be used in Bar Button of Status Gui.
    Thanks,
    Marcos.

  • Break line in status gui

    Hi,
    I need to put a brake line like: |
    between some buttons of status gui toolbar. I tried some way but I miss. help
    thx
    mk

    U say "break line",is it a seperator?
    If YES,then u may assign the property of the menu item to be a seperator.It is displayed as the seperator of the WINDOWS.
    Hope this can help u.

  • Hide a Status Gui button in SM30

    Hi people!
    Anyone knows how I can hide a button in status gui in a sm30???? I've already done the sm30!
    When I say 'sm30'  i mean -> go se11 create a Ztable and acess Utilities > Maintenance table generator!
    Can you help me???
    Regards,
    Gabriel
    Edited by: Gabriel Petrini on Jan 21, 2008 4:15 PM

    have you tried going into SE93 and creating a Z transaction code?  You might be able to go into that transaction... 
    To have the create entries button hidden, you can go and set the default values for the screen to SHOW and it corresponding value to X.

  • Status GUI items ME51N

    How can I add a button in the status of the items table control in ME51N?
    In program SAPLMEGUI I do not see any STATUS GUI that corresponds.
    Thanks.

    I have solved it.
    In the include LMEGUICJM, in the METHOD toolbar_init.
    Putting the following thing:
        L_quick = ' My button '.
        CALL METHOD cl_gui_toolbar=>fill_buttons_data_table
           EXPORTING
             fcode            = '&MYCODE'
             icon             = icon_select_detail
           DISABLED         =
             butn_type        = cntb_btype_button
            TEXT             =
             quickinfo        = l_quick
           CHECKED          =
           CHANGING
             data_table       = lt_my_buttons
           EXCEPTIONS
             cntb_btype_error = 1
             OTHERS           = 2.
    The code of this button in the include LMEGUICJL, METHOD if_command_mm~execute.

  • What is the exact meaning for Screen Texts, GUI Status & GUI Titles

    What is the exact meaning for Screen Texts, GUI Status & GUI Titles and where we can find in SAP.
    What is called as these : Screen Texts, GUI Status & GUI Titles
    Kindly let me know.
    Akshtiha.

    Hi Akshitha,
    <b>Screen text</b>:They are labels that you can display beside your selection-screen parameters/select-options.. from the ABAP editor, use the menu option Go to> Text Elements>Selection Texts.
    <b>GUI STATUS</b>:go through this link
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba99935c111d1829f0000e829fbfe/content.htm
    <b>gui title</b>:The GUI status and GUI title are interface elements of screens. You create both of them using the Menu Painter in the ABAP Workbench. On screens, GUI statuses of type dialog status are used.
    Thanks
    Vikranth Khimavath

  • Status gui &XXL (export to excel format)command doesnu00B4t work

    hi gurus i copied the standar GUI menu from SAPLKKBL and every thing its ok except the &XXL (export to excel format)command .
    i push this button and nothing happens. The popup doesn appear what is wrong? i have excel in my pc and when i use the %PC
    command it works fine and converts to excel but i need the mmhtml format so i need the &XXL command works . any idea?

    IM DOING SOME TEST I CHANGE THE TYPE OF ALV AND IT WORKS, BUT I NEED TO USE THE REUSE_ALV_BLOCK_LIST_DISPLAY AND THE PROBLEM IS WITH THIS TYPE OF ALV
    Moderator message - Please do not use all caps!
    Edited by: Rob Burbank on Sep 27, 2010 5:25 PM

  • 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?

  • Urgent : program to copy or download GUI status

    Hi Experts,
    I have to copy Screens and GUI status, GUI titles from one SAP sysytem to another SAP system. Do anyone have the solution for it.
    Or any program that could download to local system and then to upload the GUI Status and Screens to another syatem....
    Thanks,
    Govind

    Hi Govind,
    You can download the entire code one by one in simple flat file and can upload the same in the target system. It will reduce a lot of effort on your part. But as for the screens I think you need to put the data elements again. But you can check it as I have never tried.
    The process to upload and Download the entire code is given below:
    To download
    SE80->Utilities->More Utilities->Upload/Download->Download. ( use this to download in a simple flat file.)
    To Upload
    SE80->Utilities->More Utilities->Upload/Download->Upload.  ( now upload the simple file in the target system in the same way.)
    Thanks and Regards,
    Samantak.
    Rewards points for useful answers.

  • Change the status in a ALV

    Hi! 
    I call a ALV in a subscreen, in the catalog there are 2 check box in edit mode, so the default status gui is diferent if I call it with no editable fields, I want to set the status in read mode, there's any way?
    Thanks,
    Luis

    Hello Luis
    You have to do this logic yourself. Assuming that you have created your ALV grid instance already then you have to code in the PBO module where you set your GUI status the following lines:
    MODULE status_0100 OUTPUT.
      IF ( go_grid->is_ready_for_input( ) = 1 ).
    "  set GUI status for editable mode
      ELSE.
    "  set GUI status for display mode
      ENDIF.
    ENDMODULE.
    Please note that method <b>IS_READY_FOR_INPUT</b> has optional parameter for row number and column number. Thus, it appears that you can specifically ask the grid instance whether a certain column (your checkbox column) is editable or not.
    Regards
      Uwe

  • How to create status separator button?

    I would like to create a separator button like ' | ' between two status button, how to achieve this?

    Hi eckwise su,
    Refer to this link
    Vertical line separator in status gui toolbar
    solves your problem
    Regards!

Maybe you are looking for

  • Credit memo and return

    Hi gurus,       after I have created a credit memo , I want to create a return for the same material item. but message shows that " there is already a credit memo request", so I can't continue to create return.  can I create credit memo request and r

  • Installing Adobe Reader Touch without the Windows Store

    We are trying to get this working in the corporate environment, obviously we don't want everyone to be logging into the windows store to download applications. I don't think Im the only one in this but the appstore is a pain if the appx files aren't

  • Writing Exception into ccBPM container trace from Graphical mapping

    Hi guys, I followed the Guarneri's blog /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping It works fine within message monitor, but at the trace of ccBPM nothing appears! I'm talking about the trace of the

  • Is the Business Delegate a Singleton?

    I use the Business Delegate to hide the implementation details (lookup, EJB, etc.) of the Business Service from the client. The same Business Delegate is used in many different places in the client. Now I would like to avoid to pass around the object

  • Time manipulation

    Hi guys, I have taken a look at some of the Video-copilot tutorials on time manipulation, and have a question or two around After Effects and frame rates. The Panasonic camera I am using, according to the documentation, can record several frame rates