Unable to store data into the Table(R/3)

Dear All,
our requirment is to store few records into the Table in R/3.
We have update RFC which takes input arguments as AbstractList , the following is the code used to store data in the table(R/3)
Zhr_Update input = new Zhr_Update();
AbstractList list= new Zhr_Aprsl_Crs.Zhr_Aprsl_Crs_List();
for(in i=0;i<wdContext.DvelpmntCodes().size();i++)
  crs= new Zhr_Aprsl_Crs();
  crs.setcid(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcode(i));
  crs.setDesp(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcodDesp(i));
   crs.setYear(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcodeYear(i));
list.add(crs);;
input.setcrs_chr_data(list);
wdContext.Zhr_Update_Input().bind(input);
wdContext.nodeZhr_Update_Input().currentZhr_Update_InputElement().modelObject().execute();
The RFC is executing sucessfully without errors but data is not stored in the R/3 table
Thanks,
vijay.
Edited by: vijay krishna on Oct 12, 2009 11:21 AM

Hi,
Use the following code to fix the issue
for(in i=0;i<wdContext.DvelpmntCodes().size();i++)
crs= new Zhr_Aprsl_Crs();
crs.setcid(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcode(i));
crs.setDesp(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcodDesp(i));
crs.setYear(wdContext.DvelpmntCodes().getDvelpmntCodesElementAt(i).getcodeYear(i));
input.addcrs_Obj_data(crs);
wdContext.nodeZhr_Update_Input().moveNext();
wdContext.Zhr_Update_Input().bind(input);

Similar Messages

  • INSERTION OF XML DATA INTO THE TABLE USING XMLDOM

    hello,
    i am using XMLDOM to insert the data into the table
    i am using different function of it.
    but i am facing the problem to retrive the the multiple entry.
    like in my example i have two entry of the ' po number '
    & i am using the function
    dbms_xmldom.item(l_nodelist, 0)
    i which i have to pass index no.
    & through this i am getting only single entry according to the index no.
    Example on which i am working is
    declare
    l_xml_data CLOB;
    l_xml_doc dbms_xmldom.domdocument;
    l_nodelist dbms_xmldom.DOMNodeList;
    l_node dbms_xmldom.domnode;
    l_xmltype XMLTYPE;
    l_po_num VARCHAR2(30);
    l_cust_ord VARCHAR2(30);
    l_item_code VARCHAR2(30);
    begin
    l_xml_data := '<?xml version="1.0" encoding="UTF-8"?>
    <!--DOCTYPE MobileInventoryResponse SYSTEM "MobileInventoryResponse.dtd"-->
    <MobileInventoryResponse>
         <message>
              <message-header>
                   <message-id>16244182</message-id>
                   <transaction-name>ship-advice</transaction-name>
                   <partner-name>cbeyond</partner-name>
                   <source-url>http://www.brightpoint.com</source-url>
                   <create-timestamp>20080826150709</create-timestamp>
                   <response-request>1</response-request>
              </message-header>
              <ship-advice>
                   <header>
                        <customer-id>297859</customer-id>
                        <shipment-information>
                             <ship-first-name>RA_13Aug_1</ship-first-name>
                             <ship-last-name>MIND</ship-last-name>
                             <ship-address1>test</ship-address1>
                             <ship-city>test</ship-city>
                             <ship-state>VA</ship-state>
                             <ship-post-code>22102-4931</ship-post-code>
                             <ship-country-code>US</ship-country-code>
    <ship-phone1>0040726335068</ship-phone1>
    <ship-email>[email protected]</ship-email>
    <ship-via>FX01</ship-via>
    <ship-request-date>20080826</ship-request-date>
    <ship-request-warehouse>CBY1</ship-request-warehouse>
    </shipment-information>
    <purchase-order-information>
    <purchase-order-number>380928</purchase-order-number>
    <purchase-order-number>380929</purchase-order-number> ----modi by Ananda Dubey
    <account-description/>
    <purchase-order-amount>0.0</purchase-order-amount>
    <currency-code>USD</currency-code>
    </purchase-order-information>
    <order-header>
    <customer-order-number>0002759</customer-order-number>
    <customer-order-date>20080826</customer-order-date>
    <order-sub-total>19.0</order-sub-total>
    <order-discount>0.0</order-discount>
    <order-tax1>0.0</order-tax1>
    <order-tax2>0.0</order-tax2>
    <order-tax3>0.0</order-tax3>
    <order-shipment-charge>18.0</order-shipment-charge>
    <order-total-net>0.0</order-total-net>
    <order-status>Completed</order-status>
    <order-type/>
    <brightpoint-order-number>35028788</brightpoint-order-number>
    <warehouse-id>CBY1</warehouse-id>
    <ship-date>20080826</ship-date>
    </order-header>
    </header>
    <detail>
    <line-item>
    <line-no>1</line-no>
    <item-code>SKU1</item-code>
    <universal-product-code>0</universal-product-code>
    <ship-quantity>1.0</ship-quantity>
    <unit-of-measure>EA</unit-of-measure>
    <serial-list>
    <serial-numbers>
    <esn>TIMI000013</esn>
    </serial-numbers>
    </serial-list>
    <line-status/>
    <base-price>0.0</base-price>
    <line-discount>0.0</line-discount>
    <line-tax1>0.0</line-tax1>
    <line-tax2>0.0</line-tax2>
    <line-tax3>0.0</line-tax3>
    <bill-of-lading>929406733828</bill-of-lading>
    <scac>FX01</scac>
    </line-item>
    </detail>
    </ship-advice>
    <transactionInfo>
                   <eventID>16244182</eventID>
              </transactionInfo>
         </message>
    </MobileInventoryResponse>';
    l_xml_doc := dbms_xmldom.newDomDocument(l_xml_data);
    -- Method 1 to get data
    l_nodelist := dbms_xmldom.getelementsbytagname(l_xml_doc, 'purchase-order-number');
    l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from list
    l_po_num := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_node));
    dbms_output.put_line(l_po_num);
    l_nodelist := dbms_xslprocessor.selectnodes(dbms_xmldom.makenode(l_xml_doc),
    '/MobileInventoryResponse/message/ship-advice/detail/line-item/item-code');
    l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from list
    l_item_code := dbms_xmldom.getnodevalue(dbms_xmldom.getfirstchild(l_node));
    dbms_output.put_line(l_item_code);
    l_xmltype := XMLTYPE(l_xml_data);
    l_cust_ord := l_xmltype.extract('/MobileInventoryResponse/message/ship-advice/header/order-header/customer-order-number/text()').getStringVal();
    dbms_output.put_line(l_cust_ord);
    dbms_xmldom.freeDocument(l_xml_doc);
    end;
    /

    In the following code
    l_nodelist := dbms_xmldom.getelementsbytagname(l_xml_doc, 'purchase-order-number');
    l_node := dbms_xmldom.item(l_nodelist, 0); -- gets first item from listYou need to understand what the second parm on the .item call does. See [dbms_xmldom.item|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_xmldom.htm#i1126138]
    The nodelist is a 0 based array of information and you are only requesting to pull the node info in the first array position. So to get the info in the second array position, you need to use ", 1)". You can also use .getLength and a loop to parse through everything in the node list.

  • Unable to View Data in the table of a  CDC enabled Data Store.

    hi all,
    I am trying to import some tables from the external metadata from my CDC enabled datastore, but after importing the tables i m unable to view the data in the table,
    where as the same table in a normal datastore (Without CDC) is showing data in the Desginer.
    Can anyone help me out???
    is there any settings which we need to do, to see the data in a CDC enabled DS.

    any help ????

  • I can't insert my data into the table - help please

    Hello everyone,
    I have a trouble about JSP. I'm using Java2 SDK,JSP 1.2,Mysql and TOMCAT.
    I want to do this. A user has to enter the nicno,into the html form(EnterNicInter.jsp),to verify if it is already exist or not. If it is exist in the db, an error msg(Record already exist) must be displayed. If not, then the page "InterviewForm.jsp" displayed. This part is working.
    But, I can't save these details into the db by clicking submit button int the InterviewForm.jsp.
    I wrote a javaBean for this task. Here is it.
    CandidateMgr.java
    package hrm;
    import java.io.*;
    import java.sql.*;
    public class CandidateMgr
         private String nicno;
            private String title;
            private String firstName;
         private String civilStatus;
            private String tele;
            private String eduQua;
         // Constructor
         public CandidateMgr()
              this.nicno = nicno;
              this.title = title;
              this.firstName = firstName;
              this.civilStatus= civilStatus;
              this.tele = tele;
              this.eduQua = eduQua;
              //getters & setters.
               // Initializes the connection and statements
            public void initConnection() {
                    if (connection == null) {
                 try {
                          String sql;
                          // Open the database
                          Class.forName(DRIVER).newInstance();
                          connection = DriverManager.getConnection(URL);
                          //Verify nicno
                          sql="SELECT * FROM Candidate where nicNo= ?";          
                   pstmt1 = connection.prepareStatement(sql);
                   sql ="INSERT INTO Candidate                               
                   VALUES(?,?,?,?,?,?)";
                   pstmt2 = connection.prepareStatement(sql);
             catch (Exception ex) {
                System.err.println(ex.getMessage());
         public boolean verifyNicNo(){
              boolean nic_no_select_ok = false;
              String nic="xxxx";
              initConnection();
                    try {
                       pstmt1.setString(1, nicno);
                   ResultSet rs1 = pstmt1.executeQuery();               
                                if(rs1.next()){
                        nic=rs1.getString("nicNo");
                               if(nic=="xxxx")
                        nic_no_select_ok = true;
                   } else{
                        nic_no_select_ok = false;     
                   rs1.close();
                           pstmt1.close();
                    catch (Exception ex) {
                      System.err.println(ex.getMessage());
              return nic_no_select_ok;
         public boolean addInter(){
              boolean add_inter_ok = false;
              try{
                      //assign values for the object
                   pstmt2.setString(1, nicno);   //      ERROR(java:652)
                   pstmt2.setString(2, title);
                   pstmt2.setString(3, firstName);
                   pstmt2.setString(4, civilStatus);
                   pstmt2.setString(5, tele);     
                   pstmt2.setString(6, eduQua);
                   if(pstmt2.executeUpdate()==1) add_inter_ok=true;
                   pstmt2.close();  
                  catch(SQLException e2){
                           System.err.println(e2.getMessage());
              return add_inter_ok;
    IntreviewForm.jsp (used to submit data into the db)
    <form method="POST" action="InterviewCtrl.jsp">
         //codes
    <input type="text" name="nicno" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="title" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="firstName" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="civilStatus" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="tele" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    <input type="text" name="eduQua" size="14" style="border:1px solid #0000FF;           
    color: #FF0000; font-weight: bold">
    </form>.......................................................................
    Here is the "InterviewCtrl.jsp"
    <%@ page language="java" import="java.util.*"%>
    <%@ page import="hrm.CandidateMgr" %>
    <%@ page session="false" %>
    <jsp:useBean id="candidate" class="hrm.CandidateMgr" scope="request"/>
    <jsp:setProperty name="candidate" property="*"/>
    <%-- Execute the addInter() method on the bean and check if it is true or false.-- %>
    <%-- if it's true then display a confirmation message "InterConfirm.html" --%>
    <%-- else display InterError.html --%>
    <%
    String nextPage ="MainForm.jsp";
    if(candidate.addInter()){
         nextPage="InterConfirm.html";
         }else{
         nextPage="InterError.html";
    %>
    <jsp:forward page="<%=nextPage%>"/>.......................................................................
    Here is the error:(I mark it in my bean also)
    root cause
    java.lang.NullPointerException
         at hrm.CandidateMgr.addInter(CandidateMgr.java:652)
         at org.apache.jsp.InterviewCtrl_jsp._jspService(InterviewCtrl_jsp.java:66)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    I use JSP 1.2 , mySQL with TOMCAT. My table name is Candidate.It's fields are as follows:
    Candidate(nicNo,title,fName,civilStatus,tele,eduQua)
    Can anybody tell me whats going on, help me to solve this please.
    Thanks.

    you should try something different, since you are mixing up a lot of code.
    1) create a separate method just to connect and disconnect from a database;
    2) use the value entered and see if you can find a record in the table. If the record is there, then you should re-direct your jsp to a jspError, else goes to another form.
    the code below give you some idea
          if( sAction.equals("Add1") ) {
            sITEM = request.getParameter("parameter1");
            try {
              itemmaster.connect();
              itemmaster.viewitemmaster( sITEM );
              rs = itemmaster.getRs();
              if( rs.next() ) {
                sURL = "additemmaster1.jsp";
              else {
                request.setAttribute( "asITEM", sITEM );
                sURL = "additemmaster2.jsp";
            finally {
              rs.close();
              itemmaster.disconnect();
          }

  • Want to Read the a txt file and put the data into the table colums.

    I have a text file in which data is piped separated and I want to put the data in the table column.
    Eg.
    Text File Column
    First_name|Last_name|address|phone_number
    Database table:
    first_name ,last_name,address,phone_number
    It's very urgent.
    Thanks For your help in advance.
    Himanshu

    Use sqlldr or external file.
    See http://download.oracle.com/docs/cd/E11882_01/server.112/e10701/part_ldr.htm#i436326 for SQL Loader.
    See http://download.oracle.com/docs/cd/E11882_01/server.112/e10595/tables013.htm#ADMIN11705 for External table.

  • ORA-1013 when trying to insert data into the table

    Hi,
    While inserting record into a table, we are getting the following error:
    ORA-1013
    01013, 00000, "user requested cancel of current operation"
    I could not find any information in alert log also.
    We have a bitmap index on this table. However, we never got this error till now.
    Also i found that the tablespace who stores data has lot of space and tablespace which consists of the indexes is close to 90% full today ( i dont know what was the space available yesterday when there was error).
    I know that information i provided might be very less, but i gave as much information as i can provide.
    Can you please help me in trouble shooting this problem.
    Thank you
    Giridhar

    Sorry. i forgot to give version information
    Oracle version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    OS: SunOS 5.10
    we got it only once yesterday. only for one table. not for any other tables.
    Thanks aalap for your quick response.
    Giridhar

  • Unable to insert rows into the table

    My insert statement below is not correct, when i try run, its encoutering error "table or view does not exist".
    Basically what i am doing here is collecting the table name in FOR variable which stores the table name in this variable. This variable, i am using as table. I know this is not the proper way, please let me how can insert the complete table rows with the following code.
    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM Comp WHERE 1=2;
    DECLARE
         I INTEGER DEFAULT 1;
    S VARCHAR2(50);
    begin
    for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CABLE%' and TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
    INSERT INTO TEMP SELECT * FROM c.TABLE_NAME;
    dbms_output.put_line(c.table_name);
    end loop;
    end;
    The above insert statement is not correct. How can i write proper way.
    Thanks.
    Best Regards
    Arshad

    user13360241 wrote:
    My insert statement below is not correct, when i try run, its encoutering error "table or view does not exist".
    Basically what i am doing here is collecting the table name in FOR variable which stores the table name in this variable. This variable, i am using as table. I know this is not the proper way, please let me how can insert the complete table rows with the following code.
    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM Comp WHERE 1=2;
    DECLARE
         I INTEGER DEFAULT 1;
    S VARCHAR2(50);
    begin
    for C in (select TABLE_NAME INTO S from USER_TABLES where TABLE_NAME like 'CABLE%' and TABLE_NAME NOT like '%OLD' and Num_ROWS > 0 order by TABLE_NAME) loop
    INSERT INTO TEMP SELECT * FROM c.TABLE_NAME;
    dbms_output.put_line(c.table_name);
    end loop;
    end;
    The above insert statement is not correct. How can i write proper way.
    Thanks.
    Best Regards
    ArshadSTMT := 'INSERT INTO TEMP SELECT * FROM ';
    STMT := STMT || S;
    EXECUTE IMMEDIATE STMT;

  • Unable to insert data in the table

    Hi,
    I've a document which has a doctype that points to a URL. When I try to insert this document in the table (xmltype column), I am getting the following errors:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00263: couldn't connect to host URL port 80
    Error at line 2
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    Can someone please suggest how should I resolve this issue?
    Thanks in advance for all your help.

    Hi,
    Have you just added a new field or you have adjusted the dimensions of the cube along with that. Any change in dimension or change in structure you need to delete the data and reload.
    Regards
    Akhan

  • Data into the Tables.

    Hi,
    I thought of putting my question in the forum. The question is, when we are doing some changes in the forms applications in oracle apps and save the data, is there anyway that i can know to how many and which tables the data is getting saved to?? Because, in OAFramework, its simple as the goes to the VO and we can check the VO query to know the tables but what about the forms??
    I know the Examine feature but is there any other way to find the exacty tables where the data is going to get saved??
    Thanks and have a nice weekend.

    Prasanna, I checked. To explain you in brief, i changed some phone number and preferred name values in a new custom page i created and i also enabled the trace before making changes to the data.
    Now when i checked the file i see the below information but i don't see any information related to the phone numbers,per_phones or per_all_people_f tables.
    TKPROF: Release 8.0.6.3.0 - Production on Mon Apr 13 14:02:58 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Trace file: /home/pkotharu/ts01_ora_1761462_MSALAH.trc
    Sort options: default
    count = number of times OCI procedure was executed
    cpu = cpu time in seconds executing
    elapsed = elapsed time in seconds executing
    disk = number of physical reads of buffers from disk
    query = number of buffers gotten for consistent read
    current = number of buffers gotten in current mode (usually for update)
    rows = number of rows processed by the fetch or execute call
    alter session set events='10046 trace name context forever, level 1'
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 3 0.00 2.48 0 0 0 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 3 0.00 2.48 0 0 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS) (recursive depth: 1)
    BEGIN fnd_trace.start_trace(:1); END;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 3 100.00 78.42 0 0 0 3
    Fetch 0 0.00 0.00 0 0 0 0
    total 3 100.00 78.42 0 0 0 3
    Misses in library cache during parse: 0
    Misses in library cache during execute: 3
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    BEGIN fnd_trace.stop_trace(:1); END;
    call count cpu elapsed disk query current rows
    Parse 1 0.00 4.10 0 0 0 0
    Execute 3 0.00 43.40 0 0 0 3
    Fetch 0 0.00 0.00 0 0 0 0
    total 4 0.00 47.50 0 0 0 3
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    ALTER SESSION SET SQL_TRACE=FALSE
    call count cpu elapsed disk query current rows
    Parse 3 0.00 1.75 0 0 0 0
    Execute 3 0.00 2.39 0 0 0 0
    Fetch 0 0.00 0.00 0 0 0 0
    total 6 0.00 4.14 0 0 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS) (recursive depth: 1)
    select spid
    from
    v$process where addr in (select paddr from v$session where audsid =
    userenv('sessionid'))
    call count cpu elapsed disk query current rows
    Parse 3 0.00 47.60 0 0 0 0
    Execute 3 0.00 0.74 0 0 0 0
    Fetch 3 0.00 112.12 0 0 0 3
    total 9 0.00 160.46 0 0 0 3
    Misses in library cache during parse: 1
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    Rows Row Source Operation
    1 MERGE JOIN
    148 FIXED TABLE FULL X$KSUPR
    1 SORT JOIN
    1 VIEW
    1 SORT UNIQUE
    1 FIXED TABLE FULL X$KSUSE
    error during parse of EXPLAIN PLAN statement
    ORA-01039: insufficient privileges on underlying objects of the view
    parse error offset: 88
    SELECT VALUE
    FROM
    ICX_SESSION_ATTRIBUTES WHERE SESSION_ID = :B2 AND NAME = :B1
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 4 0.00 1.00 0 0 0 0
    Fetch 4 0.00 0.59 0 12 0 0
    total 8 0.00 1.59 0 12 0 0
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS) (recursive depth: 1)
    Rows Execution Plan
    0 SELECT STATEMENT GOAL: CHOOSE
    0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
    'ICX_SESSION_ATTRIBUTES'
    0 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF
    'ICX_SESSION_ATTRIBUTES_U1' (UNIQUE)
    declare val varchar2(256);begin :1 :=
    fnd_session_management.GETSESSIONATTRIBUTEVALUE(:2,:3);end;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 4 100.00 53.14 0 0 0 4
    Fetch 0 0.00 0.00 0 0 0 0
    total 4 100.00 53.14 0 0 0 4
    Misses in library cache during parse: 0
    Misses in library cache during execute: 1
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    SELECT USER_ID, RESPONSIBILITY_ID, RESPONSIBILITY_APPLICATION_ID, ORG_ID,
    FUNCTION_ID,DATE_FORMAT_MASK, LANGUAGE_CODE, NLS_LANGUAGE,
    NLS_DATE_LANGUAGE, NLS_NUMERIC_CHARACTERS, NLS_SORT, NLS_TERRITORY,
    SECURITY_GROUP_ID, LOGIN_ID
    FROM
    ICX_SESSIONS WHERE XSID=:1
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.43 0 0 0 0
    Fetch 1 0.00 0.44 0 4 0 1
    total 2 0.00 0.87 0 4 0 1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    Rows Execution Plan
    0 SELECT STATEMENT GOAL: CHOOSE
    0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
    'ICX_SESSIONS'
    0 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'ICX_SESSIONS_U2'
    (UNIQUE)
    SELECT SESSION_ID
    FROM
    ICX_SESSIONS WHERE XSID = :B1
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.27 0 0 0 0
    Fetch 1 0.00 0.20 0 4 0 1
    total 2 0.00 0.47 0 4 0 1
    Misses in library cache during parse: 0
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS) (recursive depth: 1)
    Rows Execution Plan
    0 SELECT STATEMENT GOAL: CHOOSE
    0 TABLE ACCESS GOAL: ANALYZED (BY INDEX ROWID) OF
    'ICX_SESSIONS'
    0 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF 'ICX_SESSIONS_U2'
    (UNIQUE)
    begin :1 := fnd_session_utilities.XSID_to_SessionID(:2);end;
    call count cpu elapsed disk query current rows
    Parse 0 0.00 0.00 0 0 0 0
    Execute 1 0.00 51.58 0 0 0 1
    Fetch 0 0.00 0.00 0 0 0 0
    total 1 0.00 51.58 0 0 0 1
    Misses in library cache during parse: 0
    Misses in library cache during execute: 1
    Optimizer goal: CHOOSE
    Parsing user id: 181 (APPS)
    OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 4 0.00 51.70 0 0 0 0
    Execute 15 200.00 227.71 0 0 0 11
    Fetch 4 0.00 112.56 0 4 0 4
    total 23 200.00 391.97 0 4 0 15
    Misses in library cache during parse: 2
    Misses in library cache during execute: 5
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call count cpu elapsed disk query current rows
    Parse 5 0.00 2.27 0 0 0 0
    Execute 13 0.00 6.52 0 0 0 0
    Fetch 7 0.00 1.16 0 20 0 3
    total 25 0.00 9.95 0 20 0 3
    Misses in library cache during parse: 0
    16 user SQL statements in session.
    2 internal SQL statements in session.
    18 SQL statements in session.
    3 statements EXPLAINed in this session.
    Trace file: /home/pkotharu/ts01_ora_1761462_MSALAH.trc
    Trace file compatibility: 7.03.02
    Sort options: default
    1 session in tracefile.
    16 user SQL statements in trace file.
    2 internal SQL statements in trace file.
    18 SQL statements in trace file.
    11 unique SQL statements in trace file.
    3 SQL statements EXPLAINed using schema:
    APPS.prof$plan_table
    Default table was used.
    Table was created.
    Table was dropped.
    178 lines in trace file.

  • Unable to load data in to table using sqlloader

    Hi,
    Oracle Version :10.2.0.1
    Operating system:windows Xp
    I was unable to load the data in to table from csv file .Can any one please help me .
    Here is the output of my log file
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jun 3 12:43:22 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Control File:   ach_staging.ctl
    Data File:      E:\SQL LOADER\ACH_STAGING.csv
      Bad File:     E:\SQL LOADER\load_bad.bad
      Discard File: E:\SQl LOADER\emp.dsc
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array:     64 rows, maximum of 256000 bytes
    Continuation:    none specified
    Path used:      Conventional
    Table ACH_STAGING, loaded from every logical record.
    Insert option in effect for this table: INSERT
    TRAILING NULLCOLS option in effect
       Column Name                  Position   Len  Term Encl Datatype
    ACH_CODE                            FIRST     *   ,  O(") CHARACTER           
    LOAN_CODE                            NEXT     *   ,  O(") CHARACTER           
    LOAN_TYPE                            NEXT     *   ,  O(") CHARACTER           
    TRAN_ID                              NEXT     *   ,  O(") CHARACTER           
    BO_CODE                              NEXT     *   ,  O(") CHARACTER           
    BO_NAME                              NEXT     *   ,  O(") CHARACTER           
    ST_CODE                              NEXT     *   ,  O(") CHARACTER           
    ACH_TYPE                             NEXT     *   ,  O(") CHARACTER           
    ACH_EFFECTIVE_DATE                   NEXT     *   ,  O(") CHARACTER           
    AMT                                  NEXT     *   ,  O(") CHARACTER           
    CHECK_ACCNT_NO                       NEXT     *   ,  O(") CHARACTER           
    ABA_CODE                             NEXT     *   ,  O(") CHARACTER           
    ACH_STATUS                           NEXT     *   ,  O(") CHARACTER           
    TRAN_STATUS                          NEXT     *   ,  O(") CHARACTER           
    IS_HOLD                              NEXT     *   ,  O(") CHARACTER           
    IS_CANCELLED                         NEXT     *   ,  O(") CHARACTER           
    COMMENTS                             NEXT     *   ,  O(") CHARACTER           
    UPDATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_UPDATED                         NEXT     *   ,  O(") CHARACTER           
    CREATED_BY                           NEXT     *   ,  O(") CHARACTER           
    DATE_CREATED                         NEXT     *   ,  O(") CHARACTER           
    LOAN_TRAN_CODE                       NEXT     *   ,  O(") CHARACTER           
    ACH_AUTH                             NEXT     *   ,  O(") CHARACTER           
    REBATE_AMT                           NEXT     *   ,  O(") CHARACTER           
    PROMOTION_AMT                        NEXT     *   ,  O(") CHARACTER           
    TDC_ACH_NO                           NEXT     *   ,  O(") CHARACTER           
    INST_NUM                             NEXT     *   ,  O(") CHARACTER           
    DISABLE_ACH                          NEXT     *   ,  O(") CHARACTER           
    STMT_NO                              NEXT     *   ,  O(") CHARACTER           
    NEW_LOAN_TRAN_CODE                   NEXT     *   ,  O(") CHARACTER           
    REVOKED_BY                           NEXT     *   ,  O(") CHARACTER           
    REVOKED_DATE                         NEXT     *   ,  O(") CHARACTER           
    CHECK_STATUS                         NEXT     *   ,  O(") CHARACTER           
    value used for ROWS parameter changed from 64 to 30
    Record 1: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 2: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 3: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 4: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 5: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 6: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 7: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 8: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 9: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 10: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 11: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 12: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 13: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 14: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 15: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 16: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 17: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 18: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 19: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 20: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 21: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 22: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 23: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 24: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 25: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 26: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 27: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 28: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 29: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 30: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 31: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 32: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 33: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 34: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 35: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 36: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 37: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 38: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 39: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 40: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 41: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 42: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 43: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 44: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 45: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 46: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 47: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 48: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 49: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 50: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    Record 51: Rejected - Error on table ACH_STAGING, column ACH_EFFECTIVE_DATE.
    ORA-01830: date format picture ends before converting entire input string
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table ACH_STAGING:
      0 Rows successfully loaded.
      51 Rows not loaded due to data errors.
      0 Rows not loaded because all WHEN clauses were failed.
      0 Rows not loaded because all fields were null.
    Space allocated for bind array:                 255420 bytes(30 rows)
    Read   buffer bytes: 1048576
    Total logical records skipped:          0
    Total logical records read:            60
    Total logical records rejected:        51
    Total logical records discarded:        0
    Run began on Thu Jun 03 12:43:22 2010
    Run ended on Thu Jun 03 12:43:23 2010
    Elapsed time was:     00:00:00.17
    CPU time was:         00:00:00.10
    {code}
    and the data from the CSV file is
    {code}
    1767641     7537506     ILP     ADV     506703     MICHELLE WHITE     -40     CRE     07-NOV-08 01.36.04.000000000 PM     650               INP     PRO     N     N          54564     06-NOV-08 06.06.28.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2060997     PPD     0     0          0     N     1                    ACH
    1767642     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     28-NOV-08 09.00.17.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061201     PPD     0     0          1     N     1                    ACH
    1767643     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-DEC-08 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-DEC-08 09.00.16.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2061614     PPD     0     0          2     N     1                    ACH
    1767644     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     31-DEC-08 09.00.55.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2063375     PPD     0     0          3     N     1                    ACH
    1767645     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JAN-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     15-JAN-09 09.01.10.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064023     PPD     0     0          4     N     1                    ACH
    1767646     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-FEB-09 12.00.00.000000000 AM     76.5               INP     PRO     N     N     Updated During EOD PAY : ACH     1     30-JAN-09 09.00.22.000000000 PM     54562     06-NOV-08 01.36.04.000000000 PM     2064639     PPD     0     0          5     N     1                    ACH
    1767647     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-FEB-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          6     N     1                    ACH
    1767648     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     02-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          7     N     1                    ACH
    1767649     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-MAR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          8     N     1                    ACH
    1767650     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          9     N     1                    ACH
    1767651     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-APR-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          10     N     1                    ACH
    1767652     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          11     N     1                    ACH
    1767653     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     18-MAY-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          12     N     1                    ACH
    1767654     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          13     N     1                    ACH
    1767655     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUN-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          14     N     1                    ACH
    1767656     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     01-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          15     N     1                    ACH
    1767657     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     16-JUL-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          16     N     1                    ACH
    1767658     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     03-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          17     N     1                    ACH
    1767659     7537506     ILP     PAY     506703     MICHELLE WHITE     -40     DEB     17-AUG-09 12.00.00.000000000 AM     76.5               NOP     NOP     N     Y     Cancelled during Payment By -> BUY : ACH     54605     13-FEB-09 09.03.23.000000000 AM     54562     06-NOV-08 01.36.04.000000000 PM     1778544     PPD     0     0          18     N     1                    ACH
    {CODE}
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    At last i was able to insert the data into the table but here i am facing another problem i the csv file i am having some null values in the data because of that only few records was inserted and remaining data was not inserted.
    Here is the syntax what i am using to insert even null values are present
        ACH_EFFECTIVE_DATE "to_timestamp(:ACH_EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=BLANKSand the error what i am getting is
    E:\SQL LOADER>sqlldr userid=rr/rr control=ach_staging.ctl log=ss1.log
    SQL*Loader: Release 10.2.0.1.0 - Production on Fri Jun 4 12:24:32 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    SQL*Loader-350: Syntax error at line 16.
    Expecting "," or ")", found keyword nullif.
    EFFECTIVE_DATE,'DD-MON-RR HH.MI.SSXFF AM')" NULLIF ACH_EFFECTIVE_DATE=
                                                ^
    {code}
    can any one please help me what is the correct syntax i need to user here .
    Thanks & Regards,
    Poorna Prasad.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Uploading spreadsheet data into the database

    Hi
    I want to upload the spreadsheet data into the database through front end...I dont have any idea how to do upload without using the 'utilities' option..Can anyone please help me to do this?
    Thanks in advance
    Fazila

    Hi
    I refered the example sent by vikas...but i could not understand..I dont need to specify table name in runtime...my requirement is that I will have the constant table(say MD look up table)...and I will have some data under the column heading( say repid,split name)...
    Now I want to import my spreadsheet data which are under the heading repid and split name through my front end application and I have the option whether to 'overwrite' the records or 'append' the new records...after clicking the necessary option..I want to import my spread sheet data into the table defined already...and my another requirement is that I want to check the duplication of data between the spreadsheet and table...If I find the duplicates, I have to omit it and store the remaing details....
    Please give me some guidelines to solve this problem....
    Thanks in advance
    Fazila

  • Loading data into a table

    I am loading data into a table I created which includes a column "Description" with a data type VARCHAR2(1000). When I go to load the data which is less than 1000 characters I receive the following error message:
    Record 38: Rejected - Error on table SSW_INPUTS, column DESCRIPTION.
    Field in data file exceeds maximum length
    I have increased the size of the column but that does not seem to fix the error. Does anyone know what this error means? Another thought is that I have created the "Description" column to large...which can't be true because I should receive the error when I create the table. Plus I already inputted data into a similar table with similar data and had no problems!
    Someone please help...
    Thank you,
    April.

    Note that I'm assuming Oracle8(i) behavior. Oracle9 may treat Unicode differently.
    Are you inserting Unicode data into the table? Declaring a variable as varchar2(1000) indicates that Oracle should reserve 1000 bytes for data. If you're inserting UTF-8 encoded data, each character may take up to 3 bytes to store. Thus, 334 characters of data could theoretically overflow a varchar2(1000) variable.
    Note that UTF-8 is designed so that the most commonly used characters are stored in 1 byte, less commonly used characters are stored in 2 bytes, and the remainder is stored in 3 bytes. On average, this will require less space than the more familiar UCS-2 encoding which stores every character as 2 bytes of data.
    Justin

  • How to input data into a table with columns?

    I am trying to input data into a table.  My table have 5 columns and an unlimited amount of rows.  I created a program in LabView that enters the data into the table but it enters all of the data in one row.  I would like to enter the first set of information into the first column, the second set of info into the second  column and so on.  I am including a copy of the program that I am working with.  I would like the number of runs to be put into the first column (it should count down like number 5 in first row, number 4 in second row, number 3 in third row, and so on).  I would like the applied voltage to be placed in the second column, and so on.  Any help or information will be greatly appreciated.  I am working with LabView Version 6.1 and 8.0.  I am submitting the vi from 6.1. 
    Attachments:
    FJ-PROGRAM.vi ‏68 KB

    Pondered,
    I looked at your code and I think you might be making things too complicated. I've included a very simple example that demonstrates how to write a 2D array of integers to a table. Hope you find this helpful. It is in LV 7.1.
    Chris C
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect
    Attachments:
    rows - columns.vi ‏17 KB

  • Data in the table changes when multiple users try to submit data

    I have a dynamic table. The table is created in the wdDoModifyView. The user can load data into the table from an excel file. So I have a "Load" button that loads the data from the selected excel file to the table. I also have a "Submit" button. This "Submit" button converts the data to an xml file and make a call to an oracle stored procedure for validation check. If there's an error it will be returned and displayed to the user. If none, a summary of data for posting will be displayed to the user. If the data is correct and the user hit the ok button, the same data will be return to oracle sp for loading in the table.
    The problem we encountered is when multiple users are loading and submitting at the same time, the data displayed in the dynamic tables changes after clicking the ok button. It is as if, the table displays the data being loaded by other user.
    This is an error that is difficult to recreate. This doesn't happen all the time. I hope you somebody could enlighten me why this is happening. I'm not sure if it has something to do with multithreading or session.
    Edited by: Marlyn Agco on Apr 14, 2009 3:57 PM

    Hi Armin,
    Did you mean storing view instances in static references and accessing them outside the wdDoModifyView is not a good idea? In wdDoInit the nodes are dynamically created according to the xml file being returned by the database. This node is stored in a static variable which is also used in wdDoModifyView to create the dynamic table.
    What do you suggest? We're still encountering same issue when multiple users are uploading data.

  • Error while inserting data into a table.

    Hi All,
      I created a table.While inserting data into the table i am getting an error.Its telling "Create data Processing Function Module".Can any one help me regarding this?
    Thanx in advance
    anirudh

    Hi Anirudh,
      Seems there is already an entry in the Table with the same Primary Key.
    INSERT Statement will give short dump if you try to insert data with same key.
    Why dont you use MODIFY statement to achieve the same.
    Reward points if this Helps.
    Manish

Maybe you are looking for