ORA-39152 : While Impoting data using dbms_datapump utility
Hi,
Could anyone help me on this.
I am importing data using dbms_datapump utility and setting 'Table_exists_action' ='APPEND',getting the error
"ORA-39152: Table exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append".
w_dp_handle := dbms_datapump.open(operation => 'IMPORT',
job_mode => 'TABLE',
remote_link => NULL,
job_name => w_job_name);
dbms_datapump.add_file(handle => w_dp_handle,
filename => w_filename,
directory => 'DATA_PUMP_DIR',
filetype => dbms_datapump.ku$_file_type_dump_file);
dbms_datapump.add_file(handle => w_dp_handle,
filename => w_filename || '.LOG',
directory => 'DATA_PUMP_DIR',
filetype => dbms_datapump.ku$_file_type_log_file);
dbms_datapump.set_parameter(handle => w_dp_handle,
NAME => 'TABLE_EXISTS_ACTION',
VALUE => 'APPEND');
dbms_datapump.start_job(w_dp_handle);
I know it is just a warning message,but i have to show the same log file generated to the user in which this Ora error is coming.
Please guide me in removing this error.
Thanks in advance for your help.
Hi;
What is DB version? Please see:
ORA-39152 Table Exists Data Will be Appended to Existing Table [ID 818535.1]
Also see:
Import DataPump: Import of Object Types Fails With ORA-39083 ORA-02304 or ORA-39117 ORA-39779 [ID 351519.1]
How to Transfer the Data Between Tables With Different Structures? [ID 1078211.1]
Regard
Helios
Similar Messages
-
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 ||'
(SELECT887684 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. -
Error while updating data using session and call transaction method
Hi all,
i have to update data using MM01 transaction from flat file to database.i have used both session method and call transaction method to do that.in both the methods data has been transferred from internal tables to screens but while updating the data that is by clicking the ok-code at the end of the transaction iam getting a dialogue box stating
SAP EXPRESS DOCUMENT "UPDATE WAS TERMINATED" RECEIVED FROM AUTHOR "SAP".
please tell whether the problem lies and solution for that.
thanks and regards.hi,
check your recording.check whether u saved your material no in recording or not.
once again record the transacton mm01.
MATNR LIKE RMMG1-MATNR,
MBRSH LIKE RMMG1-MBRSH,
MTART LIKE RMMG1-MTART,
MAKTX LIKE MAKT-MAKTX,
MEINS LIKE MARA-MEINS,
MATKL LIKE MARA-MATKL,
BISMT LIKE MARA-BISMT,
EXTWG LIKE MARA-EXTWG,
these are the fields which u have to take in internal table.
this is the record which i took in my flatfile.use filetype as asc and hasfieldseperator as 'X'.
SUDHU-6 R ROH MATSUDHU " 001 7890 AA
i did the same.but i didn't get any error. -
Change of sign while extracting data using Open hub
Hello All,
We are extracting data from Info cube to a file in the application server using Open hub.
While extracting data, if there is any negative value for the key figure, negative sign is appending on the right side of the value(Eg: "123.67-"), which is the standard behaviour but I want the sign to be on the left side of the value (Eg: "-123.67") while extracting to the file at application server.
Could any one please let me know if there is any setting to do this change ?
Thanks in advanceHi,
Changing the SIGN position from one side of the NUMBER to the other side can happen in following ways.
1) After the file is place in the application server. Deploy a OS SCRIPT file (for .csv) for obtaining the required changes to the required COLUMN [Basis team will have more idea on this]
2)This is time consuming idea. well deploy a routine at the Open hub -Infospoke level.
Regards -
Attributes with junk data using ldapsearch utility
Hi,
We have Enterprise Directory 5.1 V2 installed on HP-UX.
We have a issue when viewing data through ldapsearch utility.
1. some attributes for employees have blank values(one space),this we can see from the console. This was added manually through a perl script as a part of a fix.
But when it is viewed through a ldapsearch utility it shows as some junk characters for this blank valued attrributes.
eg: email address ::==RHWA
I have few questions
1. Can we add a blank space value for the attributes
2. how can i retrieve a meaningful data( even a blank data) from a ldapsearch utility without any junk characters.Since most users use this utility.
This is a production issue. I would greatly appreciate for a good solution.
Thanks a lot.Identify which attributes? Binary encoded attributes? You could do a regular ldapsearch, specifying a list of the attributes which might have space or binary values. These attributes will be in the form
^name::
You could use a perl script to look for these, then use ldapmodify to delete those values or replace them. -
Neglecting empty field record while retracting data using InfoSpoke
Hi BWers,
I am trying to load data from cube to DB table using Info Spoke.
While transferring data from cube to DB Table I want to skip the empty field records.
Example:
Data in the Info Cube:
<b>EmpNo</b> <b>Emp Name</b> <b>Salary</b>
101 Robbert 10000
<b> </b> Bob 50000
Data need to be transferred to DB Table:
<b>EmpNo</b> <b>Emp Name</b> <b>Salary</b>
101 Robert 10000
Because second record's Emp No is blank.
I tried in various ways under SELECTION tab in RSBOH but failed to get it
Thanks in Advance!
Regards,
Bobby.Goto infospoke and in the transformation tab, click on infospoke with transform using badi,
then go to the implementation class after activating etc..
in the class go to the method TRANSFORM,
method IF_EX_OPENHUB_TRANSFORM~TRANSFORM.
DATA DECLERATION
data: l_s_data_in type /bic/ABC, "Source Structure
*Data: l_s_data_in type /bic/ABC "Source Structure
l_s_data_out type /bic/XYZ "Target Structure
Clear data Output
clear e_t_data_out. "Data Output
Loop at Internal table from Source
loop at i_t_data_in into l_s_data_in where i_t_data_in- empno is not initial.
move-corresponding l_s_data_in to l_s_data_out.
insert l_s_data_out into table e_t_data_out.
endloop.
reward if helps -
Error come while extracting data using DB Connect
Hi Exports!!!
We are not getting data in data target while fetching data from DB Conenct Exptraction method
We have created Source systme for DB Conenct . We are able to see data if we right click and select /EDIT database and display database content.
We can see error in Monitor::
[[No IDocs created; Database system
Diagnosis
No IDocs were created. The IDocs are created in BW with database systems as source systems. Since no IDocs were created, a short dump in BW probably occurred.
System response
Procedure
Check the short dumps in BW.]]
Please suggest !!!Hi,
so your connection is fine, in RSDBC you can see data, right? You generated your DataSource and then assigned source system DS to ISource.
What is your External DB system? If it is MSSQL then do NOT use the user sa for the connection. Create a "BWUser" in your MSSQL with all adequate rights.
Then create a view with this user.
CREATE VIEW BWUser.MYVIEW AS SELECT * FROM dbo.TABLE.
Generate you DSource on BWUser.MYVIEW instead of on a dbo.* object.
This should work it out.
Also remind that you fields names have to cope with the DCOnnect restrictions (upper case, no / only alphanumeric chars)
Note that there is no IDOC transfer between both systems thus the error msg is just because the source didn't not bring any data to BW; the msg is misleading you...
let me know
hope this helps...
Olivier.
Message was edited by:
Olivier Cora -
Dump while selecting data using ranges
Hi everybody,
I am using ranges to select data from BSEG table.
In a particular case the ranges table contains around 7000 entries, hence it leads to a short dump. Is there any limitation associated with ranges? with fewer number of entries it works fine. The code is already optimized properly for performance tuning purposes. There are no duplicate entries in ranges table i.e. all 7000 entries are unique and all are with sign as 'I' and option as 'EQ' , so all entries are unique single values.
Apart from this I have another query also. While selecting data from BSEG / CATSEKKO table if I use for all entries, then complete data is not fetched, However when I use ranges for same set of values, the missing records are also fetched. Any ideas for this behavior ? Is this related to cluster / pooled / transparent table types?
Thanks,
Harmeet Singh.Hello,
I am using ranges to select data from BSEG table.
In a particular case the ranges table contains around 7000 entries, hence it leads to a short dump. Is there any limitation associated with ranges? with fewer number of entries it works fine. The code is already optimized properly for performance tuning purposes. There are no duplicate entries in ranges table i.e. all 7000 entries are unique and all are with sign as 'I' and option as 'EQ' , so all entries are unique single values.
i have already encoutered problem using range in SELECT statement. TO avoid the SELECT statement to dump, i have changed my SELECT statement : FOR ALL ENTRIES instead using range.
+Apart from this I have another query also. While selecting data from BSEG / CATSEKKO table if I use for all entries, then complete data is not fetched, However when I use ranges for same set of values, the missing records are also fetched. Any ideas for this behavior ? Is this related to cluster / pooled / transparent table types?+
Could you show us the SELECT statement ?
Cordialement,
Chaouki AKIR. -
Error while extracting data using function module
Hello,
I created one generic datasource and i want to extract data with the option "Extraction by Function Module".
But when i specified function module name and was trying to save, it thrown a error message saying
'The specified table does not exist'.
What could be the reason?
Please help me out.
Thanks,
Regards,
SteveHi Steve,
Once you execute T.Code RSO2, you need to fill in the details and click Create, specify the Appl. Component and in Extraction by Function Module, give Function Module name and Extrct Structure in the given boxes.
"This structure is used by a DataSource that was created using the transaction RSO2 (generic extraction) and selects data using a function module.
The data must be transferred from this function module to an interface table E_T_DATA."
I'll try to comeup with small piece of code to sort your issue.
Hope it helps!!!!
Amit -
How to resolve error while importing data using IDoc method in LSMW ?
Hi
I am trying to import my data using IDoc method in LSMW.
But after completing the whole LSMW process, when I look into the IDOC generated, the error description is as this.
It talks about the process code and other stuff.
Function module not allowed : APPL_IDOC_INPUTI
Message No. B1252
Diagnosis :
The function module APPL_IDOC_INPUTI and the application object type which were determined are not valid for this IDoc.
I am not able to resolve the problem.
Please help.
Regards,
Rachesh Nambiarcheck the below link.
/people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter -
Error while saving data using two entity objects (EO)
Hi All,
i am using two entity objects for saving the date in two different tables.
on my page i am having two tables and two save buttons for saving the data in the respective tables.
if i am not entering any data on the first table and putting valid data on the second table and click on the save button.
it is going into error saying "Null Pointer Exception"..
i am using getTransaction.commit() in my AM.
so it is trying to save all the data in both the tables.
i want to commit data of the respective table for which the save button is clicked.
Waiting for ur replyHi,
i am using the following code for saving the data in the AM
// TO SAVE THE JOB ASSIGNMENT DETAILS
public void saveJobAssignmentDetails(String projectId)
EmpAssignmentVOImpl empAssignVO = getEmpAssignmentVO1();
getTransaction().commit(); // Line where i am getting the error
rowNumberCountJobAssign = 0; // IN JOB ASSIGNMENT
// EXECUTING THE DISPLAY FUNCTION AGAIN SO TAHT ALL SAVED FIELD ARE READONLY AS REQUIRED
displayJobAssign(projectId);
if(empAssignVO.getRowCount() != 0)
throw new OAException("Job assignment details have been saved successfully. ",OAException.CONFIRMATION);
Stack trace :
oracle.apps.fnd.framework.OAException: oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO pa_job_bill_rate_overrides(START_DATE_ACTIVE,LAST_UPDATE_DATE,LAST_UPDATED_BY,CREATION_DATE,CREATED_BY,LAST_UPDATE_LOGIN,BILL_RATE_UNIT,PROJECT_ID,RECORD_VERSION_NUMBER,JOB_BILL_RATE_OVERRIDE_ID,RATE_CURRENCY_CODE) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11) RETURNING JOB_BILL_RATE_OVERRIDE_ID, JOB_ID, START_DATE_ACTIVE, LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY, LAST_UPDATE_LOGIN, RATE, BILL_RATE_UNIT, PROJECT_ID, TASK_ID, END_DATE_ACTIVE, RECORD_VERSION_NUMBER, RATE_CURRENCY_CODE, DISCOUNT_PERCENTAGE, RATE_DISC_REASON_CODE INTO :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, :26, :27, :28; END;".
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:972)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.webui.jobBillRateAndAssignmentCO.processFormRequest(jobBillRateAndAssignmentCO.java:357)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
java.sql.SQLException: ORA-01400: cannot insert NULL into ("PA"."PA_JOB_BILL_RATE_OVERRIDES"."JOB_ID")
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2154)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2036)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2880)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:698)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:371)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5108)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.schema.server.JobBillRateEOImpl.doDML(JobBillRateEOImpl.java:124)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4015)
at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(OAEntityImpl.java:1676)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2694)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2540)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1783)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1976)
at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:680)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.server.jobBillRateAndAssignmentAMImpl.saveJobAssignmentDetails(jobBillRateAndAssignmentAMImpl.java:772)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.webui.jobBillRateAndAssignmentCO.processFormRequest(jobBillRateAndAssignmentCO.java:357)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-01400: cannot insert NULL into ("PA"."PA_JOB_BILL_RATE_OVERRIDES"."JOB_ID")
ORA-06512: at line 1
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1983)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1141)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2154)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2036)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2880)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:622)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:698)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:371)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:5108)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.schema.server.JobBillRateEOImpl.doDML(JobBillRateEOImpl.java:124)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:4015)
at oracle.apps.fnd.framework.server.OAEntityImpl.postChanges(OAEntityImpl.java:1676)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:2694)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:2540)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:1783)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:1976)
at oracle.apps.fnd.framework.server.OADBTransactionImpl.commit(OADBTransactionImpl.java:680)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.server.jobBillRateAndAssignmentAMImpl.saveJobAssignmentDetails(jobBillRateAndAssignmentAMImpl.java:772)
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:324)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
at tcsl.oracle.apps.pa.jobBillRateAndAssignment.webui.jobBillRateAndAssignmentCO.processFormRequest(jobBillRateAndAssignmentCO.java:357)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534) -
Error: ORA-01722 while connecting oracle using OCCI
Please help,
I get exception 1722 ORA-01722 Invalid Number while selecting records from oracle database using simple select statement.
I have allready installed oracle 10.2.0.3.0 Patch 13 from oracle.com.
Environment: win2k3 (sp2-32 bit), Oracle 10.2.0.3.0, VC++ 2005 (VC8)
Dump of file vc8test.exe
File Type: EXECUTABLE IMAGE
Image has the following dependencies:
MSVCR80.dll
MSVCP80.dll
oraocci10.dll
KERNEL32.dll
Summary
1000 .data
1000 .rdata
1000 .rsrc
2000 .textthanx for the reply, here is the source code:
I am unable to connect to oracle, i have tried every possible combination.
i had tested using vc++ 2005 and with vc++ 6.0
The below code is tested on visual c++ 2005 and from oracle 10.2.0 client.
#include <iostream>
#include <occi.h>
using namespace oracle::occi;
using namespace std;
class occidml
private:
Environment *env;
Connection *conn;
Statement *stmt;
public:
occidml(string user, string passwd, string db)
env=Environment::createEnvironment(Environment::DEFAULT);
conn=env->createConnection(user,passwd, db);
~occidml()
env->terminateConnection(conn);
Environment::terminateEnvironment(env);
void displayAllRows()
string sqlStmt="select * from tcm_ref_city";
stmt=conn->createStatement(sqlStmt);
ResultSet *rset=stmt->executeQuery();
try{
while(rset->next()){
cout<< rset->getString(1)<<"\t"<<rset->getInt(2)<<endl;
}catch(SQLException ex){
cout<< "Exception\t"
<<ex.getErrorCode()<<"\t"
<<ex.getMessage()<<endl;
stmt->closeResultSet(rset);
conn->terminateStatement(stmt);
int main(void)
string usr="stltc";
string pass="stltc";
string db="stltc";
int xx;
cout<<"hello this is rakesh";
occidml *demo=new occidml(usr,pass, db);
demo->displayAllRows();
cin>>xx;
/*Environment *env1 ;
Connection *conn;
env1=Environment::createEnvironment(Environment::DEFAULT);
Connection conn=env1->createConnection("STLIUC", "STLIUC","IAD"); /
return 0;
****************************************************************************** -
Error while downloading data Using RSCRM_BAPI
Hi Folks,
I am getting the below mentioned error message while downloading the data from BW report to csv file using RSCRM_BAPI.
Can anyone help on this error ?
Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)hi lakshmi:
I also tried to use this t-code. but this has lots of restrictions..and its not recommended to use this t-code for complex queries.There are OSS NOtes out there for restrictions for this t-code.
I got to know from other forums on SDN that there is other RSCRMBW_REPORT FM. which is better to use. but not able to use it... there is specific way for that FM. If you try that and if it works for you please let me also know.
Also, try to look at this forums:
Error Using RSCRM_BAPI T-Code
Problem with RSCRM_BAPI (extraction to Fixed Lenght txt file)
RSCRM_BAPI Schedule and monitor
RSCRM_BAPI
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3ba5e590-0201-0010-59b1-cab51fd245b7
Hope this helps.
KSmith -
Java Character set error while loding data using iSetup
Hi,
I am getting the following error while migrating settup data from R12 (12.1.2) Instance to another R12 (12.1.2) Instance, Both the Database has same DB character set (AL32UTF8)
we are getting this error while migrating any setup data
Actual error is
Downloading the extract from central instance
Successfully copied the Extract
Time taken to download Extract and write as zip file = 0 seconds
Validating Primary Extract...
Source Java Charset: AL32UTF8
Target Java Charset: UTF-8
Target Java Charset does not match with Source Java Charset
java.lang.Exception: Target Java Charset does not match with Source Java Charset
at oracle.apps.az.r12.common.cpserver.PreValidator.validate(PreValidator.java:191)
at oracle.apps.az.r12.loader.cpserver.APILoader.callAPIs(APILoader.java:119)
at oracle.apps.az.r12.loader.cpserver.LoaderContextImpl.load(LoaderContextImpl.java:66)
at oracle.apps.az.r12.loader.cpserver.LoaderCp.runProgram(LoaderCp.java:65)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Error while loading apis
java.lang.NullPointerException
at oracle.apps.az.r12.loader.cpserver.APILoader.callAPIs(APILoader.java:158)
at oracle.apps.az.r12.loader.cpserver.LoaderContextImpl.load(LoaderContextImpl.java:66)
at oracle.apps.az.r12.loader.cpserver.LoaderCp.runProgram(LoaderCp.java:65)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Please help in identifying and resolving the issue
SachinThe Source and Target DB character set is same
Output from the query
------------- Source --------------
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
VALUE
AL32UTF8
And target Instance
-------------- Target----------------------
SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET';
VALUE
AL32UTF8
The Error is about Source and Target JAVA Character set
I will check the Prevalidator xml from How to use iSetup and update the note
Thanks
Sachin -
Error while importing data using SAPINST system copy method
Dear Friends,
I am in process of doing system copy from production to Quality.
OS: Linux
Database: DB2
We have completed export from production. I have uninstalled quality system before importing, uninstall of quality system was succesful. Know while importing the exported data by using sapinst method, i am getting error in phase define parameter. Where it is showing error as below.
==============
TRACE 2011-07-01 13:15:35.738
Found Error, error_codes[0] = <SELECT 'DATABASE-SCHEMA '||name||' COUNT : ( '||STRIP(CHAR(cnt1))||' ) ' FROM ( SELECT 'SAPGEQ' AS name , COUNT(*) AS cnt1 FROM SYSCAT.SCHEMATA WHERE schemaname='SAPGEQ' ) AS sub
SQL1036C An I/O error occurred while accessing the database. SQLSTATE=58030>
TRACE 2011-07-01 13:15:35.738
During execution of <last_command.sql>, <1> errors occured.
ERROR 2011-07-01 13:15:35.738 [iaxxinscbk.cpp:260]
MDB-01999 Error occured, first error is: <SQL1036C An I/O error occurred while accessing the database. SQLSTATE=58030>
===================
from the above error , it seems it is trying to conect to old quality database, but i don't know why it is doing so, as i have already uninstall the complete instance using sapinst. need your expert suggestion to over come this issue.
Thanks
Anil BhandaryHi ,
This is probably due to shutdown of the system not correctly.
you will have to re-create control file.
Regards
Nagaraju
Maybe you are looking for
-
Two questions on SP1 and Vista booting
Hi all, two questions: 1) did I understand correctly that if I want SP1 on my machine I have to install it manually, as it is not included in the automatic update routines? 2) my machine failed yesterday, I got a message "Windows failed to start. A r
-
I Use my iPad for most things as I'm on the go a lot. I don't know much about computers but seem to run into problems with accessing site that use adobe flash? Is there away round this with apple?
-
I have reset my apple id and password, but when I try to purchase in itunes i still get a message saying that my apple id has been disabled.
-
Oracle 10g + Bouncy Castle JCE provider
Hi all, I'm trying to deploy Bouncy Castle JCE provider into Oracle environment. I've tried several choices but no one works. My environment: - Oracle 10.2.0.1.0 with Java version 1.4.2_08 - Java app deployed into Oracle uses $ORACLE_HOME/javavm as $
-
When you open a program, for example email, indesign and etc, when I go to look for a file to attach by email or by opening indesign simply it does not show the file, after some time he appears out of nowhere. when I go for mac HD and open the User f