Can any body tell me How to store string array in a array

Can any body tell me How to store string array in a array

YesNot quite sure what question you're answering but here's how to copy an array.// given a String[] strArr
// pre Java 6
String[] newStrArr = new String[strArr.length];
System.arrayCopy(strArr, 0, newStrArr, 0, strArr.length);
// post Java 6
String[] newStrArr = Arrays.copyOf(strArr, strArr.length);Edit:
Or in fact use clone() as mark pointed out.
Message was edited by:
dwg

Similar Messages

  • Can any body tell me how to make changes in the print layout of Fb03.

    hi,
    Can any body tell me how to make changes in the print layout of Fb03.
    I want to add comapny address on the layout.
    Regards
    Mave

    If you mean the correspondence, you have to change the configuration in Financial Accounting -> AR and AP -> Business Transactions -> Outgoing Invoices -> Carry Out abd Check Settings for Correspondence. There, you need to assign your custom Program or Layout for the Correspondence Type (like SAP19) and Program.
    If you mean the display layout in transaction FB03, You can change a few settings, mainly with BKPF and BSEG fields. I don't think you can add company address, though.
    Good luck,
    Bhanu

  • Hi, i want to control my vi from multiple systems using ethernet options can any body tell me how to do that? thans in advance

    hi, i want to control my vi from multiple systems using ethernet options can any body tell me how to do that?  thans in advance

    There are multiple ways of doing this. Here are some of them..
    The Web Publishing tool allows you to publish the front panel and you can control the front panel remotely.http://www.ni.com/white-paper/2911/en/
    The TCP/IP socket can allow you to pass codes "strings" to another computer. Lookup the server client example.
    regards,
    Gautham

  • Can any body tell me how many records can a db hold in a minute

    can any body tell me how many records can a db hold in a minute

    user644700 wrote:
    can any body tell me how many records can a db hold in a minuteI would hope not since it will depend on X number of factors where X is a very large number.
    Did you have anything specific in mind (version, hardware, etc...)? I assume you mean load and not hold?

  • Can any body tell me, how to send/receive the sms from java application

    Hi All,
    Can any body tell me, how to send/receive the sms from java application to mobile phones.
    I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
    the following error.
    Cannot connect to GSM Device, error : -11

    The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.

  • Can any body tell me how to get a call for adobe interview for a flex developer post for 2.6 years??

    can any body tell me how to get a call for adobe interview for a flex developer post for 2.6 years??

    hi,
    there's some microsoft support to this issue. check here http://support.microsoft.com/kb/2008385 
    regards.
    From out of Nowhere

  • Can any body tell me how to use the TCODE:ABF1 ?

    Can any body tell me how to use the TCODE:ABF1 ?
    Can any body tell me the different of the ABF1 and FB01?
    Thank very much.

    Hi Jie,
    both Transaction codes are working are same.
    Both are working through program : SAPMF05A.
    Packages are different: FIDC & AB.
    FB01 : we can control objects through F_BKPF_BUK
    Hope its clear.
    Kishore K

  • Can any body tell me how to pull SAP-CRM data into BW

    Hi BW guru`s,
    Does anybody tell me how to pull SAP-CRM data into BW.
    Is there any configuaration setings takes place in CRM system or BW system?
    Provide few of CRM datasources names (Transaction data Datasources)
    Please explain indetail and give some examples.
    Thanks in advance,
    venkat

    Hi.......
    SAP CRM uses BW Adapter to extract data from SAP CRM and send it to SAP Business Information Warehouse and SAP NetWeaver Business Intelligence. For mBDocs, BW Adapter extracts objects for CRM business transactions and CRM billing use the BAdI CRM_BWA_MFLOW. However, in releases prior to SAP CRM 2005, after using transaction code RSA5 to activate business content in SAP CRM, you must use transaction code BWA5 to activate the business content for the BW Adapter.
    Check this link :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2910623-0c01-0010-de8f-d1926988a986
    Hope this helps you.........
    Regards,
    Debjani........

  • Can any body tell me how to install ovi store to e...

    ovi store how to install while installing it showing an error message please tell about this problem

    Where are you? Because my E51 signs in just fine from the phone app/shortcut if I am in the United Kingdom, but if I am in the USA, it says that Ovi Store is not yet available for my device, please check later (it has been saying that for more than a year).

  • Can any body tell me how to map the jsp page with sling servlet

    here is my content.jsp
    <%@include file="/libs/foundation/global.jsp"%>
    <cq:include script="/libs/wcm/core/components/init/init.jsp"/>
    <div>
    <h3>Login</h3>
    <form name="frm" method="doGet" action="/LoginServlet">
    <cq:include path="texot" resourceType="sapphirenow_web/components/foundation/textlog"/>
    <cq:include path="text1" resourceType="sapphirenow_web/components/foundation/textlog"/>
    <cq:include path="text3" resourceType="sapphirenow_web/components/foundation/submit"/>
        </form>
    </div>
    here is my LoginServlet.java
    package com.sapphirenow.web;
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import org.apache.sling.api.SlingHttpServletRequest;
    import org.apache.sling.api.SlingHttpServletResponse;
    import org.apache.sling.api.servlets.SlingAllMethodsServlet;
    * @scr.component metatype="true"
    * @scr.service interface="javax.servlet.Servlet"
    * @scr.property name="sling.servlet.paths"  value="/bin/mn"
    * @scr.property name="sling.servlet.methods" values="GET"
    public class LoginServlet extends SlingAllMethodsServlet
      public void doGet(SlingHttpServletRequest request,SlingHttpServletResponse response) throws ServletException,IOException
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              String name = request.getParameter("Username");
              String pass = request.getParameter("Password");
              out.println("<html>");
              out.println("<body>");
              out.println("Thanks  Mr." + "  " + name + "  " + "for visiting roseindia<br>" );
              out.println("Now you can see your password : " + "  " + pass + "<br>");
              out.println("</body></html>");
       its showing "The requested URL /LoginServlet was not found on this server."  how to solve this pls help me

    Hi,
    Bellow some links which maybe hepls you:
    -> http://sling.apache.org/site/manipulating-content-the-slingpostservlet-servletspost.html
    -> http://edivad.wordpress.com/2011/07/18/cq-sling-servlets-resourcetype/
    -> http://sling.apache.org/site/servlets.html
    -> http://blogs.adobe.com/aaa/tag/sling
    and some threads from the forum:
    -> http://forums.adobe.com/message/4943006#4943006
    -> http://forums.adobe.com/message/4915799#4915799
    By the way there is a lot of information which you can find in th network.
    Regards,
    kasq

  • Can Any Body Tell Me How can I activate 3-G in Nok...

    How can i activate nokia c7-00's 3g Help me out

    3G is an operator service means you need to speak to your network service provider for plans and activation.
    To use your mobile in 3G go to settings > connectivity > network > network mode > 3G.
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Can any body tell me how to know the daily loaded ODS & Cubes

    Hi ,
    Please tell me , I want to know the datatargets which are used for daily data loads ..
    Thanks
    PT

    Hi,
    You can check it by RSMO with data range and observe the daily loads.
    Or You can check it by  Manage screen of each target, there you can see the date of loads
    or you can select the target and select the monitor sysmbol in top-->it will show the data loads for that particular target.
    Regards
    Pcrao.

  • Can any body tell me how to launch a service level report?

    I forgot which transaction I can use.
    Can anybody tell me ?
    Best regards,
    Lament

    Hi,
    SOLUTION_MANAGER is T-code for service level report. please visit below link for more information
    [Link|http://help.sap.com/saphelp_sm32/helpdata/en/d0/ff9bd859f24921b289c98500d6ec99/content.htm]
    Regards,
    Srinivas. N

  • Can any body tell me how to catch the enter  in module pool.

    this is my first objet in module pool...
    when user provides val in the screen and if he presses enter then i want to diaply other vals in same screen how....please tell me

    Hi Kamala,
    suppose..two fields are there in screen Material and Material desctiption.
    After entering Material if u press enter material description aslo dispaly in the corresponding field.
    for this.
    PBO.
    >>>>>>>>>
    PAI.
    MODULE  get_materail_description.
    Mobule Get_materail_descripton.
    If sy-ucom is SPACE.
    Select Maktx into (screen field) from MAKT.
    ENDIF.
    END MODULE.
    Regards,
    Sunil.

  • Can any body tell me how to create a layout variant in the selection

    hi friends i would like to know how to create a layout variant in the selection screen and how to select the variant to display the ouptut using the layout using disvariant.please if possible give me example. thanks in advance.

    hi,
    I shall give you the code. It will definitely work.
    <u><b>Declerations you need to make</b></u>
    data:      WK_VARIANT      LIKE DISVARIANT,
               WX_VARIANT      LIKE DISVARIANT,
               WK_REPID        LIKE SY-REPID,
               WK_VARIANT_SAVE(1) TYPE C,
               WK_EXIT(1) TYPE C.
    <b><u>Things you need to do in the initialization event:</u></b>
    INITIALIZATION.
      PERFORM F_INIT_VARIANT.
      PERFORM F_VARIANT_DEFAULT USING PR_VARI.
    *&      Form  f_init_variant
    FORM F_INIT_VARIANT .
      CLEAR WK_VARIANT.
      WK_REPID = SY-REPID.
      WK_VARIANT-REPORT = WK_REPID.
      WK_VARIANT-USERNAME = SY-UNAME.
      WK_VARIANT_SAVE = 'A'.
    ENDFORM.                    " f_init_variant
    *&      Form  f_variant_default
    FORM F_VARIANT_DEFAULT  USING    P_PR_VARI.
      WX_VARIANT = WK_VARIANT.
      IF NOT P_PR_VARI IS INITIAL.
        WX_VARIANT-VARIANT = P_PR_VARI.
      ENDIF.
      CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET'
        EXPORTING
          I_SAVE        = WK_VARIANT_SAVE
        CHANGING
          CS_VARIANT    = WX_VARIANT
        EXCEPTIONS
          WRONG_INPUT   = 1
          NOT_FOUND     = 2
          PROGRAM_ERROR = 3
          OTHERS        = 4.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CASE SY-SUBRC.
        WHEN 0.
          P_PR_VARI = WX_VARIANT-VARIANT.
        WHEN 2.
          CLEAR P_PR_VARI.
      ENDCASE.
    ENDFORM.                    " f_variant_default
    <b><u> After this Things you need to do in the At selection screen event:</u></b>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR PR_VARI.
      PERFORM F_VARIANT_F4 USING PR_VARI.
    *&      Form  f_variant_f4
    FORM F_VARIANT_F4  USING    P_PR_VARI.
      CALL FUNCTION 'LVC_VARIANT_F4'
        EXPORTING
          IS_VARIANT    = WK_VARIANT
          I_SAVE        = WK_VARIANT_SAVE
        IMPORTING
          E_EXIT        = WK_EXIT
          ES_VARIANT    = WX_VARIANT
        EXCEPTIONS
          NOT_FOUND     = 1
          PROGRAM_ERROR = 2
          OTHERS        = 3.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF WK_EXIT IS INITIAL.
        WK_VARIANT-VARIANT = WX_VARIANT-VARIANT.
        P_PR_VARI = WX_VARIANT-VARIANT.
      ENDIF.
    ENDFORM.                    " f_variant_f4
    After this finally when you call the output using REUSE_ALV_GRID_DISPLAY YOU NEED TO mention this parameter in the function module
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          <i><u><b>IS_LAYOUT          = WA_LAYOUT</b></u></i>
          <i><u><b>I_SAVE             = 'X'</b></u></i>
          <u><i>I_DEFAULT          = 'X'</i></u>
          <u><b>IS_VARIANT         = WK_VARIANT</b></u>
        TABLES
          T_OUTTAB           = ITAB1
        EXCEPTIONS
          PROGRAM_ERROR      = 1
          OTHERS             = 2.
    Once you do this,,, you can create a layout variant.
    P.S. Mark all helpful answers for points.
    JLN

Maybe you are looking for

  • Report from SAP Query due by universe

    Guys, I create universe based on SAP Query. Now I want to build BO report. So I connect a Universe drag to window my objects, but when I push Run Query I receive error: A database error ocured. The database error text is: The MDX query SELECT  { [Mea

  • How can I merge cells and set their row hight in numbers with applescript

    Hi, I have a table in numbers that looks like this (but without header): Column A 1 1 ABC GHDD 2 efgh dhdh 3 lmnk hdjdhj 4 5 2 HGJKSKJHD 6 HKD KIEIJE JEIj 7 G8DIHE  EO E PE 8 GDDH OEJ EEF 9 10 3 DHKJDH  D JH D KJH D 11 I want to merge all the cells t

  • Transporting a logical database.

    Hi, Is it possible to transport a logical database across system? If yes, how do we do it? Thanks , Laxman

  • Tooltip for table cell.

    Hi all I have a report region (the source is a query). There is lot of texts in this report region so for pretty display I am just showing the first few words for the row and column combination (i,j) and what I am looking for is the tooltip so when t

  • Enterprise Edition - DC Options

    Hi. My tatantella configuration included Active Directory Security - so when people connect they are asked for their Domain Login and password. Is there any way of releasing this control so anyone can login to the secure global desktop without a pass