Application toolbar of selection screen

Hi,
I'd like to add SEPARATOR (not button) to application toolbar of selection screen. Is it possible?
Thanks
Radoslaw

Hi Kltys,
   Check the following sample programs:
Selection Screen :
demo_sel_screen_with_subscreen.
demo_sel_screen_as_subscreen.
demo_sel_screen_in_tabstrip.
demo_sel_screen_with_tabstrip.
DEMO_SEL_SCREEN_PUSHBUTTON
D_ANALYSEREPORT_EABP_BUTTONS
Reward Points if this helps.
Manish
Message was edited by: Manish Kumar

Similar Messages

  • Pushbuttons on application toolbar in selection screen

    Hi,
    I have created 2 pushbuttons in the application tool bar of selection screen using pf-status.But the other icons in the standard toolbar were grayed out because of this.can anyone tell me why this is happening.

    Hi
    you need to define those other elements of the menubar in the PF-STATUS for example for back write -
    > BACK
    for cancel----->CANCEL for save
    use these predefined function codes
    PRI
    List
    CTRL-P
    Print displayed list
    %EX
    List
    Shift-F3
    Exit processing
    PICK
    Edit
    F2
    Event AT LINE-SELECTION
    RW
    Edit
    F12 , ESC
    Cancel processing
    %SC
    Edit
    CTRL-F
    Find
    %SC+
    Edit
    CTRL-G
    Find next
    BACK
    Goto
    F3
    Back one level
    P--
    CTRL-PgUp
    Scroll to first window page
    P-
    PgUp
    Scroll to previous window page
    P+
    PgDn
    Scroll to next window page
    P++
    Ctrl-PgDn
    Scroll to last window page
    Regards
    Pavan
    Edited by: Pavan Bhamidipati on Jul 11, 2008 6:40 AM

  • How many pushbuttons u can create in application toolbar in selection scree

    Hi
    How many pushbuttons u can create in application toolbar in selection screen? 
    Thank You

    Hi,
    Use SET PF-STATUS 'ZABC'.
    Double click on it.
    It will display Application toolbar. Create the buttons.
    I think the limitation is bcz of the LABEL of button, if you create buttons with a Single TEXT, then you would be able to create many buttons, including toggle button. The Toggle button would switch the buttons.
    i.e say initially 10 buttons are displayed along with toggle button. You click the toggle button , then remaining 10 buttons are displayed.
    Best regards,
    Prashant

  • How to Grey(Deactivate) Function Code at application Toolbar of a screen

    Hi all,
    I want to gray(deactivate) function codes at application toolbar of a normal screen. I am using excluding addition of set pf-status but it hides the button from the application tool bar.
    I don't want to hide button, but gray only.
    Thanx in advance.

    When editing the PF-Status itself, try selecting the menu option and then F7 (the Function Code / Activate / Deactivate button, or menu Extras > Function Active <-> Inactive).
    Jonathan

  • ABAP how to suppress Application toolbar  on the screen

    Hi all
    As far as my knowledge is concerned I know we can't suppress the application toolbar in module pool programming (in the screen painter) but if is there any way to do that ?
    Regards,
    Mahesh

    Yes it is.  Or to be precise - depending on your definition of "Application toolbar".  For example, read the help text of  SET pf-status.

  • Push buttons in aplpication toolbar of selection screen

    Hi gurus
    I created a 2 pushbuttons  on  the application tool bar  of selection-screen(through select-options) and disabled the execute icon. one for DISPLAy,  and teh other for Information.
    1. now my question is when i click this pushbutton it should   display the report list. (how to handle this ,as am unable to execute the list whenever i press the custom pushbutton)
    2.  when i choose the "information" pushbutton,information regarding the current program should be displayed in a popup screen.
    plz help me out in this.
    helpful answers will be rewarded.
    regards.

    Hi!
    Sounds quite simple.
    In event
    at selection-screen output.
      sscrfields-functxt_01 = 'Display'(001).
      sscrfields-functxt_02 = 'Change'(002).
    you define the text of your buttons.
    In event
    at selection-screen.
    case sy-ucomm.
      when 'FC01' or 'ONLI'.
        perform run_display.
      when 'FC02'.
        perform run_change.
    endcase.
    you react on the ok-code.
    Regards,
    Christian

  • How to Add button in Application Toolbar for Fb01(screen) Transaction

    Hi All,
    I need to Add a customized Button at Application toolbar for FB01 Tcode for standard screen.
    I am unaware of this,please take it as an urgent issue and help me with your inputs.
    Points will be given.
    Thanks,
    Ramesh

    On which screen (in which standard status ?) to do what ?
    You could try to bypass sscr key requirement using some BAdI like FI_HEADER_SUB_1300 to add a button to screen or identifying an implicit enhancement option in one PBO module/form to change PF-STATUS, then look for such an option in PAI module/forms.
    Regards,
    Raymond

  • Function Keys on Selection-Screen

    Hi,
    I used function keys in one of my report program.
    Now, if some check box is checked in the customization that function should be displayed, otherwise shouldnot be displayed.
    I made use of "loop at screen" to make that application button invisible but i don't know the name of the button. I have given the name as same given while creating the button using "SSCRFIELDS".
    Is there anyy other way to disable the button??
    Regards,
    Yadesh

    Hi,
    Your requirement can be solved with two approaches:
    1) simpler one is to use different GUI statuses depending on checkbox state
    AT SELECTION-SCREEN OUTPUT.
    refresh it_exclude.
    if checkbox = 'X'.
      append 'BUTTON_FCODE'.
    endif.
    "you in turn swith on/off your desired button
    CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
        EXPORTING
          p_status  = 'GUI_STATUS'
          p_program = sy-repid
        TABLES
          p_exclude = it_exclude.
    2) as SELECTION-SCREEN FUNCTION KEY n statement cannot be processed within PAI/PBO block you cannot set it dynamically like
    AT SELECTION-SCREEN.
    IF check = 'X' .
    SELECTION-SCREEN FUNCTION KEY n.
    ELSE.
    "no selection button here
    ENDIF.
    Moreover you cannot change standard application toolbar of selection screen within Loop at screen statement (this will only affect selection screen parameters not toolbar).
    The only way here is dynamically generate report's code. When checkbox is check what you do is
    data: it_code type table of char72 with header line.
    READ REPORT sy-repid INTO it_code.
    Then looping through the code table you either remove entry having SELECTION-SCREEN FUNCTION KEY n. or add it to the table.
    Finally you switch reports code with
    INSERT REPORT sy-repid FROM it_code.
    And execute new one with
    SUBMIT (sy-repid).
    This will ensure that new SELECTION-SCREEN parameters (or function keys in your case can be switched and report will be executed with new screen look).
    Nevetherless be carefull! You need to ensure that submit will not create and endless loop. ABAP Memory will help you here (exchange flags within program indicating whether program is executed for the first time or another one).
    Hope this will give you some idea how to solve it.
    Regards
    Marcin

  • SELECTION-SCREEN-ICON

    Hi ,
      How to have a icon for a pushbutton in application toolbar using selection-screen.
      help me out.
    Thanks.

    REPORT ytest.
    TABLES: sscrfields .
    INCLUDE <icon> .
    SELECTION-SCREEN FUNCTION KEY 1 .
    parameters: pc(1) .
    INITIALIZATION .
    CONCATENATE icon_next_object 'test button at applicatin toolbar'
    INTO
    sscrfields-functxt_01 .
    AT SELECTION-SCREEN.
    IF sscrfields-ucomm EQ 'FC01' .
    break sy-uname .
    ENDIF .

  • Validation for a selection screen used as a subscreen

    Hi friends,
    I have a screen say '0001' in that screen i have three subscreens 0002 0003 0004
    In the subscreen 0002, i have declared three selection screens 0102, 0202, 0302
    In the Application toolbar of the screen 0001 (PF Status) i have declared three push buttons A, B, C,
    On click of A i ll invoke 0102 selection screen inside the subscreen 0002.
    Similarly On click of B i ll invoke 0202 selection screen inside the subscreen 0002
    Similarly On click of C i ll invoke 0302 selection screen inside the subscreen 0002.
    I have completed till the above ...
    My problem is ........................
    The selection screens will have their own Parameters and select options .....
    some of them are mandatory & some of them not .......
    Now when i switch from one push button to another say from A to B and then again to C .... for each and every click it is asking to fill in the mandatory paramters and select options ........ and then only allowing to move to the next sel screen .......
    Needed solution:
    ~~~~~~~~~~~~~
    1. How can i avoid this message "Fill in the required fields" ?
    2. How can i validate the user entries if i take away all the "OBLIGATORY"
        additions in the selection screen declaration part
    3. Where can i write "At selection screen" validation? becoz iam using a function
        group for the creation of screens and all and have included the selection
        screen declaration in the top include of the Function group?
    Hope iam clear with my question!!
    Revert back if you need more clarrifications on the question itself
    Cheers
    Kripa Rangachari .....

    Hi,
       In the pf status - for push buttons give the type as E.
    Write the processing for this in at exit command.
    Validation should be done in AT SELECTION-SCREEN ON field.
    Reward if helpful.

  • Reg: Selection screen tabstrip

    Hi all,
      I need to create a screen with tab strip and inside the tab it should hold a subscreen containing text element and checkbox and a  button.
    This is to be done using the selection-screen begin of screen method and not as a module pool.
    SELECTION-SCREEN BEGIN OF SCREEN 9000 TITLE title.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
                        TAB (20) button1 USER-COMMAND push1,
                      END OF BLOCK mytab.
    SELECTION-SCREEN END OF SCREEN 9000.
    I tried by above way but it's going to dump.
    Kindly help me on this by providing a sample code as to how to go about it.
    Thanks in advance,
    Krithika

    Hi
    Sample programs:
    DEMO_DYNPRO_TABSTRIP_LOCAL Tabstrip Control - Scrolling at SAPgui
    DEMO_DYNPRO_TABSTRIP_SERVER Tabstrip Control - Scrolling at Application Server
    DEMO_SEL_SCREEN_IN_TABSTRIP Selection Screen as Subscreen in Tabstrip
    DEMO_SEL_SCREEN_WITH_TABSTRIP Selection Screen with Tabstrips
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK selec FOR 17 LINES,
                        TAB (23) button1 USER-COMMAND push1,
                        TAB (23) button2 USER-COMMAND push2,
                        TAB (23) button3 USER-COMMAND push3
                        DEFAULT SCREEN 1001,
                        END OF BLOCK selec.
      SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
      SELECTION-SCREEN END OF SCREEN 1001.
      SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.
      SELECTION-SCREEN END OF SCREEN 1002.
      SELECTION-SCREEN BEGIN OF SCREEN 1003 AS SUBSCREEN.
      SELECTION-SCREEN END OF SCREEN 1003.
    Initialization
    INITIALIZATION.
      button1 = text-det.
      button2 = text-sup.
      button3 = text-mef.
      selec-prog = sy-repid.
      selec-dynnr = 1001.
      selec-activetab = 'BUTTON1'.
    Managing the keys
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'PUSH1'.
          selec-dynnr = 1001.
          selec-activetab = 'BUTTON1'.
        WHEN 'PUSH2'.
          selec-dynnr = 1002.
          selec-activetab = 'BUTTON2'.
        WHEN 'PUSH3'.
          selec-dynnr = 1003.
          selec-activetab = 'BUTTON3'.
      ENDCASE.
    2)  DATA flag(1) TYPE c.
    SUBSCREEN 1
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p1(10) TYPE c,
    p2(10) TYPE c,
    p3(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 100.
    SUBSCREEN 2
    SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: q1(10) TYPE c OBLIGATORY,
    q2(10) TYPE c OBLIGATORY,
    q3(10) TYPE c OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF SCREEN 200.
    STANDARD SELECTION SCREEN
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK mytab FOR 10 LINES,
    TAB (20) button1 USER-COMMAND push1,
    TAB (20) button2 USER-COMMAND push2,
    TAB (20) button3 USER-COMMAND push3
    DEFAULT SCREEN 300,
    END OF BLOCK mytab.
    INITIALIZATION.
    button1 = text-010.
    button2 = text-020.
    button3 = text-030.
    mytab-prog = sy-repid.
    mytab-dynnr = 100.
    mytab-activetab = 'BUTTON1'.
    AT SELECTION-SCREEN.
    CASE sy-dynnr.
    WHEN 1000.
    CASE sy-ucomm.
    WHEN 'PUSH1'.
    mytab-dynnr = 100.
    mytab-activetab = 'BUTTON1'.
    WHEN 'PUSH2'.
    mytab-dynnr = 200.
    mytab-activetab = 'BUTTON2'.
    ENDCASE.
    WHEN 100.
    MESSAGE s888(sabapdocu) WITH text-040 sy-dynnr.
    WHEN 200.
    MESSAGE s888(sabapdocu) WITH text-040 sy-dynnr.
    ENDCASE.
    MODULE init_0100 OUTPUT.
    LOOP AT SCREEN.
    IF screen-group1 = 'MOD'.
    CASE flag.
    WHEN 'X'.
    screen-input = '1'.
    WHEN ' '.
    screen-input = '0'.
    ENDCASE.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
    MESSAGE s888(sabapdocu) WITH text-050 sy-dynnr.
    CASE sy-ucomm.
    WHEN 'TOGGLE'.
    IF flag = ' '.
    flag = 'X'.
    ELSEIF flag = 'X'.
    flag = ' '.
    ENDIF.
    ENDCASE.
    ENDMODULE.
    START-OF-SELECTION.
    WRITE: / 'P1:', p1,'Q1:', q1,
    / 'P2:', p2,'Q2:', q2,
    / 'P3:', p3,'Q3:', q3.
    <b>Reward if usefull</b>

  • How to create application toolbar in modal dialog box in selection-screen

    Hi Experts,
    how to create application toolbar in modal dialog box in selection-screen?
    Regards,
    Swapnika

    Hi,
    Check the following link regarding Model dialog box and appication toolbar
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
    It helps in solving your problem.
    Thanks.
    Ramya.

  • 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

  • Creating push button on Selection screen application toolbar

    Hi Friends,
    this is a HR-ABAP report. I have to create a push button on Selection screen. when user clicks on that push button 'MODAL DIALOG BOX' has to be displayed containing some data.
    plz kindly give some sample code to do this.
    Regards,
    Radhika Dasharatha.

    Hi,
    1)Use SELECTION-SCREEN  PUSHBUTTON /10(20) PUSH USER-
      COMMAND 'ABC'. in selection screen.
    2) Give the static name to button in INITIALIZATION event like PUSH = 'PRESS'.
    3) At selection screen.
      if sy-ucomm eq 'ABC'.
    call FM HR_BE_GE_MODAL_DIALOG
    endif.
    Thanks
    Sandeep
    Reward if useful

Maybe you are looking for

  • How to add Z set types in Web UI

    Hello , We have created Z set types with 4/5 attributes & assigned it into a Z category. The Z set types are showing in GUI in individual objects but when trying to add these set types in Web UI it;s not showing either in BSP component PRD01OV or PRD

  • Not seeing a pdf logo in word to save the file

    Hi anyone, I just loaded Adobe Acrobat standard 7.0 and I cannot see a pdf tab to save my doc or docx file as a pdf before I email it. the people I send to need it in pdf format. any help for me?

  • Why can't I download this update AirPort Base Station Firmware Update 7.6.4

    I have version 6.3.1 for an Airport Extreme and I was not able to download this update AirPort Base Station Firmware Update 7.6.4 Why what is the problem ? Running OS X .7.5 Lion on a Mac Pro 1,1 software update will not find it either.

  • Makepkg syntax error - caused by POSIXLY_CORRECT

    I'm new to arch linux and after installation of arch and the first steps with makepkg I was confronted with following script error: /usr/bin/makepkg: line 1545: syntax error near unexpected token `<' /usr/bin/makepkg: line 1545: ` done < <(find . -ty

  • Favorites in Connect to Server

    I have several remote computers that I access periodically.  I would like to use Connect to Server to access them.  As far as I can tell, I can only save the IP address and that is not very useful because I don't remember which IP address corresponds