Error when pressing the buttons in ALV

Hi all,
I have written a report using ALV by using FM REUSE_ALV_GRID_DISPLAY
layout-coltab_fieldname = 'FARBE'.
layout-f2code = 'DISPLAY'.
layout-zebra = 'X'.
layout-box_fieldname = 'BOX'.
event_exit-ucomm = '&XP1'.
event_exit-before = 'X'.
APPEND event_exit.
variant-report = repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
          I_INTERFACE_CHECK  = check_flag      
          I_CALLBACK_PROGRAM = repid
          I_STRUCTURE_NAME    = 'ITAB'
          is_layout             = layout
          it_fieldcat           = fieldcat
          it_excluding          = excluding
          it_special_groups     = gruppen[]
          it_sort               = sorttab[]
          it_filter             = filttab[]
          i_save                = 'X'
          is_variant            = variant
          it_events             = events[]
       TABLES
           T_OUTTAB             = ITAB
       EXCEPTIONS
           program_error        = 1
           OTHERS               = 2.
The ALV grid is shown successfully after executing the program. But when I press the button like 'Print Preview', 'SpreadSheet' which are provided by the ALV. I got the following error:
Assignment error: Overwriting a protected field.
What happened?
Error in ABAP application program.
The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because one of the statements could not be executed.
This is probably due to an error in the ABAP program.
Any one has idea how to solve it? Thanks!

Gundam,
I feel the problem is in line in BOLD.
excluding[] must be an Internal Table.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = check_flag
I_CALLBACK_PROGRAM = repid
I_STRUCTURE_NAME = 'ITAB'
is_layout = layout
it_fieldcat = fieldcat
<b>it_excluding = excluding[ ]</b>
it_special_groups = gruppen[]
it_sort = sorttab[]
it_filter = filttab[]
i_save = 'X'
is_variant = variant
it_events = events[]
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
program_error = 1
OTHERS = 2.
Please have a check and let me know.
Thanks
Kam

Similar Messages

  • My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does no

    My mini ipod appears off and not respond to any commands when pressed the buttons to reset, apple logo appeared and then the apple support site and it shuts down. already tried all the steps, but none worked, and when I plug it into my computer it does not appear in the iTunes bar. what do I do?

    If MacKeeper corrupted the Recovery partition then even I underestimated its potential for damage. Garbage "cleaning" apps will cause misery but I have not found that the Recovery partition to have been affected by using MacKeeper or anything like it. I doubt that it did so, but I have learned not to underestimate the potential for such things to result in system corruption.
    Before concluding your Mac has a hardware failure, try booting OS X Internet Recovery by holding command option r on startup (three fingers). That will force your iMac to bypass the Recovery partition altogether, and convey the ability to create a new one.
    An Internet connection will be required (wired or wireless).
    At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red. If Disk Utility reports "The volume Macintosh HD appears to be OK" in green then you can be reasonably (though not completely) assured your hard disk is in good working order.
    Assuming the HD remains usable you can then use Disk Utility to erase it. Reinstall OS X, restore your essential software and other files, and don't reinstall the junk.

  • How to when press the button and can change the value in the table?

    this is my code so far with a table and a button..how can i make it when press the button and the data in table change..
    * SimpleTableDemo.java is a 1.4 application that requires no other files.
    import java.awt.BorderLayout;
    import java.awt.Button;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    public class SimpleTableDemo extends JPanel {
    private boolean DEBUG = false;
    private JPanel button;
    private JButton enter;
    public SimpleTableDemo() {
    super(new BorderLayout());
    //button.setBackground(Color.pink);
    //setForeground(Color.pink);
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Knitting", new Integer(2), new Boolean(false)},
    {"Sharon", "Zakhour",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Philip", "Milne",
    "Pool", new Integer(10), new Boolean(false)}
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    if (DEBUG) {
    table.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    printDebugData(table);
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    enter = new JButton("Press me");
    //Add the scroll pane to this panel.
    buildButton();
    add(scrollPane, BorderLayout.NORTH);
    add(button, BorderLayout.CENTER);
    private void buildButton(){
    button = new JPanel();
    button.add(enter);
    private void printDebugData(JTable table) {
    int numRows = table.getRowCount();
    int numCols = table.getColumnCount();
    javax.swing.table.TableModel model = table.getModel();
    System.out.println("Value of data: ");
    for (int i=0; i < numRows; i++) {
    System.out.print(" row " + i + ":");
    for (int j=0; j < numCols; j++) {
    System.out.print(" " + model.getValueAt(i, j));
    System.out.println();
    System.out.println("--------------------------");
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("SimpleTableDemo");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    SimpleTableDemo newContentPane = new SimpleTableDemo();
    newContentPane.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newContentPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Cross-post:
    http://forum.java.sun.com/thread.jspa?threadID=676105

  • How to enable the InputField when press the Button

    My sceanrio is by default the InputField is in disable .when ever i press the button it should enable.

    Here is the sample code for HTMLB :
    <hbj:inputField
        id="InputText"
        jsObjectNeeded="true"
        type="string"
        maxlength="30"
        value="Text" >
    <% String text = myContext.getParamIdForComponent(create_group); %>
    <SCRIPT> var jsText = '<%=text%>'; </SCRIPT>
    </hbj:inputField>
    <hbj:button id="Enable_Button"
           text="Enable"
           tooltip="Enable InputField"
           onClick="onEnableClick"
           onClientClick="enableInputField()"
           width="30px" >
    </hbj:button>
    </hbj:page>
    </hbj:content>
    <script language="javascript">
         function enableInputField()
              var funcName = htmlb_formid+"_getHtmlbElementId";
              func = window[funcName];
              var inputfield = eval(jsText);
                                    inputfield.setEnabled();
    </script>
    Refer to the following links for more info...
    http://help.sap.com/saphelp_nw04/helpdata/en/53/9d0e41a346ef6fe10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/067941a51a1a09e10000000a155106/content.htm
    Regards,
    Rajiv

  • Error when pressing Submit button in Interactive Form

    Hi
    I have a WD/Java component with an embedded interactive form. The form has two buttons, a SubmitToSAP and a CheckField button. Everything was tested on the development system and worked fine. The component was then deployed to the QA system and has also been tested successfully there.
    Since a few days the WD does neither react on both of the buttons. Instead an error message appears indicating the following text:
        Character string "0" does not exist in the set of allowed values
    What seems strange is the fact that this issue started on the development system after a colleage had modified his WD/Java component (which does not contain an adobe form). After deploying this component on the QA system later we also got the issue there.
    Does anybody have a suggestion how this issue could be fixed? Could this be caused by the SDM? Thanks for responding.
    René Morel

    Hi rene,
                Can u send the complete stack trace?? It seems u r trying to get some values from value set & that values doesn't exist in the set.After checking the stack trace only we can find out main problem.
    regards
    Sumit

  • I'm getting a Javascript error when pressing the "Add Printer" button with both Chrome and IE8.

    See attachment.  This is really bad if it is happening to other people.
    Although I am an HP employee, I am speaking for myself and not for HP.
    Attachments:
    ePC_error.png ‏296 KB

    Works now. Thanks!
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Save frame when pressing the button

    Helo,
    I'm acquiring a .avi video from a webcam and I'd like to save a frame of this video whenever I press an 'acquire button'. I'd like also to save the acquired frame in separate files (for example, frame 1 in image1.png file, frame 2 in image2.png file and so on).
    Any suggestion?
    Thanks!
    Solved!
    Go to Solution.

    Well, your filepath constant for the IMAQ Write File 2 function contains an invalid path since it does not point to any file on disk. A file path to disk is always absolut, so it has to contain e.g. a file letter (like "C:\").
    Another thing you have to consider is that you are going to use the same file for all images, simply overwriting previous ones. I doubt that this is the feature you are looking for....
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Submiting requests when pressing a button.

    I have a button that when pressed should fire an HTMLDB After Submit process and just after the process has finished, it should trigger a javaScript function to call a pop-up page.I've tried to do that in three different ways:
    1)Using the button optional URL redirect, and as the URL target I send first the request to run the After submit process and then the request to open the pop-up window.
    The problem with that solution is that the pop-up window opens before the
    process is completed, which is an inconvinience for me.
    2)Running the After submit process when pressing the button and running an after processing braching to call the javaScript function. It didn't work as HTMLDB redirect the application to an error page saying that no branch is specified...
    3)Inside the After submit process after a call to a procedure that resolves the logic of the process I've tried to call the pop-up using webtoolkit's tag htp.p as follows:
    htp.init;
    htp.p('<script language = "javascript">');
    htp.p('callMyPopup2("480",'+l_aux+');');
    htp.p('alert("entre");');
    htp.p('</script>');
    But it didn't work neither.
    The HTMLDB version I'm using is 1.5.0.00.33. Is there a way to accomplish that when pressing a button a process is ran and just after its execution is finished call a javascript function that opens a pop-up page?
    Thanks in advance.
    Best Regards.
    Larissa.

    Vikas,
    The question is interesting. I remember trying something similar without success and would be interested in an answer. I could imagine the following situation:
    1. I start a process that runs a procedure which fills in a table with values
    2. after the process is completed a pop-up window opens and runs a report on that table...
    This could be practical since a user that started the procedure doesn't have to wait for it to complete in order to click another button to see the result. This is just one possible example.
    Denes Kubicek

  • Malfunctioning printer call to DLBAPRP,DLL FOR DELL PRINTER A940, ERROR 126. This error occurs when pressing properties button. Is there a patch to fix this?

    This error does not occur with any of my other programs employing this printer when pressing properties button. The complete error message I get is as follows:
    '''DELL PRINTER A940 PROPERTIES'''
    Function address 0x0 caused a protection fault (exception code 0xc0000005). The application property sheet page(s) may not function properly.
    |OK|

    Perform the suggestions mentioned in the following articles:
    * [[Firefox prints incorrectly#w_reset-firefox-printer-setting|Reset Firefox Printer Setting]]
    * http://kb.mozillazine.org/Problems_printing_web_pages
    Check and tell if its working.

  • I have all my songs in my iTunes library on the computer, but when I press the button to sync it, it doesn't put the songs on my iPhone. I have songs from my iPod on here too.  How do I get it to put the songs on my iPhone?

    I have all my songs in my iTunes library on the computer, but when I press the button to sync it, it doesn't put the songs on my iPhone. I have songs from my iPod on here too. How do I get it to put the songs on my iPhone?

    Have you selected the music to sync?

  • Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Something has happen my ipad air 2 it wont let me download or update any apps, when I press the button do update or download it looks like it is but it doesn't so if anyone knows what's going wind please help me

    Do you have any restrictions for purchasing apps on the phone? Settings > General > Restrictions. If you have a Mac computer or another Apple device can you purchase things in the App Store using the same Apple ID on something else?

  • I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on

    I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on and back off.  It is very, very frustrating.  The other issue is that the battery drains very quickly.  I have called Verizon numerous times regarding these issues.  They tell me to do different things that never help.  We eventually did a factory reset and it still has the same issues.  Help!  It is a brand new phone and unfortunately I am in a new two year contract.  Ugh. Is there anyone out there who can help me?

    I have done that several times.  In fact, every time I call Verizon with my phone problems, they have me do the same things repeatedly.  I keep telling them I have already done them but they insist they are SURE it will work this time.  It never does.  After doing the factory reset and it still not working correctly, they act like they are confused, almost like I am lying.  I did what you suggested above on the slim chance it would work this time but it did not.  I bought two S5's that day and the other one works perfectly fine.  I know I got a bad phone.  Verizon just does not listen.  It is a bad phone.  I just want a new phone that works properly.  Is that too much to ask?  I bought a new phone that has been bad from day one.  Why oh why do I have to spend hours of my time on the phone, in the store, on the computer, trying to rectify this?  It shouldn't be this difficult!  Help please!!!

  • So I have an iPad with the smart cover, and it's usually supposed to turn on the iPad when u open it, but it's no doing that for me. Nor is it turning off without pressing the button. What is the meaning of this?

    So I have an iPad with the smart cover, and it's usually supposed to turn on and off the iPad when u open it and close it, but it's not turning on for me. Nor is it turning off without pressing the button. What is the meaning of this?what caused it to be this way? Is there someway that I could fix it?

    Wait a sec did this just start?
    You set up the smart cover function in settings (you did that, right?) so, if you did that and it's failed you make an appointment at your nearest Genius Bar now.

  • I am trying to listen BBC radio news from BBC App, but on pressing the button I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    I am trying to listen BBC radio news from BBC App, but on pressing the button "live radio" I always get the error "there was an error playing this radio feed". What is the source of this error and how can I remove it?

    That is probably just a generic error message and you might not ever know what is causing it. Assuming that you have been able to play live radio with the app in the past (I know nothing about the app) and assuming that all other Internet related functions (Safari, email, etc.) are working properly on your iPad, quit the app completely and reboot your iPad.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that fails to resolve the issue, you might want to reboot your router, unplug it for about 30 seconds and then plug it in again.

  • I have a new Ipad and when I try to buy an app it asks for my  questions! I dont remember them so I press the button that send me an email to reset them. Ive sent it various times but it doesnt arrive. please help I need this app for school!!!

    I have a new Ipad and when I try to buy an app it asks for my  questions! I dont remember them so I press the button that send me an email to reset them. Ive sent it various times but it doesnt arrive. please help I need this app for school!!!

    See Kappy's great User Tips.
    See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities https://discussions.apple.com/docs/DOC-4551
    Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312
    Send Apple an email request for help at: Apple - Support - iTunes Store - Contact Us http://www.apple.com/emea/support/itunes/contact.html
    Call Apple Support in your country: Customer Service: Contacting Apple for support and service http://support.apple.com/kb/HE57
     Cheers, Tom

Maybe you are looking for

  • HP LaserJet Pro 200 color M251nw can't be detected on wired network

    New LaserJet Pro 200 color M251nw connects to main computer and functions.  Networked computer does not recognize the this new computer.  Operating system is Windows XP. IBM Printer 12 was the printer that was replaced.  I used the same USB port that

  • DOTS ON THE PDF FORM

    Hi,When converting from word to PDF I get a lot of dots marks on the form,some all over the page and some look like a frame...any idea why?Thanks.

  • Upgraded Air to Yosemite takes 5 Minutes to boot

    i upgraded to Yosemite from Mavericks and now takes 5 minutes to boot from 30 seconds. Anyone else having problems?

  • Apple TV mirroring resolution

    Hello, I got my apple TV running great on my 42 inch plasma but I would like to know if is possible I change the screen resolution that is been mirroed on my TV. On Best for built in display my IMAC is great but the plasma got to small  to read. in b

  • Need BAPI or FM for transaction CU41

    Hi team,   I need to know is there any function module or BAPI available for the transaction CU41 to create variant configuration profile for a material... Regards, Ramesh T.