ALV .  How to remove the sort buttons on toolbar in ALV report?

Hi,experts
  As you know, in default case , the alv report will display two sort buttons(ascending ,descending) on its toolbar , So How to remove the sort buttons on toolbar in ALV report?
  Thanks for your help .

Hi guixin,
1. Before calling REUSE_ALV_LIST_DISPLAY
2. Write this code :
data : excl type SLIS_T_EXTAB.
data : exclwa type SLIS_EXTAB.
exclwa = '&OUP'.
append exclwa to excl.
exclwa = '&ODN'.
append exclwa to excl.
3. Then while calling the FM,
   pass this parameter also .
IT_EXCLUDING     = excl
It will work fantastic.
regards,
amit m.

Similar Messages

  • How to remove a Sort button from ALV List

    Hi Experts,
    How to remove sort button from ALV List.
    I have requirement where I need to remove the sort button from ALV list.
    Kindly give me useful clues.
    Higher points will be awarded for the useful inputs.
    Thanks in Advance,
    Dharani

    Hi dharani,
    1. UP and Down Sort Button will get removed.
    2. Important code is marked in bold
    3. Just copy paste.
    4.
    report abc.
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvfcwa TYPE slis_fieldcat_alv.
    <b>data : excl type SLIS_T_EXTAB.
    data : exclwa type SLIS_EXTAB.</b>
    data : begin of itab occurs 0.
            include structure usr02.
    data : end of itab.
    START-OF-SELECTION.
      select * from usr02
      into table itab.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
        EXPORTING
          i_program_name         = sy-repid
          i_internal_tabname     = 'ITAB'
          i_inclname             = sy-repid
        CHANGING
          ct_fieldcat            = alvfc
        EXCEPTIONS
          inconsistent_interface = 1
          program_error          = 2
          OTHERS                 = 3.
    <b>*----
    IMPORTANT
    fcodes to remove
    Up and Down Sort Button
    exclwa-fcode = '&OUP'.
    append exclwa to excl.
    exclwa-fcode = '&ODN'.
    append exclwa to excl.</b>
    Display
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          it_fieldcat   = alvfc
          <b>IT_EXCLUDING     = excl</b>
        TABLES
          t_outtab      = itab
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
    regards,
    amit m.

  • How to remove the sort function on the drill down and then save

    how to remove the sort function on the drill down and then save in the  change local view of the Query
    Is it possible to change the porperties of any characteristic in the local view and then save?
    If so please post the answer.

    I do not think that option is possible.
    Regards,
    Venkata Boga.

  • How to remove the Linked Button in particular forms

    How to remove the linked button in particular sap b1 forms.

    Hi,
    In standard B1 Forms, we can't remove the linked button.
    Why you want to remove linked button.
    I think, the user don't want open the master data?
    In such cases you can use the authorization for the users to access the master data.
    Hope this will help you.
    Regards,
    Venkatesan G.

  • Can any one tell me how to remove the 3 buttons at the top of a dialog?

    Hi all
    Can any one tell me how to remove the 3 buttons at the top of a dialog?
    The Close, Minimize and the other I don�t know what you call that one.
    Thanks for you time All
    Have a great day
    Craig

    Try http://java.sun.com/docs/books/tutorial/uiswing/components/frame.html#setDefaultLookAndFeelDecorated

  • How to remove the EDIT button from Overview Page

    Hi,
    I have a overview page for Service Request(SRQM_INCIDENT_H - component). Now, I want to remove the EDIT button from the overview page and want to place it for each assignment block.
    I have seen the there is concept calles VIEW_GROUP_CONTEXT. However, I am not sure how exactly I need to apply that and what code and where I need to write.
    Please help me.
    Thanks,
    Sandeep

    Hello Sandeep,
    we removed in our system a lot of the standard buttons in this overview page like this:
    METHOD in IMPL-Class: IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS
    Coding example:
    CALL METHOD super->if_bsp_wd_toolbar_callback~get_buttons
        RECEIVING
          rt_buttons = lt_buttons.
      CLEAR rt_buttons.
    * Alle Buttons außer die genannten werden an RT_Buttons angehängt und damit angezeigt.
      LOOP AT lt_buttons INTO wa_buttons.
        CASE wa_buttons-on_click.
          WHEN 'NEW_FROM_TEMPLATE' OR 'DIV_CREATE_COPY' OR 'AUTO_COMPLETE' OR 'AUTO_SUGGEST_PROBLEM'
                OR 'AUTO_SREACH_KNOWART' OR 'SENDEMAIL' OR 'PRINT_PREVIEW' OR 'OUTPUT' OR 'DISPLAY_OBJ_REL' .
    *     Do nothing
          WHEN OTHERS.
            APPEND wa_buttons TO rt_buttons.
        ENDCASE.
      ENDLOOP.
    Kind regards
    Manfred

  • How to remove the select button from the alv grid

    Hi,
    I am using the Function modules for alv report,
    My 1st field in the list is checkbox,
    User can select the checkbox for further process.
    My problem is I want to remove the standards select option from alv.
    I have searched in slis_layout_alv for any option, but I could not.
    Please help me.
    Regards
    Rajan

    HI
      Exclude process options from ALV
        PERFORM alv_excl. ( g_r_excl     TYPE  ui_functions  . )
    FORM alv_excl.
      APPEND cl_gui_alv_grid=>mc_mb_sum          TO  g_r_excl.
      APPEND cl_gui_alv_grid=>mc_mb_subtot       TO  g_r_excl.
      APPEND cl_gui_alv_grid=>mc_fc_graph        TO  g_r_excl.
      APPEND cl_gui_alv_grid=>mc_fc_info         TO  g_r_excl.
      APPEND cl_gui_alv_grid=>mc_fc_print_back   TO  g_r_excl.
    ENDFORM.                    " alv_excl
    CALL METHOD g_r_grid->set_table_for_first_display
              EXPORTING
                is_layout                     = g_r_layo
                is_variant                    = g_r_variant
                it_toolbar_excluding       = g_r_excl
                i_save                        = 'X'
              CHANGING
                it_outtab        = g_t_yetprint[]
                it_fieldcatalog  = g_t_fieldcat.
    Options appended in g_r_excl, will be excluded from ALV
    Praveen

  • How to remove the delete and edit toolbar buttons from the Overview page

    Hi,
    In the account/contact overview page, we see that the interaction history assignment block does not support the EDIT and DELETE options.
    However, when we click on the hyperlink description of an activity in the interaction history, we get into the overview page of the activity. Here we can see the DELETE button and the EDIT button.
    Is there a way to remove these two options from the overview page of an activity which is in COMPLETED status and in the interaction history section?
    Please advice.
    Thanks & Best Regards,
    Ramesh.
    PS: We use CRM 5.2 Web UI.

    You can hide the box that shows the snippets and the "Restore Previous Session" box with code in userContent.css
    *http://kb.mozillazine.org/userContent.css
    *http://kb.mozillazine.org/Editing_configuration
    You can use the ChromEdit Plus or Stylish extension to have easier access to the customization files.
    *ChromEdit Plus: http://webdesigns.ms11.net/chromeditp.html
    <pre><nowiki>@-moz-document url(about:home){
    /* hide snippet container on the about:home page */
    #snippetContainer { display: none !important; }
    /* hide sessionRestore container on the about:home page */
    #sessionRestoreContainer { display: none !important; }
    </nowiki></pre>

  • How to remove the "share" button in Pages?

    I just bought the latest version of Pages from the App Store.
    To my surprise, the latest update still has the "Share" button in the Tool bar.
    What is the purpose of that button, since when you click on it all you get is:
    "iWork.com has been discontinued. Use iCloud"?
    What feat of programming engineering is required to remove that button from iWork?
    Can I do it myself or do we have to wait for another update?
    Regards

    Why we may never know, but you can't delete it. Right-click on the toolbar & choose customize toolbar. Drag that Share button off into a cloud of smoke & click done. No more share button.

  • How to remove the NEXT button on the Quiz Results?

    I can't find a way to get rid of the NEXT button on the Quiz
    Results page - I want the results emailed, but if they click NEXT,
    it hoses the email process.

    Nevermind. Apparently, this is a "feature" that can't be
    turned off.

  • How do I Remove The Play button & White Screen that shows on the IPad?

    Can anyone tell me how to remove the play button that apears on a white screen before the course starts? it only shows on the iPad and if this is going to be published as an IOS app using phone gap build i dont want this to show.
    I have found some javascript that i have tried but it dosent seem to remove the white screen or browser warning does anyone know the correct javascript to use?
    Current Javascript:
    http://floatlearning.com/2013/10/a-more-mobile-friendly-captivate-html-template/
    <script type='text/javascript' src='assets/js/fastclick.js'></script>
    <script type='text/javascript'>
    $(function() {
    FastClick.attach(document.body);
    $("#CPUnSupportedBrowserWarning_ID").remove(); // Removes browser warning
    cp.movie.play(); // Skips play button screen
    </script>
    I am using the latest version of Captivate 7.0.1 on Mac
    Thanks,
    Oliver

    Hey, thanks for you reply
    I cant seem to find that function this is what captivate 7.0.1 generatesin terms of HTML:
    <!DOCTYPE html>
    <html>
    <head>
    <meta name='viewport' content='initial-scale = 1, minimum-scale = 1, maximum-scale = 1'/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="IE=10">
    <title>Brainstorming eLearning Course</title>
    <style type="text/css">#initialLoading{background:url(assets/htmlimages/loader.gif) no-repeat center center;background-color:#ffffff;position:absolute;margin:auto;top:0;left:0;right:0;bottom :0;z-index:10010;}</style>
    <script>
    function initializeCP()
              function cpInit();
              cp.movie.play();
                        document.body.innerHTML = " <div class='cpMainContainer' id='cpDocument' style='left: 0px; top:0px;' >          <div id='main_container' style='top:0px;position:absolute;'>          <div id='projectBorder' style='top:0px;left:0px;position:absolute;display:block'></div>          <div class='shadow' id='project_container' style='left: 0px; top:0px;position:absolute;' >          <div id='project' class='cp-movie' style='width:1024px ;height:748px '>                    <div id='project_main' class='cp-timeline cp-main'>                              <div id='div_Slide' onclick='cp.handleClick(event)' style='top:0px; width:1024px ;height:748px ;position:absolute;-webkit-tap-highlight-color: rgba(0,0,0,0);'></div>                    </div>                    <div id='autoplayDiv' style='display:block;text-align:center;position:absolute;left:0px;top:0px;'>                               <img id='autoplayImage' src='' style='position:absolute;display:block;vertical-align:middle;'/>                              <div id='playImage' tabindex='9999' role='button' aria-label='play' onkeydown='cp.CPPlayButtonHandle(event)' onClick='cp.movie.play()' style='position:absolute;display:block;vertical-align:middle;'></div>                    </div>          </div>          <div id='toc' style='left:0px; float:left;position:absolute'>          </div>          <div id='playbar' style='left:0px; float:left;position:absolute'>          </div>          <div id='cc' style='left:0px; float:left;position:absolute;visibility:hidden;pointer-events:none;' onclick='cp.handleCCClick(event)'>                    <div id='ccText' style='left:0px;float:left;position:absolute;width:100%;height:100%;'>                    <p style='margin-left:8px;margin-right:8px;margin-top:2px;'>                    </p>                    </div>                    <div id='ccClose' style='background-image:url(./assets/htmlimages/ccClose.png);right:0px; float:right;position:absolute;cursor:pointer;width:13px;height:11px;' onclick='cp.showHideCC()'>                    </div>          </div>          <div id='pwdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          <div id='exdv' style='display:block;text-align:center;position:absolute;width:100%;height:100%;left:0px; top:0px'></div>          </div>          </div></div><div id='blockUserInteraction' class='blocker' style='width:100%;height:100%;'>          <table style='width:100%;height:100%;text-align:center;vertical-align:middle' id='loading' class='loadingBackground'>                    <tr style='width:100%;height:100%;text-align:center;vertical-align:middle'>                              <td style='width:100%;height:100%;text-align:center;vertical-align:middle'>                                         <image id='preloaderImage'></image>                                        <div id='loadingString' class='loadingString'>Loading...</div>                              </td>                    </tr>          </table></div> <div id='initialLoading'></div>";
                        cp.DoCPInit();
              if((typeof InitAppPackager !== "undefined") && (typeof InitAppPackager === "function"))
                        InitAppPackager(cpInit);
              else
                        cpInit();
    </script>
    </head>
    <body>
                        <div id='initialLoading'></div>
    <script>
                        (function()
                                  if(document.documentMode < 9)
                                            document.body.innerHTML = "";
                                            document.write("The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the Document Mode to Internet Explorer 9 Standards and try to view the content again.<br>To change the Document Mode, press F12, click Document Mode: <current mode>, and then select Internet Explorer 9 Standards.");
                                            return;
                                  window.addEventListener("load",function()
                                            setTimeout(function()
                                                      var script = document.createElement('script');
                                                      script.type = 'text/javascript';
                                                      script.src = 'assets/js/CPXHRLoader.js';
                                                      script.defer = 'defer';
                                                      script.onload = function()
                                                                var lCSSLoaded = false;
                                                                var lJSLoaded = false;
                                                                function constructDIVs()
                                                                          if(lCSSLoaded && lJSLoaded)
                                                                                    initializeCP();
                                                                cpXHRJSLoader.css('assets/css/CPLibraryAll.css',function() {
                                                                          lCSSLoaded = true;
                                                                          constructDIVs();
                                                                var lJSFiles = [  'assets/js/jquery-1.6.1.min.js','assets/js/CPM.js' ];
                                                                cpXHRJSLoader.js(lJSFiles,function()
                                                                          //console.log("js loaded");
                                                                          lJSLoaded = true;
                                                                          constructDIVs();
                                                      document.getElementsByTagName('head')[0].appendChild(script);
                                            },1);
                                  },false);
    </script>
    <noscript style="text-align:center;font-size:24px;">Enable Javascript support in the browser.</noscript>
    </body>
    </html>

  • How can i remove the 4G button my iPhone 5? i got the newest iOS 7.0.2

    Hi, i bought my iPhone 5 recently and then i installed the iOS 6 then suddently i got question about installing the newest mobile network operator settings.
    Then i installed them then suddently the 4G button appears and the turn on/off 3G were gone. How can i get the 3G buttun back so i can use GSM and 3G as i want? the 4G button is stopping me from using GSM network when i wish, so my phone battery is flat in shorter time now than before i installed the new settings.
    Anyone know how to remove the 4G button and get our old 3G button back in the settings?

    hey iPat11 , I've accidentally updated to 7.1 and it all returned to the 3G and LTE toggle . I've tried switching off the carrier , ' use cellular data for everything ' . but not switching off cellular data and LTE toggle . and erase all settings and back up from itunes? but it stills didnt show ' accept new updates from carrier ' and its still stuck with the 3G , LTE toggle my god! help pls

  • How to remove the the standard button APPEND/INSERT/DELETE in webdynpro alv

    Hello,
    how to remove the the standard button APPEND/INSERT/DELETE in webdynpro-abap  alv
    Thanks
    Rakshar

    Use  this.
        data lo_cmp_usage type ref to if_wd_component_usage.
        lo_cmp_usage =   wd_this->wd_cpuse_alv1( ).
        if lo_cmp_usage->has_active_component( ) is initial.
          lo_cmp_usage->create_component( ).
        endif.
        data lo_interfacecontroller type ref to iwci_salv_wd_table .
        lo_interfacecontroller =   wd_this->wd_cpifc_alv1( ).
        data lo_value type ref to cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
        data: lr_std type ref to if_salv_wd_std_functions.
        lr_std ?= lo_value.
        lr_std->set_export_allowed( abap_false ).
    NOte: ALV1 is alv component name
    Regards
    Srinivas
    Edited by: sanasrinivas on Dec 1, 2011 6:11 AM

  • Urgent help: How to remove the accumaltion when show movies step by step with buttons

    I want to show the movie step by step by clicking the next
    button. Inside each frame, many movie clips are generated
    dynamically at runtime, and they can be played interactively.
    I achieves the step-by-step display of those frames by adding
    another layer with the action stop(). But I got one trouble: all
    the movie clips from previous frames are accumalted. How to remove
    the accumulation from previous frames?
    For the continuous display of the movie, I tried to use
    onEnterFrame() and change the _visible property of all the movie
    clips to false in this function. But it doesn't work for the
    step-by-step display. Once I click the next button, the movie clips
    at the current frame just show very quickly, then disappear. What
    should I do?
    I need to fix this immediately.
    Your help would be greatly appreciated.
    - zcx

    you can use the removeMovieClip() method for those movieclips
    added dynamically.

  • How can I remove the Star Button from the Address Bar?

    How can I remove the Star Button from the Address Bar? There's no obvious way of doing it. Is there any about:config value related to it?

    https://addons.mozilla.org/en-US/firefox/addon/no-star-button/

Maybe you are looking for