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

Similar Messages

  • 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

  • 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

  • Pushbutton on application toolbar

    Hi,
    How to write code for pushbutton on application toolbar in a normal report program and functionality on that?
    Basic question. Please search before posting such basic questions
    Edited by: kishan P on Sep 2, 2010 3:09 PM

    Hi Chandrka,
    To create and appear push button in the screen you need to create a Push button.
    go to start of selection .
    add syntax.
    Set PF STATUS 'cutom'.  <-- Double click on the custom it will take you to se41 and add a button in application toolbar
    and write code in At-user command and handle it.
    Prabhudas

  • Pushbuttons on application toolbar of basic list 1

    Hi all,
    I want to do BDC for sales order creation  but before that my user want to validate item data based on some conditions (customised in system using user exit : idea is to avoid occureence of user exit by validating it on internal table level )
      So I will display the data in the list format and user will check it...and then execute BDC...for that I want some pushbuttons on application toolbar of basic list 1.....(not on selection screen)
    I am thinking of set pf-status...but how and where to set it?
    Any idea please........
    Thanks....

    Hi,
      You can place SET PF-STATUS just before the display list code.
    Regards,
    Sravanthi

  • Adding pushbutton in application toolbar of HR programs  using LDB

    Hi all!
    I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
    Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
    But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
    The same question is already posted in SDN but no reply.
    Please provide your suggestion.
    Thanks,
    Rajan U

    Hi all!
    I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
    Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
    But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
    The same question is already posted in SDN but no reply.
    Please provide your suggestion.
    Ive found this keyword: SELECTION-SCREEN FUNCTION KEY n [ldb_additions].  Will this be useful??
    Thanks,
    Rajan U

  • 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

  • Multiple pushbuttons on application toolbar not fitting

    Hi ppl,
    I have a created a custom transaction wherein I need to display about 18 pushbuttons on the application toolbar.
    But, the problem is that all of these do not fit on the screen so I can see only about 10 buttons in my transaction (the last button is not even displayed completely).
    Please let me know if I can create a multi line application toolbar or is there any other solution for this?
    Regards.

    Hi ppl,
    I had a custom screen designed for my transaction.
    And I was able to display around 10 buttons on the application toolbar. No issues with that.
    Now, I have placed 9 pushbuttons on the application toolbar and the remaining are designed in the screen area.
    Thank you all for the quick and helpful replies.
    Regards.

  • 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

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

  • 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

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

  • 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 PUSHBUTTON 0(20) name USER-COMMAND FILE.

    Hi,
    I'm trying to put a button on a selection-screen!
    I'd like this button to be Icon + text! Text is ook, how do I add an icon ?
    regards,

    If you want to create pushbuttons with tool tips on a selection screen or you want to assign a tooltip to the pushbuttons created with SLECTION-SCREEN FUCTIONKEY in the GUI status of a selection screen, the correction instructions contain a sample program which demonstrates how you can assign tool tips to pushbuttons or application toolbars in a selection screen.
    Code
    REPORT ZZTOOLTIPDEMO.
    TYPE-POOLS icon.
    DATA: funckey TYPE smp_dyntxt.
    TABLES: sscrfields.
    SELECTION-SCREEN PUSHBUTTON 1(40) pushbutt USER-COMMAND
    com VISIBLE LENGTH 12.
    SELECTION-SCREEN FUNCTION KEY 1.
    INITIALIZATION.
    CALL FUNCTION 'ICON_CREATE'
    EXPORTING
    name = icon_information
    text = 'My Text'
    info = 'My Quickinfo'
    ADD_STDINF = 'X'
    IMPORTING
    RESULT = pushbutt
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    MOVE icon_information TO funckey-icon_id.
    MOVE 'My text' TO funckey-icon_text.
    MOVE 'My quickinfo' TO funckey-quickinfo.
    MOVE funckey TO sscrfields-functxt_01.

  • Selection-Screen F1 Help

    HI Abapers,
         My requirement is, in the selection-screen i want to have a push button next to execute button with icon ICON_INFORMATION from table ICON displayed on it. On the click of the Push button a sepeate window has to be opened which displays the Documentation of the program. How to achieve it .Situable answers will be rewarded.
    Regards,
    Kasi S

    hai,
      this is the coding for keeping pushbutton on application toolbar.
    TABLES sscrfields.
    PARAMETERS: p_carrid TYPE s_carr_id,
                p_cityfr TYPE s_from_cit.
    SELECTION-SCREEN: FUNCTION KEY 1,
                      FUNCTION KEY 2.
    INITIALIZATION.
      sscrfields-functxt_01 = 'LH'.
      sscrfields-functxt_02 = 'UA'.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
          WHEN'FC01'.
          p_carrid = 'LH'.
          p_cityfr = 'Frankfurt'.
        WHEN 'FC02'.
          p_carrid = 'UA'.
          p_cityfr = 'Chicago'.
      ENDCASE.
    START-OF-SELECTION.
      WRITE / 'START-OF-SELECTION'.
    Message was edited by:
            tamilarasan kandasamy

Maybe you are looking for

  • How To See Away Status Gmail Chat Buddies In Messages?

    Hi, I'm only seeing buddies shown from my google talk account who are online, the away ones don't show up. Is there a way to change this? Thanks

  • Email server problem - failed to connect to server

    Since Friday 27th August I've been having trouble connecting to the email server for my BT Yahoo account. It simply can't find the server, even though none of the account settings have changed and it has worked fine for years. Weirdly, sometimes it w

  • Blocked Account- Registering Complaint to FTC

    Dear Friends, I noticed so many threads within the community regarding account being blocked or suspended by Skype without any reason and not refunding the amount paid for subscription. I too faced the same problem within 3 days of starting paid subs

  • URL is not displayed in Work flow task of CRM UI and displayed in SOST Tcode

    Hi All, I am trying to display the dynamic URL with short link in work flow task, the same got properly displayed in SOST Tcode and mail but not displayed in CRM UI, may I know the reason behind it? code in work flow task under description is below :

  • List of Value (LOV) Embedded Comma, Semicolon, Colon

    I have an LOV that is to return an Employee Name in the format "Last_Name, First_Name Middle_Name" with a comma after the last name and a space between the First_Name and Middle_Name. Basically, my LOV is Employee_Name and Employee_Id. However, I can