Display many lists

Hi,
I would like to display two lists in one page of my report: one under the other.
Since the length of the lists can vary, I put them one directly under each under. Unfortunatly, the first list is displayed on the second one when many lines are displayed in the first list.
How do I define the lists so they don't display on each other?
Thank you.

Hi Sose,
The solution to your problem is that you can actually join the 2 table border. So that even if the records increase you wont have the tables overlapped.
To do this simply right click on the second Table > select Position.
The Relative position window will appear.
Usually the 2 tables are refered as blocks.
In first Three Feilds select 0 px from the Left Edge of Block 1
In the Next Three Feilds select 0 px from the Bottom Edge of Block 1
This will join the 2 tables border one below the other.
This should solve your problem.
Thanks,
Chirag Desai.

Similar Messages

  • How to display mutilpe list in a screen ( ALV list)

    Hello,
    Could you please help me the source code sample for displaying many list in an ALV screen (Basic list)
    For example : I 've 2 table with different information.
    Table A  Col A1 col A2 Col A3
    Table B Col B1 B2 B3 B4 B5
    Now I need to display them in only 1 screen like :
    List of record in table A
         Col A1 Col A2 Col A3
    List of record in table B
        B1 B2 B3 B4 B5
    Thanks,

    for this kind of requirement use the LIst ALV.
    The below sample code might help you
    DATA : g_t_print TYPE slis_print_alv.
    Initialize ALV
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          i_callback_program = sy-repid.
    ADD first ALC
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          is_layout                  = g_t_layout
          it_fieldcat                 =  g_t_fieldcat[]
          i_tabname                = 'g_t_strans'
          it_events                 = g_t_events_strans
        TABLES
          t_outtab                   = g_t_strans
        EXCEPTIONS
          program_error              = 1
          maximum_of_appends_reached = 2.
      IF sy-subrc NE 0.
        MESSAGE s999 WITH 'Error in ''REUSE_ALV_LIST_DISPLAY'' FM'.
        STOP.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          is_layout                   = g_t_layout
          it_fieldcat                  = g_t_fieldcat[]
          i_tabname                 = 'g_t_sretrev'
          it_events                   = g_t_events_sretrev
        TABLES
          t_outtab                     = g_t_sretrev
        EXCEPTIONS
          program_error              = 1
          maximum_of_appends_reached = 2.
      IF sy-subrc NE 0.
        MESSAGE s999 WITH 'Error in ''REUSE_ALV_LIST_DISPLAY'' FM'.
        STOP.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          is_layout                  = g_t_layout
          it_fieldcat                = g_t_fieldcat[]
          i_tabname                  = 'g_t_stransrev'
          it_events                  = g_t_events_stransrev
        TABLES
          t_outtab                   = g_t_stransrev
        EXCEPTIONS
          program_error              = 1
          maximum_of_appends_reached = 2.
      IF sy-subrc NE 0.
        MESSAGE s999 WITH 'Error in ''REUSE_ALV_LIST_DISPLAY'' FM'.
        STOP.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          is_layout                  = g_t_layout
          it_fieldcat                = g_t_fieldcat[]
          i_tabname                  = 'g_t_sret'
          it_events                  = g_t_events_sret
        TABLES
          t_outtab                   = g_t_sret
        EXCEPTIONS
          program_error              = 1
          maximum_of_appends_reached = 2.
      IF sy-subrc NE 0.
        MESSAGE s999 WITH 'Error in ''REUSE_ALV_LIST_DISPLAY'' FM'.
        STOP.
      ENDIF.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
        EXPORTING
          is_print = g_t_print.

  • Many to many displayed in list

    I'm developing a file manager where files have titles, descriptions, and subject categories amongst other things. File -> Subjects is a many to many relationship, linked by a file_subject table.
    I have successfully used the Many to Many Wizard to make the edit/update detail form work - which provides a Nested Repeat Region showing all subjects as checkboxes.
    Now I need to be able to display a list of all files, with one field listing all the many subject categories that a particular file belongs to. Is there a way to do this in ADDT? I can make a list with a nested repeat region showing the link table subjects, but don't know how to translate those to display values from the actual subject table. Does that make sense?
    Any assistance much appreciated.

    Hi Mick,
    with one field listing all the many subject categories that a particular file belongs to
    how do you store all those "subjects" in your comma-separated column, the "subject_id" I reckon ?
    However, you might want to read my little "Query-Tipp: extract 1 value from comma-separated list" tutorial I posted at the Interakt forums:
    http://www.interaktonline.com/Products/Dreamweaver-Extensions/MXWidgets/Product-Forum/Deta ils/54511/Query-Tipp%3A+extract+1+value+from+comma-separated+list.html
    Maybe this is what you´re looking for...
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • How can we display the list of Report Names in Dashboard Prompt?

    How can we display the list of Report Names in Dashboard Prompt?

    Hi,
    No its not possible to display list of reports in dashboard prompts.
    Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
    Assign points and close your threads if answered.
    Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
    Regards,
    Srikanth

  • [SOLVED] VIM not displaying many glyphs

    I'm struggling to get the full glyph set to display in VIM. Particularly missed are the mathematical super- and sub-script. I've worked on the problem and tried various fixes for displaying UTF-8 characters without success.
    (Code block bad form? Ok T. IMHO. There's that type of post where the OP doesn't know why something isn't working and they quote a dump truck of details, even though they're not sure what's relevant and what isn't. And the longer the quote, the harder it is to figure out what they're doing wrong. I didn't want to be that guy. I was hiding the verbosity, in the event my font problems are simpler than I've made it.)
    1) Applied settings from these WIKI pages:
    Fonts
    Xterm
    2) Apps I've installed
    $ pacman -Qs font
    local/dina-font 2.92-4
        A monospace bitmap font, primarily aimed at programmers
    local/fontconfig 2.11.1-1
        A library for configuring and customizing font access
    local/fontsproto 2.1.3-1
        X11 font extension wire protocol
    local/freetype2 2.5.3-2
        TrueType font rendering library
    local/gsfonts 1.0.7pre44-4
        Standard Ghostscript Type1 fonts from URW
    local/libfontenc 1.1.2-1
        X11 font encoding library
    local/libotf 0.9.13-2
        OpenType Font library
    local/libxfont 1.4.7-3
        X11 font rasterisation library
    local/libxft 2.3.2-1
        FreeType-based font drawing library for X
    local/t1lib 5.1.2-5
        Library for generating character- and string-glyphs from Adobe Type 1 fonts
    local/tamsyn-font 1.10-1
        A monospaced bitmap font for the console and X11
    local/terminus-font 4.39-1
        Monospace bitmap font (for X11 and console)
    local/ttf-bitstream-vera 1.10-10
        Bitstream vera fonts
    local/ttf-droid 20121017-3
        General-purpose fonts released by Google as part of Android
    local/xorg-bdftopcf 1.0.4-2 (xorg xorg-apps)
        Convert X font from Bitmap Distribution Format to Portable Compiled Format
    local/xorg-font-util 1.3.0-2 (xorg-fonts xorg)
        X.Org font utilities
    local/xorg-font-utils 7.6-4
        Transitional package depending on xorg font utilities
    local/xorg-fonts-100dpi 1.0.1-5 (xorg)
        X.org 100dpi fonts
    local/xorg-fonts-alias 1.0.3-1
        X.org font alias files
    local/xorg-fonts-encodings 1.0.4-4 (xorg-fonts xorg)
        X.org font encoding files
    local/xorg-fonts-misc 1.0.1-3
        X.org misc fonts
    local/xorg-fonts-type1 7.4-3
        X.org Type1 fonts
    local/xorg-mkfontdir 1.0.7-2 (xorg xorg-apps)
        Create an index of X font files in a directory
    local/xorg-mkfontscale 1.1.1-1 (xorg-apps xorg)
        Create an index of scalable font files for X
    3) A forum search found some common issues: 
    unicode symbols not working in my terminal
    $ localectl
       System Locale: LANG=en_US.UTF-8
                      LC_COLLATE=C
           VC Keymap: US
          X11 Layout: n/a
    $ locale -a
    C
    en_US.utf8
    POSIX
    $ echo $TERM
    xterm-256color
    4) ~/.Xresources
    ! wiki.archlinux.org/.../Xterm
    xterm*termName:           xterm-256color
    xterm*locale:             true
    xterm*saveLines:          4096
    xterm*bellIsUrgent:       false
    xterm*VT100.geometry:     80x25
    xterm*faceName:           Droid:style=Regular:size=12
    xterm*dynamicColors:      true
    xterm*utf8:               2
    xterm*toolBar:            false
    5) ~/.xinitrc
    # X11 Fonts
    xset +fp /usr/share/fonts
    Last edited by xtian (2014-07-27 14:43:23)

    Linux fonts are a muddle.  Consoles can only display 256 characters, maybe 512.  You simply cannot display many texts in a console. To navigate through the font mess in X, you need some familiarity with fontconfig.  Xft uses fontconfig to select fonts.  Fontconfig documentation is not user-friendly.
    Droid is a family of fonts. My installation of the Droid family includes 27 different fonts. The command fc-list will list fonts matching a pattern.  I usually filter the output by piping through grep. To list the Droid fonts, file name first followed by the fontconfig name, I use:
    $ fc-list | grep Droid
    Your fc-match results for Droid are from fontconfig doing its best to give you a readable display.  Fontconfig cannot find a matching font for the name 'Droid', so it falls back to a "safe" font, 'Bitstream Vera Sans'.
    XTerm or UXTerm or URxvt
    I have my locale correctly configured, I think. I do not see any real advantage for uxterm over xterm. In my X resources, I include the lines,
    xterm*termName: xterm-256color
    XTerm*locale: true
    For good glyph coverage with xterm, I have found 'DejaVu Sans Mono' to be among the better fonts.  If I truly need utf8 coverage, I use urxvt. Urxvt allows one to use a ladder of fonts. If the character is not found in the first font listed, urxvt will search through the other listed fonts until it finds a glyph that can be displayed.
    urxvt*font: xft:DejaVu Sans Mono:style=Book:antialias=false:size=8, \
    xft:WenQuanYi Bitmap Song:size=8, \
    xft:FreeSerif:style=Regular, \
    xft:unifont:style=Medium:antialias=false
    Here's a screenshot with three xterms using Droid, DejaVu Sans Mono, and Liberation Mono, plus one urxvt using the fonts in the code above.  They all show the same portion of Markus Kuhn's utf8 test text.

  • How to display many Links like text with multi lines?

    I need to:
    1)display many links in one container like text
    2)each link have onClick event Handler
    Example:
    Link1 SomeLink2 Link3 \*
    Link4 AnatherLink5            \*
    AndOneMoreLink6              \*
    \* - right border of container
    i'v tried TileGroup, but it has colums.... Group - overlapped links in one place.... and so on.
    Any ideas how to do it?

    I think you overlooked some of the possibilities provided by Apex.
    For instance you can create a simple HTML region where you put the links as you prefer (makes sense if they are a fixed number and you need a special formatting).
    You can also create Lists (see shared components). Lists are specifically meant for links, like Task lists in the Apex Builder itself, but you cannot build them dynamically, so you must know in advance each and every static link.
    Or you can create a report if links come as result of a query which is good for building them dynamically.
    A fourth option is a PL/SQL region outputting HTP calls where you have total control over every aspect.
    Flavio
    http://oraclequirks.blogspot.com

  • How can I get the Display Profile list to update with new profile names?

    Hello
    I recently created a couple of color profiles with a calibration device, and I decided to manually rename the color profiles after creating them. The problem is, when I open Displays in the control panel, the new names for the profiles don't show up, only the old names. To get the Display Profile to update, I have to pull the profile out of Library > Color Syncs and restart (which clears the profile from the list), then put the renamed profile back in, restart (which then adds the renamed profile to the list)
    Is there an easier way to to this, to get the Display Profile list to update? Is there a preference or cache somewhere?
    thanks

    Oh, cool! I never handle any Mayan stuff in my job, but many of my academic cohort have done so. Mostly Tzotzil.
    Anyhow: your sample font was Times New Roman. If you can't see the combining glyphs, then you're using an out-of-date version of the font, or something else is wrong. . Did you maybe start your work on a contemporary version of Word in WIndows, and now you've shifted to using a Mac with an older version of Office? THere are plenty of nulls in TNR (which are usually codepoints not in Unicode, usually a sign of some kind of hacky workaround on the part ofthe font designer). There should be a real combining macron below right about here, in between the crazy upper Latin and the Greek caps :
    So I'd want to know: what font are you using for this? If not TNR, then I'd suggest Gentium. I might even suggest dropping TNR for Gentium. Judging by your screen name, you may well already be aware of SIL. If not - oh hey, they make fonts for people who are in your shoes! Go check 'em out. The fonts are free, and pretty reliable. And Gentium may already have a precomposed with-line-below glyph for your typesetting needs.
    The Kerning dropdown lets you adjust the spacing between letters in a letter-by-letter way. Selecting all of your text and picking "Metrics" is the way to go here - unless you are a designer who thinks that the capital D is way too far away from the lowercase i, and want to tweak the kerning manually. "Optical" is for large font sizes where body-text-style kerning is too spacious. Avoid using it at small font sizes.

  • Urgent help needed: how to display a list of records on the screen

    Hello,
    This is very urgent. Can anyone help me. I have posted this query of mine before also but still no reply came. My whole application is dependent on this problem. Actually I am developing an application for mobile phone using MIDP. I have a record store which contains personal details for users. I am able to add records to the record store. Now I want that these records can be edited. For this I want to display a list of firstname field on the screen (and not console) so that i can select a user to edit its details. I have written the code to read the records and individual fields and display it on the console but i want to display that list on screen. I tried list and array but it s giving some error.
    I am giving the code to read the records below. Please tell me how can I display it in a list on the screen.
    public void readStream(){
    try
    byte[] recData=new byte[50];
    String varname;
    ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
    DataInputStream strmData=new DataInputStream(strmBytes);
    if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
    RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
    rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
    System.out.println("Name #"+varname);
    System.out.println("---------------------------");
    i=i+1;
    strmBytes.reset();
    comp.compareStringClose();
    re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    }

    I could not understand ur point "post the code in tags". I am pasting the code below. Please help as my whole application is stuck due to this problem and I have a deadline of 7th oct.
    This midlet is getting called from some other midlet.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    import java.io.*;
    import java.util.*;
    public class frmread extends Form implements CommandListener
    static final String rec_store="db_per";
    private RecordStore rsperdt=null;
    private Vector vecname;
    private ChoiceGroup chname;
    private boolean flagSortByPriority = false, flagShowPriority = true;
    private Form fmmain;
    private Command cmdBack;
    private teledoc midlet;
    public frmread(String title, teledoc midlet)
    super(title);
    this.midlet = midlet;
    openRecStore();
    this.setCommandListener(this);
         chname = new ChoiceGroup("new", Choice.EXCLUSIVE);
         vecname = new Vector();
         cmdBack = new Command("Back", Command.BACK, 1);
    fmmain = new Form("Record Search");
         addCommand(cmdBack);
    setCommandListener(this);
    readStream();
         rebuildTodoList();
         closeRecStore();
    * Process events for this form only
    protected void rebuildTodoList()
    for(int j=chname.size(); j>0; j--)
         chname.delete(j-1);
         int priority;
         todoitem item;
         String text;
         StringBuffer sb;
         for (int j=0; j<vecname.size(); j++)
              item=(todoitem) vecname.elementAt(j);
              priority = item.getPriority();
              text = item.getText();
              sb = new StringBuffer((flagShowPriority ? (Integer.toString(priority) + "-"): ""));
              sb.append(text);
              chname.append(sb.toString(), null);
    public void commandAction(Command c, Displayable s)
    if (c == cmdBack){
    midlet.displayteledoc();
    public void readStream(){
    try
    byte[] recData=new byte[100];
    String varname;
    int varname1=0;
         ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
         DataInputStream strmData=new DataInputStream(strmBytes);
         if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
              int id = 1;
              vecname.removeAllElements();
              RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
         rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
                   varname1 = strmData.readInt();
                   id = re.nextRecordId();
                   System.out.println("Name #"+varname);
                   todoitem item = new todoitem(varname1, varname, id);
                   vecname.addElement(item);
                   System.out.println("---------------------------");
                   i=i+1;
    strmBytes.reset();
              comp.compareStringClose();
              re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    public void openRecStore(){
    try{
    rsperdt=RecordStore.openRecordStore("db_per",true);
    catch(RecordStoreException e){
    db(e.toString());
    public void closeRecStore(){
    try{
    rsperdt.closeRecordStore();
    catch(Exception e){
    db(e.toString());
    public void db(String str){
    System.err.println("Msg:" + str);
    class ComparatorString implements RecordComparator{
    private byte[] recData = new byte[20];
    private ByteArrayInputStream strmBytes = null;
    private DataInputStream strmDataType = null;
    public void compareStringClose(){
    try{
    if(strmBytes != null)
         strmBytes.close();
    if(strmDataType != null)
         strmDataType.close();
         catch (Exception e)
    public int compare(byte[] rec1, byte[] rec2)
         String str1, str2;
         try {
              int maxsize = Math.max(rec1.length, rec2.length);
              if (maxsize > recData.length)
              recData = new byte[maxsize];
                   strmBytes = new ByteArrayInputStream(rec1);
                   strmDataType = new DataInputStream(strmBytes);
                   str1=strmDataType.readUTF();
                   strmBytes = new ByteArrayInputStream(rec2);
                   strmDataType = new DataInputStream(strmBytes);
                   str2=strmDataType.readUTF();
                   int result=str1.compareTo(str2);
                   if (result == 0)
                   return RecordComparator.EQUIVALENT;
                   else if (result < 0)
                   return RecordComparator.PRECEDES;
                   else
                   return RecordComparator.FOLLOWS;
                   catch (Exception e)
                   return RecordComparator.EQUIVALENT;

  • Displaying the list of values in the Report

    Hi All,
    Is there any possibility to include the scrollable list on the face of report(Not in the left side i.e as input control)
    For example If I have a country with different counties.
    Based on the country selection in the block it should display the list of counties as scrollable list.
    Would it be possible.
    Please help
    thanks
    Edited by: VP S on Sep 1, 2010 2:45 PM

    Not sure if you are looking for the same..
    Have you tried applying the filter at the filter pane..i.e.
    Click on the the show\hide filter pane (filter icon is present nearby the drill icon)
    Now drag the required object on this pane.
    It will create the dropdown filters on top of the report.
    Regards,
    Rohit

  • How can I display a list of records from a JSP to my Midlet ??

    Hi there !
    I'm new in J2ME. I have been strugling with this problem for weeks now. All I find on the net is some theory and is not helping me much. Here the deal
    I have created a Midlet that shoud display a certain list which is from the remote database. The list comes from a JSP file in the server. When I use the browser I can see the list.
    The problem comes when I have to take the same list and output it in my midlet file. Then finding the selected index of the selecte item of the same list and using it somewhere else.
    I would appreciate it if somone could help me !!
    My head is speaning now !!! If you want me to post my code so one could identidy the proble, I don't mind !! Help please !!

    Here is my Code !!
                 String url = "http://10.2.25.3:8080/CreateAppointment/doctorsList.jsp";
        String dateUrl = "http://10.2.25.3:8080/CreateAppointment/date.jsp";
       String myUsername,myPassword;
       // Custom declaration code starts here
       public CreateAppointment_GUI()
                //Creating a login Form
                loginScreen = new Form("Login");
                //Login form Textfields
                username = new TextField("Username:", null, 200, TextField.ANY);
                password = new TextField("Password:", "Initial text", 200, TextField.ANY|     TextField.PASSWORD);
                loginScreen.append(username);
                loginScreen.append(password);
                //Adding the commands
                loginScreen.addCommand(loginCommand);
                loginScreen.addCommand(cancelCommand);
                loginScreen.setCommandListener(this);
                loginScreen.setItemStateListener(this);
                // Creating my selection list
                String[] selectionList = { "1.Appointments", "2.Add New Patient", "3.Patient Details" };
                listSelectAction = new List("Select Action", List.IMPLICIT, selectionList, images);
                listSelectAction.addCommand(backCommand);
                listSelectAction.addCommand(nextCommand);
                listSelectAction.setCommandListener(this);
             public void startApp() throws MIDletStateChangeException
               display = Display.getDisplay(this);
               display.setCurrent(loginScreen);
            public void pauseApp()
            public void destroyApp(boolean unconditional) throws MIDletStateChangeException
                 notifyDestroyed();
            public void itemStateChanged(Item item)
       void getDoctors(String url) throws IOException {
                    HttpConnection connection = null;
            InputStream is = null;
            OutputStream os = null;
            StringBuffer stringBuffer = new StringBuffer();
            TextBox textBox = null;
            String newStr =null;
            String newStr2=null;
            Vector v = new Vector();
           try {
              connection = (HttpConnection)Connector.open(url);
              connection.setRequestMethod(HttpConnection.POST);
              //connection.setRequestProperty(String key, String value)
              connection.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
              connection.setRequestProperty("User-Agent","Profile/MIDP-2.0 Confirguration/CLDC-1.0");
              connection.setRequestProperty("Content-Language", "en-CA");
              connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
              os = connection.openOutputStream();
              is = connection.openInputStream();
              int ch;
              while ((ch = is.read()) != -1) {
                stringBuffer.append((char) ch);
                System.out.print((char)ch);
                   }//while
              newStr = stringBuffer.toString();
                    newStr2=newStr.trim();
                    int start = 0;
                    position = newStr2.indexOf("%", 0);
                    while ((position = newStr2.indexOf("%",start)) > -1) {
                      String aName = newStr2.substring(start,position);
                      v.addElement(aName); // store the substring
                      start = position + 1; // so the next time we start checking following the space
              String[] theNames = new String[v.size()]; // create an array big enough to store the strings
              v.copyInto(theNames); // Now theNames is a String array with the list of names
               // now we can create a List using this array:
               listDoctors = new List("Select Doctor", List.IMPLICIT, theNames,null);
               listDoctors.addCommand(backCommand);
               listDoctors.addCommand(nextCommand);
               listDoctors.setCommandListener(this);
          } //try
           finally {
               if(is!= null) {
                  is.close();
               } //if
               if(os != null) {
                  os.close();
               }//if
               if(connection != null) {
                  connection.close();
               }//if
            }//final
         display.setCurrent(listDoctors);
        } //invoke
    public void commandAction(Command c, Displayable d)
                     if (c == loginCommand)
                      myUsername = username.getString();
                      myPassword = password.getString();
                         Thread thread = new Thread() {
                               public void run() {
                                   try {
                                      getDoctors(url);
                                      display.setCurrent(listSelectAction);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread.start();
                     else if (c == cancelCommand && d == listSelectAction)
                     else if (c == nextCommand && d == listSelectAction)
                        int selectedAction = listSelectAction.getSelectedIndex();
                            Alert displayNewText =
                            new Alert("Selected","Screens are still being developed", null, AlertType.INFO);
                                displayNewText.setTimeout(1000);
                         if (selectedAction == 0)
                             Thread thread = new Thread() {
                               public void run() {
                                   try {
                                      getDoctors(url);
                                      display.setCurrent(listSelectAction);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread.start();
                         if (selectedAction == 1)
                               display.setCurrent(displayNewText);
                         if (selectedAction == 2)
                               display.setCurrent(displayNewText);
                     }//Else
                     else if (c == backCommand && d == listDoctors)
                          display.setCurrent(listSelectAction);
                     else if (c == nextCommand && d == listDoctors)
                             Thread thread1 = new Thread() {
                               public void run() {
                                   try {
                                      getDate(dateUrl);
                                      display.setCurrent(listDate);
                                   }// Try
                                   catch (IOException ioe) {
                                      ioe.printStackTrace();
                                   }// catch
                               }// Public void
                         };//Thread
                          thread1.start();
                     else if (c == backCommand && d == listDate)
                          display.setCurrent(listDoctors);
    }That is my midlet !! Now here is the code for my JSP !!
                        <%@ page import="java.sql.*" %>
    <%@page import="java.util.*,java.text.*" %>
    <%
    String name="";
    String id = "";
    String connectionURL = "jdbc:microsoft:sqlserver://10.2.25.223;DatabaseName=NDOH_PAAB";
    Connection connection = null;
    Statement statement = null;
    ResultSet rs = null;
    %>
    <%
    try
                            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
                    catch (Exception ex)
                            out.println(ex.toString());
                            connection = DriverManager.getConnection(connectionURL,"remotepaab_user","mohwiti2004");
                            statement = connection.createStatement();
                            String mysql ="SELECT * from physicians";
                            //out.println(mysql);
                            rs = statement.executeQuery(mysql);
    %>
    <%
          while (rs.next()) {
                 name= rs.getString("name");
                 id = rs.getString("id");
                 out.print(name + "%");
                 out.print(id + "%");
    %>
    <%
    %>
    <% rs.close(); %>In the JSP the name variable is the one that has my List. The problem is how do I say in my Midlet = display the list contained in name. Or in id. I need to use both of them "name + id". the id I will use to find out which name a user ha selected !! Not sure how !!!
    Any help would be appreciated !! Thanks !!

  • Items to display in list view web part not showing the items setup

    Hi, I have the following issue. I have a list view web part, but the web part is showing more items that the ones setup in the: Number of items to display in list view web part for this view.
    It is because that works when using datasheet view and not a normal view? Is there any technical documentation from Microsoft supporting this?

    thank you for your answer. It is interesting that the mobile view with the items to show in the mobile view doesn't work in the webpart, but it works when you are using datasheet view, but if you uncheck to activate the mobile view, then, the webpart doesn't
    show information, so, it works partially because one part works and not the other.

  • Run time error while displaying the list of km folders

    hi
    i am trying to display the list of contents in the km folder using km api but the application is displaing an runtime error
    package com.sap.test;
    error in init method component
    any body know the solution for this problem .
    thanks

    hi there
    public class kmportalcomp extends AbstractPortalComponent
              public String outtxt;
              int depth;
              int rowid = 0;
              int counter = 0;
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              IUserContext userCtx =request.getUser();
              IResourceFactory factory;
              IPortalComponentContext compContext = request.getComponentContext();
              IPortalComponentProfile profile = compContext.getProfile();
              try {IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("ccadmin_service");
                   String webpath = request.getWebResourcePath();
                   IResourceContext resourceContext = new ResourceContext(serviceUser);
                   response.write(webpath);
                   String fpath;
                   fpath = profile.getProperty("path").trim();
                   depth = Integer.valueOf(profile.getProperty("depth").trim()).intValue();
                   RID rid = RID.getRID(fpath);
                   ICollection folder = (ICollection)ResourceFactory.getInstance().getResource(rid, resourceContext);
                   IResourceList  fileList = folder.getChildren();
                   response.write("d.add(0,-1,'"folder.getName()"');\r\n");
                   rowid = 0;
                   scan_km(response, fileList,0);
                   response.write("document.write(d);\r\n");
                    response.write("//--></script>");
                    response.write("</div>");
                } catch (Exception e) {
                    response.write("Error Occured<br>");
                    response.write(e.toString());
              public void scan_km(IPortalComponentResponse response,IResourceList list,int level) {
                   int currentrowid = rowid;
                   if (level>depth&&depth!=0) {
                         return ;
                     String rid = " ";
                     IResourceList tmpreslist;
                     ICollection tmpcollection;
                     level++;
                     for (int i = 0; i < list.size(); i++) {
                         IResource tmpres = list.get(i);
                         try {
                             if (tmpres.isCollection() && tmpres.getLinkType() == LinkType.NONE ) {
                                  //&& tmpres.getLinkType() == LinkType.NONE
                                  tmpcollection = (ICollection) tmpres;
                                tmpreslist = tmpcollection.getChildren();
                                if (tmpreslist.size()>0) {
                                    rowid++;
                                    response.write("d.add("rowid","currentrowid",'");
                                    response.write(tmpres.getName());
                                    response.write("','');\r\n");
                                    scan_km(response,tmpreslist,level);
                             else {
                                rowid++;
                                String dispname;
                                dispname = tmpres.getDisplayName();
                                if (dispname==null||dispname.equals(""))
                                    dispname = tmpres.getName();
                                rid = "/irj/go/km/docs"+tmpres.getAccessRID();
                                response.write("d.add("rowid","currentrowid",'"dispname"','"rid"');\r\n");
                         } catch (Exception ex) {
    the error is am getting is
    com.sapportals.wcm.repository.enum.LinkType and com.sapportals.wcm.repository.enums.LinkType     kmportalappproject/src.core/com/sap/test     kmportalcomp.java     
    thanks

  • ALV Sub total texts. displayed in list not in grid.

    Hi,
    I am displaying data using alv and sub-totals on a particular column.
    i am getting the sub-totals but i am not getting the sub-total texts when i am displaying data in a grid.
    'REUSE_ALV_GRID_DISPLAY'.
    i am getting subtotals and subtotal texts when i am diSplAying in list.
    'REUSE_ALV_LIST_DISPLAY'.
    but i want to get subtotal texts using alv grid, is it possible, if so please send me the code.
    Any help in this regard is highly appreciated.
    Thanks in advance for your help.

    Hi,
    Actually i have wriitten the same code, in the alv. I am using Function modules. for the same code the sub-total and total text is appearing in the list output. but not in the grid output.
    code.
      wa_layout-zebra          = 'X'.
      wa_layout-subtotals_text = 'Total'.
      wa_layout-totals_text    = 'Sum of Marks'.
    alv statement.
         is_layout = wa_layout
    Declaration.
    DATA : wa_layout type slis_layout_alv.
    for the same declarations (Above) list is showing the texts but not the grid.
    Any help in this regard is highly appreciated.

  • Conditional display of list box in form (depends on other report column)

    Hello,
    i have one question regarding conditional display in forms.
    I have a tabular form where only one column ("flag") is updateable, all other columns are visible only.
    I changed the column "flag" from "standard report column" to "Select list (static lov)", which has the values "yes" and "no".
    This works fine. But in the running form i want to display the list box only if the column "status" = 'ERROR'.
    The column "status" can have the values 'ERROR' and 'OK'.
    When one record has "status" = 'OK', the column "flag" should not display the list box (only empty column row),
    when one record has "status" = 'ERROR" the column "flag" should display the list box.
    The idea behind is that if a record has "status" = 'ERROR' i have the possibility to confirm that "error" and update the column "flag" with "YES". This should only be possible for errors.
    This is my main problem.
    I tried with conditional display, but this hides or shows the column for the whole report/form, not on record level...
    The second problem then is, that if the column "flag" is changed to "YES" in case of column "status" = 'ERROR', then it should not be possible to change it again to 'NO". At the beginning it is 'NO', but once changed to 'YES' it should not be changeable any more.
    Is this possible?
    Thank you in advance,
    Matthias

    Hello Mike
    your solution sounds good, but unfortunately it is not working.
    None of my 2 columns are displayed, although i tried it as you wrote and the conditions should match...
    But i am no sure if this can work. If so, the 2 columns must fuse to 1 column:
    ID STATUS FLAG
    1 ERROR yes/no => comes from column1
    2 OK (null => comes from column2
    so "FLAG" must display column1 and column2 in one column. is that possible?
    regards,
    Matthias

  • To display the list of File Name in a report region from a Directory

    Hello All,
    Can any one guide me in displaying the list of file name from a file system directory in a report region with link?
    On click of the link it should display the open/save dialog box.
    I will appreciate the early solution. (It is bit urgent)
    Thanks,
    Shyam

    A quick, "dirty solution would be to have a cron job (I am assuming you are on a UNIX-based system) that populates a file periodically with the names of files in a directory/directories. Then have an external table that points to that file. You can then create an Apex report that lists the contents of the external table.
    1) crontab job:
    ls -1 /source_dir/* > /destination_dir/file.list
    2) create external table:
    CREATE DIRECTORY filedir AS ' destination_dir ';
    GRANT READ ON DIRECTORY xfer_files TO public;
    CREATE TABLE file_list_ext (file_names VARHCAR2(100))
    ORGANIZATION EXTERNAL
    TYPE oracle_loader
    DEFAULT DIRECTORY files_dir
    ACCESS PARAMETERS
    records delimited by newline
    fields terminated by ','
    missing field values are null
    (file_name)
    LOCATION ('file.list')
    REJECT LIMIT UNLIMITED;
    3) create APEX report on table: file_list_ext
    Hope this helps.

Maybe you are looking for

  • On windows 8 PC I can't get Premiere Elements 9 CD to start install; no obvious setup.exe etc. Help?

    The DVD contains 13 files: 3 directories - photoshop, premiere, reader 9 8 readme files volumeicon.icns pepe_dvd_header_flat.png The deploy and install directories have no executables (that list) Attempting to download an installer seems to go in a l

  • I updated my iphone 3gs to ios 6 and i cannot send mms now

    I am having the same issue, can't send group messages or picture messages, the progress bar goes half way and then fail. I can send picture message to iphone users only but no one else. I searched the net and didn't see anyone talking about how to fi

  • Warning Unresponsive script

    When I open Facebook look for feed a little and then I minimize the Firefox windows, Then go to do another task. When I reopen Firefox. It will freeze for a moment. And then this dialog will show http://pasathaioum5network.net/file/Untitled.png (This

  • ACCOUNT - WILL A PRE PAID VISA CARD WORK OR DO I NEED AN ITUNES CARD

    Bought the wife an IPAD.  Can I get her setup using a pre paid VISA or Mastercard to purchase music, movies, apps etc or do I need one of these gift cards that I see that have ITUNES etc on them Thanks

  • Vocie mail icon won't clear

    About 4 days ago, it wouldn't go away after deleting my new voicemail messages.  I have searched all of the menus and haven't found a way to clear the icon.  I even deleted all of my saved messages to no avail.  Anyone know how to clear the icon?