How to add two list in one frame using REUSE_ALV_LIST_DISPLAY

Hi,
I want to display two list in single output by calling FM 'REUSE_ALV_LIST_DISPLAY' twice.
I saw one topic posted by Arunava Das as 'ALV Problem' but didn't get the steps to do that.
Here is his way of doing that "What I have done is gone for the append ALV approach wher I have added the END_OF_LIST Event for the Fisrt reprt and in the Corresponding FORM Routine I have added another made another cALL to the REUSE_ALV_LIST DISPLAY FM with the other table."
I would be grateful if someone can help me out.

Hi Ashish,
The way you have tried i.e. calling the second list in the END_OF_LIST event of first list and like wise that is the correct way of doing it.
Using this way you can display multiple lists. In the event END_OF_LIST by using a global variable G_COUNTER. the value of which you increment for each list and based on that counter you call different lists in the END_OF_LIST event.
case G_COUNTER.
  when 1. perform call_first_list.
  when 2. perform call_second_list.
  when 3. perform call_third_list.
endcase.
Hope this answers your query
regards,
Satyadev Dutta

Similar Messages

  • How to link two lists and do calculations using infopath 2010

    Hi Everyone. I am stuck in a bad situation and need your help to solve this problem i am facing.
    I have two lists named Master and Slave.here i am maintaining the costs for each new project which i will be handling.in the master list i will only enter the project name and the total budget allowed for that perticular project.  in my slave list
    i am having quite a few entries like project name, amount required, balance and approval status.
    Now, for each project i will be entering multiple line items in my slave list as per cost of each line item. based on the amount required field of my slave list the calculation has to be done like
    [BALANCE]  =  [Master List BUDGET value adjuscent to the relevant PROJECT NAME]-[slace list AMOUNT REQUIRED] .once the approval has been done the [BUDGET] value of the Master Page Should automatically get reduced based on the
    [AMOUNT REQUIRED] value of the slave list.
    i tried to google this out but i couldn't find any useful link. i want to achieve this only by using the INFOPATH 2010.

    It is not possible to achieve this through only InfoPath. The reason is because the form in which you submit the slave list will not change the master list.
    If you can be sure that once you approve items here that it won't be removed, then you could do a workflow after approval that takes your current budget number and then reduces it by the approved amount. If it does change, you could always do adjustment
    items in the slave list for negative amounts.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to add two lines in one cell in smartforms

    Hi All,
    can anyone help me to implement the following format in smartforms?
    i have create one line type in table, one of the cell in the line type need to split two small line, the upper line is summary and the lower line still split into three small cell. how can i do?
    ?|????|___sum____|
    ?|????|aaa|bbb|cccc|
    Edited by: wei fang on Oct 21, 2008 2:19 PM

    Hi Wei Fang,
    You can try by creating a 2 line template (1 Template, 2 linetype) under a loop note.
    So your smartform tree structure will be shown like this:
    LOOP
        TEMPLATE1.
    On the LOOP part, pass the internal table of your data to the working areas.
    On the template put all the data of the summary on your first linetype, and put
    the detail data on your second linetype.
    Good luck and hopefully this will solve the problem
    Edited by: Prawira Fadjar on Oct 22, 2008 10:04 AM

  • How to add two videos to one???

    Hello there,
    I making a program in which I can capture the video and save it to a file, suppose the file name is "foo".
    O.K. now every time I run the program it overrites the previous one(video file).
    So the problem is every time I run the program the video should be added to the previous one that is concatenated.
    That there are 2 videos
    1> one is stored on the disk already.
    2> other one is which is live and is going to be captured.
    Hope you can understand.
    Please help me.
    Thanks in advance.

    Thanks Captfoss,
    I got another idea
    I just used the Cancat class from Concat.java example.
    Here is the code\
    import java.awt.*;
    import java.net.*;
    import javax.media.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.media.format.*;
    import javax.media.protocol.*;
    import javax.media.control.*;
    import javax.media.Manager.*;
    import java.util.*;
    import java.io.*;
    import java.util.Vector;
    import java.io.File;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.Format;
    import javax.media.datasink.*;
    import javax.media.protocol.DataSource;
    import java.io.IOException;
    /* This program is to capture from a webcam and save it in disk */
    public class run extends JFrame implements ControllerListener,ActionListener
         Processor p; DataSink sink;
         MenuBar mb;
         MenuItem start,stop;
         Menu file;
         Vector dl;
         MediaLocator ml,oml;
         MediaLocator iml[] = new MediaLocator[2];
         DataSource ds,original,clone;
         Player player;
         ContentDescriptor cd;
         run()
              setVisible(true);
              setSize(800,600);
              setLayout(new BorderLayout());
              mb=new MenuBar();
              file=new Menu("File");
              start=new MenuItem("Start");
              // start button gets enabled only after the processor is realized
              // I start the processor and sink after clicking the start button
              // I start the processor and sink after clicking the start button
              start.setEnabled(false);
              stop=new MenuItem("Stop");
              // I use stop button to stop the processor and the sink
              file.add(start);
              file.add(stop);
              mb.add(file);
              setMenuBar(mb);
              start.addActionListener(this);
              stop.addActionListener(this);
              addWindowListener
              (new WindowAdapter()
                        public void windowClosing(WindowEvent we)
                             System.exit(0);
              try
                   dl=CaptureDeviceManager.getDeviceList(new VideoFormat(VideoFormat.YUV));
                   ml=((CaptureDeviceInfo)dl.firstElement()).getLocator();
                   //Manager.setHint( Manager.LEIGHTWEIGHT_RENDERER,true);
                   original = Manager.createDataSource(ml);
                   original = Manager.createCloneableDataSource(original);
                   clone = ((SourceCloneable)original).createClone();
                   player = Manager.createRealizedPlayer(original);
                   p=Manager.createProcessor(clone);
                   p.addControllerListener(this);
                   p.configure();
                   Thread.sleep(3000);
                   p.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO));
                   p.realize();               
                   Thread.sleep(3000);
                   oml = new MediaLocator("file:/e:/J-Solve.avi");
                   iml[1] = ml;
                   iml[0] = new MediaLocator("file:/e:/J-Solve1.avi");
              catch (Exception e)
                   System.err.println("Got exception "+e);
         boolean fetchDeviceFormats()     
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo CapDevice = null;
              Format CapFormat = null;
              String type = "N/A";
              CaptureDeviceInfo deviceInfo=null;
              boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++)
                   // search for video device
                   deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
                   if(deviceInfo.getName().indexOf("vfw:")<0)
                        continue;
                   Format deviceFormat[] = deviceInfo.getFormats();
                   for (int f=0;f<deviceFormat.length;f++)
                        if(deviceFormat[f] instanceof RGBFormat)type="RGB";
                        if(deviceFormat[f] instanceof YUVFormat)type="YUV";
                        if(deviceFormat[f] instanceof JPEGFormat)type="JPG";
                        Dimension size = ((VideoFormat)deviceFormat[f]).getSize();
                        //camImgSize.addElement(type+" "+ size.width+"x" +size.height);
                        CapDevice = deviceInfo;
                        //camCapDevice.addElement(CapDevice);
                        System.out.println("Video device = "+ deviceInfo.getName());
                        CapFormat = (VideoFormat)deviceFormat[f];
                        //camCapFormat.addElement(CapFormat);
                        System.out.println("Video format = " + deviceFormat[f].toString());
                        VideoFormatMatch=true; // at least one
              if(VideoFormatMatch==false)
                   if(deviceInfo!=null)System.out.println(deviceInfo);
                   System.out.println("Video Format not found");
                   return false;
              return true;
         public void addNotify()
              super.addNotify();
              pack();
         public void actionPerformed(ActionEvent ae)
              try
                   if(ae.getActionCommand().equals("Start"))
                        sink.open();
                        sink.start();
                        p.start();
                        player.start();
                        System.out.println("start");
                        Concat concat  = new Concat();
                        if (!concat.doIt(iml, oml))
                                 System.err.println("Failed to concatenate the inputs");
                   else
                        player.stop();
                        p.stop();
                        p.close();
                        //Thread.sleep(1000);
                        sink.stop();
                        sink.close();
                        System.out.println("stop");
              catch(Exception e)
                   System.out.println("Some problem "+e);
         public synchronized void controllerUpdate(ControllerEvent ce)
              try
                   if (ce instanceof RealizeCompleteEvent)
                        Component comp;
                        System.out.println("Realized");
                        sink = Manager.createDataSink(p.getDataOutput(), new MediaLocator("file:/e:/J-Solve1.avi"));
                        start.setEnabled(true);
                        if ((comp = player.getVisualComponent()) != null)
                             add (BorderLayout.CENTER, comp);
                        else
                             System.out.println("No visual component");
                        //if ((comp = player.getControlPanelComponent()) != null)
                        //     add (BorderLayout.SOUTH, comp);
                        validate();
                        System.out.println("Updated");
              catch(Exception e)
                   System.out.println("Exception rasied "+e);
         public static void main(String s[])
              run r = new run();
    }But it gives exception
    Create processor for : file:/e:/J-Solve1.avi
    Create processor for : vfw://0
    Java.io.IOException:Capture device in use
    Cannot create processor for given URL : java.media.noProcessorException
    Error instantiating the class : com.sun.media.protocol.vfw.Datasource
    Failed to concatenate
    My idea is right, but there is a problem
    The catured ml is ok,
    but for on going capture for which my class and concat class both try to make a processor.
    Which gives this error.
    How to resolve this problem.
    Thanks in advance.

  • How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames)

    How do I go directly from one frame to another particular frame which is far away in the time line? (e.g the two frames are separated by 100 frames). I mean, is it possible to take the playhead from one frame to another frame directly which is 100 frames away in the time line? Thanks for any reply.

    In the Timeline, go to the first frame and press M to put a marker on it. Go to the other frame you want to jump to and put a marker on that one too.
    Now press Ctrl+Semicolon to go to the previous marker - or Ctrl+Comma to go to the next marker.
    Andy

  • How to add two different page numbers in a single page

    How to add two different page numbers in a single page? One is for page number of the whole article, the other one is for page number for each chapter in the article.

    It's quite complicated, see
    Two Page Numbering Schemes in the Same Document.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to set two radius servers one is window NPS another is cisco radius server

    how to set two radius servers one is window NPS another is cisco radius server
    when i try the following command, once window priority is first , i type cisco radius user name, it authenticated fail
    i can not use both at the same time
    radius-server host 192.168.1.3  is window NPS
    radius-server host 192.168.1.1 is cisco radius
    http://blog.skufel.net/2012/06/how-to-integrating-cisco-devices-access-with-microsoft-npsradius/
    conf t
    no aaa authentication login default line
    no aaa authentication login local group radius
    no aaa authorization exec default group radius if-authenticated
    no aaa authorization network default group radius
    no aaa accounting connection default start-stop group radius
    aaa new-model
    aaa group server radius IAS
     server 192.168.1.1 auth-port 1812 acct-port 1813
     server 192.168.1.3 auth-port 1812 acct-port 1813
    aaa authentication login userAuthentication local group IAS
    aaa authorization exec userAuthorization local group IAS if-authenticated
    aaa authorization network userAuthorization local group IAS
    aaa accounting exec default start-stop group IAS
    aaa accounting system default start-stop group IAS
    aaa session-id common
    radius-server host 192.168.1.1 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.2 auth-port 1812 acct-port 1813
    radius-server host 192.168.1.3 auth-port 1645 acct-port 1646
    radius-server host 192.168.1.3 auth-port 1812 acct-port 1813
    privilege exec level 1 show config
    ip radius source-interface Gi0/1
    line vty 0 4
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    line vty 5 15
     authorization exec userAuthorization
     login authentication userAuthentication
     transport input telnet
    end
    conf t
    aaa group server radius IAS
     server 192.168.1.3 auth-port 1812 acct-port 1813
     server 192.168.1.1 auth-port 1812 acct-port 1813
    end

    The first AAA server listed in your config will always be used unless/until it becomes unavailable. At that point the NAD would move down to the next AAA server defined on the list and use that one until it becomes unavailable and then move to third one, and so on. 
    If you want to use two AAA servers at the same time then you will need to put a load balancer in front of them. Then the virtual IP (vip) will be listed in the NADs vs the individual AAA servers' IPs. 
    I hope this helps!
    Thank you for rating helpful posts!

  • How to add two X Axis in the Column chart?Need Help

    Hi,
    I have a requirement to add two X axis in the SSRS column chart.Can someone please help how to add two X axis. I tried the secondary axis for horizontal axis but current x axis is shifting to other side, second X axis is not coming.
    Regards
    Jon

    Hi Jon,
    According to your description, you want to add secondary X axis for one series in a column chart, right?
    The secondary axis is useful when comparing two value sets with two distinct data ranges that share a common category. In Reporting Services, it’s not supported to create two X axis for one series. We can create secondary X axis when there are two series
    in a column chart. As we tested in our local environment, we can add secondary X axis for specific series. Please refer to the screenshots below:
    So I would like to know what’s your exact needs about creating two X axis for one series. If possible please share some detail information about your data and expected looking of the chart.
    Reference: Plot Data on a Secondary Axis (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • How to add new lists in Reminders?

    I am using iOS 7 with my iPod Touch. In the Reminders, I have my own default list. When I try to add a new list by pressing the + button, it only shows some colors for me to select. After selecting the color, I click on the blank place of the list but nth happens, it doesn't let me to edit the list even the title. Could someone tell me how to add a list in Reminders? Thanks:)

    Do you have a + symbol on the top left side(next to the seraching bar)? I don't have it. It just shows two cards, which are my default list and "New List" with a + on the right side.

  • How can update two rows in one query?

    How can update two rows in one query?
    Edited by: OracleM on May 4, 2009 12:16 AM

    What do you mean with "two rows"? May be two columns??
    If the where clause of UPDATE query matches two rows, then it will update two rows. If you want to update two columns, then add column names to your query
    UPDATE your_table SET col1=value1, col2=value2 WHERE your_where_clause- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How do I select more than one frame? (editing a movie in PS)

    Fisrt time ive tried this.
    I want to do a quick selecton on a movie clip but can only seem to select 1 fram at a time. How can I select more than one frame?
    cheers
    jamie

    If you used Sequence to Layers, Shift and Control key in the layers palette work just as they would when selecting files in Explorer... If it's a video layer, then you should only see one layer and will have to use the Timeline to navigate.
    Mylenium

  • I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    I have two apple id's because my hotmail account is no longer active. How can I delete the old one and use or update the new one?  Every time I try it won't allow me and now my iPad thinks there are two accounts and they are arguing with each other. Help!

    You can't merge accounts or copy content to a different account, so anything that you bought or downloaded via the old account is tied to that account - so any updates that those apps get you will only be able to download via that account. You can change which account is logged in on the iPad via Settings > Store

  • How to put two ipods on one computer

    how to put two ipods on one computer

    Set up the second exactly the same way as you set up the first. If iTunes is already installed, it doesn't need to be installed again.
    (64746)

  • How to add two columns in OBIEE report?

    Hi to All,
    Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
    Thanks in Advance,
    Thenmozhi

    Assume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
    For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
    Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
    Let me know if you are looking for something else.
    Thanks

  • How to sync two IPhone with one PC , but with different applications

    How to sync two IPhone with one PC , but with different applications ?
    We have two IPhones , but one PC , we want to sync separately , is that possible ?

    Absolutely, connect each phone, select what content you want on each phone, then hit the sync button. iTunes will keep everything straight, by device, upon subsequent syncs, including separate backups.

Maybe you are looking for

  • File Problem (getting line ends with \r\n)

    I used readLine method     to read the line. It returns string. I want to get the lined that ends with 0D0A ( \r \n ). In the file in between there are many 0D. So my while loop returns all the lines ends with 0D. But I need only the lines ending wit

  • Set Commodity Code in Purchase order

    hello, I have implemented a BADi for purchase order for updating the commodity code/weight and Volume from material configuration. It works fine with updating for weight and volume. But when trying to update the Commodity code I got a "time out" beca

  • How to handle this payment scenario in SAP

    Hello Gurus, Can anyone please help me with how we make this payment in SAP. Customer A is the alternate payer for Customer B. We gave customer B a credit memo. When customer A is making payments, customer A wants to use the credit memo assigned to c

  • How to use FM 'FTP_R3_TO_CLIENT'?

    hi everybody.     I wanna transfer document of R3 to FTP Server via  FM 'FTP_R3_TO_CLIENT' and the document is '.txt' which include many lines.But done with transfer ,i open the docu. in FTP Server and find only one line in it  and it is show of focu

  • Integrating with Novell Groupwise

    Is there anyway to use the integration tools of iPhone 2.0 to integrate with my mail, contact and calendars on Groupwise?