Recognize with ALV Instance has been selected.

Hi everybody.
I'm not sure how to perform the next situation:
I'm working with two ALV Grid (OO) at the same time. I have defined an Exit Handler class to get the value of a field since a double-click perform. Obviously each ALV has an own fcat and data.
Is it there a way to determine which ALV Instance has been double-clicked to get data just for its corresponding data table, or I shorld do it directly?
Can I use a method such like cl_exithandler=>get_instance (obviously if there's one available?
Cheers!!
I would highly reward a good question.

Do need to identify which instance.
it will take u to the exact instance of the alv.
I think u have written diffrent defination for different instance
Make different Event reciever for different instance
o_evt_rcvr1      TYPE REF TO lcl_event_receiver1. for first instance
o_evt_rcvr2      TYPE REF TO lcl_event_receiver2. for first instance
and raise Event for different instnace
*Set the event handlers for first instance
  SET HANDLER o_evt_rcvr1->double_click FOR o_alvgrid1.
*Set the event handlers for second instance
  SET HANDLER o_evt_rcvr2->double_click FOR o_alvgrid2.
It will Take u to the Exact defination
Message was edited by: Manoj Gupta

Similar Messages

  • Need HELP with silverlight 8.1!WinRT information: The GPU device instance has been suspended.

    I have a winrt program and it works fine.
    Then I need this program to support silverlight 8.1.
    Then I meet a issue:When I draw something using d3d and loading texture async, my program crashes with 
    Unhandled exception at 0x775035D7 in AgHost.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x0288F150. HRESULT:0x887A0005 The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate
    action.
    WinRT information: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
    However, I try to run this program in emulator, it works fine.This confused me.
    Could anyone tell me Why this happened?My testing device is Lumia Icon

    Hi Y.H.King,
    You mean the same code works fine on Windows Phone runtime real device also Windows Phone Silverlight 8.1 Emulator but does not work with Windows Phone Silverlight 8.1 real device? Both on the same device?
    However a strange question is you are applying the code to Silverlight app, but your error information seems to be WinRT information. And which Lumia device are you using?
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can we find out data in an editable ALV grid has been changed or not?

    Hi Experts,
    How can we find out whether a data in an editable ALV grid has been changed or not.
    I am using the
    FM -> REUSE_ALV_GRID_DISPLAY_LVC
    for ALV display.
    I have to chekc whther data has been changed or not befor saving. if changed then only i want to
    SAVE
    . I cannot use the internal table comparison method for this purpose also i am not using OOP ALV.
    So kindly sugest me an alternative.
    Thanks and Regards,
    Shahana

    Hi,
    Thanks for your answer. I already saw this post.
    See this method.
    CALL METHOD reuse_alv_grid->check_changed_data
    IMPORTING
    e_valid = lv_check.
    This will update the internal table with the edited values. Then we can go for internal table comparison.
    But my scenario will not allow me for itab comparisons.I just want to know the ALV data has been changed or not.
    Regards,
    Shahana

  • My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish

    My Images won't open in Photoshop CS5 when I click on Edit in Lightroom - even though this option has been selected?  To edit in Photoshop I have to export image from Lightroom then import into Photoshop.  I have other programmes such as NIK and if I wish to edit in these everything works fine.

    Same here. I've never had trouble with this function before.
    It opens the Photoshop application with all the menus/windows, but it never opens the actual image I chose to work on.
    I'm on a Mac, using OS X Yosemite, 10.10.1  Lightroom is version 5.7  Photoshop is CS5, version 12.0.4
    FWIW, I also can't automate>Photomerge ... . Makes me think Photoshop, not Lightroom, is all wacky. I tried dumping PS preferences

  • How to determine which FileChooser ExtensionFilter has been selected

    Hi,
    I'm using a JavaFX fileChooser.showSaveDialog with two extension filters (*.csv and *.xml). How can I determine which filter was selected when the end-user clicks the save button?
    I am writing a program that allows the end-user to create an output file in CSV or XML format.
    If the end-user enters a file name with no extension, I need a way to determine if I should create a CSV or XML file. I would also like to add the proper extension to the file name if none is specified by the end-user. I want to do this based on which filter the end-user has selected. I wrote a Java program 5 years ago and I was able to do this with the following instruction:
    String extension = jFileChooser.getFileFilter().getDescription();
    I can't find a similar instruction for JavFX.
    My JavaFX Code:
    FileChooser fileChooser = new FileChooser();
    fileChooser.setInitialDirectory(new File(options.getOutputDirectory()));
    ExtensionFilter filter1 = new FileChooser.ExtensionFilter("Comma Delimited (*.csv)", "*.csv");
    fileChooser.getExtensionFilters().add(filter1);
    ExtensionFilter filter2 = new FileChooser.ExtensionFilter("XML Document (*.xml)", "*.xml");
    fileChooser.getExtensionFilters().add(filter2);
    File file = fileChooser.showSaveDialog(stage);
    String filename = file.getAbsolutePath();...How do I determine which extension filter has been selected?
    My Java Code:
    JFileChooser jFileChooser = new JFileChooser();
    jFileChooser.setCurrentDirectory(new File(outputDirectory));
    jFileChooser.setSelectedFile(new File(backupfile));
    FileFilter filter = new FileNameExtensionFilter("Comma Delimited (*.csv)", "csv");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setFileFilter(filter);
    filter = new FileNameExtensionFilter("XML Document (*.xml)", "xml");
    jFileChooser.addChoosableFileFilter(filter);
    jFileChooser.setAcceptAllFileFilterUsed(false);
    jFileChooser.setDialogTitle("Export Alarms");
    jFileChooser.setBackground(colorFileChooser);
    int returnVal = jFileChooser.showDialog(jFrame, "Export");
    if (returnVal == JFileChooser.APPROVE_OPTION) {
        File file = jFileChooser.getSelectedFile();
        String filename = file.getAbsolutePath();
        String extension = jFileChooser.getFileFilter().getDescription();
        if (extension.equals("XML Document (*.xml)")) {
            if (!filename.endsWith(".xml") && !filename.endsWith(".XML")) {
                filename = filename + ".xml";
            saveTableXML(filename);
        else if (extension.equals("Comma Delimited (*.csv)")) {
            if (!filename.endsWith(".csv") && !filename.endsWith(".CSV")) {
                filename = filename + ".csv";
            saveTableCSV(filename);
    }Thanks,
    Barry
    Edited by: 907965 on May 13, 2012 1:14 PM
    Edited by: 907965 on May 13, 2012 1:15 PM
    Edited by: 907965 on May 13, 2012 1:19 PM

    This problem is currently tracked as http://javafx-jira.kenai.com/browse/RT-18836.

  • Process order %00000000001 has been selected for deletion

    Hi Guys,
    With the use of strategy type 86 (assem bly processing for process order) when creating the sales order it is giving the error
    Process order %00000000001 has been selected for deletion
    Message no. V1796
    According to process order will be created automatically with the order type PI04. Related setting for the order type Pi04 in the specified plant is done.
    Pls help.

    Solved..Change the customer number

  • How do I keep file menu open after CheckBox has been selected?

    The following represents a written code for a menu with checkboxes. I would like the menu to stay open after a check box has been selected. Does anyone have a suggested modification for this to occur?
    Thanks,
    JR
    public class NewJFrame extends javax.swing.JFrame {
    /** Creates new form NewJFrame */
    public NewJFrame() {
    initComponents();
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">
    private void initComponents() {
    jMenuBar1 = new javax.swing.JMenuBar();
    jMenu1 = new javax.swing.JMenu();
    jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
    jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
    jCheckBoxMenuItem3 = new javax.swing.JCheckBoxMenuItem();
    jMenu2 = new javax.swing.JMenu();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    jMenu1.setText("File");
    jCheckBoxMenuItem1.setSelected(true);
    jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");
    jMenu1.add(jCheckBoxMenuItem1);
    jCheckBoxMenuItem2.setSelected(true);
    jCheckBoxMenuItem2.setText("jCheckBoxMenuItem2");
    jMenu1.add(jCheckBoxMenuItem2);
    jCheckBoxMenuItem3.setSelected(true);
    jCheckBoxMenuItem3.setText("jCheckBoxMenuItem3");
    jMenu1.add(jCheckBoxMenuItem3);
    jMenuBar1.add(jMenu1);
    jMenu2.setText("Edit");
    jMenuBar1.add(jMenu2);
    setJMenuBar(jMenuBar1);
    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 400, Short.MAX_VALUE)
    layout.setVerticalGroup(
    layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGap(0, 279, Short.MAX_VALUE)
    pack();
    }// </editor-fold>
    * @param args the command line arguments
    public static void main(String args[]) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new NewJFrame().setVisible(true);
    // Variables declaration - do not modify
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem2;
    private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem3;
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenuBar jMenuBar1;
    // End of variables declaration
    }

    Sorry Jack.
    Here is the code so that it appears more readable whenever it gets moved.
    public class NewJFrame extends javax.swing.JFrame {
        /** Creates new form NewJFrame */
        public NewJFrame() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
            jMenuBar1 = new javax.swing.JMenuBar();
            jMenu1 = new javax.swing.JMenu();
            jCheckBoxMenuItem1 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem2 = new javax.swing.JCheckBoxMenuItem();
            jCheckBoxMenuItem3 = new javax.swing.JCheckBoxMenuItem();
            jMenu2 = new javax.swing.JMenu();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jMenu1.setText("File");
            jCheckBoxMenuItem1.setSelected(true);
            jCheckBoxMenuItem1.setText("jCheckBoxMenuItem1");
            jMenu1.add(jCheckBoxMenuItem1);
            jCheckBoxMenuItem2.setSelected(true);
            jCheckBoxMenuItem2.setText("jCheckBoxMenuItem2");
            jMenu1.add(jCheckBoxMenuItem2);
            jCheckBoxMenuItem3.setSelected(true);
            jCheckBoxMenuItem3.setText("jCheckBoxMenuItem3");
            jMenu1.add(jCheckBoxMenuItem3);
            jMenuBar1.add(jMenu1);
            jMenu2.setText("Edit");
            jMenuBar1.add(jMenu2);
            setJMenuBar(jMenuBar1);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 400, Short.MAX_VALUE)
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 279, Short.MAX_VALUE)
            pack();
        }// </editor-fold>
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
        // Variables declaration - do not modify
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem1;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem2;
        private javax.swing.JCheckBoxMenuItem jCheckBoxMenuItem3;
        private javax.swing.JMenu jMenu1;
        private javax.swing.JMenu jMenu2;
        private javax.swing.JMenuBar jMenuBar1;
        // End of variables declaration
    }

  • No output has been selected for printing in Proforma Invoice

    Hi,
    I have created PO for STO and delivery (Delivery Type NL) through billing VF01, billing type (JEX) and creation of excise invoice, T-code u2013 J1IIN with reference to Proforma Invoice, it is working fine. 
    I have maintained the billing output (JEX) in condition records (T-Code- VV31).  When I have save the proforma invoice and selected the issues output system showing Error u201CNo output has been selected for printingu201D Message no. VF302"
    Can any body tell me what is problem for configuration steps or I have missing any steps?
    Useful answers duly rewarded
    Regards,
    Devendra

    Hi Devendra
    check the following things :
    Go to VF02 ->header data ->output-> click on analysis
    Check the access sequence (key combination) in your output type details.t.code V/40.
    check wheather the output procedure has been assigned to the output type or not
    check the condition record has been maintained or not VV31 . If maintained check the key combinations entered, transmission medium also .
    Regards
    Srinath

  • How do I know what item has been selected in a select list?

    I built a select list where the user selects one item from the list and then searches using the searchfield. I need to know what item has been selected in the select list so that I can do branching and branch the user to a particular page. Can someone tell me how I can accomplish this?
    So if I want to search for Tea in the drinks category I would need to click on Drink in the select list and then type "Tea" and select search. After that I get redirected to a table called "Drinks" and there the search results will be displayed. please help!

    I tried to mach expressions... I made a simple list(with redirection):
    STATIC:Yes;Y,No;N and it displays fine. I then try to do branching where exp1=exp2 Where I tried to have the label "X" for E1 and "Y" for E2 and nothing happened. I tried to use the name of the list Xlist and it failed too. I tried Request=exp1 and didnt work either. I set the source for the list as static. I am not sure what I am doing wrong. When i tried !=exp nothing happened either... perhaps the values I am using are wrong? Pleas help me out.

  • Configuration Deployment Failed(Since instance has been modified on node)

    Hi
    I am new to sun java system portal server 7.1 update 2, whenever i am going to deployed war,its showing given errors..(sun java system portal server with webserver)
    [10/Jul/2008:11:28:29] info ( 770): for host 172.20.46.42 trying to POST /jmxco
    nnector/remotejmx, service-j2ee reports: Exception : ADMIN3658: Configuration de
    ployment failed since the instance has been modified on node(s): netapp.india.tc
    s.com. These modifications can either be discarded using the --force option or p
    ulled into the current configuration using the pull-config command.
    can you any one please give the solutions..
    regards
    Sekar M

    The webserver on netapp.india.tcs.com has gone to deployment pending state. This means some configuration files were touched manually.
    You may have to login to the webserver admin console and bring it back to the normal state. Check the webserver admin guide
    You can also check :
    http://onesearch.sun.com/search/docs/index.jsp?col=docs_en&locale=en&qt=deployment+pending

  • Weblink to react on a value of a picklist which has been selected on screen

    I've a requirement as follows:
    I would like a weblink to react on a value of a picklist which has been selected by a user but has not yet been saved to the dB of CRM On Demand.
    Could anybody tell me how to realise this requirement.
    Thanks!
    Pepijn
    Edited by: user11085279 on 24-nov-2010 15:29

    Hi Raghu,
    Creating a new SR of a certain type gives you a screen to fill in the required fields for this type of SR.
    When a picklist value is selected for a picklist field, this value it is not yet saved to the database.(Only after saving the SR)
    Because of this it is not possible to use this picklistfield in a weblink to react on. (dynamic url)
    The weblink is on the same screen.
    I would like to know if it's possible to read the selected picklist value form the screen before it is saved to the database.
    And the weblink to react on it.
    Fore example with javascript or some other technology.
    Pepijn

  • Which menu item has been selected?

    At runtime when a user selects a menu item in the portal that leads them into a Web Dynpro ABAP Application, I need to know which menu item they have selected. We have 2 menu items that use the same web dynpro ABAP application and need to know which one has been selected by the user. Can anyone help with this please?
    thanks,
    Malcolm.

    Malcolm Clark wrote:
    At runtime when a user selects a menu item in the portal.......We have 2 menu items that use the same web dynpro ABAP
    Are you talking about portal navigation nodes or something else?

  • Know how many JPanel has been selected

    Hi, i had somethings to do, and i really dont figure how to do it, i have an applet that is a kind of paint, and each draw is done on a new JPanel so is there a way to know which JPanel the user has select if i want to be able to select more than one JPanel. Dont know if you understand, my english isnt so good... Could be like a selection tool but i want to know which JPanel has been selected between x,y and width,height of a rectangle made with the mouse....
    thx for the help

    i could go with a getComponentAt to know which one has been under the selected rectangle, but dont know how can i move it all after i know which one has been selected with the mouse

  • How to know which button has been selected on portal screen

    Dear Freinds,
                i an abaper i have one specific doubt regarding icon which has been selected on the portal screen.
    My requirement is we have portal screen on which i have two Buttons(or links) one Self and another for Dependents. i have to write an Bapi or RFC and give it to webdynpro developer.
    i have to write logic in my RFC based on the button selected on the portal screen (self or dependent) .
    in my RFC function module i have used import parameters &  table parameters( return value for the webdynpro to pick up)  . In the table parameters i have given structure z_struc  & the  Z_Struc has basically three fields
    a) self b) depndt c) flag.
    so i have written logic as
                       if v_flag_self = 'A'
                        logic for the self of the employee
                       elseif  v_flag_dep = 'B'.
                        logic for the dependent.
                       endif.
    so any one  could please let me know how i should pass on to the webdynpro
    or to recognize that the value for the Self he has to consider is A
    and dependent button he has to take is B. Because based ont he this flag values
    (A & B) only my logic works.
    how i should pass this values to him .
    Regards
    latha.

    Thanks!
    This wasn't there when I first looked at it, or I was looking at another location of the api, I will make sure to look at this one now :D.
    I basically did Action action = Dialog.show().
    then did if (action.equals(Dialog.Actions.OK))
    //code
    }So it works :).
    I like the custom action too, I'm interested in the example Action response = Dialogs.create()
          .title("You do want dialogs right?")
          .masthead("Just Checkin'")
          .message( "I was a bit worried that you might not want them, so I wanted to double check.")
          .showConfirm();I from the api it says that .create() is static Dialogs Type, so I'm curious how that's used as the Action in this case?
    Thanks again :)

  • Hard Drive Recovery Process has been selected

    One day, while playing a game online, the computer screen went black and a blue box appeared that said "Hard Drive Recovery Process has been selected Press Yes if you wish to continue " Also, there was NO which only shut the computer down. YES took me to a blue screen with recovery and troubleshooting options. At first, none of these worked, or stayed. Because the next time I used my computer I would get the same Hard Drive Recovery Process message and had to try various things to make it work. I did purchase a Windows 8.1 recovery flashdrive from Toshiba and attempted to install it. It took about 6 tries for it to completely install. However, after installing, I was unable to use the RESTART option to power off the computer as it would trigger the Hard Drive Recovery Process again ! Ugh ! Last night, I powered the laptop off using SHUT DOWN and in the morning, I got the Hard Drive Recovery Process screen again, much to my horror. I have Norton Internet Security and Anti Virus as well as I used Toshiba maintenance tasks and no problems were found. I would appreciate any information on troubleshooting and repairing this problem, if there is a solution. Thanks !!!!!

    I did purchase a Windows 8.1 recovery flashdrive from Toshiba   ...   after installing  ..  it would trigger the Hard Drive Recovery Process again
    The fact that the problem remains after restoring the hard disk to its original out-of-the-box contents using Toshiba recovery media means the software doesn't cause it.
    The computer needs servicing.

Maybe you are looking for