Add one String[] to String[]

how can add one array to another?
or maybe add an array items to Vector not as an array, but as separate items?
something like this
Object[] a,b = new Object[10];
--> a+b ???

Object[] a = new Object[10];
Object[] b = new Object[5];
int combinedLength = a.length + b.length;
int bOffset = a.length;
Object[] c = new Object[combinedLength];
System.arrayCopy(a, 0, c, 0, a.length);
System.arrayCopy(b, 0, c, bOffset, b.length);
//now c = a + b

Similar Messages

  • Add one column of string to columns of integer

    Hi there,
    Could someone help please. 
    I would like to add one column of strings to a few columns of integer. 
                                                           --------- Added elements ------ 
    20C=           100     101    102           20C=100     20C=101    20C=102
    15C=           200     201    202          15C=200     15C=201    15C=202
    10C=           300     301    302          10C=300     10C=301    10C=302
    Thanks for help. 

    Hoverman wrote:
    I had a look at the tutorial link you sent. They are not particularly relevant to my question. 
    Why do you think I am posting a question? I have already spent a few hours searching forum and looking at examples. It would be more helpful to have a relevant example or a solution.
    Thanks for your time.  
    What is your problem here? RavensFan gave you information quite relevant to your task, but you had not (and still have not) answered his questions, so he could not (nor anyone else) tell where in your task you are having trouble. Do you know how for loops work, with respect to outputs? Your questions imply that you need to spend some real time learning LabVIEW, not just "having a look at the tutorials."
    Hmm, it looks like you had a similar problem with your last question, and you still have not indicated that you understood how to solve it.
    Cameron
    To err is human, but to really foul it up requires a computer.
    The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
    Profanity is the one language all programmers know best.
    An expert is someone who has made all the possible mistakes.
    To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
    LabVIEW Unit 1 - Getting Started
    Learn to Use LabVIEW with MyDAQ

  • Can i add one string in bse64 string  ?

    Hello,
    I am developing a small paint program. I am converting image into base64 and then decode base64 to display image on canvas. It is working fine. Now I am getting problem during when i am adding one string manually to the encoded string like this:
    public String getImage(String s1){       
         byte abyte0[] = canvas.toByteArray(canvas.getBufferedImage());
         if((abyte0!= null))
               System.out.println(scheck); // this is extra string
            System.out.println(b.encode(abyte0)+scheck);
             return b.encode(abyte0)+scheck;
        return null;
    }After that i am saving this data to database. When i am displaying image(after decode). it gives me nullpointer exception. with Illegal base64 String. Please help and tell me how to add one string at the last of base64 string. And how to separate this string from it without effecting base64 string. Please help me.
    Thanks in advance.
    Manveer.

    Hi hood1,
    2 options:
    1) You can add many waveforms by combining them into one Array.
    2) Use the Waveforms tools, that give you many option for adding waveforms. one after the seconed or adding the Y array of a waveform to other Y array of second wave form, and so on...
    Hope it Helps...

  • RE: code falls apart when add this to idl: string getClient1Name();

    I have a counter object that has at most two clients connected to it.
    I do not want the same two clients in the regClients String[]. Since restriction is that we only want two registered clients we can just check position one of array. Note array starts from position 0.
    When I add function getClient1Name(), results in error
    All other code works.
    module Cbackcom
      interface Cback
      { void callback(in long par);
      interface Counter
      { void regist(in Cback objRef, in string client);
        void finish(in string client);
        void action(in long num);
        long  getClientNo();
        string getClient1Name();  //
    here is my servant class in the server class
    class CounterServant extends _CounterImplBase
    { private int      actclient;
      private Cback [] clients;
      private String[] regclients;
      private int      number;
      // constructor
      CounterServant()
      { number    = 0;
        actclient = 0;
        clients   = new Cback[2];
        regclients= new String[2];
        System.out.println("SERVER SIDE");
        System.out.println("counter servant started");
      ///return the current number of clients
      public int getClientNo()
       return actclient;
      public String getClient1Name() {
        String returnString = ""; //null string
       if (regclients[0] !=null)
         returnString = regclients[0];
        return returnString;
    here is the client class:
    class CbackServant extends _CbackImplBase
    { public void callback(int num)
      { System.out.println("CLIENT SIDE");
        System.out.println("counter's current value = " + num);
    public class CbackcomClient
      public static void main(String args[])
      { try
        { // create and initialize the ORB
          //note client is read from command prompt
          //it is read at execution time
           String client = new String(args[2]);
          // get the root naming context
          // resolve the Object Reference in Naming
          Counter countRef = CounterHelper.narrow(ncRef.resolve(path));
          CbackServant cbackRef = new CbackServant();
          int clientNO = countRef.getClientNo();
          if (clientNO <= 1)
              System.out.println("current client number is: " + clientNO );
              System.out.println("check if already a registered client");
       /********* problem occurs here please help ******/      
              String client1 = ""; //null value string
           if(clientNO == 1)
              client1 = countRef.getClient1Name();
              if (client.equals(client1) )
                  System.out.println("sorry your already a registered client");
           orb.connect(cbackRef);
                     countRef.regist(cbackRef, client);
         catch (Exception e)
         { System.out.println("ERROR : " + e) ;
           e.printStackTrace(System.out);
    here is the error:
    java CbackcomClient -ORBInitialPort 1030 Sid
    making first check
    current client number is: 0
    check if already a registered client
    ERROR : org.omg.CORBA.BAD_PARAM:   minor code: 1 completed: Maybe
    org.omg.CORBA.BAD_PARAM:   minor code: 1 completed: Maybe
            at java.lang.Throwable.fillInStackTrace(Native Method)
            at java.lang.Throwable.<init>(Throwable.java:94)
            at java.lang.Exception.<init>(Exception.java:42)
            at java.lang.RuntimeException.<init>(RuntimeException.java:47)
            at org.omg.CORBA.SystemException.<init>(SystemException.java:49)
            at org.omg.CORBA.BAD_PARAM.<init>(BAD_PARAM.java:74)
            at org.omg.CORBA.BAD_PARAM.<init>(BAD_PARAM.java:50)
            at org.omg.CORBA.BAD_PARAM.<init>(BAD_PARAM.java:39)
            at java.lang.Class.newInstance0(Native Method)
            at java.lang.Class.newInstance0(Compiled Code)
            at java.lang.Class.newInstance(Compiled Code)
            at com.sun.CORBA.iiop.ReplyMessage.getSystemException(ReplyMessage.java:75)
            at com.sun.CORBA.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:85)
            at com.sun.CORBA.idl.RequestImpl.doInvocation(Compiled Code)
            at com.sun.CORBA.idl.RequestImpl.invoke(RequestImpl.java:219)
            at Cbackcom._CounterStub.getClient1Name(_CounterStub.java:66)
            at CbackcomClient.main(Compiled Code)Please help

    Please reply...
    I have programmes block
    I do not know what I am doing wrong.
    To me the answer seems logical to me..
    Here is the idl:
    module Cbackcom
    //here is the code that goes wrong
    string getClient1Name();
    here is my servant class in the server class
                                 class CounterServant extends _CounterImplBase
                                 { private int actclient;
                                 private Cback [] clients;
                                 private String[] regclients;
                                 private int number;
                                 // constructor
                                 CounterServant()
                                 { number = 0;
                                 actclient = 0;
                                 clients = new Cback[2];
                                 regclients= new String[2];
                                 System.out.println("SERVER SIDE");
                                 System.out.println("counter servant started");
                                 ///return the current number of clients
                                 public int getClientNo()
                                 return actclient;
                                 public String getClient1Name() {
                            **** simple returning of client returned at position 0 of array
    perhaps should change code here *****
                                 here is the client class:
                                 class CbackServant extends _CbackImplBase
                                 { public void callback(int num)
                                 { System.out.println("CLIENT SIDE");
                                 System.out.println("counter's current value = " + num);
                                 public class CbackcomClient
                                 public static void main(String args[])
                                 { try
                                 { // create and initialize the ORB
                                 //note client is read from command prompt
                                 //it is read at execution time
                                 String client = new String(args[2]);
                                 // get the root naming context
                                 // resolve the Object Reference in Naming
                                 Counter countRef = CounterHelper.narrow(ncRef.resolve(path));
                                 CbackServant cbackRef = new CbackServant();
                                 int clientNO = countRef.getClientNo();
                                 if (clientNO <= 1)
                                 System.out.println("current client number is: " + clientNO );
                                 System.out.println("check if already a registered client");
                                 /********* problem occurs here please help ******/
                                 String client1 = ""; //null value string
                                 if(clientNO == 1)
                                 client1 = countRef.getClient1Name();
    plz help...

  • How to add image between two string

    how to add a image between two string .
    example :
    String one <IMG> String two

    grid1 = new GridLayout( 2, 3, 5, 5);
    container = getContentPane();
    container.setLayout(grid1);
    The parameters in GridLayout specifies 2 rows, 3 columns, 5pixels of horizontal gap, 5pixels of vertical gap.
    Did what i could to help, now can somebody help me with JDialog? =(

  • How to search all files in folders/subfolders for one or more strings?

    I have a list of files (full path and file name) in Column D of my worksheet.  I'm trying to figure out how to run some code to open each file in this array (starting on D14 and going down), search for one or more strings, and then put an "X"
    in Column I, in the same row as the file name.
    How can I do that?
    I experimented with a few samples of code.  It seems pretty easy to do it in one folder, but not all sub folders.  The folder/subfolder is setup a specific way for a specific purpose.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Below is an example that allow you to search a directory and its subdirs txt files(you can change this), read its lines and search for specific word:
    using System;
    using System.IO;
    using System.Linq;
    class Program
    static void Main(string[] args)
    try
    var files = from file in Directory.EnumerateFiles(@"c:\", "*.txt", SearchOption.AllDirectories)
    from line in File.ReadLines(file)
    where line.Contains("Microsoft")
    select new
    File = file,
    Line = line
    foreach (var f in files)
    Console.WriteLine("{0}\t{1}", f.File, f.Line);
    Console.WriteLine("{0} files found.", files.Count().ToString());
    catch (UnauthorizedAccessException UAEx)
    Console.WriteLine(UAEx.Message);
    catch (PathTooLongException PathEx)
    Console.WriteLine(PathEx.Message);
    https://msdn.microsoft.com/en-us/library/dd997370%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Fouad Roumieh

  • How to add elements into java string array?

    I open a file and want to put the contents in a string array. I tried as below.
    String[] names;
    s = new Scanner(new BufferedReader(new FileReader("outfile.txt")));
    while (s.hasNext()) {
                    String item = s.next();
                    item.trim();
                    email = item;
                    names = email;
                }But I know that this is a wrong way of adding elements into my string array names []. How do I do it? Thanks.

    Actually you cannot increase the size of a String array. But you can create a temp array with the lengt = lengthofarray+1 and use arraycopy method to copy all elements to new array, then you can assign the value of string at the end of the temp array
    I would use this one:
    String [] sArray = null;
    s = new Scanner(new BufferedReader(new FileReader("outfile.txt")));
    while (s.hasNext()) {
        String item = s.next();
        item.trim();
        email = item;
        sArray = addToStringArray(sArray, email);
    * Method for increasing the size of a String Array with the given string.
    * Given string will be added at the end of the String array.
    * @param sArray String array to be increased. If null, an array will be returned with one element: String s
    * @param s String to be added to the end of the array. If null, sArray will be returned.(No change)
    * @return sArray increased with String s
    public String[] addToStringArray (String[] sArray, String s){
         if (sArray == null){
              if (s!= null){
                   String[] temp = {s};
                   return temp;
              }else{
                   return null;
         }else{
              if (s!= null){
                   String[] temp = new String[sArray.length+1];
                   System.arraycopy(sArray,0,temp,0,sArray.length);
                   temp[temp.length-1] = s;
                   return temp;
              }else{
                   return sArray;
    }Edited by: mimdalli on May 4, 2009 8:22 AM
    Edited by: mimdalli on May 4, 2009 8:26 AM
    Edited by: mimdalli on May 4, 2009 8:27 AM

  • Add an array of strings into ArrayList

    Hi Guys
    I would like to add an array of strings into an ArrayList, which i have implemented by using the following code:-
    String[] strReturnWords = getInput2(line);
    List.add(strReturnWords);strReturnWords returns an array of Strings.
    How do i retrieve the array of strings from the ArrayList. I have tried
    String[i] strString = List.toString();Am i doing this correctly, are their any other ways??
    Many thanks
    Jason

    That should work.NO. That wont work AT ALL.
    This:
    String[] arrayOfString = new String[listName.size()];Is not right. The number of elements in the list is MUCH different
    then the size of the array which is an element in the list.
    This:
    arrayOfStrings[ i] = (String)listName.get(i);Will fail. The list contains an Object of StringArray not an Object of String.
    import java.util.*;
    public class StringList{
    public static void main(String[] args){
         String text = "this is some text";
         String[] words = text.split("\\s+");
         ArrayList list = new ArrayList();
         list.add(words);
         String[] array = (String[])list.get(0);
         for(int i = 0; i < array.length; i++){
         System.out.println("Word: " + array);

  • How to add space before a string a variable.

    Hi,
    If i have a string variable  ' 80 '.I want it as '    80 ' ie some space appended before it.
    I used  concatenate '   '    variable into variable..Its not working.How to do it??
    Thanks.

    check below code
    Concatenate ' ' string into string respecting blanks.
    <b>
    ... RESPECTING BLANKS</b>
    Effect
    The addition RESPECTING BLANKS is only allowed during string processing and causes the closing spaces for data objects dobj1 dobj2 ... or rows in the internal table itab to be taken into account. Without the addon, this is only the case with string.
    Note
    With addition RESPECTING BLANKS, statement CONCATENATE can be used in order to assign any character strings EX>text - taking into account the closing empty character - to target str of type string: CLEAR str. CONCATENATE str text INTO str RESPECTING BLANKS.
    Example
    After the first CONCATENATE statement, result contains "When_the_music_is_over", after the second statement it contains "When______the_______music_____is________ over______" . The underscores here represent blank characters.
    TYPES text   TYPE c LENGTH 10.
    DATA  itab   TYPE TABLE OF text.
    DATA  result TYPE string.
    APPEND 'When'  TO itab.
    APPEND 'the'   TO itab.
    APPEND 'music' TO itab.
    APPEND 'is'    TO itab.
    APPEND 'over'  TO itab.
    CONCATENATE LINES OF itab INTO result SEPARATED BY space.
    CONCATENATE LINES OF itab INTO result RESPECTING BLANKS.
    Rewards if useful.........
    Minal

  • Add space in the string

    Hi
    I have a varchar column, the data in the column have no space in between. I want to keep space after every 20 characters while I select data from this column, how can I acheive this.
    thanks
    Royal Thomas

    If so, try this:
    DECLARE @longStrings TABLE (string VARCHAR(MAX))
    INSERT INTO @longStrings (string) VALUES
    ('123456789012345678901234567890123456789012345678901234567890'),('123456789012345678901234567890123456789012345678901234567890123456'),('12345678901234567890123456789012345678901234567890123456789012345678901234567890')
    ;WITH rString AS (
    SELECT 1 as seq, string, LEFT(string,20)+' ' AS part, RIGHT(string,LEN(string)-20) AS remaining
    FROM @longStrings
    UNION ALL
    SELECT r.seq + 1, r.string, r.part+LEFT(remaining,20)+' ', CASE WHEN LEN(remaining) >= 20 THEN RIGHT(remaining,LEN(remaining)-20) ELSE '' END
    FROM rString r
    INNER JOIN @longStrings ls
    ON r.string = ls.string
    WHERE remaining <> ''
    SELECT string, max(part)
    FROM rString
    GROUP BY string

  • How to add one date column and charecter column

    hi all,
    i have 3 column start_date(date),end_date( date),duration (varchar2)
    i am trying to add start_time and duration like this
    end_date := to_char(start_time) + duration;
    but its showing value_error
    how to add one date column and charecter column.
    Thanks

    you need something that does:
    end_date (DATE) := start_date (DATE) + <number of
    days> (NUMBER)Not necessarily, because if the duration is just a string representation of a number then it will be implicitly converted to a number and not cause an error
    e.g.
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select to_date('01/07/2007','DD/MM/YYYY') as start_dt, '3' as duration_days from dual)
      2  -- END OF TEST DATA
      3  select start_dt + duration_days
      4* from t
    SQL> /
    START_DT+
    04-JUL-07

  • How to use Multimaps (Map String, ArrayList String )

    I was using an array to store player names, userIDs, uniqueIDs, and frag counts, but after reading about multimaps in the tutorials, it seems that would be much more efficient. However, I guess I don't quite understand it. Here's how I wanted things stored in my string array:
    String[] connectedUsers = {"user1_name", "user1_userid", "user1_uniqueid", "user1_frags"
                                            "user2_name"...}and here is how I'm attempting to setup and use the 'multimap':
    public class Main {
        static Map<String, ArrayList<String>> connectedUsers;
        public void updatePlayers(String name, String status) {
            String[] statusSplit = status.split(" ");
            if (connectedUsers.containsKey(name)) {
                connectedUsers.put(name, statusSplit[0]);
            else {
                connectedUsers.put(name, statusSplit[0]);
        }It's quite obvious I don't understand how this works, but should I even set this multimap up this way? Perhaps I should use a regular map with a string array for the values?

    You're cool MrOldie. Its just that alarm bells start ringing in my head when people come on and post as much as you do.
    * Created on Jul 28, 2005 by @author Tom Jacobs
    package tjacobs;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.LinkedList;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeSet;
    * ManyMap is a map that allows more than one value to be stored with any key
    * <p>
    * There are a number of methods in the class that have been deprecated because
    * the original functionality of Map has been violated to accomodate the concept
    * of the ManyMap
    public class ManyMap<T, T2> implements Map<T, T2> {
         private HashMap<T, ArrayList<T2>> mInnerMap;
         public ManyMap() {
              mInnerMap = new HashMap<T, ArrayList<T2>>();
          * @deprecated
         public T2 get(Object obj) {
              ArrayList<T2> ar = _get(obj);
              if (ar == null || ar.size() == 0) {
                   return null;
              return ar.get(0);
         public Iterator<T2> getAll(Object obj) {
              ArrayList<T2> ar = _get(obj);
              if (ar == null || ar.size() == 0) {
                   return null;
              return ar.iterator();          
         public T2 put(T obj1, T2 obj2) {
              ArrayList<T2> ar = _getNotNull(obj1);
              ar.add(obj2);
              return obj2;
         public Set<Map.Entry<T, T2>> entrySet() {
              TreeSet<Map.Entry<T, T2>> entries = new TreeSet<Map.Entry<T, T2>>();
              Iterator<T> _i = mInnerMap.keySet().iterator();
              while (_i.hasNext()) {
                   T key = _i.next();
                   Iterator<T2> vals = mInnerMap.get(key).iterator();
                   while (vals.hasNext()) {
                        Entry<T, T2> entry = new Entry<T, T2>(key, vals.next());
                        entries.add(entry);
              return entries;
         public int size() {
              return mInnerMap.size();
         public int valuesSize() {
              int vals = 0;
              Iterator<T> _i = mInnerMap.keySet().iterator();
              while (_i.hasNext()) {
                   T key = _i.next();
                   ArrayList<T2> ar = mInnerMap.get(key);
                   vals += ar.size();
              return vals;
         public void clear() {
              mInnerMap.clear();
         public void putAll(Map<? extends T, ? extends T2> map) {
              Iterator _i = map.entrySet().iterator();
              while(_i.hasNext()) {
                   Map.Entry<? extends T, ? extends T2> entry = (Map.Entry<? extends T, ? extends T2>) _i.next();
                   put(entry.getKey(), entry.getValue());
         public Collection <T2> values() {
              LinkedList ll = new LinkedList();
              Iterator<ArrayList<T2>> _i = mInnerMap.values().iterator();
              while (_i.hasNext()) {
                   ll.addAll(_i.next());
              return ll;
         public boolean containsValue(Object val) {
              Iterator<ArrayList<T2>> values = mInnerMap.values().iterator();
              while (values.hasNext()) {
                   if (values.next().contains(val)) return true;
              return false;
         public boolean containsKey(Object key) {
              return mInnerMap.containsKey(key);
         public T2 remove(Object obj) {
              Iterator<ArrayList<T2>> values = mInnerMap.values().iterator();
              boolean found = false;
              while (values.hasNext()) {
                   if (values.next().remove(obj)) {
                        found = true;
              return found ? (T2)obj : null;
         public boolean isEmpty() {
              return valuesSize() == 0;
         @SuppressWarnings("hiding")
         private class Entry<T, T2> implements Map.Entry<T, T2> {
              T key;
              T2 val;
              public Entry (T obj1, T2 obj2) {
                   key = obj1;
                   val = obj2;
              public T2 getValue() {
                   return val;
              public T getKey() {
                   return key;
              public T2 setValue(T2 obj) {
                   return val = obj;
         public Set<T> keySet() {
              return mInnerMap.keySet();
         public ArrayList<T2> _get (Object obj) {
              return mInnerMap.get(obj);
         public ArrayList<T2> _getNotNull (T obj) {
              ArrayList<T2> list = _get(obj);
              if (list == null) {
                   list = new ArrayList<T2>(1);
                   mInnerMap.put(obj, list);
              return list;
    }Edited by: tjacobs01 on Aug 19, 2008 12:28 PM

  • String[] array = (String[])vector.toArray();

    Why does the last line cause a ClassCastException?:
    Vector vector = new Vector();
    vector.add("One");
    vector.add("Two");
    vector.add("Three");
    vector.add("Four");
    vector.add("Five");
    String[] array = (String[])vector.toArray();
    Thanks
    [email protected]

    Because toArray () creates an Object array. You need the toArray(Object[]):String[] array = (String[]) vector.toArray (new String[vector.size ()]);Kind regards,
      Levi

  • Difference between String=""; and String =null

    I want to know the difference especially the ADVANTAGE between the following-
    1. String s="";
    String s="ABC"
    and
    String s;
    String s="ABC";
    or String s=null;
    String s="ABC";
    2. Object anyObject;
    anyObject-new Object();
    and
    Object anyObject=null;
    anyObject=new Object();

    Tanvir007 wrote:
    I want to know the difference especially the ADVANTAGE between the following-
    1. String s="";s points to the empty string--the String object containing no characters.
    String s="ABC"s points to the String object containing the characters "ABC"
    String s; Declares String reference varialbe s. Doesn't not assign it any value. If it's a local variable, it won't have a value until you explicitly assign it. If it's a member variable, it will be given the value null when the enclosing object is created.
    String s="ABC";Already covered above.
    or String s=null;s does not point to any object.
    String s="ABC";???
    You've already asked this twice.
    Are you talking about doing
    String s = null;
    String s = "ABC";right after each other?
    You can't do that. You can only declare a variable once.
    If you mean
    String s = null;
    s = "ABC";It just does what I described above, one after the other.
    2. Object anyObject;
    anyObject-new Object();
    and
    Object anyObject=null;
    anyObject=new Object();As above: In the first case, its value is undefined until the new Object line if it's a local, or it's null if it's a member.
    As for which is better, it depends what you're doing.

  • Issue to Add one new column in search Page..

    I have a JSP file of Service Form of Oracle Install Base . In this on select party Site page when search for any item it shows some result as a column. like address , name, country..
    we have to add a new column in that search. means when we search for any Item then with address, Name and country it shows a new column also with that. I have the jsp file of that page "csifLOV.jsp". This is the generic LOV page for any database columns.
    Can anybody please help where to add this new column definition.
    this is code of "csifLOV.jsp".
    <%--
    +==========================================================================+
    | Copyright (c) 2000 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +==========================================================================+
    | FILENAME |
    | csifLOV.jsp |
    | DESCRIPTION |
    | This is the generic LOV page for any database columns |
    | NOTES |
    | |
    | DEPENDENCIES |
    | |
    | HISTORY |
    | 23-Aug-2000 X. Li Created. |
    | $Header: csifLOV.jsp 115.30 2004/06/14 21:05:05 anukal ship $
    +==========================================================================+
    --%>
    <%@ include file="jtfincl.jsp" %>
    <%@ include file="csifContextIncl.jsp" %>
    <%
    csiPageContext.setPermissionName("SupPer");
    csiPageContext.setJspName("csifLOV.jsp");
    csiPageContext.setFormName("LOVForm");
    String jspName = csiPageContext.getJspName();
    String csiFormName = csiPageContext.getFormName();
    String formName = csiFormName;
    appName = "CSI";
    if (CsifutDebug.LOCAL_DEV_ENV)
    Properties param = System.getProperties();
    String prop = param.getProperty("JTFDBCFILE",
    "E:\\myprojects\\dbcfiles\\crmdev04_SCCSIDV1.dbc");
    param.put("JTFDBCFILE", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\jtflogs\\ebppFW_log");
    param.put("framework.Logging.system.filename", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\ebppSys_log");
    param.put("framework.Logging.system.filename",prop);
    System.setProperties(param);
    // this may have to change for other people
    // ServletSessionManager.startStandAloneSession(appName,true,
    // "csiuser","welcome");
         ServletSessionManager.startRequest(request,response,
    appName,true,"csiuser","csiuser","Authenticator.system");
    /* Push the logFileName into the cookie for future use */
    oracle.apps.jtf.util.SystemCheck.setJTFCookie();
    // Set cookies for menu rendering
    MenuRenderer.setMenuCookies(request);
    //Added HTML tag with language code for accessibility.
    String CSI_HTML_LANG_CODE;
    CSI_HTML_LANG_CODE = oracle.apps.jtf.util.HtmlUtil.getHtmlLanguageCode();
    if (CSI_HTML_LANG_CODE == null)
    CSI_HTML_LANG_CODE = "en-US";//Added HTML tag with language code for accessibility.
    %>
    <HTML lang="<%=CSI_HTML_LANG_CODE%>">
    <%@ include file="csifStartReqIncl.jsp" %>
    <%@ include file="csifExceptionHandleBegin.jsp" %>
    <jsp:useBean id="lovBean" class="oracle.apps.csi.framework.pb.CsifpbLOVBean" scope="page" />
    <%
    lovBean.init(csiPageContext, request);
    lovBean.process();
    int pageMode = lovBean.getMode();
    if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE) //forward to the caller of the LOV
         if (CsifutDebug.DEBUG)
    CsifutDebug.addMessage("forward URL=" + lovBean.getForwardToURL());
    csiPageContext.setForwardToJSP(lovBean.getForwardToURL());
    %>
    <%@include file="csifForwardIncl.jsp" %>
    <%
    else
    CsifcmException error = lovBean.getException();
    String callerName = lovBean.getJspCallerName();
    String labelSelect=null;
    String labelEnterPartial=null;
    String labelSearch=null;
    String labelTitle=null;
    int origAppID = csiPageContext.getPageAppId();
    String origAppName = csiPageContext.getPageAppName();
    csiPageContext.setPageAppId(542);
    csiPageContext.setPageAppName("CSI");
    Hashtable allLovPrompts = CsifutRegion.getPrompts(csiPageContext, "CSI_FRAMEWORK_LOV");
    csiPageContext.setPageAppId(origAppID);
    csiPageContext.setPageAppName(origAppName);
    if (allLovPrompts != null)
    labelSelect = (String)allLovPrompts.get("CSI_SELECT");
    labelEnterPartial = (String)allLovPrompts.get("CSI_ENTER_PARTIAL");
    labelSearch = (String)allLovPrompts.get("CSI_SEARCH");
    labelTitle = (String)allLovPrompts.get("CSI_LOV_TITLE");
    else
    allLovPrompts = new Hashtable();
    String cancelPrm = (String)allLovPrompts.get("CSIF_CANCEL");
    %>
    <head>
    <title><%=labelTitle%></title>
    <script language="JavaScript">
    function newSearch()
    document.<%=csiFormName%>.<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>.value = '<%=CsifpbBasePageBean.QUERY_MODE%>';
    document.<%=csiFormName%>.submit();
    function returnToCaller()
    // alert("Return to " + "<%=callerName%>" )
    document.<%=formName%>.action = "<%=callerName%>";
    document.<%=formName%>.submit();
    function <%=lovBean.LOV_CANCEL_FUNC%>()
    var LOVForm = document.forms['<%=csiFormName%>'];
    var LOVFieldName = '<%=lovBean.getLOVFieldName()%>';
    var LOVOrigValFieldName = LOVFieldName + '<%=lovBean.LOV_ORIG_VAL_FIELD%>';
    LOVForm.elements[LOVFieldName].value = LOVForm.elements[LOVOrigValFieldName].value;
    LOVForm.elements['<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>'].value = '<%=CsifpbBasePageBean.LOVRETURN_MODE%>';
    LOVForm.elements['<%=CsifpbBasePageBean.MODE_ACTION_PARAM%>'].value = '<%=CsifpbBasePageBean.ACTION_CANCELLED%>';
    LOVForm.action = '<%=lovBean.getJspCallerName()%>';
    LOVForm.submit();
    function onPageLoad()
    document.<%=csiFormName%>.<%=lovBean.getLOVFieldName()%>.focus();
    </script>
    <%=lovBean.renderLovReturnJS()%>
    <%@ include file="jtfscss.jsp" %>
    </head>
    <%@ include file="csifBodyBeginIncl.jsp" %>
    <%
    //if (!CsifutDebug.LOCAL_DEV_ENV)
    if (CsifutTimer.TIME)
    CsifutTimer.start(CsifutTimer.JTF_MENU);
    %>
    <%@ include file="jtfdnbartop.jsp" %>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <%
    if (CsifutTimer.TIME)
    CsifutTimer.stop(CsifutTimer.JTF_MENU);
    } // end local_dev_env
    %>
    </td>
    </tr>
    <tr>
    <td>
    <form name="<%=csiPageContext.getFormName()%>" method="post" action="<%=jspName%>">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top">
    <table summary="" width="100%">
    <tr>
    <td> </td>
    <td class="pageTitle" colspan="4"><%=labelSelect%> <%=lovBean.getLOVPageTitle()%>
    </td>
    <td> </td>
    </tr>
    <%@ include file="csifDisplayException.jsp" %>
    <tr>
    <td width="5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="5%"> </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <div nowrap align="right" class="promptReadOnly"><%=labelEnterPartial%></div>
    </td>
    <td colspan="3">
    <input type="text" name="<%=lovBean.getLOVFieldName()%>" id="<%=lovBean.getLOVFieldName()%>"
    value="<%=HtmlWriter.preformat(lovBean.getLOVSearchPattern())%>" size="15">
    <input type="button" name="SearchButton" id="SearchButton"
    value="<%=labelSearch%>" onClick="javascript:newSearch()">
    <input type="button" name="CancelButton" id="CancelButton"
    value="<%=cancelPrm%>" onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <hr>
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td class="prompt" colspan="4">
    <!-- Search Result goes here -->
    <%
    if (lovBean.getMode() != CsifpbBasePageBean.LOVRETURN_MODE)
    out.print(lovBean.renderLOVValuesTable(labelSelect));
    %>
    <!-- End of Search Result -->
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <input type="button" name="CancelButton" value="<%=cancelPrm%>"
    onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    </table>
    <!-- Content ends here -->
              </td>
         </tr>
         </table>
    <!--Hidden Fields Go Here-->
    <input type="hidden" name="<%=CsifpbLOVBean.LOV_VALUE_SEL_PARAM%>" >
    <%
    if(csiPageContext.isAccessible())
    %>
    <label for="<%=lovBean.getLOVFieldName()%>" class='hidelabel'><%=labelEnterPartial%></label>
    <!-- Kamal for ADA v2 03-Mar-04
    <label for="SearchButton" class='hidelabel'><%=labelSearch%></label>
    <label for="CancelButton" class='hidelabel'><%=cancelPrm%></label>
    -->
    <%
    %>
    <%@ include file="csifHiddenFieldsIncl.jsp" %>
    </form>
    <%@ include file="csifBodyEndIncl.jsp" %>
    </HTML>
    <%
    } // end of if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE ) .. else {
    %>
    <%@ include file="csifExceptionHandleEnd.jsp" %>
    <%@ include file="csifEndReqIncl.jsp" %> <!-- send an end request -->
    Thanks,

    If you are copying the 12KST1C to Z12KST1C and executing the s_alr_8701333 report, you will not see the new column added to Z12KST1C
    With the new Form Z12KST1C, create a new Report Z12KST1C and assign a new TCODE. Also you have to select all rows and column of form Z12KST1C
    TCODE CJE5
    Select the form Z12KST1C
    Extras--Drildown display --Select Rows and columns
    Select the all colhmns by F9
    Hope this helps.
    Edited by: psconsultant on May 20, 2011 8:42 AM

Maybe you are looking for

  • 2005 mac mini on OSX leopard will not boot up from firewire disk

    I have an old mac mini that my son still uses and the super dirve does not work any more. But now the main hard disk needs to some attention from Disk Utility. So I need to boot up from the Leopard install DVD. But of course the DVD dirve does not wo

  • Metadata not writing to file, metadata status "..."

    Until recently, I am sure that saving metadata to file worked fine.  Now, when I do it for a selection, it appears to write (with disk activity and dialogue of files being updated), but then afterwards I still have <mixed> status on the set.  Some wi

  • Application don't permit changes in the system preferences

    Hello, My name is Maíra and I'm looking for help to have my internet installed. Actually, the problem is: I can't change anything in the network (system preferences). The signal is in the air but my computer can't regonize that. This is happening sin

  • Regarding bdc for automatic run

    hi experts,                 i have developed a bdc for hr in which the data is uploading from the excel sheet,what my user wants that this report will run automatically at 11 pm every day so for this send me the steps for this i know i have to exceut

  • Advice, please, on installing Mustek A3 2400S scanner

    Can anyone suggest the links I need to instal a Mustek A3 2400S scanner on OS 10.9.2? Thank-you