ALV problems, trying to click Back button, Filtering, download (Excel)

Hi
When I try to click Back button, Filtering or download (Excel) on ALV grid this dumps appear:
Runtime Error          MOVE_TO_LIT_NOTALLOWED_NODATA
Error analysis
    The program tried to assign a new value to the field "<L_BOX>" even though
    it is protected against changes.
    The following objects are protected:
    - Character or numeric literals
    - Constants (CONSTANTS)
    - Parameters of the category IMPORTING REFERENCE for functions
      and methods
    - Untyped field symbols to which a field has not yet been assigned
      using ASSIGN
    - TABLES parameters if the corresponding actual parameter is protected
      against changes
    - USING reference parameters and CHANGING parameters for FORMs if
      the actual parameter for this is protected against changes
    - Field symbols if the field assigned using ASSIGN or ASSIGNING
      is protected against changes
    - External write accesses to READ-ONLY attributes
    - Key components of lines in internal tables of the type HASHED or
      SORTED TABLE
      SORTED TABLE.
Line  SourceCde
681 * set/unset <box> of all items
682     if l_ucomm eq '&SAL' or l_ucomm eq '&ALL'.
683       if l_ucomm eq '&SAL'.
684         loop at t_outtab.
685           l_tabix = l_tabix + 1.
->>>           <l_box> = ' '.
687           modify t_outtab index l_tabix.
688         endloop.
689       endif.
690       if l_ucomm eq '&ALL'.
691         loop at t_outtab.
692           l_tabix = l_tabix + 1.
693           <l_box> = 'X'.
694           modify t_outtab index l_tabix.
695         endloop.
696       endif.
What I must check on my ALV settings:
ch_alv_layout-zebra          = 'X'.
  ch_alv_layout-box_fieldname  = 'SELE'.
  ch_alv_layout-box_tabname    = v_nametab.
  ch_alv_layout-reprep         = 'X'.
  ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
  ch_alv_layout-colwidth_optimize = 'X'.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      i_callback_program = sy-repid
      is_layout          = ch_alv_layout
      it_fieldcat        = ch_alv_fieldcat
      it_sort            = ch_alv_sortinfo
      i_save             = 'X'
      it_events          = ch_slis_event
    TABLES
      t_outtab           = p_control
    EXCEPTIONS
      program_error      = 1
      OTHERS             = 2.
Thanks in advance.

ch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
  ch_alv_layout-colwidth_optimize = 'X'.
try commenting the above values.and also check the Fieldcatlog.
Check the issue similar issue was resolve by checking catalog and layout:
[ALV Issue solution|Re: Problem when export ALV.]
Regards,
Gurpreet

Similar Messages

  • Problem report only print out when i click back button

    hi all..i having problem with my report print program. the problem is my report did not immediately print out when i click print button. the program require me to click back button before print out execute. please help me to solve this problem. Thank you.
    Edited by: padile on Jan 7, 2010 3:51 AM

    Hi,
    In your program, mention the following:
    DATA: gs_out_opt TYPE ssfcompop.
    gs_out_opt-tdimmed = 'X'           "Print immediately
    CALL FUNCTION lv_fname         "Smartform FM
          EXPORTING
            output_options     = gs_out_opt  
    Regards,
    Dawood.

  • Cannot click back button on Internet Explorer,

    Dear Sir,
    In content Management  of EP6 SP14, KM content we cannot click "back button" in IE menu.  if we click back , it will show the error.
    How to solve this problem.
    Thank you and best regards,
    Vimol

    Hi Vimol,
    you can not solve this problem. The browser functions 'back', 'forward' and 'refresh' do not work properly on SAP EP 6. That's why you find the navigation links and the portal history in the portal header.
    There is a feature called 'External facing portal' or 'EFP' that solves your issue by rendering one HTML file for every portal page. But you'll have some restrictions concerning business packages, KM and collaboration when using EFP.
    There are a lot of threads in SDN about EFP, but here is an entry point:
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/13fd52a5732ba9e10000000a1553f6/frameset.htm">Implementing an external facing portal</a>
    Please be aware that EFP comes with NW2004s SPS6
    HTH,
    Carsten

  • Invalidate session when user clicks back button

    I want to invalidate the session when user clicks back button, so that user cannot refresh and reload a page.
    Any suggestions will be highly appreciated.
    Message was edited by:
    sam_amc

    * SessionInvalidator.java
    * Created on October 27, 2006, 9:18 AM
    package web;
    import java.io.*;
    import java.net.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author javious
    * @version
    public class SessionInvalidator extends HttpServlet {
        /** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String reposted = request.getParameter("reposted");
            if("true".equals(reposted))
                HttpSession session = request.getSession(false);
                if(session == null)
                    // This is step 4 and beyond
                    out.println("<html>");
                    out.println("<head>");
                    out.println("<title>Servlet SessionInvalidator</title>");
                    out.println("</head>");
                    out.println("<body>");
                    out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                    out.println("I said, your session is now invalid! Now where are those Duke Dollars at?");
                    out.println("</body>");
                    out.println("</html>");
                else
                    Integer hitCount = (Integer)session.getAttribute("hitCount");
                    if(hitCount == null)
                        // This is step 2 (the "good" - "stay" page.)
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is good.<br>");
                        out.println("If you click the browser's back button, you will invalidate your session.");
                        out.println("</body>");
                        out.println("</html>");
                        hitCount = 1;
                        session.setAttribute("hitCount", hitCount);
                    else
                        //We've used up our good visit
                        session.invalidate();
                        // This is step 3
                        out.println("<html>");
                        out.println("<head>");
                        out.println("<title>Servlet SessionInvalidator</title>");
                        out.println("</head>");
                        out.println("<body>");
                        out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                        out.println("Your session is now invalid");
                        out.println("</body>");
                        out.println("</html>");
            else
                // because the javascript in the following output will never allow a user
                // to continue clicking back any further than this, we can safely create the session.
                // (or perhaps the session can already be created here and this may not be necessary).
                // A problem lies where if the user chooses to "select" a page back in history they thereby
                // potentially skip back "over" this functionality, thus defeating the purpose of it.
                request.getSession(true);
                // This is step 1 (indirection)
                out.println("<html>");
                out.println("<head>");
                out.println("<title>Servlet SessionInvalidator</title>");
                out.println("</head>");
                out.println("<body onload=\"document.getElementById('invalidatorForm').submit()\">");
                out.println("<h1>Servlet SessionInvalidator at " + request.getContextPath () + "</h1>");
                out.println("<form id=\"invalidatorForm\" action=\"SessionInvalidator\" method=\"POST\">");
                out.println("<input type=\"hidden\" name=\"reposted\" value=\"true\">");
                out.println("</form>");
                out.println("</body>");
                out.println("</html>");
            out.close();
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }The problem with even attempting to do this is that with today's browser capabilities, users can optionally choose to jump to a particular page in the browser history and this may not necessarily be the most recent page. In this case, you would also want to invalidate the user's session after already having been there (whatever page that may be). Then you have situations when the user may wish to jump back in history to external pages they were visiting before they reached your own site's pages. Then what happens when they start clicking forward, forward, etc... from there? This is why I prefer writing Swing Clients as alternatives to browser applications. There are soo many possible ways break web applications made for standard web browsers both maliciously and simply by accident or irregular user patterns. Regardless, this servlet would work based on the assumption that all the user(s) would "ever" do aside from moving logically forward is clicking on the browser's "back" button.
    cheers!
    Message was edited by:
    javious

  • I am a new user of iTunes and want to download music.   The instructions are:  1. Find the item you want  2. Click the button to download.   My problem is that I can not find a download button - what does it look like please?

    I am a new uses of iTunes and want to download music.   The instructions say:
    1.  Find the item you want
    2.  Click the button to download
    My problem is that I can't find a download button to click.   Where does it appear please?

    Thank you a million times over.   I've literally spent hours trying to solve this and I think those responsible for compiling the 'Help' notes for iTunes would be well advised to make this point clear in the downloading instructions.

  • Old topic: Refresh when user click back button

    Yes yes, i know, this is old topic, which already discussed thoroughly in the forum,
    But, pls read my question....
    i try this:
    res.setHeader("Cache-Control", "no-cache");
    res.setHeader("Pragma", "no-cache");
    res.setDateHeader("max-age",0);
    res.setDateHeader("Expires",0);
    res.addHeader("Cache-Control", "no-store");
    However, when i forward to a page, then click back button to the previous page, which have the code above, however, the page is still the old one, the page was not reloaded from server
    Any suggestion? 1:57 am, my local time.......

    I just use:
    response.setHeader("Pragma","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setDateHeader("Expires",0);I have tried this, still the same...what can i do? Any more workable solution?

  • The Problem is about Standard Back Button Function in Report Program

    The Problem is about Standard Back Button Function in the Report Program.
           In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
           My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program.  Thanks .

    This problem is solution.I call screen using T-code and submit report In PAI,at last return to PAI.That is OK.

  • The Problem is about Standard Back Button Function in the Report Program.

    The Problem is about Standard Back Button Function in the Report Program.
    In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
    My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program. Thanks .

    Hi,
    You can define your own PF-STATUS and in that assign the function code for BACK button anything except 'BACK'.
    The code would somewhat look like this:
    SET PF-STATUS 'TEST'.
    write : itab-col1,
               itab-col2.
    in the PF-STATUS 'TEST', assign the function code to BACK button as 'BCK'.
    Now in your program you can use the event AT USER-COMMAND.
    In this you can handle the functionality of BACK button.
    Hope this helps.
    Regards,
    Himanshu

  • Clicking Back button twice in IE7 to get previos page in our WL portal.

    Hello,
    we are developing weblogic portal application.
    And have noticed that on the all our pages(we have JPF and JSR portlets) we have to click Back button twice in Internet Explorer 7 to get previous page.
    We haven't got such issue when we use FireFox, Opera or Chrome, please advice, what we can do to fix this issue.
    Thank you very much!

    Thank you, deepshet
    Now I have discovered that weblogic generates url with fragment identifier at the second step.
    When I call page for example News_page from previous page Main_page, I use the following link
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page
    after loading (about 1-2 seconds) to url addeds fragment identifier *#wlp_news_page*, so the resulting page will be
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page*#wlp_news_page*
    At this moment when I click back button in IE I will get
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page
    for the first time.
    And after my second click I will be returned to Main_page.
    Please advice how can I avoid such behaviour?Is it possible to turn off fragment identifiers on portal?
    Thanks

  • Have to click back button multiple times

    I have seen same problem posted, but no resolution that has worked for me. On some sites, once I click on a link (once), I have to click the back button 2-3 times to get back to the page I was originally on. If I right click on the back button, I see that 2-3 copies of the linked page are in the back button history. This happens a lot on cbsnews.com. If I click on a photo list on that site, it will load 2-3 copies of every single picture that I look at. I have tried running firefox in safe mode, but the same thing happens. If I visit the site using Chrome, it does not happen. This has been happening since version 29.0; I am currently running 31.0 for windows (8.1).

    Hi there. I avoid that issue by clicking the link I want to check and
    selecting '''open new tab / window..''' This way the page I left will
    still be waiting for me.
    Also, right click the back arrow and choose from the menu.

  • URGENT : On clicking back button of IE error message in the content area

    Hi all,
    On clicking of a link in my navigation area KM folders are displayed in the content area via a KM iview. On 1st level navigation in this iView and clicking the explorer back button there is no problem. But if we navigate to inner folders and click on back button I get a warning in the Content Area:
    " Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
    To resubmit your information and view this Web page, click the Refresh button."
    This is not the case when I navigate through Bread Crumb.
    The isolation method for my iView is Embedded and for my Page is also Embedded.
    Please reply soon.
    Thanks and Regards,
    Sweta.

    I am pretty sure that nothing can be done about this. A Lot of other websites/applications also have this same problem. You try playing with the browser cache settings so that the back button doesn't try and get the page from the cache. You could also try and experiment with the cache-control and expires HTTP headers, to see whether this has any effect.
    Other than this, I am unsure as to whether it can be resolved
    Sorry
    D

  • Problems with Next and Back Buttons ActionScript 3.0

    Hi,
    I have set up a Back, Play and Next buttons in a slideshow I am making.  The next and back buttons work correctly until it gets to the end. 
    If I press the Next button it goes back to what appears to be Frame 1 and will not go to the next slide. If I press the Back button it will then go to Frame 201 and If I press next again it will go to Frame 1.  It will only go back and forth in between those frames.
    If I press the Back button from the beginning it goes through the slide show correctly then it gets stuck at Frame 1.  If I press next button it goes to Frame 121 and gets stuck in between 121 and 1.
    I can't figure this out please help.
    My code on Frame 1 is:
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent) { gotoAndPlay(2); }
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_2);
    function fl_ClickToGoToAndStopAtFrame_2(event:MouseEvent):void
      gotoAndStop(40);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_8);
    function fl_ClickToGoToAndStopAtFrame_8(event:MouseEvent):void
      gotoAndStop(281);
    My code on Frame 40 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_7);
    function fl_ClickToGoToAndStopAtFrame_7(event:MouseEvent):void
      gotoAndStop(121);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
    function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
      gotoAndStop(1);
    My code on Frame 121 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_3);
    function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):void
      gotoAndStop(201);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_10);
    function fl_ClickToGoToAndStopAtFrame_10(event:MouseEvent):void
      gotoAndStop(40);
    My code on Frame 201 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);
    function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void
      gotoAndStop(281);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_11);
    function fl_ClickToGoToAndStopAtFrame_11(event:MouseEvent):void
      gotoAndStop(121);
    My code on Frame 281 is:
    forward_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);
    function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void
      gotoAndStop(1);
    back_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12);
    function fl_ClickToGoToAndStopAtFrame_12(event:MouseEvent):void
      gotoAndStop(201);

    I found the solution!  Flash CS5 Tutorial 6 Click On Button Go To Another Frame.avi - YouTube
    I had to Convert to Keyframes each frames I wanted to jump to on the buttons layer.  Then highlight the button and give each another instance name! Like forward1_btn, forward2_btn, back1_btn, back2_btn...  I did that and adjusted the action-script for each button.
    Frame 1
    stop();
    play_btn.addEventListener(MouseEvent.CLICK,playslideshow);
    function playslideshow(event:MouseEvent)
    gotoAndPlay(2);
    forward1_btn.addEventListener(MouseEvent.CLICK, Shoot_1);
    function Shoot_1(event:MouseEvent):void
      gotoAndStop(40);
    back1_btn.addEventListener(MouseEvent.CLICK, Back_1);
    function Back_1(event:MouseEvent):void
      gotoAndStop(281);
    Frame 40
    forward2_btn.addEventListener(MouseEvent.CLICK, Shoot_2);
    function Shoot_2(event:MouseEvent):void
      gotoAndStop(121);
    back5_btn.addEventListener(MouseEvent.CLICK, Back_5);
    function Back_5(event:MouseEvent):void
      gotoAndStop(1);
    And so on...

  • How do I get middle-click back button to open in a background tab?

    When I middle-click on the back button a new tab loads with the contents of the previous page. How can I get this tab to load in the background?

    Thanks, but I know about those, and none of them actually effect behaviour of tabs with the back button.

  • Had problem with bookmarks, history, back button and google links not working.

    For the last five days i've had problems with firefox. First, i noticed that it was running incredibly slowly and then that all the links in the google search were not working. Then i noticed that neither was the history, bookmarks or back button. I went on to facebook chat to ask for help. First, I was told to reinstall firefox, which didn't work. Then i was told to do a "clean" install where you rename the old firefox folder in the programs folder so that it makes sure when it's installed that everything is new and nothing is corrupted. That didn't work either. I then disabled my antivirus software and firewall to see if that was causing the problem. It was not. Then I installed an anti-malware program to remove any adware or spywar,e which it did remove from my computer, but it didn't solve the problem. The chat person was at a loss and I don't blame him/her because so was I.
    The reason I'm writing this is in case anyone else has the same problem. The only way I solved it was first by uninstalling and making sure to check the little box asking if you want all personal data and such associated with firefox also removed (which removes cookies as well) and then I finally thought to delete all the cookies from the rest of my computer also. Once all the cookies were gone and i had fully uninstalled firefox and personal data, I reinstalled it with a newly downloaded file and it is once again functioning properly. Hope this is helpful to anyone who's been ripping their hair out. :)

    '''I have the same problem!!
    But in my case, not just Google links.
    The problem happens with all the websites links.
    Please...
    Help us!!
    Thnx'''

  • Authenticate when user clicks back button after logging out

    Hi All,
    Is there a way that the user can be forced to authenticate, if he has just logged out, and then clicks the back button.
    I have a situation where a user who is working on relatively sensitive data logs out (yeees they should close the browser and all, but they never obey instructions... ) and someone else can come around and click the back button, and see what what he had been working on.
    Is there a way to disable this behaviour, or otherwise force a reload/re-authentication.
    Thanks.

    Hi there,
    You can accomplish this by writing this code in each page of your application
    Write this in your html header:
    <script type="text/javascript">
    javascript:history.go(1);
    </script>and write this in Page HTML Body Attribute:
    onunload="javascript:history.go(1)";It will not allow your users to go back.
    Thanks
    Tauceef

Maybe you are looking for

  • Unable to share--options are greyed-out.

    I have created a project, but when I chose "Share," all of the options are greyed out.  I have the project active in the timeline, but it still isn't allowing any "Share" option. Other projects in the browser allow me to share with all of the choices

  • Drag and drop to re-arrange pages

    how do I re-arrange page numbers? I have tried to drag and drop from the left pane (page thumnails), but when I do this it grabs a group of pages and tries to move the whole group.(3 to 4 pages at a time) I do not have the option of unchecking "Ungro

  • HDMI cable required for importing?

    I'm using FCE4. iMac's don't have HDMI inputs. If I use a Canon HV20 and I shoot in HD does that mean that I cannot capture the footage at full quality using a firewire cable? Does it matter if I use firewire 400 or 800?

  • How to print Table with fixed height?

    Hi, I am developing an invoice. I am printing the invoice lines in a table and the number of lines may vary. I am using the table to print the lines in word rtf template. The table cells don't have the border. I am facing the following problems: 1. T

  • How can I create a disk partiton with Lion?

    Hello there: I'm trying to create a partition to use it as scratch disk in my computer, but as i dont have copy of the Lion OS disk to start my computer to use the disk utility to create it, I need some feed back about this issue, can anyone help me.