Define F-Code for ALV Button & context menu for ALV table

Hi,
I have some Buttons in ALV Toolbar like for example 'copy row'. Is it in browser environment possible to assign f-code to the button? Like by pushing e.g. F4 the method for 'copy row' action is fired?
Or additionaly, is it possible to define a custom context menu in alv table?
Thanks in advance,
Tan

Hi Tan,
This Functionality is working on..Pelase check this...
Re: How to improve Web accessibility with Function keys
Re: Hot key(Ctrl+F1) for More field help not working
Re: GUI Status?
For help..
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/b951297a6d2d65e10000000a42189c/content.htm
Cheers,
Kris.
Edited by: kissnas on Jun 21, 2011 11:46 AM

Similar Messages

  • Transaction code for custom table

    Hi there,
    I created one custom table. I created Tbale Maintenance Generator for this. I have to create transaction code for this table so that user can directly open this custom table in SM30. Can anybody suggest on this. is there any other way to do this so that user can directly open this custom table in SM30 mode?
    Regards,
    Zakir.

    Hi
    Check this link for creating a transaction code for a TM
    http://www.sap-img.com/abap/create-a-table-maintance-program-for-a-z-table.htm
    Please go throught below link ..... it was given with screen shots of the T.code Creating for the table after the maintaince view had been created ......
    http://www.sapdevelopment.co.uk/tips/tips_tabmaint_tcode.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
    Regards
    Anji

  • 2.1.1 Problem with User Defined Reports with actions on the context menu

    I use the User Defined Reports quite a lot, and export and publish these to other members of the team as Shared Reports. I'm also quite disappointed that there seems to be no further development in this area of SQL Developer.
    One of the totally undocumented features of User Defined Reports is the ability to attach actions to a context menu, and pass data from the grid to a procedure, for example. Copying, then exporting the sessions report (from All Reports -> Data Dictionary Reports -> Database Administration -> Sessions) exposes the XML for adding actions to the context menu. The snippet for killing a session looks like this:
    <item  reload="true"  reloadparent="false" removeFromParent="false">
      <title>Kill Session</title>
      <prompt type="confirm" >     
        <label>Kill Session?</label>     
        <default><![CDATA[]]></default>     
        <value><![CDATA[]]></value>        
      </prompt>
      <sql><![CDATA[ALTER SYSTEM KILL SESSION '#SID#, #SERIAL#' IMMEDIATE]]></sql>
      <help>Kill the selected session.</help>
    </item>So to add this type of functionality to your own user defined reports, you need to export the report, edit the XML, and import it again. It seems to work fine to add this to the master reports, but if you add an <item> element to the child reports, the context menu items appear on the master report too, and they are duplicated many times. I'm not sure if the action of exporting the report adds to the number of times the context menu appears.
    Warning - if you edit a report using SQL Developer, all the <item> tags are removed. Once you've added actions to a context menu, you can only edit the report by exporting it, modifying the XML and importing it again.
    Has anyone else seen this behavior? Have you found a work-around?
    To the SQL Developer team: Are there any plans to allow the adding of user defined context menu items to reports using the GUI in the near future?

    You're right the context menu needs a GUI desperately. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

  • Right Mouse Button Context Menu

    Hi There,
    I'm currently involved in developing an application with a pretentious
    user interface. As acquainted from real event driven dev. platforms
    I wonder if LabVIEW is also able to make the application display
    a context menu when users press mouse buttons. I'd like to use
    the event structure to obtain if any button is pressed but I've no idea
    how to design and dispay a context menu near the mouse pointer position.
    Is anybody already expearienced in handling context menus?
    THX for your help.

    Hi,
    I've send you a toolkit for doing this.
    Regards,
    Wiebe.
    "Sebastian Dau" wrote in message
    news:3e5f3785$0$24915$[email protected]..
    > Hi There,
    >
    > I'm currently involved in developing an application with a pretentious
    > user interface. As acquainted from real event driven dev. platforms
    > I wonder if LabVIEW is also able to make the application display
    > a context menu when users press mouse buttons. I'd like to use
    > the event structure to obtain if any button is pressed but I've no idea
    > how to design and dispay a context menu near the mouse pointer position.
    >
    > Is anybody already expearienced in handling context menus?
    > THX for your help.
    >
    >

  • How to Create a T-Code for a Table ?

    Hi,
    I had a doubt - can we create a T-code for a user defined  table.
    Because in SE93 , there is no such specific option specified.
    Kindly Clarify.
    Advance Thanks.

    hi harini,
    this is the way u create.
    In transaction SE11, in the attribute tab of your z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button.  Here you can enter new entries into the ztable .
    Or
    You can create a PARAMETER TRANSACTION for the transaction for SM30 . 
    Follow these steps :
    1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
    2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
    3. In the next screen enter default values:
                            transaction : SM30
                            check the check box skip initial screen
    4. Scroll down you will find a table control for default values
            Name of the screen field      |       value
        VIEWNAME                          |       your ztable name
        SHOW                                    |         X
    Save your work.
    Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'
    with regards,
    magesh

  • Adding context menu to a table control

    Hi,
    i have a screen with table control. i have to select a column on the table control and i have to copy the contents on that column and i have to paste them on a
    excel sheet.
    [for this i have to add a context menu with copy text option.( This is my opinion )].
    I dont know how to add that context menu to an ordinary table control. please help on this for copying contents of the field to the clipboard.?
    Regards,
    Tom..

    HI,
    Check this link,
    http://www.henrikfrank.dk/abapexamples/ABAP%20objects%20and%20controls/toolbar_control.htm
    Thanks & Regards,
    Judith.

  • Creation of transaction code for the table created

    Hi Experts,
    Can any one help me out with the steps that are used for creation of transaction for the table using the transaction SE93, i have created the table maintance generator.

    Hi
    Check TSTCP table  for the existing t-codes and for creating check this link
    Re: Transaction Code Creation for a Table/View
    Regards
    Pavan

  • Code for inverse table query

    I'm looking for a program that will tell you, when a list is uploaded to a table, what values in the list are NOT in the table.
    The program would have other optional fields as well.  For example, you would enter the table name and field names.  So to query table BKPF where field XXX = 'SB' and all records where field YYY are NOT in the table.
    Surely someone somewhere has to have written ABAP code for this.  It's a hassle downloading data from tables and doing VLOOKUPS in Excel to find out what values are NOT in the table.

    HI Rohit,
    go through below links
    https://cw.sdn.sap.com/cw/docs/DOC-21028
    go to this thread
    Difference between "start_routine" and "inverse_start_routine"
    http://help.sap.com/saphelp_nw70/helpdata/en/45/f5af4a4db53482e10000000a1553f6/content.htm
    Thanks
    sreenu

  • Bridge to InDesign Contact Sheet - Define Caption Code for name?

    Hello,
    Another beginners question, but I promise after this I'm done:
    I'm using a script written for Bridge CS4 to create contact sheets in InDesign v 5.03.
    When the dialog window opens in Bridge to set the parameters for outputting the contact sheet, one of the option is to give the items on the contact sheet a caption - for this it offers some suggested codes.
    To add the filename as the caption, the code is <var filename>. This gives me the file name plus extension i.e. image1.jpg.
    Creation date is another, code is: <var cdate[YYMMDD]>
    I would like the caption to just be the filename without the .jpg extension, i.e. image1
    Does anyone know what the code would be to give the script the instruction to leave off the extension, please?
    Many thanks in advance.

    Oh, you're my hero, Bob!!
    I didn't know about Find/Replace - told you I was a novice.
    What you've taught me today will save me soooooooo much time!
    Cheers!
    Yvonne

  • How to create t-code for a table and how to create transaction variant???

    Hi,
    I have created a custom table zsark.
    Now my requirement is : I have to create a transaction variant zsark_var for sm30 and table zsark. I have to disable the output of the first screen. I have to assign the transaction variant to the transaction code of table zsark.
    Now,
    1.     how to create transaction code to a table. Can any one give me the 
                    staps??
    2.     how to create transaction variant for the above requirement???
    Thanks & Regards,
    Sarkar

    Hi
    1 Goto SE93 transaction
    2 Choose 5th option Transaction with parameters
    3 Give transaction : SM30, Check Skip Initial Screen Press Enter
    4 Goto Bottom left corner, click F4 select viewname, on right hand side give table name
    5 Press one more time F4, choose update , mark it X on right side.
    6 save the transaction.
    Thanks
    sandeep
    reward if helpful

  • Using aggregation in ABAP code for internal table

    I have written following code to get cumulative amount on a date but i have to hit database for each record.
    Can't I use some function similar to SUM for doing the same thing on internal table??It would increase my performance.
    code is:
        SELECT SUM( DEB_CRE_LC ) FROM /BIC/AZFIAR_O500
         INTO LV_BALMONTH   WHERE   DEBITOR = LV_DEBITOR AND
        CALMONTH GE LV_STARTMONTH AND CALMONTH  LE LV_LASTCALMON.
    I want to put  ZFIAR data to internal table and read and do SUM thing..is it possible?? withotut usiong loop.
    regards,
    rakesh

    Hi Rajesh,
    types : begin of ty_tab,
                date type dats,
                DEB_CRE_LC   type .....     " delare type & is the filed need to summerized
                end of ty_tab,
    data: itab type standard table of ty_tab.
    SELECT date
                  SUM( DEB_CRE_LC )  as DEB_CRE_LC  FROM /BIC/AZFIAR_O500
                  INTO corresponding fields of itab
                  where CALMONTH GE LV_STARTMONTH AND CALMONTH LE LV_LASTCALMON
                  group by date.   " date is the field available in your ODS/transparent table
    simulate the above code in your program...
    Hope this will work..

  • HOW DEFINE INNER JIONS FOR MULTIPLE TABLE-FIELDS

    HI I  HAVE THE IMMEDIATE ISSUE TO RESOLVE...
    data: begin of it_jtab occurs 0,
    gsber like tgsb-gsber,
    gjahr like coss-gjahr,
    kostl like csks-kostl,
    posid like prps-posid,
    plfaz like proj-plfaz,
    plsez like proj-plsez,
    estat like tj30t-estat,
    perbl like coss-perbl,
    wkgbtr like coep-wkgbtr,
    end of it_jtab.
    HOW CAN I DO INNER JOIN FOR THE GIVEN TABLE??
    AM CURENTLY ON 4.0 VERSION HENCE HELP ME KNOW TO WORK ON JOINS ONLY.........

    Hi,
    Check this prog,
    Inner joins using 3 tables 
    Try this :-
    SELECT stpostlnr stpoidnrk mastmatnr maramtart stpo~menge 
    INTO CORRESPONDING FIELDS OF TABLE zmat1 FROM mast 
    JOIN stpo ON stpostlnr = maststlnr 
    JOIN mara ON maramatnr = mastmatnr 
    WHERE stpostlty = 'M' "AND stpoidnrk IN s_matnr 
    AND mast~werks = 1000. 
    Here s_matnr is a select-options on the selection-screen. 
    Or this. 
    Code: 
         Select single VbrkBukrs VbrkKunrg    Vbrk~Vbeln 
                       VbrkFkdat VbrkBstnk_Vf Vbrk~Zterm 
                       Tvzbt~Vtext 
                       VbakVbeln VbakBstdk 
                       LikpVbeln Likplfdat    Likp~Lfuhr 
           into w_vbrk 
           from vbrk 
          inner join       Tvzbt on TvzbtZterm        = VbrkZterm      and 
                                    Tvzbt~Spras        = sy-langu 
          Inner join       Vbfa  as SalesLnk 
                                 on SalesLnk~vbeln     = pu_vbeln        and 
                                    SalesLnk~vbtyp_v   = c_order 
                inner join Vbak  on VbakVbeln           = SalesLnkVbelv
          Inner join       Vbfa  as DeliveryLnk 
                                 on DeliveryLnk~vbeln   = pu_vbeln       and 
                                    DeliveryLnk~vbtyp_v = c_Delivery 
                inner join Likp  on LikpVbeln          = DeliveryLnkVbelv 
          where vbrk~vbeln = pu_Vbeln. 
    This code locates sales, delivery and payment terms info from a billing document number. 
    or
    Here, this one also works fine :
    select zfpcdcadivi zfpcdproforma zfpcdfactura zfpcdaniofactura 
    zfpcdmontousd zfpcdmontoap zfpcdebeln zfpcdinco1 
    zfpcdlifnr lfa1name1 zcdvsstatus zfpcdconint 
    into it_lista 
    from zfpcd inner join zcdvs 
    on zfpcdebeln = zcdvsebeln 
    and zfpcdproforma = zcdvsproforma 
    and zfpcdlifnr = zcdvslifnr 
    inner join lfa1 
    on zfpcdlifnr = lfa1lifnr 
    where zcdvs~status = '04'. 
    Regards,
    Arunsri

  • Code for hierarchy table?

    hi
    i added attribute for profit center? now i need fill this values from profit centr hierarchy like if the profit centre is equll to profit center from hierarcy node i need update parent node name for level 3 nodes only
    what is process to follow

    written my end

  • To find T.Code for a table (Table Maintenance)

    Hi all,
    I know the table name which has a t.code. i.e, a table maintenance has been generated and it is being assigned to a T.Code. Can we find out the T.code of the table from the Table name ???
    Regards
    Jiku

    Hello Jiku,
    Go to SM30 transaction you can give the table name, it will take you to the view.
    With Regards,
    Avisesh.

  • How to create a context menu in ALV table cell editor(Webdynpro abap )

    Hello Experts,
    I am having a problem in creating a context menu in a table cell editor in the ALV table output.I have assigned a 'lta' as the cell editor.But befor assigning the lta as cell editor I have assigned the menu to the lta.But when the view is rendered I can see the lta with the actioned assigned to it.But I cannot see the context menu.
    The code snippet below:
      "Create menu for each coloumn
      create OBJECT lo_menu_actions type CL_SALV_WD_VE_MENU EXPORTING
          id = 'MITM_ACTIONS'.
      lo_menu_actions->set_visible( value = abap_true ). 
      lo_menu_actions->set_visible_fieldname( value = 'ACTIONS' ).
      "ADd menu items
      CREATE OBJECT lo_menu_item_create type CL_SALV_WD_VE_MENU
      exporting
        id = 'MITM_CREATE_EXPRESSION'.
      lo_menu_item_create->set_visible( value = abap_true ).
      lo_menu_item_create->set_visible_fieldname( value = 'Create' ).
      "Add item 1
      lo_menu_actions->ADD_ITEM( VALUE = lo_menu_item_create ). 
      "  Set the cell editor for each column cell(link to an action)
      LOOP AT lt_node_dec_tab_cols INTO ls_node_dec_tab_cols .
        lv_column_name = ls_node_dec_tab_cols-object_name.
        lr_column = lr_column_settings->get_column( lv_column_name ).
       "Create 'lta' Ui item
        CREATE OBJECT lo_lta TYPE cl_salv_wd_uie_link_to_action.
        lo_lta->set_menu( value = lo_menu_actions ).
        lo_lta->set_text_fieldname( lv_column_name ).
        lr_column->set_cell_editor( lo_lta ).
        IF ls_node_dec_tab_cols-is_result EQ abap_true.
          lr_column->set_cell_design( value =
                      cl_wd_table_column=>e_cell_design-key_medium ).
        ENDIF.
      ENDLOOP.

    Hi Prakash,
    I have not come across this requirement till now to have context menu in a cell editor of alv.
    Unfortunately  the implementation of method SET_MENU of alv ui elements ( ex: cl_salv_wd_uie_text_view ) is not updating alv configurable table, instead it just stores in a global attribute as string. Hence has no effect on context menu.
    If your user is very particular about this requirement of having context menu in cell editor, you can go for a normal table. Because, normal table's cell editor has the property to set the menuID as we do it for other ui elements.
    Regards,
    Rama

Maybe you are looking for

  • ITunes is installed but won't open

    I just installed iTunes 6.0 and after restarting my computer I tried to open iTunes and a window poped up and immediatly closed. It looks like it has an 'Accept' or 'Decline' option but it closes before I can do anything. I tried re-installing, un-in

  • Command-s in a text box

    Could anybody please confirm/deny the following behavior on Safari (8.02) running Yosemite (10.10.1)? When in a text box - such as the one I am typing in write now to ask this question, if you press command-s this somehow is a "post" or "submit" comm

  • Java.lang.ClassNotFoundException: weblogic.Server

    I installed standalone Weblogic server and jdeveloper in D:\weblogic1033\Middleware\. Then, I remove it and clean the regedit. I reinstall jdeveloper and its weblogic to D:\Jdev11113\Middleware. I change the JAVA_HOME=D:\Jdev11113\Middleware\jdk160_1

  • Does "compact folders" act on everything or only on the current account?

    I'm just wondering whether I need to go to each account and compact, or just do it once.

  • Firefox crashes, typically (but not exclusively) when opening a new window.

    Firefox has been crashing every couple of hours for the past month or so. It seems to happen the most when I open a new tab, but I think it has crashed other times too. I have also seen it get up to 1,000,000+K in my memory (running at 432,000K right