Getting Error While inserting a record in table PDSNR through Tcode PA30

Hi Experts,
Im doing a transaction in  TCode PA30 by entering a pernr and infty as 14 and wage type.
My need is when im entering a particular wage type in PA30 with infotype 14 , for that particular wage type and infotype i need to assign a different cost centre. This requirement was doing now manually by changing the cost centre form EDIT - > Maintain Cost Assignment.
But my Client Needs to do it automatically. by comparing the wage type and infotype the cost centre needs to get automatically updated.
So i use the Enhancement EXIT_SAPFP50M_002 * INCLUDE ZXPADU02.* and wrote coding like below
CASE innnn-infty.
To check whether the record belong to pa0014
If so,check the wage type for the updation
If so update the values of cost center assignments in the table assob and asshe
when '0014'.
if innnn-subty eq '2211'.
Select the last updated sequence number in the table pdsnr
if sy-ucomm eq 'UPD' or sy-ucomm eq 'INS'.
select single * from pa0001 into wa_0001 where pernr eq INNNN-pernr and
                                               endda eq '99991231'.
  if sy-subrc = 0.
call function 'ENQUEUE_EPPRELE'
EXPORTING
   MODE_PREL            = 'E'
   MANDT                = SY-MANDT
   PERNR                = INNNN-pernr
   INFTY                = INNNN-INFTY
   SUBTY                = INNNN-SUBTY
EXCEPTIONS
   FOREIGN_LOCK         = 1
   SYSTEM_FAILURE       = 2
   OTHERS               = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
CLEAR : lv_pdsnr.
select MAX( pdsnr ) from pdsnr into lv_pdsnr.
lv_pdsnr = lv_pdsnr + 1.
    ls_assob-pdsnr = lv_pdsnr.
    ls_assob-pernr = INNNN-pernr.
    ls_assob-bukrs = wa_0001-bukrs. "'1001'.
    ls_assob-gsber = wa_0001-gsber. "'0001'.
    ls_assob-kokrs = wa_0001-kokrs. "'1000'.
    ls_assob-kostl = '1-1361'.
    ls_asshr-pdsnr = lv_pdsnr.
    ls_asshr-pernr = INNNN-pernr.
    ls_asshr-infty = innnn-infty.
    ls_asshr-subty = innnn-subty.
    ls_asshr-begda = sy-datum.
    ls_asshr-endda = '99991231'.
    ls_PDSNR-pdsnr = lv_pdsnr.
    ls_PDSNR-PDGRP = '5B'.
insert into pdsnr values ls_pdsnr.
insert into asshr values ls_asshr.
insert into assob VALUES ls_assob.
call function 'DEQUEUE_EPPRELE'
EXPORTING
   MODE_PREL       = 'E'
   MANDT           = SY-MANDT
   PERNR           = INNNN-pernr
   INFTY           = INNNN-INFTY
   SUBTY           = INNNN-SUBTY.
    ENDIF.
ENDIF.
ENDIF.
COMMIT WORK.
ENDCASE.
This is to update the three tables PDSNR, ASSOB,ASSHR.
Its getting Updated correctly, But when i goto EDIT - > Maintain Cost Assignment to do some changes and while saving the data i get the following Error Message :
You Cannot insert data in table : PDSNR.
Message no. P2715
Can Anyone please suggest me how to solve this issue.
Thanks,
Vijayan.R

Hi. Were you able to fix the error?

Similar Messages

  • Getting error while inserting xmldoc to a table

    I am getting following error .
    ERROR at line 2:
    ORA-06550: line 2, column 6:
    PLS-00103: Encountered the symbol "INSERTXML" when expecting one of the
    following:
    := . ( @ % ;
    The symbol ":=" was substituted for "INSERTXML" to continue.
    Here is my code below.
    CREATE TABLE empleados (empid NUMBER PRIMARY KEY,
    empname VARCHAR2(30),
    empjob VARCHAR2(30),
    empsal NUMBER);
    create or replace procedure InsertXML(xmlDoc IN VARCHAR2, tableName IN VARCHAR2) is
    insCtx DBMS_XMLSave.ctxType;
    rows number;
    begin
    insCtx := DBMS_XMLSave.newContext(tableName); -- get the context handle
    rows := DBMS_XMLSave.insertXML(insCtx,xmlDoc); -- this inserts the document
    dbms_output.put_line(to_char(rows) || ' rows inserted');
    DBMS_XMLSave.closeContext(insCtx); -- this closes the handle
    end;
    begin
    exec InsertXML('<?xml version="1.0"?><ROWSET><ROW num="1"><EMPID>10</EMPID><EMPNAME>Perry Smith
    </EMPNAME><EMPJOB>Manager</EMPJOB><EMPSAL>800</EMPSAL></ROW><ROW num="1"><EMPID>20</EMPID><EMPNAME>J
    ohn Calvach</EMPNAME><EMPJOB>Principal Support Consultant</EMPJOB><EMPSAL>900</EMPSAL></ROW><ROW num
    ="1"><EMPID>30</EMPID><EMPNAME>Louis Bald</EMPNAME><EMPJOB>Technical Specialist</EMPJOB><EMPSAL>400<
    /EMPSAL></ROW><ROW num="1"><EMPID>40</EMPID><EMPNAME>Anthony Flowers</EMPNAME><EMPJOB>Technical Team
    Leader</EMPJOB><EMPSAL>500</EMPSAL></ROW><ROW num="1"><EMPID>50</EMPID><EMPNAME>George Monk</EMPNAM
    E><EMPJOB>Support Consultant</EMPJOB><EMPSAL>200</EMPSAL></ROW></ROWSET>','empleados');
    end;

    I changed the name.But still I get that error.
    Thanks

  • 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

  • Iam getting error while insert .

    HI every one , i getting error while doing insert data into backend table.the error is like this , could you clarify is it possible to change the lookup of sappd1db to other.
    Object not found in lookup of SAPPD1DB.

    Hi Eswar,
    go to J2EE perspective..expend ur Ejb project n now double click on persistent.xml file
    now in right pane first deselect switch off verification ,if its selectd..
    then select  No automatic locking..
    now in datasource name input field u can write ur new datasource sys ID..
    secondly..go to entity bean tab after doin this in same pane
    n expend entity bean
    nw check for ejb field's mapping for corressponding fields ..
    id it shows table is varified by d dictionary thn its fine else u map it wid correct fields..
    now save the changes..n delete ue old .jar file of ejb project n create new..now create new .ear file for application project aftr deleting old one...n deploy new1....
    hpe it hlps u...
    Regards,
    Khushboo

  • DAC Error: Error while inserting a record!

    Hi,
    I want to create a new DAC on my system but I am getting below error while trying to create record or saving any records.
    Can't create reference
    MESSAGE:::INSERT INTO W_ETL_OBJ_REF(OBJ_WID, OBJ_REF_WID, OBJ_TYPE, OBJ_REF_TYPE_CD, APP_WID, LAST_UPD, SOFT_DEL_FLG, ROW_WID) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
    Values :
    KEY : 1
    VALUE : 202CB962AC5975B964B7152D234B70
    KEY : 2
    VALUE : 202CB962AC5975B964B7152D234B70
    KEY : 3
    VALUE : W_ETL_SA
    KEY : 4
    VALUE : 1
    KEY : 5
    VALUE : null
    KEY : 6
    VALUE : 2011-10-12 15:17:11.586
    KEY : 7
    VALUE : N
    KEY : 8
    VALUE : 7716EB6EA78A5B2E2D3C2AE1CF204A2C
    EXCEPTION CLASS::: com.siebel.etl.database.IllegalSQLQueryException
    com.siebel.etl.database.DBUtils.batchUpdate(DBUtils.java:1946)
    com.siebel.etl.gui.util.UncommitUpdateHelper.executeUpdate(UncommitUpdateHelper.java:84)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createReference(BaseDACObject.java:1362)
    com.siebel.analytics.etl.client.data.dataobject.DACObject.createReference(DACObject.java:78)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createUpdateReference(BaseDACObject.java:1274)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createOwnedObject(BaseDACObject.java:565)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.create(BaseDACObject.java:544)
    com.siebel.analytics.etl.client.data.dataobject.UpdatableDataObject.createUpdate(UpdatableDataObject.java:210)
    com.siebel.analytics.etl.client.data.dataobject.DACObject.createUpdate(DACObject.java:213)
    com.siebel.analytics.etl.client.data.dataobject.UpdatableDataObject.createUpdate(UpdatableDataObject.java:198)
    com.siebel.analytics.etl.client.data.model.ResultSetParser.insertNewRecord(ResultSetParser.java:226)
    com.siebel.analytics.etl.client.data.model.UpdatableDataTableModel.insertNewRecord(UpdatableDataTableModel.java:122)
    com.siebel.analytics.etl.client.data.model.DACTableModel.insertNewRecord(DACTableModel.java:335)
    com.siebel.analytics.etl.client.data.model.DACTableModel.insertNewRecord(DACTableModel.java:320)
    com.siebel.analytics.etl.client.data.model.UpdatableDataTableModel.updateRecord(UpdatableDataTableModel.java:76)
    com.siebel.analytics.etl.client.view.edit.EditObject.save(EditObject.java:326)
    com.siebel.analytics.etl.client.view.edit.EditObject.actionPerformed(EditObject.java:616)
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    java.awt.Component.processMouseEvent(Component.java:6041)
    javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    java.awt.Component.processEvent(Component.java:5806)
    java.awt.Container.processEvent(Container.java:2058)
    java.awt.Component.dispatchEventImpl(Component.java:4413)
    java.awt.Container.dispatchEventImpl(Container.java:2116)
    java.awt.Component.dispatchEvent(Component.java:4243)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    java.awt.Container.dispatchEventImpl(Container.java:2102)
    java.awt.Window.dispatchEventImpl(Window.java:2440)
    java.awt.Component.dispatchEvent(Component.java:4243)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    ::: CAUSE :::
    MESSAGE:::ORA-01400: cannot insert NULL into ("DW"."W_ETL_OBJ_REF"."APP_WID")
    EXCEPTION CLASS::: java.sql.SQLIntegrityConstraintViolationException
    oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:737)
    oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:647)
    oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:530)
    oracle.jdbc.driver.T2CPreparedStatement.executeForRows(T2CPreparedStatement.java:713)
    oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
    oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
    oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3530)
    oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
    com.siebel.etl.database.cancellable.CancellablePreparedStatement.executeUpdate(CancellablePreparedStatement.java:91)
    com.siebel.etl.database.DBUtils.batchUpdate(DBUtils.java:1942)
    com.siebel.etl.gui.util.UncommitUpdateHelper.executeUpdate(UncommitUpdateHelper.java:84)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createReference(BaseDACObject.java:1362)
    com.siebel.analytics.etl.client.data.dataobject.DACObject.createReference(DACObject.java:78)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createUpdateReference(BaseDACObject.java:1274)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.createOwnedObject(BaseDACObject.java:565)
    com.siebel.analytics.etl.client.data.dataobject.BaseDACObject.create(BaseDACObject.java:544)
    com.siebel.analytics.etl.client.data.dataobject.UpdatableDataObject.createUpdate(UpdatableDataObject.java:210)
    com.siebel.analytics.etl.client.data.dataobject.DACObject.createUpdate(DACObject.java:213)
    com.siebel.analytics.etl.client.data.dataobject.UpdatableDataObject.createUpdate(UpdatableDataObject.java:198)
    com.siebel.analytics.etl.client.data.model.ResultSetParser.insertNewRecord(ResultSetParser.java:226)
    com.siebel.analytics.etl.client.data.model.UpdatableDataTableModel.insertNewRecord(UpdatableDataTableModel.java:122)
    com.siebel.analytics.etl.client.data.model.DACTableModel.insertNewRecord(DACTableModel.java:335)
    com.siebel.analytics.etl.client.data.model.DACTableModel.insertNewRecord(DACTableModel.java:320)
    com.siebel.analytics.etl.client.data.model.UpdatableDataTableModel.updateRecord(UpdatableDataTableModel.java:76)
    com.siebel.analytics.etl.client.view.edit.EditObject.save(EditObject.java:326)
    com.siebel.analytics.etl.client.view.edit.EditObject.actionPerformed(EditObject.java:616)
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    java.awt.Component.processMouseEvent(Component.java:6041)
    javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    java.awt.Component.processEvent(Component.java:5806)
    java.awt.Container.processEvent(Container.java:2058)
    java.awt.Component.dispatchEventImpl(Component.java:4413)
    java.awt.Container.dispatchEventImpl(Container.java:2116)
    java.awt.Component.dispatchEvent(Component.java:4243)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    java.awt.Container.dispatchEventImpl(Container.java:2102)
    java.awt.Window.dispatchEventImpl(Window.java:2440)
    java.awt.Component.dispatchEvent(Component.java:4243)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Why it happened and how to solve it?

    The error is not because a table is MISSING..it is because its trying to insert a NULL and its failing: ORA-01400: cannot insert NULL.
    I would check the following:
    Make sure all DAC related patches are applied (you can find these on metalink) for the DAC version you are on
    Is this your first time to try a load? Is there any load that may not have cleaned up all process that was previously runninng..if so restart the DAC services and retry
    Make sure the DAC repository metadat tables are created properly. Go to the table in question W_ETL_OBJ_REF and see if it is correctly created
    Did you assemble all Subject Areas and successfully Build the execution plan? If not, do that and retry.
    Let me know how it goes.
    if this is helpful, please mark as correct or helpful.

  • Error while Inserting data into flow table

    Hi All,
    I am very new to ODI, I am facing lot of problem in my 1st interface. So I have many questions here, please forgive me if it has irritated to you.
    ========================
    I am developing a simple Project to load a data from an input source file (csv) file into a staging table.
    My plan is to achieve this in 3 interfaces:
    1. Interface-1 : Load the data from an input source (csv) file into a staging table (say Stg_1)
    2. Interface-2 : Read the data from the staging table (stg_1) apply the business rules to it and copy the processed records into another staging table (say stg_2)
    3. Interface-3 : Copy the data from staging table (stg_2) into the target table (say Target) in the target database.
    Question-1 : Is this approach correct?
    ========================
    I don't have any key columns in the staging table (stg_1). When I tried to execute the Flow Control of this I got an error:
    Flow Control not possible if no Key is declared in your Target Datastore
    With one of the response (the response was - "FLOW control requires a KEY in the target table") in this Forum I have introduced a column called "Record_ID" and made it a Primary Key column into my staging table (stg_1) and my problem has been resolved.
    Question-2 : Is a Key column compulsary in the target table? I am working in BO Data Integrator, there is no such compulsion ... I am little confused.
    ========================
    Next, I have defined one Project level sequence. I have mapped the newly introduced key column Record_Id (Primary Key) with the Project level sequence. Now I am got another error of "CKM not selected".
    For this, I have inserted "Insert Check (CKM)" knowledge module in my Project. With this the above problem of "CKM not selected" has been resolved.
    Question-3 : When is this CKM knowledge module required?
    ========================
    After this, the flow/interface is failing while loading data into the intermediar ODI created flow table (I$)
    1 - Loading - SS_0 - Drop work table
    2 - Loading - SS_0 - Create work table
    3 - Loading - SS_0 - Load data
    5 - Integration - FTE Actual data to Staging table - Drop flow table
    6 - Integration - FTE Actual data to Staging table - Create flow table I$
    7 - Integration - FTE Actual data to Staging table - Delete target table
    8 - Integration - FTE Actual data to Staging table - Insert flow into I$ table
    The Error is at Step-8 above. When opened the "Execution" tab for this step I found the message - "Missing parameter Project_1.FTE_Actual_Data_seq_NEXTVAL RECORD_ID".
    Question-4 : What/why is this error? Did I made any mistake while creating a sequence?

    Everyone is new and starts somewhere. And the community is there to help you.
    1.) What is the idea of moving data from stg_1 and then to stg_2 ? Do you really need it for any other purpose other than move data from SourceFile to Target DB.
    Otherwise, its simple to move data from SourceFile -> Target Table
    2.) Does your Target table have a Key ?
    3.) CKM (Check KM) is required when you want to do constraint validation (Checking) on your data. You can define constraints (business rules) on the target table and Flow Control will check the data that is flowing from Source File to Target table using the CKM. All the records that donot satisfy the constraint will be added to E$ (Error table) and will not be added to the Target table.
    4.) Try to avoid ODI sequences. They are slow and arent scalable. Try to use Database sequence wherever possible. And use the DB sequence is target mapping as
    <%=odiRef.getObjectName( "L" , "MY_DB_Sequence_Row" , "D" )%>.nextval
    where MY_DB_Sequence_Row is the oracle sequence in the target schema.
    HTH

  • Error while inserting rows in a table

    Hi,
    We have recently migrated from 9i to 10g. We have a scheduled job out our DB which first deletes all the rows from a table and then inserts them back by selecting rows from 5 tables. This table has a composite primary key based on 6 columns in it. In 9i, when i try to insert rows into the table after deleting all the rows from it, I am able to insert the data successfully . However, in 10g, when i try doing the same operation, it fails with the ORA error:
    ORA-00001: unique constraint violated
    The same query which works perfectly in 9i fails in 10g
    If anybody has some ideas on how to resolve the same, kindly let me know.
    Thanks in advance.

    Hi,
    I was finally able to resolve the reason behind that error message and found it even more weird. The error was because I was using the substr function for extracting the characters 1-4 from a column which is 5 characters long. When i specify the query as:
    select substr(column1, 1, 4)) from table1;
    only the characters 1-3 are retrieved. Now if i change the query to select substr(column1, 1, 5)) from table1, in that case also only 3 characters are retrieved although i have specified the substr to start from 1 and read till 5 characters. Also, when i run the query:
    select length(substr(column1, 1, 4)) from table1 or select length(substr(column1, 1, 5)) from table1
    I get the answer as 3.
    However, the most amazing part is that the query is working perfectly in 9i and is retrieving the data correctly i.e. from substr 1-4.
    Can anyone suggest what the problem could be?
    Thanks
    Edited by: CrazyAnie on May 13, 2009 1:34 AM

  • Error while inserting XMLType document into table

    Dear sir,
    I have created a table in oracle 9i.The description is as follows:
    Name Null? Type
    ID NUMBER
    XML_DOCUMENT SYS.XMLTYPE(XMLSchema "http:
    //localhost:8080/home/SCOTT/
    xsd/message.xsd" Element "me
    ssage") STORAGE Object-relat
    ional TYPE "MESSAGE_TYPE"
    Later I tried to insert values into this table using the following statement:
    1 insert into test1(ID,XML_DOCUMENT)
    2 VALUES
    3 (100,
    4 xmltype
    5 (
    6 bfilename('xmldir','message1.xml'),
    7 nls_charset_id('AL32UTF8')
    8 )
    9* )
    I get the following error:
    ERROR at line 4:
    ORA-06553: PLS-306: wrong number or types of arguments in call to 'XMLTYPE'.
    I have no idea of what to do now.Can someone please tell me how to proceed.
    Reference:(this is for the insert command statement)
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10790/xdb04cre.htm#BABDCAFB
    Thanking you in advance,
    Sincerely,
    Sirisha.

    Yes, but bear in mind that Text searching is not truely XML aware...
    Also, a single 65M document is probably not a single docuemnt, it's probably a collection of smaller documents that have been colllected together into a single document. It may make more sense to split this into it's seperate components before loading it into the database...
    The typcical signature of document of this nature is
    <ROOT>
    <ELEMENT>
    </ELEMENT>
    <ELEMENT>
    </ELEMENT>
    <ELEMENT>
    </ELEMENT>
    </ROOT>

  • Getting error while inserting a row in a table

    Hi,
    The following error occurs when one of my enduser is trying to enter record into a table
    <b>Error: Insertion of Infotype 1032 (return code 3) </b>
    There are no records in the table at all.. what could be the reason and why the error occurs?
    Thanks in advance
    Regards,
    Suresh

    Hello Suresh,
    in which table... did you get a dump?
    What is the ORA-error? Is a trace or an alert.log entry generated?
    Your information is insufficient to solve the problem
    Regards
    Stefan

  • Getting error while loading flat file into table.

    I am using ODI 11 and i am trying to load data in oracle database table using source as flat .txt file .
    When i execute the interface , i am getting below errors.
    ODI-1217: Session INF_FILE2TAB (31022) fails with return code 7000.
    ODI-1226: Step INF_FILE2TAB fails after 1 attempt(s).
    ODI-1240: Flow INF_FILE2TAB fails while performing a Loading operation. This flow loads target table PARTNER.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 44, in <module>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1074)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2224)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2168)
         at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:333)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: ORA-06564: object DAT_DIR does not exist
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Please let me know pointers on this.

    Yes,after your sugestion i have created ODI agent and tested the file system connection in topology. It was connected successfully.
    but when i tried again for file to table load. Again got below error.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 44, in <module>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)
         at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1074)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:2224)
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:2168)
         at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:333)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
    java.sql.SQLException: java.sql.SQLException: ORA-06564: object DAT_DIR does not exist
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
         at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
         at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Please suggest.

  • Error while inserting xml data into table

    Hello
    I am running thid stored procedure and this compiles correctly , but when I try to execute it gives me a error, I have been trying this form the past 3 days , could anyone please help me ASAP
    SQL> CREATE OR REPLACE PROCEDURE loadxml12 AS
    2 fil BFILE;
    3 buffer RAW(32767);
    4 len INTEGER;
    5 insrow INTEGER;
    6 BEGIN
    7 SELECT f_lob INTO fil FROM xml_temp12 WHERE key = 1;
    8 DBMS_LOB.FILEOPEN(fil,DBMS_LOB.FILE_READONLY);
    9 len := DBMS_LOB.GETLENGTH(fil);
    10 DBMS_LOB.READ(fil,len,1,buffer);
    11 xmlgen.resetOptions;
    12 insrow := xmlgen.insertXML('xml_doc',UTL_RAW.CAST_TO_VARCHAR2(buffer));
    13 DBMS_OUTPUT.PUT_LINE(insrow);
    14 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    15 DBMS_LOB.FILECLOSE(fil);
    16 END IF;
    17 EXCEPTION
    18 WHEN OTHERS THEN
    19 DBMS_OUTPUT.PUT_LINE('In Exception');
    20 DBMS_OUTPUT.PUT_LINE(SQLERRM(SQLCODE));
    21 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    22 DBMS_LOB.FILECLOSE(fil);
    23 END IF;
    24 end;
    25 /
    Procedure created.
    SQL> exec loadxml12
    In Exception
    BEGIN loadxml12; END;
    ERROR at line 1:
    ORA-20000: ORU-10028: line length overflow, limit of 255 bytes per line
    ORA-06512: at "SYS.DBMS_OUTPUT", line 99
    ORA-06512: at "SYS.DBMS_OUTPUT", line 65
    ORA-06512: at "CARCLUB_RW2.LOADXML12", line 20
    ORA-06512: at line 1
    null

    Could you explain what your procedure does, please. I also tried to compile it but always got error message:
    PL/SQL: SQL Statement ignored
    PLS-00385: type mismatch found at 'FIL' in SELECT...INTO
    statement
    SQL> CREATE OR REPLACE PROCEDURE loadxml12 AS
    2 fil BFILE;
    3 buffer RAW(32767);
    4 len INTEGER;
    5 insrow INTEGER;
    6 BEGIN
    7 SELECT f_lob INTO fil FROM xml_temp12 WHERE key = 1;
    8 DBMS_LOB.FILEOPEN(fil,DBMS_LOB.FILE_READONLY);
    9 len := DBMS_LOB.GETLENGTH(fil);
    10 DBMS_LOB.READ(fil,len,1,buffer);
    11 xmlgen.resetOptions;
    12 insrow := xmlgen.insertXML('xml_doc',UTL_RAW.CAST_TO_VARCHAR2(buffer));
    13 DBMS_OUTPUT.PUT_LINE(insrow);
    14 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    15 DBMS_LOB.FILECLOSE(fil);
    16 END IF;
    17 EXCEPTION
    18 WHEN OTHERS THEN
    19 DBMS_OUTPUT.PUT_LINE('In Exception');
    20 DBMS_OUTPUT.PUT_LINE(SQLERRM(SQLCODE));
    21 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    22 DBMS_LOB.FILECLOSE(fil);
    23 END IF;
    24 end;
    25 /
    Bober
    null

  • Getting Error while trying to dynamically extending  the VO through Control

    Hi,
    PoRequSuppliersVO is the vo to which i am trying to add a dynamic and clause. I tried to as much info as possible. Please help me understand , why am i not able to add the add condition . In the below, i have jsut hardcoded the value to 100 to see if it works.
    Controller Code:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo= (OAViewObject)am.findViewObject("PoReqSuppliersVO");
    vo.setWhereClause("PoRequisitionSupplierEO.RATE = :2");
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(2,100);
    vo.executeQuery();
    String Query = vo.getQuery();
    pageContext.writeDiagnostics("The Query value is :"," Value"+ Query, 1);
    Error Stack :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT PoRequisitionSupplierEO.REQUISITION_LINE_ID, PoRequisitionSupplierEO.VENDOR_ID, PoRequisitionSupplierEO.VENDOR_SITE_ID, PoRequisitionSupplierEO.VENDOR_CONTACT_ID, PoRequisitionSupplierEO.NOTE_TO_VENDOR, PoRequisitionSupplierEO.DOCUMENT_TYPE_CODE, PoRequisitionSupplierEO.SOURCE_DOC_HEADER_ID, PoRequisitionSupplierEO.SOURCE_DOC_LINE_ID, PoRequisitionSupplierEO.SOURCE_DOC_LINE_NUM, PoRequisitionSupplierEO.UNIT_PRICE, PoRequisitionSupplierEO.CURRENCY_UNIT_PRICE, PoRequisitionSupplierEO.AMOUNT, PoRequisitionSupplierEO.CURRENCY_AMOUNT, PoRequisitionSupplierEO.CURRENCY_CODE, PoRequisitionSupplierEO.RATE_TYPE, PoRequisitionSupplierEO.RATE_DATE, PoRequisitionSupplierEO.RATE, PoRequisitionSupplierEO.PRICE_BREAK_ID, PoRequisitionSupplierEO.NOT_TO_EXCEED_PRICE, PoRequisitionSupplierEO.ALLOW_PRICE_OVERRIDE_FLAG, PoRequisitionSupplierEO.ALLOW_RATE_DIFFERENTIAL_FLAG, PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_FLAG, PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_DATE, PoRequisitionSupplierEO.LAST_UPDATE_DATE, PoRequisitionSupplierEO.LAST_UPDATED_BY, PoRequisitionSupplierEO.LAST_UPDATE_LOGIN, PoRequisitionSupplierEO.CREATION_DATE, PoRequisitionSupplierEO.CREATED_BY, PoRequisitionSupplierEO.REQUISITION_SUPPLIER_ID, PoRequisitionSupplierEO.ROWID, PoRequisitionSupplierEO.CANDIDATE_FIRST_NAME, PoRequisitionSupplierEO.CANDIDATE_LAST_NAME, PoRequisitionSupplierEO.UNIT_MEAS_LOOKUP_CODE FROM PO_REQUISITION_SUPPLIERS PoRequisitionSupplierEO WHERE (PoRequisitionSupplierEO.RATE = :2) AND PoRequisitionSupplierEO.REQUISITION_LINE_ID = :1
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2141)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1035)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:391)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2514)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1895)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:539)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:427)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:889)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.sql.SQLException: Invalid column index
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
         at oracle.jdbc.driver.OraclePreparedStatement.setIntInternal(OraclePreparedStatement.java:4605)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7738)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7517)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8174)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8155)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:230)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParamValue(BaseSQLBuilderImpl.java:1847)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3893)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13827)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:804)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
    PoReqSupplierVO Query :
    Name="PoReqSuppliersVO"
    SelectList="PoRequisitionSupplierEO.REQUISITION_LINE_ID,
    PoRequisitionSupplierEO.VENDOR_ID,
    PoRequisitionSupplierEO.VENDOR_SITE_ID,
    PoRequisitionSupplierEO.VENDOR_CONTACT_ID,
    PoRequisitionSupplierEO.NOTE_TO_VENDOR,
    PoRequisitionSupplierEO.DOCUMENT_TYPE_CODE,
    PoRequisitionSupplierEO.SOURCE_DOC_HEADER_ID,
    PoRequisitionSupplierEO.SOURCE_DOC_LINE_ID,
    PoRequisitionSupplierEO.SOURCE_DOC_LINE_NUM,
    PoRequisitionSupplierEO.UNIT_PRICE,
    PoRequisitionSupplierEO.CURRENCY_UNIT_PRICE,
    PoRequisitionSupplierEO.AMOUNT,
    PoRequisitionSupplierEO.CURRENCY_AMOUNT,
    PoRequisitionSupplierEO.CURRENCY_CODE,
    PoRequisitionSupplierEO.RATE_TYPE,
    PoRequisitionSupplierEO.RATE_DATE,
    PoRequisitionSupplierEO.RATE,
    PoRequisitionSupplierEO.PRICE_BREAK_ID,
    PoRequisitionSupplierEO.NOT_TO_EXCEED_PRICE,
    PoRequisitionSupplierEO.ALLOW_PRICE_OVERRIDE_FLAG,
    PoRequisitionSupplierEO.ALLOW_RATE_DIFFERENTIAL_FLAG,
    PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_FLAG,
    PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_DATE,
    PoRequisitionSupplierEO.LAST_UPDATE_DATE,
    PoRequisitionSupplierEO.LAST_UPDATED_BY,
    PoRequisitionSupplierEO.LAST_UPDATE_LOGIN,
    PoRequisitionSupplierEO.CREATION_DATE,
    PoRequisitionSupplierEO.CREATED_BY,
    PoRequisitionSupplierEO.REQUISITION_SUPPLIER_ID,
    PoRequisitionSupplierEO.ROWID,
    PoRequisitionSupplierEO.CANDIDATE_FIRST_NAME,
    PoRequisitionSupplierEO.CANDIDATE_LAST_NAME,
    PoRequisitionSupplierEO.UNIT_MEAS_LOOKUP_CODE"
    FromList="PO_REQUISITION_SUPPLIERS PoRequisitionSupplierEO"
    BindingStyle="Oracle"
    CustomQuery="false"
    RowClass="oracle.apps.icx.por.req.server.PoReqSuppliersVORowImpl"
    ComponentClass="oracle.apps.icx.por.req.server.PoReqSuppliersVOImpl"
    Complete EO :
    <?xml version='1.0' encoding='US-ASCII' ?>
    <!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
    <!-- $Header: PoRequisitionSupplierEO.xml 120.8 2006/07/25 06:43:17 sudsubra noship $
    "$Header: PoRequisitionSupplierEO.xml 120.8 2006/07/25 06:43:17 sudsubra noship $" -->
    <Entity
    Name="PoRequisitionSupplierEO"
    DBObjectType="synonym"
    DBObjectName="PO_REQUISITION_SUPPLIERS"
    AliasName="PoRequisitionSupplierEO"
    BindingStyle="Oracle"
    UseGlueCode="false"
    CodeGenFlag="4"
    RowClass="oracle.apps.icx.por.schema.server.PoRequisitionSupplierEOImpl"
    DefClass="oracle.apps.fnd.framework.server.OAEntityDefImpl"
    CollClass="oracle.apps.fnd.framework.server.OAEntityCache" >
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="10.1.3.33.5" />
    <AttrArray Name="_publishEvents">
    </AttrArray>
    <Attr Name="_superClass" Value="oracle.apps.icx.por.schema.server.PorBaseEOImpl" />
    </DesignTime>
    <Attribute
    Name="RequisitionLineId"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    ColumnName="REQUISITION_LINE_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VendorId"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    ColumnName="VENDOR_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VendorSiteId"
    Type="oracle.jbo.domain.Number"
    ColumnName="VENDOR_SITE_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="VendorContactId"
    Type="oracle.jbo.domain.Number"
    ColumnName="VENDOR_CONTACT_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="NoteToVendor"
    Precision="480"
    Type="java.lang.String"
    ColumnName="NOTE_TO_VENDOR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="480" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="DocumentTypeCode"
    Precision="25"
    Type="java.lang.String"
    ColumnName="DOCUMENT_TYPE_CODE"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="25" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="SourceDocHeaderId"
    Type="oracle.jbo.domain.Number"
    ColumnName="SOURCE_DOC_HEADER_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="SourceDocLineId"
    Type="oracle.jbo.domain.Number"
    ColumnName="SOURCE_DOC_LINE_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="SourceDocLineNum"
    Type="oracle.jbo.domain.Number"
    ColumnName="SOURCE_DOC_LINE_NUM"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="UnitPrice"
    Type="oracle.jbo.domain.Number"
    ColumnName="UNIT_PRICE"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CurrencyUnitPrice"
    Type="oracle.jbo.domain.Number"
    ColumnName="CURRENCY_UNIT_PRICE"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="Amount"
    Type="oracle.jbo.domain.Number"
    ColumnName="AMOUNT"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CurrencyAmount"
    Type="oracle.jbo.domain.Number"
    ColumnName="CURRENCY_AMOUNT"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CurrencyCode"
    Precision="15"
    Type="java.lang.String"
    ColumnName="CURRENCY_CODE"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="15" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="RateType"
    Precision="30"
    Type="java.lang.String"
    ColumnName="RATE_TYPE"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="30" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="RateDate"
    Type="oracle.jbo.domain.Date"
    ColumnName="RATE_DATE"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="Rate"
    Type="oracle.jbo.domain.Number"
    ColumnName="RATE"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="PriceBreakId"
    Type="oracle.jbo.domain.Number"
    ColumnName="PRICE_BREAK_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="NotToExceedPrice"
    Type="oracle.jbo.domain.Number"
    ColumnName="NOT_TO_EXCEED_PRICE"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AllowPriceOverrideFlag"
    Precision="1"
    Type="java.lang.String"
    ColumnName="ALLOW_PRICE_OVERRIDE_FLAG"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="AllowRateDifferentialFlag"
    Precision="1"
    Type="java.lang.String"
    ColumnName="ALLOW_RATE_DIFFERENTIAL_FLAG"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="SupplierNotifiedFlag"
    Precision="1"
    Type="java.lang.String"
    ColumnName="SUPPLIER_NOTIFIED_FLAG"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="SupplierNotifiedDate"
    Type="oracle.jbo.domain.Date"
    ColumnName="SUPPLIER_NOTIFIED_DATE"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="1" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateDate"
    Type="oracle.jbo.domain.Date"
    ColumnName="LAST_UPDATE_DATE"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdatedBy"
    Type="oracle.jbo.domain.Number"
    ColumnName="LAST_UPDATED_BY"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="LastUpdateLogin"
    Type="oracle.jbo.domain.Number"
    ColumnName="LAST_UPDATE_LOGIN"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreationDate"
    Type="oracle.jbo.domain.Date"
    ColumnName="CREATION_DATE"
    ColumnType="DATE"
    SQLType="DATE"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="7" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CreatedBy"
    Type="oracle.jbo.domain.Number"
    ColumnName="CREATED_BY"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="RequisitionSupplierId"
    IsNotNull="true"
    Type="oracle.jbo.domain.Number"
    ColumnName="REQUISITION_SUPPLIER_ID"
    ColumnType="NUMBER"
    SQLType="NUMERIC"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="22" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="RowID"
    IsUpdateable="false"
    Type="oracle.jbo.domain.RowID"
    ColumnName="ROWID"
    ColumnType="ROWID"
    SQLType="ROWID"
    PrimaryKey="true" >
    </Attribute>
    <Attribute
    Name="CandidateFirstName"
    Precision="240"
    Type="java.lang.String"
    ColumnName="CANDIDATE_FIRST_NAME"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="240" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="CandidateLastName"
    Precision="240"
    Type="java.lang.String"
    ColumnName="CANDIDATE_LAST_NAME"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="240" />
    </DesignTime>
    </Attribute>
    <Attribute
    Name="UnitMeasLookupCode"
    Precision="25"
    Type="java.lang.String"
    ColumnName="UNIT_MEAS_LOOKUP_CODE"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR"
    TableName="PO_REQUISITION_SUPPLIERS" >
    <DesignTime>
    <Attr Name="_DisplaySize" Value="25" />
    </DesignTime>
    </Attribute>
    <AccessorAttribute
    Name="PoRequisitionLineEO"
    Association="oracle.apps.icx.por.schema.server.ReqLineToReqSuppliersAO"
    AssociationEnd="oracle.apps.icx.por.schema.server.ReqLineToReqSuppliersAO.PoRequisitionLineEO"
    AssociationOtherEnd="oracle.apps.icx.por.schema.server.ReqLineToReqSuppliersAO.PoRequisitionSupplierEO"
    Type="oracle.apps.icx.por.schema.server.PoRequisitionLineEOImpl" >
    </AccessorAttribute>
    </Entity>
    Thank a lot

    Here you go..
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!-- $Header: PoReqSuppliersVO.xml 120.5 2006/07/25 04:42:47 sudsubra noship $ -->
    <ViewObject
    Name="PoReqSuppliersVO"
    SelectList="PoRequisitionSupplierEO.REQUISITION_LINE_ID,
    PoRequisitionSupplierEO.VENDOR_ID,
    PoRequisitionSupplierEO.VENDOR_SITE_ID,
    PoRequisitionSupplierEO.VENDOR_CONTACT_ID,
    PoRequisitionSupplierEO.NOTE_TO_VENDOR,
    PoRequisitionSupplierEO.DOCUMENT_TYPE_CODE,
    PoRequisitionSupplierEO.SOURCE_DOC_HEADER_ID,
    PoRequisitionSupplierEO.SOURCE_DOC_LINE_ID,
    PoRequisitionSupplierEO.SOURCE_DOC_LINE_NUM,
    PoRequisitionSupplierEO.UNIT_PRICE,
    PoRequisitionSupplierEO.CURRENCY_UNIT_PRICE,
    PoRequisitionSupplierEO.AMOUNT,
    PoRequisitionSupplierEO.CURRENCY_AMOUNT,
    PoRequisitionSupplierEO.CURRENCY_CODE,
    PoRequisitionSupplierEO.RATE_TYPE,
    PoRequisitionSupplierEO.RATE_DATE,
    PoRequisitionSupplierEO.RATE,
    PoRequisitionSupplierEO.PRICE_BREAK_ID,
    PoRequisitionSupplierEO.NOT_TO_EXCEED_PRICE,
    PoRequisitionSupplierEO.ALLOW_PRICE_OVERRIDE_FLAG,
    PoRequisitionSupplierEO.ALLOW_RATE_DIFFERENTIAL_FLAG,
    PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_FLAG,
    PoRequisitionSupplierEO.SUPPLIER_NOTIFIED_DATE,
    PoRequisitionSupplierEO.LAST_UPDATE_DATE,
    PoRequisitionSupplierEO.LAST_UPDATED_BY,
    PoRequisitionSupplierEO.LAST_UPDATE_LOGIN,
    PoRequisitionSupplierEO.CREATION_DATE,
    PoRequisitionSupplierEO.CREATED_BY,
    PoRequisitionSupplierEO.REQUISITION_SUPPLIER_ID,
    PoRequisitionSupplierEO.ROWID,
    PoRequisitionSupplierEO.CANDIDATE_FIRST_NAME,
    PoRequisitionSupplierEO.CANDIDATE_LAST_NAME,
    PoRequisitionSupplierEO.UNIT_MEAS_LOOKUP_CODE"
    FromList="PO_REQUISITION_SUPPLIERS PoRequisitionSupplierEO"
    BindingStyle="Oracle"
    CustomQuery="false"
    RowClass="oracle.apps.icx.por.req.server.PoReqSuppliersVORowImpl"
    ComponentClass="oracle.apps.icx.por.req.server.PoReqSuppliersVOImpl"
    MsgBundleClass="oracle.jbo.common.JboResourceBundle"
    FetchMode="FETCH_AS_NEEDED"
    Passivate="All"
    UseGlueCode="false" >
    <DesignTime>
    <Attr Name="_isCodegen" Value="true" />
    <Attr Name="_version" Value="9.0.3.11.44" />
    <Attr Name="_CodeGenFlagNew" Value="36" />
    </DesignTime>
    <EntityUsage
    Name="PoRequisitionSupplierEO"
    Entity="oracle.apps.icx.por.schema.server.PoRequisitionSupplierEO" >
    <DesignTime>
    <Attr Name="_EntireObjectTable" Value="false" />
    <Attr Name="_queryClause" Value="true" />
    </DesignTime>
    </EntityUsage>
    <ViewAttribute
    Name="RequisitionLineId"
    IsNotNull="true"
    EntityAttrName="RequisitionLineId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="REQUISITION_LINE_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorId"
    IsNotNull="true"
    EntityAttrName="VendorId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="VENDOR_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorSiteId"
    EntityAttrName="VendorSiteId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="VENDOR_SITE_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorContactId"
    EntityAttrName="VendorContactId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="VENDOR_CONTACT_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="NoteToVendor"
    EntityAttrName="NoteToVendor"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="NOTE_TO_VENDOR"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="DocumentTypeCode"
    EntityAttrName="DocumentTypeCode"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="DOCUMENT_TYPE_CODE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="SourceDocHeaderId"
    EntityAttrName="SourceDocHeaderId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="SOURCE_DOC_HEADER_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="SourceDocLineId"
    EntityAttrName="SourceDocLineId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="SOURCE_DOC_LINE_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="SourceDocLineNum"
    EntityAttrName="SourceDocLineNum"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="SOURCE_DOC_LINE_NUM"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="UnitPrice"
    EntityAttrName="UnitPrice"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="UNIT_PRICE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="CurrencyUnitPrice"
    EntityAttrName="CurrencyUnitPrice"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CURRENCY_UNIT_PRICE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="Amount"
    EntityAttrName="Amount"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="AMOUNT"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="CurrencyAmount"
    EntityAttrName="CurrencyAmount"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CURRENCY_AMOUNT"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="CurrencyCode"
    EntityAttrName="CurrencyCode"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CURRENCY_CODE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="RateType"
    EntityAttrName="RateType"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="RATE_TYPE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="RateDate"
    EntityAttrName="RateDate"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="RATE_DATE"
    ColumnType="DATE" >
    </ViewAttribute>
    <ViewAttribute
    Name="Rate"
    EntityAttrName="Rate"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="RATE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="PriceBreakId"
    EntityAttrName="PriceBreakId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="PRICE_BREAK_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="NotToExceedPrice"
    EntityAttrName="NotToExceedPrice"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="NOT_TO_EXCEED_PRICE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="AllowPriceOverrideFlag"
    EntityAttrName="AllowPriceOverrideFlag"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="ALLOW_PRICE_OVERRIDE_FLAG"
    Passivate="true"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="AllowRateDifferentialFlag"
    EntityAttrName="AllowRateDifferentialFlag"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="ALLOW_RATE_DIFFERENTIAL_FLAG"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierNotifiedFlag"
    EntityAttrName="SupplierNotifiedFlag"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="SUPPLIER_NOTIFIED_FLAG"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierNotifiedDate"
    EntityAttrName="SupplierNotifiedDate"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="SUPPLIER_NOTIFIED_DATE"
    ColumnType="DATE" >
    </ViewAttribute>
    <ViewAttribute
    Name="LastUpdateDate"
    EntityAttrName="LastUpdateDate"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="LAST_UPDATE_DATE"
    ColumnType="DATE" >
    </ViewAttribute>
    <ViewAttribute
    Name="LastUpdatedBy"
    EntityAttrName="LastUpdatedBy"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="LAST_UPDATED_BY"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="LastUpdateLogin"
    EntityAttrName="LastUpdateLogin"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="LAST_UPDATE_LOGIN"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="CreationDate"
    EntityAttrName="CreationDate"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CREATION_DATE"
    ColumnType="DATE" >
    </ViewAttribute>
    <ViewAttribute
    Name="CreatedBy"
    EntityAttrName="CreatedBy"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CREATED_BY"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="RequisitionSupplierId"
    IsNotNull="true"
    EntityAttrName="RequisitionSupplierId"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="REQUISITION_SUPPLIER_ID"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="RowID"
    IsUpdateable="false"
    EntityAttrName="RowID"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="ROWID"
    ColumnType="ROWID" >
    </ViewAttribute>
    <ViewAttribute
    Name="CandidateFirstName"
    EntityAttrName="CandidateFirstName"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CANDIDATE_FIRST_NAME"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="CandidateLastName"
    EntityAttrName="CandidateLastName"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="CANDIDATE_LAST_NAME"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="UnitMeasLookupCode"
    EntityAttrName="UnitMeasLookupCode"
    EntityUsage="PoRequisitionSupplierEO"
    AliasName="UNIT_MEAS_LOOKUP_CODE"
    ColumnType="VARCHAR2" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorFax"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorContact"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorPhone"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorSiteCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorEmail"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="VendorName"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="UnitTl"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="Selected"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="FunctionalCurrencyCode"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="NotToExceedCurrencyPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="NUMERIC" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsNotFunctionalCurrCode"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsRateBased"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsFixedPrice"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesRateExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesPriceLimitExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesAmountExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesAmountLimitExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesCurrPriceLimitExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesCurrAmountLimitExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsRateDifferentialYes"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsRateDifferentialNo"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="RateDifferentialLookup"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="AllowPriceOverrideLookup"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="DoesCurrencyAmountExist"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="SourceDocNum"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="NotToExceedFunctionalPrice"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="oracle.jbo.domain.Number"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="NUMERIC" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsNoteToSupplierRendered"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsAddNoteToSupplierRendered"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsEditNoteToSupplierRendered"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsViewNoteToSupplierRendered"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="SourceDocType"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="RetainedNoteToVendor"
    IsQueriable="false"
    IsPersistent="false"
    Precision="480"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierRateDisplay"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierAmountDisplay"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierRateLimitDisplay"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="SupplierAmountLimitDisplay"
    IsQueriable="false"
    IsPersistent="false"
    Precision="255"
    Type="java.lang.String"
    AliasName="VIEW_ATTR"
    ColumnType="VARCHAR2"
    SQLType="VARCHAR" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsSingleSupplier"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    <ViewAttribute
    Name="IsMultipleSupplier"
    IsQueriable="false"
    IsPersistent="false"
    Type="java.lang.Boolean"
    AliasName="VIEW_ATTR"
    ColumnType="BOOLEAN"
    SQLType="BIT" >
    </ViewAttribute>
    </ViewObject>

  • Error while Inserting DB

    Hi,
    We are getting the below error while inserting a record in to DB. It is not occuring always, as sometimes the transactions are passing and some times it is throwing the below error. Any one faced this issue and have solution for the same?
    The invocation resulted in an error: <jca-transport-application-error xmlns="http://www.bea.com/wli/sb/transports/jca" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <jca-transport-error-message>Invoke JCA outbound service failed with application error</jca-transport-error-message>
    <jca-runtime-fault-detail>
    <eis-error-code xsi:nil="true"/>
    <eis-error-message xsi:nil="true"/>
    <exception>com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/ServiceProcessor_1.00/src/osb/resources/wsdls/Service_DB_Write_1.00 [ ServiceDBAdp_ptt::insert(SampleMiddlewareLogCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    ; nested exception is:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake.
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invokeOneWay(JCATransportOutboundOperationBindingServiceImpl.java:114)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.sendOneWay(JCATransportEndpoint.java:191)
    at com.bea.wli.sb.transports.jca.JCATransportEndpoint.send(JCATransportEndpoint.java:168)
    at com.bea.wli.sb.transports.jca.JCATransportProvider.sendMessageAsync(JCATransportProvider.java:598)
    at sun.reflect.GeneratedMethodAccessor900.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
    at $Proxy142.sendMessageAsync(Unknown Source)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:603)
    at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:538)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:558)
    at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:426)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:380)
    at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
    at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
    at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:140)
    at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/ServiceProcessor_1.00/src/osb/resources/wsdls/Service_DB_Write_1.00 [ ServiceDBAdp_ptt::insert(SampleMiddlewareLogCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    ; nested exception is:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake.
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.post(JCABindingReferenceImpl.java:197)
    at com.bea.wli.sb.transports.jca.binding.JCATransportOutboundOperationBindingServiceImpl.invokeOneWay(JCATransportOutboundOperationBindingServiceImpl.java:109)
    ... 37 more
    Caused by: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/ServiceProcessor_1.00/src/osb/resources/wsdls/Service_DB_Write_1.00 [ ServiceDBAdp_ptt::insert(SampleMiddlewareLogCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    ; nested exception is:
    BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake.
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:662)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeOperation(WSIFOperation_JCA.java:353)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:312)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:291)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.invokeWsifProvider(JCABindingReferenceImpl.java:345)
    at oracle.tip.adapter.sa.impl.JCABindingReferenceImpl.post(JCABindingReferenceImpl.java:195)
    ... 38 more
    Caused by: BINDING.JCA-11616
    DBWriteInteractionSpec Execute Failed Exception.
    insert failed. Descriptor name: [ServiceDBAdp.SampleMiddlewareLog].
    Caused by java.lang.ArrayIndexOutOfBoundsException.
    Please see the logs for the full DBAdapter logging output prior to this exception. This exception is considered not retriable, likely due to a modelling mistake.
    at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:682)
    at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:648)
    at oracle.tip.adapter.db.exceptions.DBResourceException.outboundWriteException(DBResourceException.java:696)
    at oracle.tip.adapter.db.DBInteraction.executeOutboundWrite(DBInteraction.java:1056)
    at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:240)
    at oracle.tip.adapter.sa.impl.fw.wsif.jca.WSIFOperation_JCA.performOperation(WSIFOperation_JCA.java:529)
    ... 43 more
    Caused by: java.lang.ArrayIndexOutOfBoundsException</exception>
    </jca-runtime-fault-detail>
    </jca-transport-application-error>.
    Thanks

    Hi
    Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array you are sending.
    make sure your table can able to recieve that array of data

  • Access issues while inserting data in a table in same schema

    Hi All.
    I have a script that at first creates and then populates a table. My script used to run fine in production environment till few hours back. But all of a sudden, it is popping up error while inserting data into the table .
    Error message - "Insufficient Previlages".
    Please suggest me what may be the reasons for this kind of error.
    Thanks in advance

    Sonika wrote:
    Hi All.
    I have a script that at first creates and then populates a table. My script used to run fine in production environment till few hours back. But all of a sudden, it is popping up error while inserting data into the table .
    Error message - "Insufficient Previlages".
    Please suggest me what may be the reasons for this kind of error.
    1) something changed
    2) you are hitting a bug

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

Maybe you are looking for

  • The new iTunes update mutes the volume when movies are played in full screen.  Help?

    Yep.  After installing 11.1.3, the audio of a movie in iTunes when you switch to full screen plays for a fraction of a second and then goes off.  I can play other things in the background (Pandora, ANYTHING with volume) and the volume for those is fi

  • How do i put songs onto my nano?

    Hi sorry im new here but i got a nano for xmas and i dont know how to put my songs onto it. In the instruction booklet it says i can download them while my battery is charging. how do i do that? hopefully someone can help me   Windows XP  

  • ASM and Dataguard

    Hi, can we make asm database (i.e. database is managing by asm disk groups) as primary database in one server and configure secondary database in another server.

  • I need to create public and private keys for security certificate and I can't find the certificate. Where is it?

    I purchased a security certificate, and the site tells me that it was successfully installed. I need to export the certificate so that I can create the public and private keys, but I cannot find the certificate to do so.

  • SSDT Referencing other databases

    Hello, We are just investigating the use of SSDT in our company and I have run into issues related to database references.  Our databases are large and permissions are controlled such that developers will not be able to deploy into the shared environ