Push buttons on application tool bar , should be changed based on radio but

Hi fndz,
i have 2 radio buttons on selection screen.
depend on the radio button i select , the push buttons on 
application tool bar of basic list should be changed.
can u plz help me.
Thanks & Regards
kumar

Hii..
Parameters : r1 radiobutton group GRP1 ,
                    r2 radiobutton group GRP1 .
START-OF-SELECTION.
   CASE 'X'.
   WHEN R1.
     SET PF-STATUS 'S1'.
   WHEN R2.
     SET PF-STATUS 'S2'.
   ENDCASE.
Note: if you want to call the Same GUI Status (app toolbar), you can use the syntax
SET PF-STATUS 'S1' EXCLUDING <ITAB>
hope this solves ur issue.

Similar Messages

  • How to add push button in application tool bar in SAP transaction VA01

    How to add push button in application tool bar in SAP standard transaction VA01 and how to implement the code for that function code.

    There is no scope to create a push button in application tool bar. Instead of that we can add in a menu bar.

  • How to create a new push button in application tool bar in GMGRANT thru BDT

    Dear SAP Gurus -
    We have a requirement in 'GMGRANT' transaction. We need to create a button in the application tool bar of 'GMGRANT' transaction. Once the button is activated, if the user clicks on the button then it will go to a new screen (external screen). User can input data in to the external sceeen and upon saving, the data will be stored in to a custom table and when user clicks on 'back ' button user should come back to the GMGRANT transaction.
    Just wanted to know, how to create / activate a new button on application tool bar of GMGRANT transaction and what are the configuration and detail steps to achieve the same through BDT.
    We went through a lot of documents on BDT but do not have a proper solution.
    Could you please help.
    Thanks in advance.
    Regards,
    Atul Mohanty

    hi,
    You can find user-exits (menu exits) to add new menu item.
    But, there is no possibility to add new buttons on application tool bar.
    Regards,
    Sailaja.

  • Icon with push button on application tool bar

    hi
    how we place icon along with pushbutton on application tool bar on selecteion screen.
    thanks in adv

    Hi,
    you can check the code below for test,
    TYPE-POOLS icon.
    TABLES sscrfields.
    DATA functxt TYPE smp_dyntxt.
    Parameters: test(1) TYPE C.
    SELECTION-SCREEN: FUNCTION KEY 1.
    INITIALIZATION.
      functxt-icon_id   = ICON_GRAPHICS.
      functxt-quickinfo = 'graphics'.
      functxt-icon_text = 'Graphics'.
      sscrfields-functxt_01 = functxt.
    AT SELECTION-SCREEN.
      CASE sscrfields-ucomm.
        WHEN 'FC01'.
    Message 'Button 1 pressed' TYPE 'I'.
        WHEN OTHERS.
      ENDCASE.
    START-OF-SELECTION.

  • How to hide button in application tool bar

    Hi
    There is a standard SAP report. after executing it,
    There are 5 buttons in application tool bar .
    I want to hide 3 of the buttons,
    How can I hide them not by change program.
    (Ex, can I use transaction variant).
    Best Regards,

    try to use transaction variant....
    Edited by: shan palani on Dec 17, 2008 10:48 AM

  • How to add button on application tool bar of standard transaction-URGENT

    Hi All,
    Can any one let me know how to ADD the button in on application tool bar of standard transaction by using SHD0 transaction or any other solution.While adding the button I don't want do any code modification.
    Thanks,
    Vijay

    Hi,
      Go through this thread.
       Push Buttons on application toolbar.
    Regards,
    Vani.

  • Regarding list display + button on application tool bar

    Hi guru's
    I have a requirement like i need to select one particular record in the list display and prees on the button which is placed on the application tool bar.Then i should get one more screen where i can enter some details.
    As per my knowledge it is possible only in grid display.
    Kindly let me know if it is possible.
    It would be great help if sample coding is provided.

    Hi Ajay,
                You can do this in alv list display also.
    Copy the standard gui status in ur program using tcode SE51->user interface>copy->target prog name.activate it
    and add a button there.Use FM <b>'REUSE_ALV_EVENTS_GET'</b> to get user-command event.
    sample code :
    form Z8_EVENTCAT  using    p_i_eventcat TYPE SLIS_T_EVENT.
    DATA : L_EVENT TYPE SLIS_ALV_EVENT.
    FOR GETTING ALL 17 EVENTS
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
       I_LIST_TYPE           = 0
    IMPORTING
       ET_EVENTS             = P_I_EVENTCAT
    EXCEPTIONS
       LIST_TYPE_WRONG       = 1
       OTHERS                = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CLEAR L_EVENT.
    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_PF_STATUS_SET INTO L_EVENT.
    IF SY-SUBRC = 0.
    MOVE 'Z8_PF_STATUS' TO L_EVENT-FORM.
    APPEND L_EVENT TO P_I_EVENTCAT.
    ENDIF.
    CLEAR L_EVENT.
    READ TABLE P_I_EVENTCAT WITH KEY NAME = SLIS_EV_USER_COMMAND INTO L_EVENT.
    IF SY-SUBRC = 0.
    MOVE 'Z8_USER_COMMAND' TO L_EVENT-FORM.
    APPEND L_EVENT TO P_I_EVENTCAT.
    ENDIF.
    form Z_MENU using p_extab type slis_t_extab.
    SET PF-STATUS 'MENU_LIST'.
    endform.                    " Z_MENU
    form z8_user_command using p_ucomm type sy-ucomm
                               p_selfield type slis_selfield.
      case p_ucomm.
      WHEN '&IC1'.
    call screen 100.
    endcase
    endform.
    Reward points if helpful.
    Regards,
    Hemant

  • How to add button on application tool bar of standard transaction

    Hi All,
    Can any one let me know how to ADD the button in on application tool bar of standard transaction by using SHD0 transaction or any other solution.While adding the button I don't want do any code modification.
    Thanks,
    Vijay

    HI
    SHD0 is used to create and maintain Screen and Transaction Variants..
    to know more about Screen and trransaction variants click on this link
    http://help.sap.com/saphelp_47x200/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
    we can create Transaction Variants Using SHD0 Transaction.
    Transaction Variants and Screen Variants
    Transaction variants can simplify transaction runs as they allow you to:
    Preassign values to fields
    Hide and change the 'ready for input' status of fields
    Hide and change table control column attributes
    Hide menu functions
    Hide entire screens
    In particular, hiding fields in connection with screen compression, and hiding screens, can result in greater clarity and simplicity.
    Transaction variants are made up of a sequence of screen variants. The field values and field attributes for the individual screens found in transaction variants are stored in screen variants. Each of these variants is assigned to a specific transaction, can, however, also contain values for screens in other transactions if this is required by transaction flow. The transaction that the variant is assigned to serves as initial transaction when the variant is called.
    There are both client-specific and cross-client transaction variants. All screen variants are cross-client, but may be assigned to a client-specific transaction variant.
    A namespace exists for cross-client transaction variants and screen variants and both are automatically attached to the Transport Organizer. Client-specific transaction variants must be transported manually.
    In principle, transaction and screen variants can be created for all dialog and reporting transactions. There are, however, certain Restrictions that apply to certain transactions, depending on their internal structure.
    No transaction variants are possible with transactions already containing preset parameters (parameter transactions and variant transactions).

  • How to add button on application tool bar of standardt ransaction

    Hi All,
    Can any one let me know how to ADD the button in on application tool bar of standard transaction by using SHD0 transaction or any other solution.While adding the button I don't want do any code modification.
    Thanks,
    Vijay

    http://help.sap.com/saphelp_nw04/helpdata/en/c8/19762743b111d1896f0000e8322d00/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/83/7a18cbde6e11d195460000e82de14a/frameset.htm
    these are the avilable user Exits for the Tcode..C203
    XCZD0004 Extend authority check for the material-recipe allocati
    CMDI001 Determine explosion control for BOM
    CPAU0001 Enhancement for Authorization Check in Task Lists
    CPDO0001 Test units of measure for reference operation set
    CPRE0001 Enhancement for Reorgnization Checks in Task Lists
    Run this Program.. enter the Tcode. u'ii get teh BADI's exist for the Tcode
    REPORT Z_FIND_BADI .
    TABLES : TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA wa_tadir type tadir.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    endcase.
    Please give me reward points...

  • Custom button in alv and disabling all buttons in application tool bar

    Experts,
    Could you please  help me for the below requirements.
    1). How to disable all the buttons (like sorting, print, find, set filter...etc.) in tool bar using oops?
    2). Where can I add my custom download button in alv report using oops?
    Thanks in advance...
    Sridhar..

    Step1:
    Create on local class
    Class <LCL_EVENT_RECEIVER> Definition
    Define the below public methods.
    Method Name     HANDLE_TOOLBAR
    Event Name     TOOLBAR
    Event Class     CL_GUI_ALV_GRID
    Importing     E_OBJECT, E_INTERACTIVE
    Method Name     HANDLE_USER_COMMAND
    Event Name     USER_COMMAND
    Event Class     CL_GUI_ALV_GRID
    Importing     E_UCOMM
    Class <LCL_EVENT_RECEIVER> Implementation 
    .     Method HANDLE_TOOLBAR
         Declare the structure <LS_TOOLBAR> of structure type STB_BUTTON
         Append the button information as given below into table E_OBJECT->MT_TOOLBAR to         display the custom button on ALV grid.
                               LS_TOOLBAR-FUNCTION = u2018DOWNu2019
                         LS_TOOLBAR-QUICKINFO = u2018downloadu2019
                         LS_TOOLBAR-TEXT = u2018downloadu2019
         Method HANDLE_USER_COMMAND
    In this method if E_UCOMM = u2018DOWNu2019 write your logic.
    Step2:
    1.     To excluding the ALV grid buttons, fill the <LT_EXC> with function code CL_GUI_ALV_GRID=>MC_FC_EXCL_ALL
    2.     To generate the ALV Grid, call the method SET_TABLE_FOR_FIRST_DISPLAY
    Class     CL_GUI_ALV_GRID
    Method Name     SET_TABLE_FOR_FIRST_DISPLAY
    Exporting     
    I_STRUCTURE_NAME      ZDS_CM_EXT_SEL
    LS_LAYOUT                    <LS_LAYOUT>
    IT_TOOLBAR_EXCLUDING     <LT_EXC>
    Changing     
    IT_OUTTAB                    <GT_EXT_SEL>
    Create the Instance for class <LCL_EVENT_RECEIVER>
    Class     <LCL_EVENT_RECEIVER>
    Instance Name     <LO_EVENT_FNAME>
    Now set handler  <HANDLE_USER_COMMAND> and <HANDLE_TOOLBAR_FNAME> events using instance <LO_EVENT_FNAME>
    Call method 'SET_TOOLBAR_INTERACTIVE' to raise event TOOLBAR
    Class     CL_GUI_ALV_GRID
    Instance Name     <GO_GRID>
    Method Name     SET_TOOLBAR_INTERACTIVE

  • Open dialog box at the press of push button in alv tool bar

    Hi team,
    I have created alv report displaying field contents.mean while i have created one pushbutton in toolbar at the alv report output for downloading the  data into CSV Format.
    The requirement is ,At the push of the button, a standard download dialog box should open for download to local computer. The path and file name from the initial screen should be defaulted, but possible to update on the dialog box.
    please suggest me how to create download dialog box with field as file path where i can edit the defaulted file path.
    please let me know,how can i go ahead and satisfy the reuirement or share me piece of code if you have.
    Thanks And Regards,
    Sakti.

    After the user Command you can use
    * Display save dialog window
          CALL METHOD cl_gui_frontend_services=>file_save_dialog
            EXPORTING
    *      window_title      = ' Filenema'
              default_extension = 'TXT'
              default_file_name = 'data'
              initial_directory = 'c:\temp\'
            CHANGING
              filename          = ld_filename
              path              = ld_path
              fullpath          = ld_fullpath
              user_action       = ld_result.
          p_file  = ld_fullpath.

  • Push button application tool bar

    Hi All,
    i have a push button on application tool bar , i need to disable that button , where can i do this.
    Kindly suggest.
    Thanks&Regards.
    Ramu

    Hi,
    You can use the excluding addition in the SET PF-STATUS command..
    EX.
    DATA: ITAB_CODE LIKE SY-UCOMM OCCURS 0 WITH HEADER LINE.
    Dummy condition..
    IF SY-SUBRC = 0.
    A & B will be the function code that you gave in the menu painter..
    ITAB_CODE = 'A'.APPEND ITAB_CODE.
    ITAB_CODE = 'B'. APPEND ITAB_CODE.
    THis will remove the function codes A & B from the menu bar.
    SET PF-STATUS EXCLUDING ITAB_CODE.
    ENDIF.
    Re: Menu Bar - Urgent
    Regards
    Sudheer

  • Language conversion of text on buttons in application toll bar of report -

    Hello,
       Can you please let us know,
      How to convert the language(EN -> FR)  the text  for buttons in application tool bar of a report . I have tried  with SE63.  If SE63, pl let me know the navigation path ?
    Regards
    Badari

    Hi,
    This would happen in much the same way as text-elements and would be a straightforward language conversion.
    For your [reference|http://www.sapdev.co.uk/country/Lang_Conv_Issues.htm].
    May it helps you.
    Regards,
    DS.

  • Application tool bar at selection screen

    HI.
    For application tool bar iam using following code.
    SELECTION-SCREEN: FUNCTION KEY 1,
                        FUNCTION KEY 2.
      sscrfields-functxt_01 = 'Report'.
      sscrfields-functxt_02 = 'Clear'.
    But iam getting 3 application tool bar 1.Execute 2.Report 3.Clear.
    I want only Report and Clear buttons,how can I remove default execute button from application tool bar.
    Pls advice me .
    Reward all helpful answers,
    Regards.
    Anil.

    hi,
    AT SELECTION_SCREEN OUTPUT.
    SET PF-STATUS 'SPACE'  EXCLUDING 'EXECUTE'.
    We can do the above way but handle the other buttons as per your requirement
    Thanks & Regards,
    Chandralekha.

  • Custom icon at application tool bar in transaction CJ20N

    Hi,
    Experts my requirement is to create a custom Icon in the Application tool bar of CJ20n transaction
    kindly suggest me  any user exit or badi   or enhancement spot for this to implement .
    i have tried menu exit CNEX0009 but it ill create entry  at the menu item,
    there are other exits CNEX0006    but is not showing any thing
    i need to create icon at the application tool bar.
    i have found a enhancement spot but it say it can implemented by SAP only kindly  let me know how  implement it
    any help in this regard will appreciated....

    i think in this is case u have to make use of user exits.
    Regards
    Prabhu

Maybe you are looking for

  • Mail attachment in pages

    I recently upgraded to mavericks and at the same time bought Pages for all my documents. I changed all my Word documents into Pages. Now I cannot send any documents any more as an attachment to my mails (I use Yahoo). Any solutions?

  • Book mark problem in SAP Bi web report with internet explorer 8

    Hi we recently started usig internet exlpore 8.0 for BI report, in that when we are click the book mark button it was not doing nothing. the same book mark option is working fine with Ineternet Exlpore 6.0 Note:we are allowing the  Popup in IE8.0 tha

  • FI Posting Error Balancing field "Profit Center" not filled-Vendor acc

    Dear All,      System has been Configured the emp. loan and insurance deduction to be posted to respective vendor accounts. while making the FI posting system is throwing error like "Balancing field "Profit Center" in line item 001 not filled".   We

  • Will my Office for Mac work when I upgrade to LION?

    Help! I've read on the Lion reviews that Word doesnt work after you upgrade? Can someone clarify this for me, and advise whether a sollution is planned? Ta Vx

  • Succession Planning - Support team roles and functionalities

    I'm looking for clarification about the role you can assign to a member of a support team for a requisition (object NB) In Succession Planning (E-recruiting) when you create the succession plan (requisition Object NB) you have to define the support t