GUI Status (or look-a-like) Within A Box

I would like to place buttons within a box, but I would like to see them at the top and within a framed area inside the box.  A good example is how an ALV Grid's buttons look in relation to the grid. Does anyone know how to accomplish this.  Graphical example below...
<-- buttons in here

Hi Jason
You can place the toolbar in a custom container at the screen. For more information and example inspect the following link:
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/8f/bcc23657ad0730e10000009b38f839/content.htm">SAP Toolbar</a>
*--Serdar

Similar Messages

  • Reg: GUI Status

    Hi,
    Am calling a screen 104 from the main screen, using the following statement..
        CALL SCREEN 104 STARTING AT 10 5.
    It is including the GUI status of the main screen. But I dont want any GUI status for the screen 104. I need only Title bar. How can I exclude the previous GUI status? Is it like by creating the new GUI status( without any buttons ) or is there any other efficient way to do this?
    Regards,
    SAP Lover

    Hi,
    The GUI status of a selection screen is generated by the system. The SET PF-STATUS statement in the PBO event of the selection screen has no effect on the standard GUI status. If you want to use your own GUI status for a selection screen or deactivate functions in the standard GUI status in exceptional cases, you can use one of the following function modules in the PBO event of the selection screen:
    RS_SET_SELSCREEN_STATUS
    Sets another GUI status defined in the same ABAP program, or deactivates functions of the standard GUI status.
    RS_EXTERNAL_SELSCREEN_STATUS
    Sets a GUI status defined in an external function group. You must use the SET PF-STATUS statement to set the status in a special function module in this function group. You must pass the name of the function module that sets the status as a parameter to the function module RS_EXTERNAL_SELSCREEN_STATUS.
    For further information, refer to the function module documentation.
    REPORT demo_sel_screen_status.
    DATA itab TYPE TABLE OF sy-ucomm.
    PARAMETERS test(10) TYPE c.
    AT SELECTION-SCREEN OUTPUT.
      APPEND: 'PRIN' TO itab,
              'SPOS' TO itab.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
           EXPORTING
                p_status  = sy-pfkey
           TABLES
                p_exclude = itab.
    In this example, the Print and Save as variant functions are deactivated. To find out the function codes of the standard GUI status, choose System ® Status and double-click the GUI status field.
    regards,
    preet
    reward if useful..

  • For the new iPhone 5s - is there not an option anymore to edit imessages without deleting the whole stream?  There are some things I need to keep within a stream and some not necessary, and it looks as like no editing within a conversation?

    For the new iPhone 5s - is there not an option anymore to edit imessages without deleting the whole stream?  There are some things I need to keep within a stream and some not necessary, and it looks as like no editing within a conversation?

    Now I also know about pulling the message to the left to see the time stamp.  Good to know, although I preferred it being right where I could see it without having to do a swipe or keystroke. 

  • When I copy and paste text in facebook, the text looks fine until I hit 'share' or 'comment' to submit it. Firefox then adds indiscriminate line-feeds within the text and it looks nothing like the original text. This does not happen in Safari. (Mac OSX 10

    When I copy and paste text in facebook, the text looks fine until I hit 'share' or 'comment' to submit it. Firefox then adds indiscriminate line-feeds within the text and it looks nothing like the original text. It makes it very difficult to read and awful to look at.
    This does not happen in Safari.
    (Mac OSX 10.6.4 with Firefox 3.6.6).
    == URL of affected sites ==
    http://

    Same problem, 3.6.8 and previous recent versions. I never thought to try another browser but I just pasted into IE and it worked fine. I copied from Firefox to IE and it worked as well. It's just when you paste into Firefox that you get the weird line breaks.

  • Disable Head Menu In GUI STATUS

    Hello everyone,
    i have a gui-status that has a menu (with several options within it) and application toolbar.
    Im looking for a way to disable/remove the menu only , I know that the options within it can be disabled using EXCLUDE fcode but the menu header (The name we press  is not assigned to an fcode apparently and thus cannot be disabled using the exclude option.
    thanks in advance,
    Eli Erenburg, Israeli Navy

    Hi,
        Actually there is no need to SET PF-STATUS in PAI in WHEN 'SWITCH' code as once it goes to PBO module it will again set PF-STATUS EXCLUDING 'SAVE' all the time.
    So you have to change the PBO Module logic as follows,
    MODULE PBO OUTPUT.
    IF <your condition>.
    SET PF-STATUS 'GS_100'.
    ELSE.
    SET PF-STATUS 'GS_100' EXCLUDING 'SAVE'.
    ENDIF.
    ENDMODULE.
    and then remove the SET PF-STATUS statements from
    SWITCH_EDIT_MODE subroutine..
    Best way is to set a flag (a global variable) in SWITCH_EDIT_MODE and use it in PBO instead of go_grid->is_ready_for_input..
    Some thing like the following,
    in your SWITCH_EDIT_MODE routine,
    IF gv_edit EQ 'X'.
    CLEAR gv_edit.
    ****other code here to disable grid
    ELSE.
    gv_edit = 'X'.
    ****other code here to enable grid
    ENDIF.
    In your PBO module,
    MODULE PBO OUTPUT.
    IF gv_edit EQ space.
    SET PF-STATUS 'GS_100'.
    ELSE.
    SET PF-STATUS 'GS_100' EXCLUDING 'SAVE'.
    ENDIF.
    ENDMODULE.
    Hope this helps..
    Regards

  • Use standard GUI status in customer GUI status without extra programming

    Hi,everyone.
    I have a problem in my development.
    now, I'm developing my own dialog program. And I need use my own GUI status.
    there are some buttons on application tool bar.when I click some buttons on the
    application tool bar,the program will do something according to the function code.
    But now, I also need the standard tool bar in the screen too.yeah,I know I can input function code
    to the buttons of the standard tool bar and the buttons of standard tool bar will be bright and can
    be clicked. But when I click the button on the standard tool bar like 'back', the program will not
    return to the previous screen .
    so, what I want to know is how can I make the buttons bright and achieve the functionality provided
    by the standard tool bar without extra programming.

    HI,
    you can use Tcode SE41 ( MENU PAINTER ) to copy the status of a standard program.
    to go back to the screen from where you come from like the standard BACK button.
    in PAI
    module go_back.
    in abap source code the module looks like this
    module go_back.
    case sy-ucomm.
    when 'BACK'.
    LEAVE TO SCREEN O.
    endcase.
    endmodule.
    to by pass the screen validations the above code should be written in
    MODULE MNAME AT EXIT-COMMAND.
    in the PAI.
    Thanks and regards
    Ramchander Rao.Krishnamraju

  • GUI status name in BHTML

    Hello,
    I am looking for a way to get the GUI status in a BHTML file.
    I am writing my own generator for ITS, and there I need the currently active GUI status or the name of it.
    I tried to get it with
    `<tags `PF-STATUS` `~CURRDYNPRO` />`
    but that didn't help. I only got something like that:
    <tags  ZTOP_GENERATOR_TEST_0100 />
    The name `PF-STATUS` is not translated, the `~CURRDYNPRO` is ZTOP_GENERATOR_TEST_0100
    I saw some code like ~CURRDYNPRO.name but I could not figure out some kind of sub-value for the status.
    I am working here with a NetWeaver 7.01 with EHP1 and integrated ITS.
    Hope anyone can help me...
    Thanks a lot.
    Greetings,
    Georg
    Edited by: Georg Bergen on Dec 18, 2009 11:06 AM

    Hi Edgar,
    No, I am referring to the GUI Status object that defines all the button actions available on a screen. In WebSAPConsole there is no problem to use it, but in ITS I did not find an easy way.
    Currently I figured out a workaround adding a new I/O field to the screen with the name 'SY_PFKEY', and it works fine, but I don't want to manipulate the screen itself, so this is only my last resort.
    Georg

  • Transport of gui status

    Hi there,
    I have attempted to deploy some ABAP code which was developed in 4.7 into a 4.6b environment. Mysteriously the GUI statuses have not gone with the transport. Does this need to be added explicitly to the transport objects when going across versions like this ? Is it to do with the way objects are organised in packages as oppose to dev classes ?
    (When I deployed the code in another 4.7 box it worked fine)

    Hi Richard,
    I would suggest you to look up in SE11 transaction, for table <b>E071</b>, check for object type '<b>CUAD</b>' <-- GUI Status for your program name in your 4.7 box.
    Regards,
    Subramanian V.

  • Hide all buttons in a GUI-STATUS ?

    I'd like to hide all functions from the toolbar of a GUI-STATUS except for one function.
    I could of course create a table with all the FCODE except for the one and then call
    SET PF-STATUS 'bla' EXCLUDING itab.
    But whenever I add a function to the GUI-Status then, I have to change that code. Is there a way to prevent this.

    Hello Daniel,
    Looking at the responses that your question has got, I wouldn't say that I had understood the question as well as
    the others have.
    I understand that you want to be able to dynamically add and delete the Functions from your toolbar. But what I did
    not quite understand is what exactly you had meant by "...I have to change that code....". If you want to perform an
    action, you would have to write some code anyways. So here's what I would do:
    1. Define a GUI-STATUS which has all the function codes you will ever need during the program.
    2. You can manipulate the Buttons on the toolbar with the EXCLUDING option.
    3. I don't believe that you need to use the FM RS_CUA_GET_STATUS_FUNCTIONS. Consider using instead the ABAP statement GET PF-STATUS. The Online Documentation has explained this statement wonderfully.
    4. I don't think that creating a database table to merely maintain the FCODEs of a program is a sensible option either.
    Instead consider using an internal table of constants, where you have all the FCODES required.
    I hope these points would clarify some of the things. If you need further assistance, please get back.
    Regards,
    Anand Mandalika.
    P.S. Two points that I would like to remind you:
    a). You can use the statement SET PF-STATUS SPACE to reset all the PF-STATUS.
    b). Once you set a PF-STATUS, it will be available till the moment you use the next SET PF-STATUS statement.

  • Creating a cascading menu button an a GUI status

    I have a GUI status on a normal screen (NOT on an ALV grid).  On this status I have added 3 function buttons (SEARCH, CREATE, MANAGE).  I want to add a 4th button that appears and acts like a cascading menu button. An example of what I want the button to look like is similar to what you would see on the standard 'Change Layout' button on an ALV Grid.  I am not using an ALV grid, though - but I'm trying to get a button on the GUI status to act like that - where you click on it and you see multiple options such as Display, Edit, Copy.
    I don't want to add this to my MENU bar.  I'm trying to add it to my APPLICATION bar.  If anyone has ever done this, please let me know how you did it.
    Thank you for any helpful information.
    -P. Foley

    I think that is done with the "toolbar" control so it will be in the screen, not on the application bar... have a look at SAPTOOLBAR_DEMO1, and the CTMENU_* programs, plus
    http://help.sap.com/saphelp_sm32/helpdata/en/8f/bcc23657ad0730e10000009b38f839/frameset.htm
    for more info on this, if it is the style you want.
    Or perhaps look at Generic Object Services to add a button between the application bar and below the menu (as in ME23N, FB03 etc)
    Jonathan

  • How to get GUI Status(Push Buttons) in ALV Report

    Hi Friends
    I have a requirement in a way that:
    Once selection-screen was processed,an ALV report has to come and above the ALV List,I need a custom GUI Status(4 Push Button) with Push Buttons Logic.
    Once I had clicks on thesse push button,I need to display one more ALV List and above this List,again I need a custom GUI Status(2 Push Buttons) with Push Buttons Logic.
    Can anyone throw some light how we can achieve this.
    Thanks for your cooperation!
    Regards,
    Madisetty

    data: rt_extab type slis_t_extab,
            g_ucomm like sy-ucomm ,
            g_selfield type slis_selfield.
    form alv_display .
      call function 'REUSE_ALV_LIST_DISPLAY'
         exporting
         i_callback_program             = g_repid
         i_callback_pf_status_set       = 'PF_STATUS'
         i_callback_user_command        = 'USER_COMM'
           it_fieldcat                    = it_fldcat
          tables
            t_outtab                       = it_final1
      perform pf_status using rt_extab.
      perform user_comm using g_ucomm g_selfield .
    endform.  
    form pf_status  using    p_rt_extab.
      set pf-status 'PF_STATUS' excluding p_rt_extab.
    endform.
    form user_comm  using    p_ucomm like sy-ucomm
                             p_selfield type slis_selfield.
      data: l_row type i.
      case  p_ucomm.
        when 'DISPLAY_PO'.
          loop at it_final1 into wa_final1.
            if wa_final1-sel eq 'X' .
              l_row = l_row + 1.
            endif.
            if l_row gt 1.
              message e004.
            endif.
            clear wa_final1.
          endloop.
          p_selfield-fieldname = 'SEL'.
          read table it_final1 into wa_final1 index p_selfield-tabindex .
          set parameter id 'BES' field wa_final1-ebeln.
          call transaction 'ME23N'.
      endcase.
    endform.
    *create user interface for gui status by double clicking on 'PF_STATUS'.
    *Check the above sample code .

  • How to put separator lines in menu items in a gui status ?

    Hi,
    I have created gui status for my z transaction
    I need the separator lines in the menu items like it is seen in std transactions
    For example, in any screen , in the Help menu, we can see the following.
    Application Help
    SAP Library
    Glossary
    (line)
    Release notes
    (line)
    SAP Service Marketplace
    could you please help me how to put the lines ?
    thanks

    Hi,
    Goto Your GUI status.click on your  MENU bar.
    under the menu bar you will have your own menu items.
    where ever you want separator line  do the following way.
    you will have 2 columns under menu bar
    1) code
    2) text.
    under code dont put anything.
    but under text column you put dashes and enter or select right click there and choose separator line.
    you will get separator line.
    activate and run the ztcode.you will get .
    code                                            text
    Application Help                         
    SAP Library
    Glossary
    Release notes
    SAP Service Marketplace
    Thanks
    Parvathi

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

  • Any ideas for GUI status manipulation?

    Hi All,
    I have a requirement with me, which I'm not able to figure out how to achieve. Here goes:
    There's a transaction in ERP system (CO11N) which was originally not designed (it seems) to be used with CALL TRANSACTION kind of way. But now a requirement is to call it that way... I guess I can do that anyway by passing the SET PARAMETER for the key input fields...
    But there's also another requirement that when calling the transaction this way, make sure two of the application toolbar buttons should be disabled. And they should be enabled when the transaction is called directly from the command bar (as /nCO11N).
    I don't have any set/get parameters to check for and disable/enable the GUI status Fcodes with it...
    Can someone please give me some pointers as to how this can be achieved?
    Thanks in advance!
    Mithun.

    Hello Jonathan,
    Thanks a lot for the quick tip.
    I thought of this technique as well... But then figured that using this 'export to memory' technique is not a very recommended way...
    Thus I want to keep this way as a last resort for the time being... But would like to know if there is any better way to achieve the same effect without using the shared memory sort of technique.

  • 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

Maybe you are looking for