Link Icon in AVL grid

Hai all,
   I want to display a icon or link in AVL grid . In that icon click i want to navigate to another view.
Could any body tell me how to do this
Regards,
Arun

Hi,
You will have to create a linktoaction cell editor in your column and assign an icon to it.
* Instantiate the used component
  DATA lo_cmp_usage TYPE REF TO if_wd_component_usage.
  lo_cmp_usage =   wd_this->wd_cpuse_usg_alv( ).
  IF lo_cmp_usage->has_active_component( ) IS INITIAL.
    lo_cmp_usage->create_component( ).
  ENDIF.
* Get Model
  DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
  lo_interfacecontroller =   wd_this->wd_cpifc_usg_alv( ).
  DATA lo_value TYPE REF TO cl_salv_wd_config_table.
  lo_value = lo_interfacecontroller->get_model(
*---------- ALV table settings.
  DATA: l_table_settings TYPE REF TO if_salv_wd_table_settings .
  l_table_settings ?= lo_value.
  wd_this->l_table =  l_table_settings .
* Set the Editable property to true
  l_table_settings->set_read_only( abap_false ).
* Set table header
  DATA: l_header TYPE REF TO cl_salv_wd_header.
  l_header = l_table_settings->get_header( ).
  l_header->set_text( 'Sales Orders' ).
*---------- Column settings
  DATA: l_column_settings TYPE REF TO if_salv_wd_column_settings.
  l_column_settings ?= lo_value.
* Get columns
  DATA: lt_columns TYPE salv_wd_t_column_ref ,
        ls_columns TYPE salv_wd_s_column_ref .
  DATA: l_column_header  TYPE REF TO cl_salv_wd_column_header .
  lt_columns = l_column_settings->get_columns( )              .
  LOOP AT lt_columns INTO ls_columns                          .
    CASE ls_columns-id                                        .
      WHEN 'VBELN'                                            .
        l_column_header = ls_columns-r_column->get_header( )  .
        l_column_header->set_ddic_binding_field(
           if_salv_wd_c_column_settings=>ddic_bind_none )     .
         l_column_header->set_text( 'Sales Order' )            . " column heading
" Link to Action
        data: lr_link            TYPE REF TO cl_salv_wd_uie_link_to_action.
         CREATE OBJECT lr_link.
        lr_link->set_text_fieldname( ls_columns-id ).
" assign icon
        lr_link->set_image_source( '~Icon/CheckedOk' ).
        ls_columns-r_column->set_cell_editor( lr_link ). 
      WHEN' ATTR2'.
       WHEN OTHERS.
ENDLOOP.
Regards,
Radhika.

Similar Messages

  • Link icons missing after updating to 18.1.0 Illustrator

    Hi,
    After updating to 18.1.0 of Illustrator CC, I the link icons to assets in a file are now longer visible in the links palette, whether embedded or linked.  Is this a bug or something I can fix?
    Thanks!

    Hi SuperSimes,
    Thanks for posting the snapshot. I am able to reproduce this issue at my end also. I have updated the Illustrator Engineering team about this issue and they are looking into this.
    Till then you can try to re-size (maximize using the gripper at the bottom right of the panel) the "Links" panel so that all the embedded/linked files get listed in the Links Panel.
    Please let me know if you have any queries regarding this.
    With Best Regards,
    Raghuveer Singh
    [email protected]

  • Microsoft Excel Icon in ALV Grid Report

    Hi all,
    We have a customized report. When we execute that reports, it open in ALV Grid format. When we choose "Microsoft Excel" Icon to change layout to Excel, it then shows the report in excel without any data.
    Can any one please tell me that why there is no data? should i need to do any settings in excel for this?
    Please respond.
    Best Regards,
    AI

    Hi,
    Refer these:
    Microsoft Excel Icon in ALV Grid Report
    Re: Not able display the Excel Icon in ALV List Display
    Hope it helps
    Regards
    Mansi

  • [Solved] wy i can place xfce4 desktop icons in a "grid" only?

    hello archers!
    im in love with xfce4 DE, but the annoying thing is that i can place the desktop icons only in a invisible "grid" of tiles.
    i changed the display manager to gdm, but it didn't help. i tryed changing the WM, but didn't not find out how to do that.
    Yes, i dont understand how DE's working internal, cause there are so many parts, as DM, WM, session-manager, and so on, which confuses me.
    So how i can place my icons individually on the desktop?
    Thanks in advance!!
    Last edited by xfce-tux (2011-09-12 21:13:34)

    Another way to adjust the desktop grid size settings and more. 
    Source:  http://git.xfce.org/xfce/xfdesktop/tree/README
    HIDDEN CUSTOMISATIONS
    ~~~~~~~~~~~~~~~~~~~~~
    If you're using the icon view, and would like to change how the text looks,
    you have three things you can change: the opacity (transparency) of the
    rounded text background, the color of the rounded text background, and the
    color of the text itself.
    You'd want to add something like this to your ~/.gtkrc-2.0 file:
    style "xfdesktop-icon-view" {
    XfdesktopIconView::label-alpha = 75
    XfdesktopIconView::selected-label-alpha = 100
    XfdesktopIconVIew::ellipsize-icon-labels = 1
    XfdesktopIconView::shadow-x-offset = 1
    XfdesktopIconView::shadow-y-offset = 1
    XfdesktopIconView::shadow-color = "#ff0000"
    XfdesktopIconView::selected-shadow-x-offset = 2
    XfdesktopIconView::selected-shadow-y-offset = 2
    XfdesktopIconView::selected-shadow-color = "#00ff00"
    XfdesktopIconVIew::cell-spacing = 6
    XfdesktopIconView::cell-padding = 6
    XfdesktopIconView::cell-text-width-proportion = 2.5
    base[NORMAL] = "#00ff00"
    base[SELECTED] = "#5050ff"
    base[ACTIVE] = "#0000ff"
    fg[NORMAL] = "#ff0000"
    fg[SELECTED] = "#ff0000"
    fg[ACTIVE] = "#ff0000"
    widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
    The first three entries set the opacity of the rounded text background
    (allowed values are from 0 (totally transparent) to 255 (totally opaque),
    and whether or not unselected icons get their labels ellipsized
    (truncated) to fit on one line. (The 'selected-' version controls the
    opacity of icons that have been selected with the mouse.)
    The second six entries can be used to enable a text shadow to be painted
    with the icon labels. The offsets are in pixels. Setting them to 0 (the
    defaults) will disable the shadows entirely. Again, the 'selected-'
    versions apply to icons that have been selected with the mouse.
    The third four entries set spacing and sizing for individual icons on
    the grid. The 'cell-spacing' property specifies the spacing between each
    'cell' in the grid of icons. The 'cell-padding' property sets extra
    padding placed around each icon+text. The units for these two are in
    pixels. The 'cell-text-width-proportion' property specifies the maximum
    width of the text label underneat the icon, as a multiplier of the icon
    width (so for 30px icons, '2.5' would leave a 75px wide area underneath
    for the text).
    The fourth three entries set the color of the rounded text background.
    * NORMAL sets the color for the regular, unselected state.
    * SELECTED sets the color for when the icon is selected, and the desktop has
    keyboard/mouse focus.
    * ACTIVE sets the color for when the icon is selected, but the desktop does
    not have keyboard/mouse focus.
    The final three entries set the color of the label text. See above for the
    differences between NORMAL, SELECTED, and ACTIVE.

  • Broken link icons appearing instead of artwork in iTunes store

    Hi,
    For some odd reason, I see "broken link" icons, which look like a chain made up of three links, with the center link broken, instead of music album artwork in iTunes store.
    Initially I see the album artwork, but then they begin to get replaced by the odd looking "broken link" icons ! quite strange.... this began happening after I upgraded to OSX 10.5.6, but I am not sure this is the main reason I'm having this issue, I tested some macs at the Apple store, which were running 10.5.6. to access the iTunes store, and this problem did not appear, so it might be something else on my Mac Pro that is causing this odd behavior.
    Any other Mac users encountering the "broken link" icon when visiting the iTunes store ? Any clues ? or ways to solve this ? what could be causing this ? Any help/feedback would be appreciated.
    Thanks.

    The Cooks,
    Have you installed Quicktime 7.1.5 update?
    Dual 2.3 GHz PowerPC G5   Mac OS X (10.4.8)  

  • Link button in a grid column

    hi friends,
    I am trying to insert a link button in my grid (column1)
    I created  a user form with a grid.
    Now in that grid (first column) i want to insert a link button,which will call a system form(like sales order screen)
    i'm pasting piece of code (vb.net)related to my grid
    so plz send me code how to get link button in my grid and where i can insert that code
    ' Add a Grid item to the form
            oItem = oForm.Items.Add("MyGrid", SAPbouiCOM.BoFormItemTypes.it_GRID)
            ' Set the grid dimentions and position
            oItem.Left = 20
            oItem.Top = 100
            oItem.Width = 520
            oItem.Height = 300
            ' Set the grid data
            oGrid = oItem.Specific
            oForm.DataSources.DataTables.Add("MyDataTable")
            oForm.DataSources.DataTables.Item(0).ExecuteQuery("select DocNum from [@SALCO_H]")
            oGrid.DataTable = oForm.DataSources.DataTables.Item("MyDataTable")
            ' Set columns size
            oGrid.Columns.Item(0).Width = 50
            'oGrid.Columns.Item(1).Width = 60
            'oGrid.Columns.Item(2).Width = 130
            ' Get the added form object by using the form's UID
            oForm = SBO_Application.Forms.Item("frmGrid")
    Thanks & Regards
    SARAN

    Thenks for u r reply , i gone through that link it is helpful for me but still i have a problem,
    now i'm getting linkbutton but it is not performing any function,though i gave the code for that link button and related screen id like <b>2</b> for business partner or like <b>bplist</b>
    and <b>one more problem</b> i was facing with grid is
    i created a grid in my user screen and i want to get the <b>form settings</b> for that grid(if i click <b>(tools--->form settings)</b>.then it display form settings screen for perticular userscreen.
    is it possible to get form settings for a screen having grid
    Thanks & regards
    SARAN

  • Linked button in a Grid (SBO 2005)

    Hy,
    Is it possible to add a linked button in a grid? I saw some posts for linked buttons in a matrix but this doesn't work for me.
    The code that I use to fill the grid is:
                   Item GOrder = form.Items.Item("GOrder");
                   Grid gOrder = ((Grid)(GOrder.Specific));
                   int intCountDatatable = 0;
                   try
                        form.DataSources.DataTables.Item("TOrder").ExecuteQuery(strSQL);
                   catch
                        return;
                   gOrder.DataTable = form.DataSources.DataTables.Item("TOrder");
    If you (all) need more info, just let me know. Hope you can help...
    Joeri

    Hey Joeri!
    My guess it isn't possible; if you look through the UI-API, you'll see that there isn't a BoLinkedObject property, and no possibility to set a column to a linkedbutton type...
    Good luck,
    Rowdy
    PS: Waar was je afgelopen donderdag op de SAP Partner Dag? Behoorlijk interessante/leerzame sessie smiddags met betrekking tot de SDK...

  • Broken links icons

    Nothing but broken links icons. That's annoying.
    http://img376.imageshack.us/img376/2357/itunesbrokenlinks.png

    I fugured it out!!
    My QuickTime was bad.
    I ran software update and updated Quicktime and now I'm fine.

  • Small chain link icon on status bar

    I connected my ipod to my mac mini via bluetooth, and a small chain link icon appeared next to the word "ipod" on the status bar. Does any one know what this icon means?

    The icons are covered in the manual:
    iPod touch User Guide (For iOS 5.1 Software)

  • Interactive Report, Link Column, Link Icon problem.....

    APEX v3.2.000.27.
    I have an interactive report and in the "Link Column" section there is a "Link Icon", if I try to substitute using one of the Columns, #IMAGETOUSE#, it does not do the substitution....
    Has anyone ever seen this happen before? It does the substitution for #IMAGE_PREFIX#, but not for any column, no matter which column I use...

    Hi,
    The subsitute #IMAGE_PREFIX# is just the path of the image stored in apex installed directory. If you are trying to access the image that you have manually uploaded try using #WORKSPACE_IMAGES#. If you have a column name "COL1" substituting #COL1# in link text will display the value of the col1 in the report and it will have the url defined in URL section.
    Thanks,
    Manish

  • The icons for links are gone. In their place are hyphentated boxes. After I click on the link once the real icon comes back. But litterally EVERY link icon is now a hyphenated box till I click once. How can I fix this?

    The icons for links are gone. In their place are hyphenated boxes. After I click on an existing link once the real icon comes back. For Example: I have several bookmark links for Amazon. Those links now have hyphenated boxes as their icons not the Amazon icon. Once I click on an existing link the Amazon icon is activated and replaces the hyphenated boxes. Literally EVERY bookmark / link icon is now a hyphenated box till I click once. How can I fix this? I'm running Firefox 8.0 on windows XP. This problem started this week. Before and After upgrading to firefox 8.0 from 7.xxxx. See screen shot example.jpg i've attached below. Double click to enlarge it for better viewing. Any input welcomed. Not a major problem but I would like to have the icons back.
    Thanks
    Maxboyd

    Thanks. That solved it. I had my doubts since I wasn't concerned about my lost bookmarks. I was concerned about the broken functionality. In any event, restoring from a backup solved both the functionality and the lost bookmarks. I appreciate the response!

  • "Broken chain link" icon appears when trying iTunes store

    It's really slow going trying to reach the store right now. When I do, I get all these broken chain link icons in place of pictures. Also, my podcasts are loading in a lightning-fast 45 minutes each. This is a fairly new developement, it's been about a week now. I can't find much helpful info around the forums so far. Anyone?
    -Seth

    I have a few questions since most likely we will have to figure this out on our own. I have this problem occur a few times in a day however it is random.
    My system:
    Vista Ultimate 32bit
    Antivirus: Kaspersky Internet Security 8.0
    Web browswer: Exporer 8.0.6
    Video Card: Nvidia GeForce 9600GT
    Ram: 4GB
    Genius Settings: off
    Itunes View: Cover Flow
    Keyboard / Mouse: Logitech bluetooth MX5500
    I have also experienced very sluggish performance with itunes store browsing/serach and have yet to figure that out. It started with Itunes 7
    If we can find a common issue we may be able to figure this out as a group.

  • Where are link icon pictures located? I'd like to back them up.

    I bookmarked a lot of sites in my favorites folder. Each of the links in there has a little picture given to it by that website.
    Whenever I uninstall Firefox and then later install a new version, all those bookmarked links lose the icons. The only way is to go to each site to recreate them but it's very time consuming.
    Is there a way to make a backup of this?
    I'm pretty sure it's not the file prefs.js because I tried it before and it didn't restore the link icons.

    See:
    *CheckPlaces: https://addons.mozilla.org/firefox/addon/checkplaces/

  • Conditionally display link icon

    Is there any way I could display an icon in the report based on the record value.
    Each user when they login, they will have location signed to them.
    I would like to allow users to edit record (show edit icon) based on the default location.
    so if record location_id is = :F130_location_id I would like to show the link icon and if location is different hide it.
    Thanks in advance.

    robik wrote:
    Is there any way I could display an icon in the report based on the record value.
    Each user when they login, they will have location signed to them.
    I would like to allow users to edit record (show edit icon) based on the default location.
    so if record location_id is = :F130_location_id I would like to show the link icon and if location is different hide it.Unfortunately APEX provides no declarative way to do this at the column/report level. The easy way (and the only way in interactive reports) to do this is to violate the separation of concerns and generate the link conditionally in the query:

    case record location_id
      when :F130_location_id
      then
        '<a href="/* generated URL */">Foobar</a>'
      else
        null
    end link_col
    ⋮with the Display As column attribute for <tt>link_col</tt> set to Standard Report Column.
    The better (but more involved) way in standard reports that maintains the separation of concerns and keeps the HTML link structure out of the query is by implementing the logic via conditional column templates in a custom report template. In this situation the "other column" approach can be used to encapsulate any complex logic to avoid repetition in column condition PL/SQL expressions.

  • Spry External Link Icon

    This is my first attempt at blogging about Spry, something I have been meaning to do for well over a year now. This forum has helped me out of trouble on loads of occasions, so I would to give a little back to the community.
    http://www.dooza.tv/2009/12/spry-external-link-icon.html
    Its nothing huge, but I hope it to be the start of my blogging about code, rather than parties and moustaches. I would love to hear all feedback, positive and negative, so that I can continue to grow both as a blogger and a writer.
    Big thanks to Arnout, without him I would not have got far at all.
    Steve

    Great post

Maybe you are looking for

  • Why do I get "Import Errors"?

    I just shot 16 clips with my Canon HD camcorder (AVCHD). I put the memory card in my desktop computer (Windows7) after I had PrE11 running. Then I clicked Video Editor/New Project/Videos from Flip cameras, AVCHD cameras. I saw all my clips and I clic

  • Sub Order not getting created

    Hi All,            i am debuggin a code which is creating SUB ORDER (iw36) through call transaction method. The transaction is filling the superior oder ,but after OK CODE it doesnt navigate to the next screen, instead it shows a message log, without

  • How to restore a backed up iTunes library from discs?

    I had backed up my iTunes library a while ago (more than a couple years) on CDs as Apple "demanded" at the time.  Now I find that I need to restore my library to iTunes on the computer, and lo and behold, restoration doesn't work in the same manner a

  • Image, from JTextPane to RTF

    Hi, i need to convert the text in a JTextPane in a file .RTF, but there is the problem, the image in TextPane there are not in a file RTF, why? Thanks for help goodbye PS sorry for my language

  • Method of Requesting\Approving Transports

    Hello, Sorry for my simple (non-techinal) question. I was wondering what other companies are using for Change Requests for SAP Transports and what they are happy with. What software they are using for the Request and Approval process of SAP transport