Double_click and exit SAPLSLVC_FULLSCREEN in one step ?

I have a program where the user can click a function button on the selection screen to display a ALV list of all entries this user has made.  From the ALV list, I want to allow them to double click a line and return the values to the selection screen and exit the ALV list.
I got the functionality working to display the list and return the values to the calling program.  But after double click the ALV list is still displayed.  I have to Green Arrow back to return to the original selection screen where the values are filled in.  What do I need to do to have SAPLSLVC_FULLSCREEN  exit as part of the double click event?  The following code is in the main program that has the selection screen.
class lcl_event_handler definition.
  PUBLIC SECTION.
    METHODS: Constructor Importing
                        im_siteid type /BIC/AUC0ISODS00-/BIC/UC0MIDEM0
                        im_matnr  type /BIC/AUC0ISODS00-/BIC/UC0MATNH0
                        im_called type /BIC/AUC0ISODS00-/BIC/UC0CALLDT
                        im_closed type /BIC/AUC0ISODS00-/BIC/UC0CLSDAT.
    METHODS:
          on_DOUBLE_CLICK
            FOR EVENT DOUBLE_CLICK OF cl_salv_events_table
              IMPORTING
                row
                column.
ENDCLASS.                    "lcl_event_handler DEFINITION
CLASS lcl_event_handler IMPLEMENTATION.
  METHOD constructor.
  ENDMETHOD.                    "constructor
  METHOD on_double_click.
    READ TABLE it_alvtab into wa_alvtab
     index row.
    WX_SITEID = wa_alvtab-/bic/uc0midem0.
    WX_MATNR = wa_alvtab-/BIC/UC0MATNH0.
    WX_CALLED = wa_alvtab-/BIC/UC0CALLDT.
    WX_CLOSED = wa_alvtab-/BIC/UC0CLSDAT.
  ENDMETHOD.                    "on_double_click
ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
in the above code, the event gets triggered on double click and when it exits the "on_double_click" method, it returns to CL_SALV_EVENTS_TABLE==========CP   method  RAISE_DOUBLE_CLICK and then continues with additional code in SAPLSLVC_FULLSCREEN  then redisplays the ALV list.   If I do a Green Arrow from the list, it returns to the original program code below ( line after PERFORM DISPLAY_USERS_RECORDS )
AT SELECTION-SCREEN.
**@@@@@@  CHECK IF USER CLICKED TO DISPLAY Previous Records   @@@@@@**
  IF SSCRFIELDS-UCOMM = 'DSPL'.
    Clear: WX_SITEID,
           WX_MATNR,
           WX_CALLED,
           WX_CLOSED.
    PERFORM DISPLAY_USERS_RECORDS.
    P_SITEID = WX_SITEID.
    P_MATNR = WX_MATNR.
    P_CALLED = WX_CALLED.
    P_CLOSED = WX_CLOSED.

Hi
Try to insert SET SCREEN 0. LEAVE SCREEN in the method of the event for doubleclick
But why have you used that event?
SAPLSLVC_FULLSCREEN is main program of ALV GRID function module, you should manage the doubleclick on USER_COMAND
Max

Similar Messages

  • Gzip and FTP datafiles in one step

    Gzip and FTP datafiles in one step
    i have 10 datafiles in a single dir. which are between 2GB and 3GB and i want to transfer it to another host using FTP. I want to do the following:
    1. gzip all the datafiles
    2. FTP them to target server
    i want to accomplish this via shell script. Also i want do it in single step so as to save time.. something like below example:
    mknod pipe.dmp p
    nohup gzip -cNf < pipe.dmp > exp_infdbt01.dmp.gz &
    nohup exp userid=system/xxxxx file=pipe.dmp log=exp_infdbt01_$date.log owner=INFADMIN &
    Here a pipe is used to gzip the dump file as it generates the dump file and output it to exp_infdbt01.dmp.gz simultaneously..
    How can i do something similar to above to accomplish above task in shell script in for loop.. i tried but didn't worked. Any other way?
    I have RHEL 4 edition....using BASH shell

    you can zip all files in one file quite convenient using tar: tar czf <name of the tarfile>.tar.gz <filenames which must be in it>
    An extremely easy way to share files is using NFS, or samba mounts (that way all the network handling is transparent)

  • How to validate XML against XSD and parse/save in one step using SAXParser?

    How to validate XML against XSD and parse/save in one step using SAXParser?
    I currently have an XML file and XSD. The XML file specifies the location of the XSD. In Java code I create a SAXParser with parameters indicating that it needs to validate the XML. However, SAXParser.parse does not validate the XML, but it does call my handler functions which save the elements/attributes in memory as it is read. On the other hand, XMLReader.parse does validate the XML against the XSD, but does not save the document in memory.
    My code can call XMLReader.parse to validate the XML followed by SAXParser.parse to save the XML document in memory. But this sound inefficient. Besides, while a valid document is being parsed by XMLReader, it can be changed to be invalid and saved, and XMLReader.parse would be looking at the original file and would think that the file is OK, and then SAXParser.parse would parse the document without errors.
    <Book xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="book.xsd" name="MyBook">
      <Chapter name="First Chapter"/>
      <Chapter name="Second Chapter">
        <Section number="1"/>
        <Section number="2"/>
      </Chapter>
    </Book>
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="Book">
    <xs:complexType>
      <xs:sequence>
       <xs:element name="Chapter" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
         <xs:sequence>
          <xs:element name="Section" minOccurs="0" maxOccurs="unbounded">
           <xs:complexType>
            <xs:attribute name="xnumber"/>
          </xs:complexType>
          </xs:element>
         </xs:sequence>
         <xs:attribute name="name"/>
        </xs:complexType>
       </xs:element>
      </xs:sequence>
      <xs:attribute name="name"/>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    public class SAXXMLParserTest
       public static void main(String[] args)
          try
             SAXParserFactory factory = SAXParserFactory.newInstance();
             factory.setNamespaceAware(true);
             factory.setValidating(true);
             SAXParser parser = factory.newSAXParser();
             parser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage",
                                "http://www.w3.org/2001/XMLSchema");
             BookHandler handler = new BookHandler();
             XMLReader reader = parser.getXMLReader();
             reader.setErrorHandler(handler);
             parser.parse("xmltest.dat", handler); // does not throw validation error
             Book book = handler.getBook();
             System.out.println(book);
             reader.parse("xmltest.dat"); // throws validation error because of 'xnumber' in the XSD
    public class Book extends Element
       private String name;
       private List<Chapter> chapters = new ArrayList<Chapter>();
       public Book(String name)
          this.name = name;
       public void addChapter(Chapter chapter)
          chapters.add(chapter);
       public String toString()
          StringBuilder builder = new StringBuilder();
          builder.append("<Book name=\"").append(name).append("\">\n");
          for (Chapter chapter: chapters)
             builder.append(chapter.toString());
          builder.append("</Book>\n");
          return builder.toString();
       public static class BookHandler extends DefaultHandler
          private Stack<Element> root = null;
          private Book book = null;
          public void startDocument()
             root = new Stack<Element>();
          public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
             if (qName.equals("Book"))
                String name = attributes.getValue("name");
                root.push(new Book(name));
             else if (qName.equals("Chapter"))
                String name = attributes.getValue("name");
                Chapter child = new Chapter(name);
                ((Book)root.peek()).addChapter(child);
                root.push(child);
             else if (qName.equals("Section"))
                Integer number = Integer.parseInt(attributes.getValue("number"));
                Section child = new Section(number);
                ((Chapter)root.peek()).addSection(child);
                root.push(child);
          public void endElement(String uri, String localName, String qName) throws SAXException
             Element finished = root.pop();
             if (root.size() == 0)
                book = (Book) finished;
          public Book getBook()
             return book;
          public void error(SAXParseException e)
             System.out.println(e.getMessage());
          public void fatalError(SAXParseException e)
             error(e);
          public void warning(SAXParseException e)
             error(e);
    public class Chapter extends Element
       public static class Section extends Element
          private Integer number;
          public Section(Integer number)
             this.number = number;
          public String toString()
             StringBuilder builder = new StringBuilder();
             builder.append("<Section number=\"").append(number).append("\"/>\n");
             return builder.toString();
       private String name;
       private List<Section> sections = null;
       public Chapter(String name)
          this.name = name;
       public void addSection(Section section)
          if (sections == null)
             sections = new ArrayList<Section>();
          sections.add(section);
       public String toString()
          StringBuilder builder = new StringBuilder();
          builder.append("<Chapter name=\"").append(name).append("\">\n");
          if (sections != null)
             for (Section section: sections)
                builder.append(section.toString());
          builder.append("</Chapter>\n");
          return builder.toString();
    }Edited by: sn72 on Oct 28, 2008 1:16 PM

    Have you looked at the XML DB FAQ thread (second post) in this forum? It has some examples for validating XML against schemas.

  • Wrap and compile code in one step...

    http://tylermuth.wordpress.com/2007/09/14/wrap-and-compile-in-one-step/
    This was a cool trick I discovered while writing some LDAP code for a customer recently.
    Tyler

    you can zip all files in one file quite convenient using tar: tar czf <name of the tarfile>.tar.gz <filenames which must be in it>
    An extremely easy way to share files is using NFS, or samba mounts (that way all the network handling is transparent)

  • Moving and Exiting Project from one computer to another

    I started working on a project on my Mini and I want to continue and work with it on the MacBook Pro. How do I move the already edited images as a project with all the corrections to the other computer. When I move the hard drive over to the new computer and import only the master images are imported? I would like to continue with the changes I have already made.

    easy ...
    export the project from aperture ... transfer said project to MBP and import it or drag it into the aperture window ...

  • One step DVD won't finalize

    What am I doing wrong? Thank you.
    Recently installed iDVD 5 as part of iLife for the 'One Step DVD' capability, installed over the original iDVD 3. Sony miniDV deck is firewired to my G4 Powerbook. iDVD operates the deck and goes through the One Step protocol just fine until the last step...then freezes up at 'writing leadout' operation. MiniDV clips I've tried are simple and short...no transitions or graphics just straight-from-the-camera miniDV.

    Can you check the audio on the DV tape. Is it 12 bit or 16 bit?
    How much free space is on your startup drive and how much tape (minutes) are you trying to import?
    I'm not a big fan of one step - in my view it just triples your chances for errors.
    I think importing/saving as disk image/burning is three steps, but those extra two steps will save you trouble.
    John

  • One Step iDVD does  not start

    I am using a Sony Digital 8 Handycam DCR-TRV530. I can't get the One Step iDVD function to work. I am using a Pioneer DVR-XD10 DVD/CD writer. The camera is also directly connected by Firewire to the computer. I click on the drop down menu and click on the One Step IDVD function and nothing happens. The camera is supposed to rewind and begin playing the tape while in VCR mode but nothing happens. I don't think the camera is at fault but I'm open to any suggestions.

    Yes, I did. To be more exact, however, the camera detects if you are using Hi-8 tape and will automatically begin recording in digital format. What is weird, though, is that about 20 minutes after posting my message the One Step iDVD process began working as expected.
    Thanks for your response! Greatly appreciated.

  • 101 & 541 in one step, SC vendor indicator

    we have 2 plants in same company code, and using STO (stock transport order, order type UB) to transfer goods from plant A to plant B, now there is one case, plant B ask for a material from plant A, but need it shipped directly to a external vendor, could it be possible to combine GR 101 and transfer 541 in one step? I know it's possible for PO type NB, just use the 'SC vendor' indicator in item detail, tab 'delivery address'. but it seems not working for type UB (or not working for item category U). I can't find the indicator, even set the field to 'required entry' in PO screen layout configuration. So does anybody has any suggestion? is there other solution to do 101 & 541 in one step? or is the indicator 'SC vendor' possible for PO type UB?
    thanks for any idea!

    Hi
    I dont think this will be possible as it is trying to club the two different functionalities. When we define STO means stock has to be received at the receiving plant.
    Once received please move the stock to Vendor.
    Please let me know if you have any questions.

  • Display Blocked BPs-Can we see all detailed analyses in a one step process?

    Hi
    Before releasing any BPs blocked by the system our compliance users check the details of the blocks.
    Currently it is a 2 step process (after they are in the detailed screen of the Display Blocked Business Partners menu):
    1 u2013 Double click on the name of the blocked BPs.
    2 u2013 Click on icon u201CDisplay All Detailed Analysesu201D to show detailed analysis of all hits.
    Is there any way we can make it a one step process and see all details analysis immediately after selecting the blocked BPs?
    SAP Compliance Management -> Sanctioned Party List Screening -> Monitoring -> Business Partner -> Display Blocked Business Partners.
    Thanks!

    We can go to the SPL BP blocked list from the path you have mentioned. In the list select a line item and at the header there is partner. If you click on that you can see detailed analysis in there. Just click on it and it would be one step for you. But from here you can't release.

  • Using "One Step DVD from Movie" on my IMac 10.8.6 using Verbatim DVD-R ("Life Series") 4.7 GB 16X 120, I get a wide angle version of my two minute story rather than the 3X4 standard aspect ratio that I normally get and want.  Help!

    While using "One Step DVD from Movie"  using DVD-R Verbatim ("Life Series" 4.7  16 X  120 min) on my IMac 10.6.8 I get a wide angle aspect ratio on the DVD not the standard 3X4 aspect ratio.  The Quicktime Movie is is standard 3X4 aspect ratio and the video video footage is standard 3X4 aspect ratio?  Advice will be greatly appreciated.

    Try this basic troubleshooting fix :
    1 - delete the IDVD preference file, com.apple.iDVD.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete IDVD'S cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iDVD folder. 
    Click to view full size
    3 -  reboot.
    4 - launch IDVD and try again.
    Personally I would not the the one step method but create the iDVD project  from scratch so you can make sure the widescreen option is not selected in the preferences and you can follow this workflow:
    Once you have the project as you want it save it as a disk image via the  File ➙ Save as Disk Image  menu option.  This will separate the encoding process from the burn process. 
    To check the encoding mount the disk image and launch DVD Player and play it.  If it plays OK with DVD Player the encoding was good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.
    OT

  • Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    Need to know how to get my apple account to sync up with a new email on my phone and delete the old one in a step by step process??

    After you change the account settings as I described below hold your finger on any app until they all wriggle, then tap the "-" on each purchased with her Apple ID. Press the HOME button when done. Then go to the App Store and buy or download the apps you want.

  • The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using. Now, no reactions. What should I do?

    The button on my Ipod Touch (the big one just below the screen) will not work when I press it. Nothing happens, when before it would wake my IPod out of sleep mode, and exit out of programs I was using (ex. ITunes or Safari to main screen) . Now, no reactions. When I press the button, it appears to be more indented then it was before. What should I do? Do I need to get it fixed or replaced, or is this a problem I can fix on my own? Whatever it is, I really need some advice. Thanks in advance.

    Try:
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • The little 'down' arrow that used to live next to the forward and back arrows in the upper left of the navigation bar, is missing. It was handy to use to go back in big jumps without having to go back one step at a time. Can you please restore it?

    When searching through a website, covering many pages of information, sometimes you just want to jump back to a page.
    Using the little dow arrow was a handy way to see where you have been and to jump multiple steps/pages backwards without continuing to click back, back, back, until finally reaching where you were. I really use it a lot and am hoping you will either restore it or provide me with a new way to do the same thing.
    Thank you!
    Maggie

    The arrow to open the tab history of the Back and Forward buttons has been removed in Firefox 4 and later.
    Use one of these methods to open the tab history list:
    * Right click on the Back or Forward button
    * Hold down the left mouse button on the enabled Back or Forward button until the list opens
    You can look at this extension:
    * Backward Forward History Dropdown: https://addons.mozilla.org/firefox/addon/backforedrop/

  • Mapping Issue with 7 source tables and one target table in one step

    Hi,
    Request for a small help in OWB.
    I am trying to map 7 source tables to a single target table in one step.These source tables are in Oracle 10G database but dont have PK and FK relation ship.
    I am able to link one table to the target by pointing some of the columns. But when coming to the second table it is giving some error message :
    Ap18003: Connection target attribute group is already connected to a incompatible data source. Use a joiner or set operator to join the upstream data first before connection it to this operator.
    As per the error message I used a Join operator and tried to map the second table to the target but still giving me the same error message. Could some body give me a hand to give out from this step.
    Thanks for your help in advance.
    Cheers,
    Krishna.

    Hi,
    like this:
    Ingroup1
    - id -> Number(9,0)
    - name -> VARCHAR2(500)
    Ingroup2
    - my_id -> Number(9,0)
    - name -> VARCHAR2(500)
    Outgroup
    - id -> point to target_table.id
    - name -> point to target_table.name
    Not:
    Ingroup1
    - id -> Number(9,0)
    - name -> VARCHAR2(500)
    Ingroup2
    - name -> VARCHAR2(500)
    - my_id -> VARCHAR2(9)
    Regards
    Detlef
    null

  • Export to PDF and Print to Postscript (in one step)

    I am seeking a script that will do the following consecutively:
    * Export to PDF (PDF settings never changes, output directory never changes)
    * Print to PS (printer preset that is used never changes, output directory never changes)
    It would save us a lot of time in our workflow having to do this in one step, with a single keyboard shortcut.
    Since the same PDF and Printer presets are always used, as well as the output directories, It would
    probably be easy to include those settings in the script itself, as opposed to some preference file, I'm guessing.
    If anyone can help me write this, I'd much appreciate it.
    Thanks,
    Destin

    Thanks Gerald for the suggestion.
    Looks like some powerful software there... and a bit pricey for what I need to do (over $500 US dollars, yikes).
    Surely the script I am seeking is much less involved than that.  I suppose I'll have to try to do some Javascript myself,
    which will be a learning experience...

Maybe you are looking for

  • HT204053 We had 2 phones 1 computer my x has made password same

    2 phones 1 computer. His username comes up when I want to download anything He made an apple Id for me but that's not what comes up when I try to things on my phone He refuses to give me his password What do I do to ensure my apple id comes up not Hi

  • Large number of event Log entries: connection open...

    Hi, I am seeing a large number of entries in the event log of the type: 21:49:17, 11 Mar. IN: ACCEPT [57] Connection closed (Port Forwarding: TCP 192.168.1.78:14312 <-->86.128.58.172:14312 [81.154.101.160:51163] CLOSED/TIME_WAIT ppp0 NAPT) 21:49:15,

  • Album Cover Flow has stopped working on my MacAir

    Hi, My preferred Screen Saver is I-tunes Album Cover flow which has been working fine. Last week it stopped working with an error message there is no art work in I-tunes, however there is. How do I get it tto start working again? Regards Virgil

  • SRA Gateway and short URL's

    Is it possible to configure SRA Gateway so it redirect external requests with "short" urls to internal portal? https://gateway.abc.lt/banklogin.do -> https://gateway.abc.lt/http://psrv1.abc.lan:8080/banklogin.do Can it be achieved using additional Re

  • How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part

    Dear all, How to connect Businnes Object Enterprise XI R2 to Sharepoint 2007 web-part? We've connected the SQL Server Analysis Services (OLAP) with Voyager, but how to create the dashboard/reporting/pivot-table/KPI with the web-part created with Busi