Divider lines in SALV Tree toolbar buttons

Hi,
I am using SALV Tree . I am seeing divider lines between two ICONs in the Tree toolbar. I need to avoid these divider lines?
a®s.

check in SE38
BCALV_DND_01                   Drag ALV Row to Tree Folder
BCALV_DND_02                   Drag Icons from Tree to Rows of the Grid
BCALV_GRID_DND_TREE            ALV Grid: Drag and Drop with ALV Tree
BCALV_GRID_DND_TREE_SIMPLE     ALV GRID: Drag and drop with ALV tree (simple)
BCALV_TEST_COLUMN_TREE         Program BCALV_TEST_COLUMN_TREE
Rewards if useful...................
Minal

Similar Messages

  • Divider lines in SALV Tree, need to remove?

    Hi,
    I am using SALV Tree . I am seeing divider lines between ICONs in the Tree toolbar. I need to avoid these divider lines?
    Why? becuase it is utilizing lot of spaces. so that other ICONs gone into hide mode, for users view these icons they need to click left arrow button to scroll.
    a®s.

    Hi
    Solved by myself.
    Here is the correction code
    * Tree Calls
      try.
          call method cl_salv_tree=>factory
            exporting
              r_container = g_docking_container_1
            importing
              r_salv_tree = grt_tree
            changing
              t_table     = i_yatttic.
        catch cx_salv_no_new_data_allowed cx_salv_error.
          exit.
      endtry.
    *  try.           " By removing this custom  function now ICONS displayed properly
    *      v_text1 = text-b01.
    *      v_text2 = text-b02.
    *      grt_functions->add_function(
    *        name     = 'MYFUNCTION'
    *        icon     = '@42@'
    *        tooltip  = v_text2
    *        position = if_salv_c_function_position=>right_of_salv_functions
    *    catch cx_salv_wrong_call cx_salv_existing.
    *  endtry.
      perform f_build_tree_header.
      perform f_build_tree_info.
      perform f_build_tree_events.
      grt_tree->display( ).
    * Column Calls
      gs_layout-grid_title = text-101.
      try.
          call method cl_salv_table=>factory
            exporting
              r_container  = g_docking_container_2
            importing
              r_salv_table = gr_table
            changing
              t_table      = i_ylactc1.
        catch cx_salv_msg.
      endtry.
      try.
          gr_column ?= gr_columns->get_column( text-103 ).
          gr_column->set_cell_type( if_salv_c_cell_type=>hotspot ).
        catch cx_salv_not_found.
      endtry.
      gr_sorts = gr_table->get_sorts( ).
      gr_sorts->add_sort( columnname = text-103 subtotal = abap_false ).
      gr_layout = gr_table->get_layout( ).
      key-report = sy-repid.
      gr_layout->set_key( key ).
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      perform f_build_column_events.
      gr_table->display( ).

  • How do I get the top lines i my toolbar back? The top line starting with 'file' on the right and the second line which contained the refersh button as well as the search bar have disappeared. How do I get them back?

    The first two lines of my toolbar have gone. I'm left with most visited but the lines above, containing the refresh button, bookmarks and search bar and above that containing the links to files etc have gone, how do I get em back?
    == I was fiddling with the different bars and must have clicked sth I shouldn't have.

    Alt V
    T
    M
    Be sure to do this in a new blank tab.

  • Create Custom tree table panel collection toolbar buttons

    Dear all
    i have a tree table inside panel collection,inside the toolbar there is some buttons like show as top ,show top, expand all ....etc
    what i want to do is i want to call it from custom button not from the toolbar button.
    any suggestions
    Regards

    Hi,
    yes, it is. Its fixed in a the current build and should be fixed in TP4 (upcoming)
    Frank

  • Newbie: Toolbar Button QuickPrint works not in Browser

    Hi all,
    does anybody know a solution for this:
    - wrote a javascript that adds a toolbar button with the following lines:
    app.addToolButton({           
        cName: "atbToolButton1",           
    //    oIcon: oIcon,           
        cExec: "this.print({bUI: false, bSilent: true, bShrinkToFit: true});",           
        cTooltext: "Print without Print Settings dialog",           
        nPos: 0,       
        cLabel:"QuickPrint"
    - the script is in the Javascript directory of the reader with the name config.js
    - it works great but only in the reader
    - when a pdf is opened in the browser my great script doesn't seem to work
    - I know that in the browser this is the activex plug-in
    Is it possible to have this toolbar button in the browser plug-in? And is there another place to copy to the script?
    Please help.
    Thanks for any help in advance.
    PS: I use the reader version 9.1
    Regards
    Andreas

    Hi shilpi,
    thank you for your quick reply. Yes, it is like you wrote. I thought I have read that you can't drag this javascript toolbars to the "normal" other standard toolbars. But this was a mistake. In the menu there is now under Tools - configure Toolbar a new toolbar "additional programs" available and this can switch the quickprint toolbar. This is great. Thank you very much for your help.
    The only problem I have now is that I can switch on my quickprint toolbar but when I close the window and open another pdf in a browser IE seems to have forgotten that he should view the quickprint toolbar. I tried this with FireFox and here is the correct behavior. Firefox remembers that it should switch on the quickprint toolbar. But with Firefox I have another problem. I run Firefox with the Full Fullscreen Add-on. When the pdf is opend in fullscreen there is no way to close the window. So I search for an additional button "close". But there seems to be no function to close the current window where the pdf is viewed. In IE there is the correct behavior that the opend window is not opened in fullscreen mode. Does anybody know a way per javascript toolbar to make a button like "close current window"? Or should I open a new thread for this? Thanks for any help.
    Andreas
    PS: I now use Adobe Reader 9.3.2 and IE 8 or FF 3.6.3

  • How can I change the width of bookmark toolbar buttons?

    I would simply like to alter the width of bookmark toolbar buttons to better display the bookmark title. I also have MultirowBookmarksToolbar addon installed.

    Add code to [http://kb.mozillazine.org/UserChrome.css userChrome.css] below the @namespace line.
    <pre><nowiki>@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
    </nowiki></pre><pre><nowiki>#personal-bookmarks toolbarbutton.bookmark-item { max-width: 20em; }</nowiki></pre>
    You can use this code for specific bookmarks (label name needs to be an exact, case sensitive, match)
    <pre><nowiki>#personal-bookmarks toolbarbutton.bookmark-item[label="Bookmark_Name"] { max-width: 20em; }</nowiki></pre>
    See http://kb.mozillazine.org/Editing_configuration

  • Toolbar buttons in wrong order on the server

    Time to call for backup.
    I have a couple of CSH FlashHelp projects where I specify the
    following toolbar button order in the SSL dialog:
    Contents (default)
    Search
    Index
    Glossary
    Print
    However, after the generated help goes to the various
    application builds, the buttons show in this order: Contents,
    Index, Glossary, Search. (Wrong order and no Print button.)
    I got a developer's help when we first found this problem,
    and he tracked the button order to the whcshdata.htm file. After I
    generate, it contains the following line, after all the CSH/topic
    associations:
    addWindow("[window
    name]",false,30,"10%","3%","60%","75%","[window title
    here]",2,0,"toc|ndx|gls|nls","toc");
    Note the wrong button order. It looks on the surface like
    it's ignoring my specifications. The funny thing is that even with
    this wrong order, the toolbar buttons show up correctly when I open
    the help from my hard drive by double-clicking the start page. The
    malfunction is when the help files are on a server.
    To fix this, I have to manually change "toc|ndx|gls|nls" to
    "toc|nls|ndx|gls|prt" and check that file in to the repository in
    order to get the right order and the Print button. (It's not a
    problem if I haven't introduced any changes to my map file, because
    then I just don't check whcshdata.htm in to source control. But if
    I have made changes, then I have to tweak the file again.)
    Anyone know what the problem could be? I've just rolled with
    it for months, ever since the problem popped up in one of the
    production systems and we fixed it with the manual tweak. But I'd
    like to get to the root of this if possible.
    Thanks all,
    Ben

    The thing to check would be to look on your iTunes at home on your desktop and check that the songs are ordered correctly there. One thing with renaming double cd sets (as I also do) is that sometimes the track numbers get jumbled.
    If you select the offending album in iTunes, click on the header bar where it says 'name' (above the song titles), you'll see that part of the bar turn blue and iTunes will jumble the tracks into a random order.
    Click on track# to reorder them 1,2,3 etc. Sync these changes back to the iPod.
    Incidentally, there can be problems associated with iPods and network drives. See this.
    Strange iPod behavior.

  • The toolbar buttons

    Hi
    Question 1.
    How do I create the same style buttons as those of standard
    toolbar buttons in dev 6 forms.? Which properties are set? Any
    Example or so?
    Question 2.
    Ho do I create the navigation browser tree as in the Forms 6.?
    Any Example? How to set the multiple node select to on?
    Regards
    Santosh
    null

    Santosh Kharolkar (guest) wrote:
    : Hi
    : Question 1.
    : How do I create the same style buttons as those of standard
    : toolbar buttons in dev 6 forms.? Which properties are set? Any
    : Example or so?
    : Question 2.
    : Ho do I create the navigation browser tree as in the Forms
    6.?
    : Any Example? How to set the multiple node select to on?
    : Regards
    : Santosh
    Hi,
    Use example in \orant\tools\devdem60\demo\forms\menudef.mmb.
    Regards,
    Ruy chicaco
    null

  • Dev6 like The toolbar buttons and Browser

    Hi
    Question 1.
    How do I create the same style buttons as those of standard
    toolbar buttons in dev 6 forms.? Which properties are set? Any
    Example or so?
    Question 2.
    Ho do I create the navigation browser tree as in the Forms 6.?
    Any Example? How to set the multiple node select to on?
    Regards
    Santosh
    null

    Santosh Kharolkar (guest) wrote:
    : Hi
    : Question 1.
    : How do I create the same style buttons as those of standard
    : toolbar buttons in dev 6 forms.? Which properties are set? Any
    : Example or so?
    : Question 2.
    : Ho do I create the navigation browser tree as in the Forms
    6.?
    : Any Example? How to set the multiple node select to on?
    : Regards
    : Santosh
    Mr. Santosh
    Q 1.
    I think you want the toolbar features like, on mouse enter the
    button appears then vanishes. there is no direct property to do .
    There is work around and it is really stupid, if you want i
    shall mail to you
    Q 2.
    You can use the native Ftree with Dev6.0,
    use the standard built FTREE (refer help)
    Vishnu Vadla
    null

  • SALV Tree Issue

    Hi,
    I am using SALV tree in a docking container , This is my problem
    Currently tree displayed this way
    TIC Data       | Version | Docno |
    B                 04        1000
      5QY02           04        1000
         **           04        1000
    R                 01        1001
      003JH           01        1001 
         **           01        1001
         **           XX        1001
    " i want the tree to be displayed like this way
    TIC Data       | Docno |
    B                1000
      5QY02          1000
         ** 04       1000
    R                1001
      003JH          1001 
         ** 01       1001
         ** xx       1001
    " Here ** are the small page ICONs as displayed as last node
    Following is the code for creating the nodes
    * Form f_add_dcode_line                                                *
    * This will build node for designcode                                  *
    form f_add_dcode_line  using    p_ls_data type ylactctic
                                   p_key
                          changing p_l_dcode_key.
      data: nodes type ref to cl_salv_nodes,
            node type ref to cl_salv_node,
            text type lvc_value,
            item type ref to cl_salv_item.
      nodes = grt_tree->get_nodes( ).
      try.
          node = nodes->add_node( related_node = p_key
                                  relationship =
       cl_gui_column_tree=>relat_last_child ).
          text = p_ls_data-designcode.
          node->set_text( text ).
          node->set_data_row( p_ls_data ).
          item = node->get_hierarchy_item( ).
          item->set_type( if_salv_c_item_type=>link ).
          item = node->get_item( 'DESIGNCODE' ).
          item->set_type( if_salv_c_item_type=>button ).
          p_l_dcode_key = node->get_key( ).
        catch cx_salv_msg.
      endtry.
    endform.                                 " F_add_dcode_line
    * Form f_add_tcode_line                                                *
    * This will build node for TIC code                                    *
    form f_add_tcode_line using    p_ls_data type ylactctic
                                   p_l_dcode_key
                          changing p_l_tcode_key.
      data: nodes type ref to cl_salv_nodes,
            node type ref to cl_salv_node,
            text type lvc_value.
      nodes = grt_tree->get_nodes( ).
      try.
          text = p_ls_data-ticcode.
          node = nodes->add_node( related_node = p_l_dcode_key
                                  data_row     = p_ls_data
                                  text         = text
                                  relationship =
       cl_gui_column_tree=>relat_last_child ).
          p_l_tcode_key = node->get_key( ).
        catch cx_salv_msg.
      endtry.
    endform.                                 " F_add_tcode_line
    * Form f_add_tvers_line                                                *
    * This will build node for TIC code                                    *
    form f_add_tvers_line  using    p_ls_data type ylactctic
                                    p_l_tcode_key
                           changing p_l_tvers_key.
      data: nodes type ref to cl_salv_nodes,
            node type ref to cl_salv_node.
      nodes = grt_tree->get_nodes( ).
      try.
          node = nodes->add_node( related_node = p_l_tcode_key
                              data_row     = p_ls_data
             relationship = cl_gui_column_tree=>relat_last_child ).
          p_l_tvers_key = node->get_key( ).
        catch cx_salv_msg.
      endtry.
    endform.                                 " F_add_tvers_line
    Any help will be appreciated

    Hi,
    I solved myself.
    Here is the modified code . While creating last node we have to pass the value along with relationship for CHILD.
      v_text = p_ls_data-ticversion.
      try.
          node = nodes->add_node( related_node = p_l_tcode_key
                              data_row     = p_ls_data
                              text         = v_text "<<< -------
             relationship = cl_gui_column_tree=>relat_last_child ).
          p_l_tvers_key = node->get_key( ).
        catch cx_salv_msg.
      endtry.

  • Need File-Save as-PDF as a toolbar button and one item on menu

    What I'd like to see is a single menu line item and button added for File ->Save as ->PDF.  Right now, you have to open three menus to perform this function,and there is not a toolbar button offered at all.  Every document I save in this program is in PDF format, so it is frustrating to have to perform this action every time.  There are keystroke combinations (Shift + Control + S) but I tend to use the mouse more than the keyboard.

    Here's some barebones code to add a Save As toolbar button. It goes in a folder-level JavaScript file that you have to create and install properly:
    var mySave2 = app.trustedFunction(function(doc) {
        app.beginPriv();
        var oFS = app.browseForDoc({bSave: true, cFilenameInit: doc.documentFileName, cWindowTitle: "Save As"})
        if (oFS) {
            doc.saveAs({cPath: oFS.cPath});
        app.endPriv();
    app.addToolButton(
        cName: "ToolbarSaveAs2",
        cLabel: "Save As",
        cExec: "mySave2(this);",
        cEnable: "event.rc = app.doc;"
    For more information on folder-level scripts, see: http://acrobatusers.com/tutorials/print/entering-folder-level-scripts
    and for updated info, see: http://acrobatninja.blogspot.com/2011/09/acrobat-1011-javascript-changes.html
    As Dave mentioned, in Acrobat 10 you'll have to add the new button from "Tools > Add-on Tools" to the Quick Tools toolbar by right-clicking it and selecting "Add to Quick Tools Toolbar".

  • Restoring toolbar buttons?

    This is not new question, I just clicked to check on something and lost all my info and could not retrieve it at all so I am starting over with my one major problem so it is not a new question but MY ONE and terribly important question. I believe this first developed when I upgraded to this Firefox version (3.6.13) I lost all of URL-bar! There was just enough space for star and flag(add-ons) but not even 1 mm of space for typing. I read at one spot that it was part of a Windows change that they never told would be an alteration of showing info in FF. I have used blue button for File, Edit, etc toolbar and that is fine just as soon not have that toolbar but went through the safe mode routine not to get menu-bar but would not have taken the action if I knew that my buttons were in danger as I need all my text buttons as well as ALL my toolbar buttons. I have the all text ones, thankfully, but not a one of buttons and I use so very many not one of those is showing anywhere. I have checked to see if they could be at end of any toolbar but they have disappeared completely.
    My crisis is that now I have URL bar back after doing "Firefox safe mode and reset of toolbars and controls" and now the text buttons are in place but not even one button. I use custom buttons2 and cute buttons SVG but have never used the SVG one as yet _at least I do not recall using that. I am in desperate shape as I simply cannot remain sane without access to my buttons! Please help! As far as next line-I already answered that and I do not want to close down FF for fear that this condition will become permanent.Quite frankly, after typing this 2 times for the first time I was asking and these areas seem redundant to me so I feel that I have explained repeatedly and hope that I have not left out important info this time but I think you have sufficient info to be able to give me some suggestions. Thanks in advance.

    to my surprise, as I was attempting to get help on this problem-here I am back at my own problem that I was attempting to solve some time ago. I was also surprised to see that 40 people have this problem and 5 this week. I wonder if it isn't more but is phrased in a slightly different way but all through-none shows that any response was helpful. My being back to resolve this shows that I am still trying to solve me issue.
    I now have gotten my buttons in place but I do not have the text that goes with those buttons and some just take a place with a block that has no identification at all. Please tell me how I can take each and every one of those buttons to get them back to normal. This is slightly different from my original problem.
    This is top importance for me. I am up to date with my Firefox 3.6.15 version, use XP64bit Professional, and it has been recommended that I move this to Windows 7-the PC was bought as an XP downgrade from 7 but the Dell tech support person felt that it would be better to do a clean install of 7 after saving my info but since I am having trouble with this loss of usefulness without doing any big change of my PC. So, I need your suggestions on how to fix these buttons and also your tips regarding the jump to 7. I made the decision to get XP after 7 was out because this is business computer and I have my hands full taking care of other new things on my PC and did not want to get used to a new OS at the sane time. I feel that I am still in same situation but if he is right that there must be some sort of malware that I could get rid of by doing this clean install-well, I am trying to talk myself into this and would like to know your thoughts. You have helped me in the past and "the-edmeister" seems to know things that I cannot assess in advance. I don't want to find myself in a place that I wish I had not taken when there is no way back but by same token, it may be the best change to make at this time. Hoping for some new suggestions. I am afraid that you will say that I must reset every button again but whatever is said, I know that I will do whatever it is.

  • Tree Control (button select all)

    Hello,
    i need a method for mark all checkboxes in the ALV Tree Control, does somebody know so a method? How can I add a push button in the push button  bar?
    regards,
    Michael

    Hello Michael
    The thread I have mentioned contains the coding for adding a button (e.g. MARK_ALL / UNMARK_ALL) in the ALV tree toolbar.
    In the following thread
    <a href="https://forums.sdn.sap.com/post!reply.jspa?threadID=375626">Catch Checkbox in Heirachycal ALV</a>
    you will find sample coding which uses event HOTSPOT_CLICK in order to mark/unmark all checkboxes of a (sub-)tree.
    Regards
      Uwe

  • Command toolbar button

    Hello,
    I am using ADF Faces 11.1.1.2
    In my application, all command buttons become disabled when they pressed by default. But command toolbar buttons don't. How can i change the behavior of the af:commandToolbarButton component so it becomes disabled when it is clicked? I mean, i want to prevent it to be clicked second time until the job is finished.
    Thanks.

    Hi,
    I believe the problem you are facing is due to the PartialSubmit property of the af:commandButton and af:commandToolbarButton being different by default.
    By default:
    af:commandButton - PartialSubmit = false
    af:commandToolbarButton - PartialSubmit = true
    This means that when you click your command buttons the refresh is happening automatically (disabling the button) because it is performing a full submit.
    When you click on the toolbar button it is NOT performing a full submit, therefore if you want the component to 'refresh' itself you need to invoke a PPR event.
    The solution(s):
    1. Create a binding to your commandToolbarButton in a backing bean (let's call it toolbarButtonBinding)
    Then you will need to execute this line of code in order to have the button refresh itself.
    AdfFacesContext.getCurrentInstance().addPartialTarget(toolbarButtonBinding);Alternatively, try setting the PartialSubmit property of your commandToolbarButton to false (so it is the same as your commandButton).
    Hope that helps,
    Matthew.

  • How to get centre dividing line in ibooks

    I used to be able to have a centre dividing line on iBooks making the screen look more like a proper book. How can I get this back?

    You're welcome. Try a reset, it can't hurt and may help. Press and hold both the home and power buttons 10-15 seconds till the Apple logo appears. Release both buttons. Wait 15-20 seconds till your iPad starts on it's own.
    Enjoy your holiday.

Maybe you are looking for