Status without application toolbar?

Hi all. Is anybody know if it's possible to set status without application toolbar? I meen if I use status without any buttons on application toolbar, there is a blank line on the screen in place of it. How can i remove it?

If you are using module pool then you can use a opup screen or subscreen for this purpose.
For creating buttons on the selection screen without using application toolbar,you can have a look at the following code :
REPORT demo_sel_screen_pushbutton.
TABLES sscrfields.
DATA flag(1) TYPE c.
SELECTION-SCREEN:
  BEGIN OF SCREEN 500 AS WINDOW TITLE tit,
    BEGIN OF LINE,
      PUSHBUTTON 2(10) but1 USER-COMMAND cli1,
      PUSHBUTTON 12(10) text-020 USER-COMMAND cli2,
    END OF LINE,
    BEGIN OF LINE,
      PUSHBUTTON 2(10) but3 USER-COMMAND cli3,
      PUSHBUTTON 12(10) text-040 USER-COMMAND cli4,
    END OF LINE,
  END OF SCREEN 500.
AT SELECTION-SCREEN.
  MESSAGE i888(sabapdocu) WITH text-001 sscrfields-ucomm.
  CASE sscrfields-ucomm.
    WHEN 'CLI1'.
      flag = '1'.
    WHEN 'CLI2'.
      flag = '2'.
    WHEN 'CLI3'.
      flag = '3'.
    WHEN 'CLI4'.
      flag = '4'.
  ENDCASE.
START-OF-SELECTION.
  tit  = 'Four Buttons'.
  but1 = 'Button 1'.
  but3 = 'Button 3'.
  CALL SELECTION-SCREEN 500 STARTING AT 10 10.
  CASE flag.
    WHEN '1'.
      WRITE / 'Button 1 was clicked'.
    WHEN '2'.
      WRITE / 'Button 2 was clicked'.
    WHEN '3'.
      WRITE / 'Button 3 was clicked'.
    WHEN '4'.
      WRITE / 'Button 4 was clicked'.
    WHEN OTHERS.
      WRITE / 'No Button was clicked'.
  ENDCASE.

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.

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

  • Listbox-Output possible in application toolbar of GUI-status ?

    Hi all,
    does anybody know, if (and how) it is possible to integrate a listbox element to chose values from in the toolbar of a GUI-status?
    Thanks in advance
    Andreas Flügel

    Hello Andreas,
    No, it is not possible to have a list box on the application toolbar. And I'm sure about it
    Regards,
    Anand Mandalika.

  • All 35 slots used in Application Toolbar ? Need more to add in PF-status

    All,
    I have a report with PF-status . But in the PF-status Application Toolbar declaration all 35 slots have been already used. My requirement is i need to add 5 more application toolbar in PF-status.
    Any Info?

    Hi,
    This Can be handle with two screens. use all 35 Options in first screen "A" and rest options you may use in another screen 'B'.
    In this case in first screen you May reserve one option out of 35 to call the second screen. Than use another options in second screen and so on.
    This is Just a suggestion i never gone thru this situation, but i believe this could be possible with some work around this.

  • Screen Application toolbar.

    Hi Experts,
       I have created two buttons on application toolbar i.e. SAVE And CHECK.
    my requirement is when any one click on CHECK button then only SAVE button should active.
    how to do this?
    Thanks,
    Abhishek

    Hi Tarun,
    I didn't understand whether it would work with the code you have given,
    START-OF-SELECTION.
      SET PF-STATUS '<pf_status_name>' EXCLUDING 'SAVE'. "disable save button
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'CHECK'.
          SET PF-STATUS '<pf_status_name>'. "enable save button when CHECK is clicked
          "other code
      ENDCASE.
    once you have set the pf-status, i doubt if it would work without using the immediately option...
    please check it out...
    Hi Abhishek,
    is it working without immediately option as well.... please do let me know as I tried from my end tarun's code was not working without immediately option and it worked with the code I pasted just before tarun.
    Regards,
    Pinaki

  • Menu bar and application toolbar

    is there a way to change item text on menu bar and application toolbar  eg in business partner overview(T-Code fmcacov) i want to change text 'Business Partner" to "tax Payer" on both menu bar an application toolbar. i have tried the norma way of going to change the screen but when i am on the GUI status its not going to change mode even sfter entering the access key

    Hi ,
    Open the program and click on GOTO=>ATTRIBUTES.
    Change the text to the heading which you want.
    SAVE & ACTIVATE.
    Regarding opening in change mode, the steps you have carried out are correct.
    You need to comment the existing gui-status by placing cursor on that line & click delete.
    Then click on INsert button and add new gui-status.
    Best regards,
    Prashant

  • Problem with application toolbar

    Hi all
    I am facing a problem with the alv application toolbar.
    i have attached a custom  gui status to the alv but i am not able to see all the buttons created by me.
    some buttons are getting cut and i cannot see the buttons after scrolling as well
    Please suggest.

    Hi,
    U might have copied a standard PF-status into ur own status and added ur own buttons right....if it is so do not alter the std buttons sequence.......and add ur own buttons at the last.....
    also see if all de buttons are active...(red letters r inactive) activate den individually using function code button.....
    Cheers,
    jose.

  • How to perform a bottom of the application toolbar by codding?

    Hi.
    I tried to found info about this, it seems to be easy, but i couldn't found it.
    I have a ALV Report (with funtion module not OO).
    I copied a gui status from program saplkkbl status gui: standard_fullscreen.
    In the ALV i have one column editable, i could refresh the info when i push the bottom that refers the function code &REFRESH
    I add a buttom in the application toolbar, i would like to execute or perform the standard funtion '&Refresh', and after that do my own code.
    how could i do it?
    thanks!!!
    Albio.-

    Hi.
    Well... i'm doing my program like you told me:
    FORM user_command USING r_ucomm LIKE sy-ucomm
      rs_selfield TYPE slis_selfield.
      rs_selfield-refresh = 'X'.
      CASE r_ucomm.
        WHEN 'CALC'. "buttom added by me
          PERFORM recalcula_formula.
        WHEN 'RUN'.  "buttom added by me
          PERFORM corre_batch_input.
        endcase.
    ENDFORM.                    "USER_COMMAND
    I need to execute the standard funtion bottom '&REFRESH' before my perform 'recalcula_formula'.

  • Adding a button in Application toolbar of Transaction IW32

    Hi ,
    I need to add a button in the Application Toolbar of standard transaction IW32,I tried copying the pf-status and adding it in the user exit exit_saplocih_006 also,but its not working.
    Please Kindly help.
    Regards,
    Ismail.

    I think you must create a copy of IW32 ( I am not wrong in SAP lingo they say repair) for example ZIW32. And add a button relevant gui status. (I have been looking Gui status of IW32 it is have more status. you must find true status)
    If you want change original source don't forget this a patch can change your code.

  • Buttons on  ALV Application Toolbar

    Hi,
    I have added buttons on the Application Toolbar of the ALV (in the GUI status).
    There are a lot of buttons and due to lack of space some of the buttons go out of the screen.
    Need to know if there is a way to make these buttons scrolable or in a dorp down.
    Thanks for the help.
    Karen

    Hi Karen,
    I also faced the same issue but solved it using alternative solution.
    1) Go to PF-STATUS and create a MENU BAR.
    2) Give Appropriate NAME and inside it  write FUNCTION CODE given for buttons under "Code"
    3) Appropriate description under "Text"
    4) Save and activate.
    Now,  execute the report and even if the buttons are going out of screen, you have option to select the button from MENU BAR.
    This is the best solution for this problem as far as i know.
    Also, if you re-size your window ; the you will get tabs with drop down.
    I hope this will help you in solving your issue.
    Regards,
    Rahul Mahajan

  • How to make the buttons INVISIBLE in the Application toolbar

    Hi All,
    I have a requirement to create a button in the Application toolbar of the Module Pool Screen. The field should be made Invisible by default. and it should be displayed based on one condition.
    Could you please let me know how to make that particular button INVISIBLE. I think we can make it invisible by using EXCLUDING statement. But, How to make the button VISIBLE again when the check is satisfied.
    I found from the portal that the FM 'VIEW_SET_PF_STATUS' can be used to make a button INVISIBLE. Could anyone help me out how to pass the parameters to this Function module?
    or is there any Function Module available to make the button VISIBLE and INVISIBLE? Please help me on this issues.
    Is there any possibility to make the button VISIBLE or INVISIBLE as we do for the screen fields using LOOP AT SCREEN..?
    Thank you in advance.
    Regards.
    Paddu.

    Hi,
    Try to use below in the PBO module status_0100 OUTPUT.
    DATA t_fcode TYPE TABLE OF sy-ucomm.
    refresh t_fcode[].
    APPEND 'Function code name of the button' TO t_fcode. 
    Check the condition here for which you want to make field visible.
        DELETE FCODE of the button from T_FCODE table
      ENDIF.
      SET PF-STATUS 'STATUS_0100' EXCLUDING t_fcode.

  • Application toolbar

    Hi all,
    I need to disable a button in application toolbar. Can any one give the solution?Thanks in advance.
    L.Velu

    you can use set-pf status excluding (OKCODE), if this is a toolbar on a regular screen.  If this is in a control, you have to implement the event handle_toolbar for the control.
    Albert

  • Disable selection screen application toolbar button

    Hi All,
    Could you please let me know how to hide or disable application toolbar pushbuttons in the selection screen default screen 1000??
    Thanks & regards,
    Santhosh

    Hi,
    Try this way.
    "Create table for function codes
    DATA: it_exclude TYPE TABLE OF sy-ucomm.
    PARAMETERS: r1 RADIOBUTTON GROUP gr1 USER-COMMAND uco1,
                r2 RADIOBUTTON GROUP gr1.
    INITIALIZATION.
      "Create two buttons with function codes FCODE1 and FCODE2.
      SET PF-STATUS 'MY_GUI'.
    AT SELECTION-SCREEN OUTPUT.
      IF r1 = 'X'.
        APPEND 'FCODE1' TO it_exclude.
        CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
          EXPORTING
            p_status  = 'MY_GUI'
          TABLES
            p_exclude = it_exclude.
      ELSE.
        REFRESH it_exclude.
      ENDIF.
    Thanks
    Venkat.O

  • Button on report selection screen application toolbar

    Hi,
    I want to place Button (application tool bar)on report(executable program) selection screen.
    Need your valuable suggestions.
    Thanks,
    Sreedevi

    hii
    1. create GUI status with "Status" name and "Short text"
    2. Now a screen will appear with the following,
                    a. Menu Bar
                    b. Application tool bar
                    c. Function keys
    3. Click the down arrow near the application toolbar
    4. Enter the function code like SAVE, EXIT, etc., You
    can also give ur own meaningful naming convention .
              For example ( ZTEST)
    5. Now press enter, it will ask for "Static text" or "Dynamic Text". Choose Static text and press enter
    6. Now it will ask for function text and Icon name. Specify some function text ( what it does ) and Icon name u want to attach.
    7. Press enter. It will ask for function keys. Specify a function key and press enter.
    8. Now u can handle this function code (ZTEST) either in PBO/PAI like IF FUNCTION = ZTEST ...ENDIF
    Note:
    Don't forget to set the GUI status u have created in PBO event.
    Example code to set PF status.
    PROCESS BEFORE OUTPUT.
    MODULE liste_initialisieren.
    MODULE setstatus_0100.
    LOOP AT extract WITH CONTROL
    tctrl_ztufi_league CURSOR nextline.
    MODULE liste_show_liste.
    ENDLOOP.
    In the above MODULE setstatus_0100 do the following,
    SET PF-STATUS 'ZGUI'. ( The GUI status u have created).
    Check this:
    <b>http://www.sapdevelopment.co.uk/reporting/selscr/but_appbut.htm</b>
    <b>http://www.sap-basis-abap.com/abap/add-button-to-alv-toolbar-with-reuse-alv-list-display.htm
    Re: How to add push buttons in out put screen of ALV
    http://www.planetsap.com/Tips_and_Tricks.htm</b>
    Regards
    Naresh

Maybe you are looking for

  • DTP: How to load a specific request?

    I have created a DTP between two InfoCube objects. I would like to perform full loads of only a few selected requests from the source InfoCube. I couldn't find the request number field in the DTP filter list. How can I accomplish my requirement? Than

  • Database mirroring with witness server and availability set

    Hi, I got two VMs Sql1 and Sql2 with mirroring between them, they are in the same availability to achieve 99.95% SLA. My mirroring config requires a witness server, while configuring a witness server you can specify only one server. From what I read

  • Confusion with Object class

    We all know that all classes implements Object directly or indirectly. That is why we get all public methods available in Object class. But as the definition says, if our class extends Object class indirectly and we are able to get public methods lik

  • Can't find search function for this forum?

    Am I blind or something, or is this site working as well as soundtrack pro? Where is the search bar?

  • How can I control the enable/disable of command buttons in ADF JSF

    I have been having a great deal of trouble trying to work out how to control the command button such that if the rowset is null then the button is disabled. The trick is that the rowset is not defined by the view where the command button is located.