Could not able to split the string at #!

Hi,
Hi Below is the value coming in a field character string 130 and I have used SPLIT at '#' and also Split at tab which has a value horzontal tab.
Below is the string Value..
'Feedback on Mr Richard Harris#360 category Partner#Department Human Resources#Office London#Review period 01.01.2010 to 31.12.2010'.
Please let me know how to resolve this?
Regards,
Srinivas

This works as it should:
DATA:
lv_field(130) TYPE c VALUE
'Feedback on Mr Richard Harris#360 category Partner#Department Human
resources#office london#review period 01.01.2010 to 31.12.2010',
lv_01(50) type c,
lv_02(50) type c,
lv_03(50) type c,
lv_04(50) type c,
lv_string TYPE string.
lv_string = lv_field.
split lv_string at '#' into
lv_01 lv_02 lv_03 lv_04.
write: / lv_01 ,
       / lv_02 ,
       / lv_03 ,
       / lv_04.

Similar Messages

  • Problem Using HTTP Dispatcher -- Could Not able to get the data in JSP

    Hi, I am using HTTP Dispatcher to send my events to particular URL which is a JSP page. I am trying to populate the received event through URL and populate to a oracle data base. But could not able to get the data in Oracle database.
    Code is :
    <h1>JSP Page</h1>
    <%
    long type = 0;
    String tagId = null;
    String timeStr = "0";
    String deviceName = "";
    // Get Event Parameters
    // Available Parameters: id, siteName, deviceName, data, time, type, subtype, sourceName, correlationId
    try
    type = Long.parseLong(request.getParameter("type")); // Get type
    tagId = request.getParameter("id"); // Get tagId
    timeStr = request.getParameter("time"); // Get time
              deviceName = request.getParameter("deviceName");
    catch (Exception e)
    out.println( "Error: "+e.getMessage() );
              // Write into DB.
              try {
              if ((tagId == null) || (type != 200) ){
                   // Do Nothing
                   //return;
              } else {
                   OracleDataSource ods = new OracleDataSource();
                   String URL = "jdbc:oracle:thin:@//3.235.173.16:1525/vislocal";     
                   ods.setURL(URL);
                   ods.setUser("cus");
                   ods.setPassword("cus");
                   Connection myConn = ods.getConnection();     
                   Statement stmt = myConn.createStatement();
                   String selectQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads ";
                   ResultSet rs = stmt.executeQuery(selectQuery);
                   String maxId = "1";
                   if (rs.next()) {
                        maxId = rs.getString(1);               
                   String selectMaxTagIDQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads WHERE tag_id = '" + tagId + "'" ;
                   stmt = myConn.createStatement();
                   rs = stmt.executeQuery(selectMaxTagIDQuery);
                   String maxTagId = "1";
                   if (rs.next()) {
                        maxTagId = rs.getString(1);               
                   long primaryKey = 1;
                   long tagKey = 1;
                   try {
                        primaryKey = Long.parseLong(maxId) + 1;
                        tagKey = Long.parseLong(maxTagId) + 1;
                   } catch (Exception e) {
                   long currentTime = System.currentTimeMillis();
                   long updateKey = (tagKey - 1);
                   String updateQuery = " UPDATE cus.rfid_raw_reads SET read_end_time = " + currentTime + " WHERE rfid_raw_reads_id = " + updateKey;
                   Statement updateStmt = myConn.createStatement();
                   updateStmt.execute(updateQuery);     
                   String query =
                        "INSERT INTO cus.rfid_raw_reads (rfid_raw_reads_id, tag_id,device_name,read_start_time) VALUES ("+ primaryKey + ",'" + tagId + "'," + deviceName + "'," + System.currentTimeMillis() + " )" ;
                   Statement insertStmt = myConn.createStatement();
                   insertStmt.execute(query);     
                   myConn.commit();
                   myConn.close();
              } catch (Exception e) {
    %>
    <p>For browser debug:
    <%
    out.println( "Type="+type+" ID="+tagId +" time="+timeStr );
    %>
    Kindly suggest where is the problem...
    Thanks and regards
    Mohammad Nasim Akhtar

    HI Prabhat,
    Thanx for your reply, I worked out and able to receive the data in oracle database, Actually there was some problem in insert Query. Now I have tested the same... and able to edit the same in the Database.....
    But I am facing a new problem, Http Dispatcher in SES console is displaying all the Events generated as well as event in Que but there is no events in the Event Send. I guess it is not able to send the events.....?????
    Event statical is showing like this
    Events Received: 0 (0.00/sec)
    Events Generated: 311 (0.19/sec)
    Events Sent: 2 (0.19/sec)
    Queued Events: 309 (0.19/sec)
    Kindly suggest where is the problem, Is it a JSP problem or OSES end problem.....
    Thanks and regards
    Nasim

  • Could not able to startup the instance

    After shutdown the instance, I could not able to starup the instance. ORA-12203 TNS:UNABLE TO CONNECT TO DESTINATION ,error showing. Database already down, then how to make to startup.

    ORA-12203: TNS:unable to connect to destination
    Cause:      Invalid address specified or destination is not listening. This error can also occur because of underlying network or network transport problems.
    Action:      Verify that the net service name you entered was correct. Verify that the ADDRESS portion of the connect descriptor which corresponds to the net service name is correct. Ensure that the destination process (for example the listener) is running at the remote node.
    Connect with your server. Export ORACLE_HOME and ORACLE_SID. Then login with SQLPLUS as sysdba and startup the instance.
    Regards
    Asif Kabir

  • Even Administrator could not able to edit the dashboard

    hi all,
    Administrator could not able to see edit dashboard option.... though he is having full control on dashboard....
    What is the problem ....
    did any one change the options.. in instance config file....
    how to make it up
    Thanks

    Hello Pravin,
    I have the complete access, but all of sudden three icons started missing .
    Thanks,
    Srini

  • OSB throwing IO Exception : Could not able to rename the file

    Hi, 
    I am trying to publish the file in an SFTP location. OSB is able to write the file with extension .a (which it generally does while writing), but couldn't able rename it to the original name.
    Error From Logs :
    BEA-381801> <Error occured for endpoint com.bea.wli.sb.transports.TransportException: File could not be renamed from: ./OSBSFLFiles/TestFileOSR.xml.a to: ./OSBSFLFiles/TestFileOSR.xml
    com.bea.wli.sb.transports.TransportException: File could not be renamed from: ./OSBSFLFiles/TestFileOSR.xml.a to: ./OSBSFLFiles/TestFileOSR.xml
    Caused By: java.io.IOException: File could not be renamed from: ./OSBSFLFiles/TestFileOSR.xml.a to: ./OSBSFLFiles/TestFileOSR.xml
    Solutions Tried :
    1) All the permissions are there to read and write on that folder.
    2) In the remote SFTP logs there is no activity recorded for attempting to rename the file from OSB.
    Please suggest.
    Thanks,
    Ankit

    Use a JCA adapter.
    Create adapter in Jdeveloper and import the artifacts in to OSB.
    The native support of OSB for SFTP doesn't work sometimes

  • Transport is in modifiable status, But i could not able to delet the object

    Hi All,
    I have created one development transport and one  customizing transport(my colleague), now i want to delete the some objects which contain these change request. But i can not able to delete those objects even though change request is in modifiable status.
    How to delete the objects contain in modifiable transport?

    Hi Arun,
    It seems working now
    Can add/delete the objects for released transport?
    is it possible.
    Two more question:
    1). I have released one change request, now i want to change the description of the request, how to do  that?
    2).While executing transports, RDD* (RDDIMPDP) job has canceled in the target system.then what should i do?

  • HT4623 HI, i am using I POD 3rd generatin with OS 3.1.3.  I am not able to update the new IOS and i could not found the update button in my POD.  Pleaese help me how do that.  regards

    Dear Friends,
    I am using IPOD touch 3rd generation with OS 3.1.3 (7E18) (Model MA623LL), i am not able to upgrade the IOS.  My IPOD does not have the software update button.
    Please help me how to upgrade the IOS for this version i could not able to download the games and new features.
    Please guide me.
    regards
    Nagaraju T
    [email protected]

    You iPod, model MA623LL , is a 1G iPod and those can only go to iOS 3.1.3
    Identifying iPod models

  • I could not able move the table in physical diagram

    hi all
    i have installed obiee..
    there am trying to give physical joins .... there am facing problem that i could not able to move the tables
    wat is the problemmm...
    please help me out
    thanks

    are you opening a physical diagram to create joins? You mean drag and drop does not work while rearranging a table in physical layer?

  • I could not able to see Imported Business Package

    Hi
    I am using Standard Business Package for SAP CRM4.0 60.2.3; it is stored in PCD -> Migrated Content
    I customized the Business Package and stored the content in my folder and transported the Business Package to Local (on Desktop) and Server (in server: C:\usr\sap\J2E\SYS\global\pcd\Export).
    I did not deleted the Standard BP from PCD/Migrated Content
    After importing the Customized Business Package from local system i could not able to see the Business Package in PCD.
    I could not able to see the Customized BP in PCD….. , Whether that Standard BP should be deleted before Importing
    What is the Default location it stores after importing?
    Plz help me to solve this issue its very urgent.
    Regards

    Hi Michael
    For Example In CRM BP there are set of Roles in that i took only Lead Manager Role and Stored that in my folder xyz as Deltalink and i also copied dependent object pertaining to that Role as Delta link.
    In Transport Package i added all the dependent object and aswell the Role of Lead Management to that Package.
    Before Exporting the Transport Package there is a option called (Include all objects on which the exported objects depend) i checked this option and Id of dependent objects i mensioned as ex: com.xyz
    After doing this i transported my BP

  • Could not able to see my customized BP after Importing

    Hi
    I am using Standard Business Package for SAP CRM4.0 60.2.3; it is stored in PCD -> Migrated Content
    I customized the Business Package and stored the content in my folder and transported the Business Package to Local (on Desktop) and Server (in server: C:\usr\sap\J2E\SYS\global\pcd\Export).
    I did not deleted the Standard BP from PCD/Migrated Content
    After importing the Customized Business Package from local system i could not able to see the Business Package in PCD.
    I could not able to see the Customized BP in PCD….. , Whether that Standard BP should be deleted before Importing
    What is the Default location it stores after importing?
    Plz help me to solve this issue its very urgent.
    Regards

    Hi Sanjay,
    There is no need to delete the Standard BP from PCD/Migrated Content.
    After customizing the business package and storing the content in your own folder, you have to add all objects to new transport package(by right clicking on main folder)then export it and download the epa to your local system.
    After importing the epa in some other portal, BP will sit under same path you have specified while creating business package(PCD).In sense, it will create the same PCD structure when you import epa in some other portal.
    You might have done some mistake while creating transport package and exporting it to your local system. You might not have added all object to new transport package.
    Hope this is of some help. Do write back in case you need further clarification
    Cheers
    Ruchi.

  • Could not able to RUN Java Programs in JRE 1.5.08

    hi
    I am using Jdk 1.5.8.
    I don�t have any problem in compiling the files.
    but i could not able to run the program through windows cmd prompt.
    Say name of the java file is newFile (no packages).
    When i try to run the program by using java newFile it raises a ClassNotFoundException.
    it s the same case when try to set any JDBC drivers ..
    is there any problem in my class path settings? Please help me out to fix this problem

    if your current directory is not in the classpath,you should include it in the classpath.
    To do that you can include .(dot) to your classpath variable.
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/classpath.html

  • I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.

    Hi all,
    I could not able to open a .doc,.xls,.ppt inside the iframe tag in IE7.
    what should i do?

    Hi,
    Question is,: when ever i call the .doc,.ppt,.xls files are not coming inside the iframe tag in IE7
    I am keeping the all files in separate storage area lik d:/StorageLoc/Docs/Sample.doc
    when ever i am calling the sample.doc through web,
    http://localhost:8080/VContext/OpenFile
    i am accessing the word,ppt,xsl files inside iframe
    like
    var fils= "d:/StorageLoc/Docs/Sample.doc";
    <iframe src="/VContext/OpenFile?r2=fils"></iframe>
    OpenFile.java [servlet file]
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException
    try
    String s2 = request.getParameter("r2");
    String s3 = null;
    String s4 = "txt";
    if(s3 != null && s3.equals("download"))
    response.setHeader("Content-disposition", "attachment;filename=output." + s4);
    if(s4 != null && s4.equals("pps"))
    response.setContentType("application/vnd.ms-powerpoint");
    if(s4 != null && s4.equals("doc"))
    response.setContentType("application/vnd.word");
    if(s4 != null && s4.equals("tif"))
    response.setContentType("image/tif");
    }else
    response.setHeader("Content-disposition", "inline;");
    if(s4 != null && s4.equals("pdf"))
    response.setContentType("application/pdf");
    else
    response.setContentType("application/octet-stream");
    try
    javax.servlet.ServletOutputStream servletoutputstream = response.getOutputStream();
    File fileFound = new File(s1 + s2);
    if(!fileFound.exists())
    s2 = "Photos/notfound.gif";
    FileInputStream fileinputstream = new FileInputStream(s1 + s2);
    ByteArrayOutputStream bytearrayoutputstream = new ByteArrayOutputStream();
    byte abyte0[] = new byte[0x500000];
    do
    int i = fileinputstream.read(abyte0);
    if(i != -1)
    bytearrayoutputstream.write(abyte0, 0, i);
    } else
    byte abyte1[] = bytearrayoutputstream.toByteArray();
    response.setContentLength(abyte1.length);
    servletoutputstream.write(abyte1, 0, abyte1.length);
    servletoutputstream.flush();
    servletoutputstream.close();
    return;
    } while(true);
    catch(Exception e)
    System.out.println("IGST-INFO:" + e.getMessage());
    e.printStackTrace();
    }

  • I am not able to activate my iPhone 3GS after upgrading it to IOS 5.1.1 since it shows the error message "your iPhone could not be activated because the activation server is temporarily unavailable. I am asked to retry after some time. How can I avoid thi

    i am not able to active my ipone 3gs after upgrat to ios5.1.1. it show error message " your iphone could not be activted because the activation server is temperarily unavailable.try connecting you iphone to itunes to activate it, or try again in a couple of munutes" i retry many time, could not sold problem.

    You had a jailbreak and unlock.
    When you updated you cooked it.
    Your phone is done.
    Time for a new one.

  • Could not able to show a scalar value in Page Header/Group Header of the re

    Hi,
    I could not able to show a scalar value in Page Header/Group Header of the report which is returned from Sub-report. But I am able to display it in both Group Footer and Page Footer.
    I used shared variable in formula filed of both main and sub report and both are placed in the main and sub-report.
    Please do needful.
    Thanks & Regards,
    Mani G.S.

    You can only show Shared variables in main report in a location after the subreport has executed.
    If you want to show values in page header or group header you must place subreport in a section above these. This is unlikely to be possible so you will have to live with displaying results in Group/page footer.
    Alternatively you can execute subreport twice, once where subreport is hidden in a section above page/group header and pass summary figure you require and then again where you currently have subreport so you can see details as required.
    Ian

  • HT3775 I am not able to convert movies, keep getting this message The document "The Walking Dead Trailer - YouTube-2.mp4" could not be opened. The movie's file format isn't recognized. not sure why, anybody know

    I am not able to convert movies, keep getting this message The document “The Walking Dead Trailer - YouTube-2.mp4” could not be opened. The movie's file format isn't recognized. not sure why, anybody know

    Sounds like someone ripped the movie off of YouTube and it got corrupted in the process. Try getting the movie file again, or try using an alternative movie player such as VLC: http://www.videolan.org

Maybe you are looking for

  • Allocating an item as a resource in Project 2010

    Hello I am trying to construct a Master Project Program using a resource pool. The sub projects are various manufacturing programs using common resources. Some of the resources I want to use are materials, specifically key production areas of a fixed

  • Alert text color

    Hi! Should be simple...I try to change the color of the text in an Alert.. Tried this: Alert color: 0x000000; but it doesnt work. Get this message: The CSS type selector ''Alert" was not processed, because the type was not used in the application Any

  • How to replace single backslash(\) to double backslash(\\)

    Hi I want to replace single backslash to double backslash from the string. Code is here String data="File name :\n.txt;File name:\t.txt";                data = data.replace("\\","\\\\"); System.out.println("-->" +data); i tried to this code but its n

  • Exchange rate and BOM price update

    Dear all, I would like to update the price of my BOMs, in which I have components with prices in different currencies, according to the current exchange rate. I saw that if I use the yellow triangle at the bottom of the BOM's form I get the right val

  • Re-installing Lightroom 4 and Photoshop CS6

    I intend to upgrade Windows 7 32 bit to 64 bit, which apparently means a clean install. Can I back up both Lightroom 4 and Photoshop CS6 for re-installation or will I have to make a fresh install from the discs. Furthermore CS6 was an upgrade to CS4