Sql error 7105 on REPOSRC table
Hi dear all, i´m having a database consistency error, after execute the command DBCC CHECKDB, it reported problems wit table REPOSRC with consistency error and suggested a "repair_allow_data_loss", according to note 142731 in this critical cases is recommended a restore from a free error backup, but this is not our situation, (this problem is in development system). In this way sombody know how proceed? is possible copy this table from production? (production is free error). I need first run the repair command and follow by the copy table procedure?.
Thanks and regards
Robinson
Hey,
I might have a solution, to save the developments of the developers, and fix the
problem in the REPOSRC.
This steps, may not end success, and therefore you should take a full backup of the system, before starting this. in addition, if you have a recent backup of the system, you should retore the system to the backup and not contiue,
My recommandation:
find the records with the errors
by copying to table to diffrent table in the same DB (for example REPOSRC_TEMP),
you would probebly find that the records with the errors are SAP Standard reports,
you can determine which row are damaged by the records that can not be read fully, only the primery key fields can be read (in your case the index is not damaged)
now, if you are in the same version SP of SAP in the DEV/PROD,
you can: copy the the records with the errors from REPOSRC of the PROD to you REPOSRC_TEMP, at this case you can drop REPOSRC, and create it again in the SQL server, copy the data from REPOSRC_TEMP to REPOSRC.
Similar Messages
-
Error ODS activation - sql error when accessing a table.
Hi,
sometimes occurs an error by activation ODS. I have proces chain and when is loaded second packet an error occurs. In monitor>>
-RSMPC 128, datapacket 3 is wrong, with status number 9
-RSMPC 131
-RSDRO 108 - communcation error (sql error when accessing a table)
In sm21>
-sql error when accessing a table
-The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
either caught nor passed along using a RAISING clause, in the procedure <b>"UPDATE_ATAB"</b> "(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
The database system recognized that your last operation on the database
would have led to a deadlock.
Therefore, your transaction was rolled back
to avoid this.
ORACLE always terminates any transaction that would result in deadlock.
The other transactions involved in this potential deadlock
are not affected by the termination.
I have BW 3.5.
Thank You very much.There are a few different scenarios that I can think of where this might come up that all involve what might resulting in parallel (concurrent)processes:
Loading packets in parallel - that is there are X number of processes loading packets concurrently. This could be set in your IMG settings system wide or in the InfoPackage for just this datasource. You seem to indicate that you don't have this.
Database parallel processing - RSAMDIN - ORA_PARALLEL_DEGREE ( there was a different RSADMIN parm for older versions - forget what SP the change came with).
You have multiple InfoPackages for the datasource, each loading what should be a different range of data, and they run atthe same time.
You could be loading from two different datasources to the ODS at the same time.
If any of these are true, I would look at bumping the INITRANS setting up. Your DBA will probably need to do this for table and its indices. There is a Note - 831234 that allows you to create a parameter in RSADMIN that will specify a INITRANS value (e.g. 20) rather than using the default. The ODS would need to be activated to pick this new setting up for the table to be altered.
You could also look at the Processing settings for the InfoPackage and change to PSA first, then target to see if that helps.
Or if you are loading from two different datasources at the same time, you might adjust your schedule so that doesn't happen.
Pizzaman -
Process chain failure SQL ERROR 942 ORA-00942:table or view does not exist
HI all,
We have a proces chain with 'ceate index' process type and got failed with an error as follows......
SQL ERROR 942 ORA-00942:table or view does not exist
Plz can anyone give solution for this error.
SATISH.Hey Satish,
Please refer to this thread:
BRCONNECT fails with SQL error -942 at location ora_vers_get-1
I am sure the solution there should solve your problem. There are various other discussions about this error in the forum, I suggest you look through them for better understanding and additional material.
Cheers!!!
Manu. -
SQL error #3115 during Create table
As a new user to this AIR problem, I am using "adl
application.xml" to start up testing.
I am using disk file based table. Disk file is wiped out each
time before startup this application.
Following sql failed all the time. Is there anything wrong
with adl or any cached data need to empty out prior to create
table?
createTables : function(callback) {
// create tables
var stmt = new air.SQLStatement();
stmt.sqlConnection = this.sqlConnection;
stmt.text = "CREATE TABLE IF NOT EXISTS Contacts ( " +
"id INTEGER PRIMARY KEY AUTOINCREMENT, " +
"manufacturer VARCHAR(32), " +
"model VARCHAR(32), " +
"sn VARCHAR(32), " +
"orderNumber VARCHAR(64), " +
"type VARCHAR(256), " +
"shipping VARCHAR(32), " +
"check VARCHAR(32), " +
"notes VARCHAR, " +
"photo BLOB)";
var success = function(event) {
if (callback) callback(true);
var failure = function(event) {
runtime.trace("CREATE TABLE error:", event.error);
runtime.trace("event.error.code:", event.error.code);
runtime.trace("event.error.message:", event.error.message);
if (callback) callback(false, event.text);
stmt.addEventListener(air.SQLErrorEvent.ERROR, failure);
stmt.addEventListener(air.SQLEvent.RESULT, success);
stmt.execute();
D810# adl application.xml
Loaded
Loaded
Loaded
Loaded
Loaded
Loaded
Loaded
creating database D:\blackbooksafe\data\database.db
CREATE TABLE error: SQLError: 'Error #3115: SQL Error.',
details:'near 'VARCHAR'
: syntax error', operation:'execute', detailID:'2003'
event.error.code: undefined
event.error.message: Error #3115: SQL Error.
Cannot create database: Error #3115: SQL Error.
D810#Hi Dimitri.
If you click on the tables node before you right click, does this work for you? Apple's focus is different to windows and you need to click on the component you wish to get a menu on on OSX
Let me know.
B -
SQL error "-911" while running background job
Hi Experts,
We are getting the below runtime error while a background job is run.
SQL error "-911" when accessing table "DD02L".
Error Text of the Database: "SQL0911N The current transaction has been rolled
back because of a deadlock or timeout. Reason code "2". SQLSTATE=40001 row=1"
The error is happening at a delete statement.
Please let me know what might be the reason of this error and how this can be resolved.
Thanks,
Jissa.Hi,
The system is taking very long for processing delete statement.
can u send me ur code, so based on that i will give u some idea.
Ram. -
Error at "spacechk_ini" phase with SQL ERROR 942: ORA-00942
Dear support,
I am posting this problem again in upgrade forum as i am still dont have proper answer.
We are performing upgrade from 4.0B (4.0B Ext kernel level 996 , windows 2000 Oracle 9.2.0.5 ) to 4.7 Ext 2.00 SR1. I have upgraded my database from 8.1.7.4 to 9.2.0.5 as prerequisite for upgrade.
While performing Initialization module we got below error
" No DB freespace check possible code -4 "
When i analyzed slog found below error
Phase SPACECHK_INI:
ERROR: Statement: SELECT "TABLESPACE_NAME", "BYTES"/1048576 FROM SYS."DBA_TEMP_FILES" WHERE "BYTES" >= 1048576
ERROR: SQL ERROR 942: ORA-00942: table or view does not exist
ERROR: Statement: SELECT "TABLESPACE_NAME", "BYTES"/1048576 FROM SYS."DBA_TEMP_FILES" WHERE "BYTES" >= 1048576
ERROR: ERROR 256: invalid cursors id
ERROR: SQL ERROR 942: ORA-00942: table or view does not exist
have observed one more thing at my database ( which is now upgraded to 9.2.0.5 as prerequisite for upgrade to 4.7)
select * from dba_temp_files;
no rows selected.
But when i run same querry to my another server which is 4.7 oracle 9.2.0.5 i get output as list of datafiles with PSAPTEMP tablespace.
I think problem might be this fixed tables/view dba_temp_files is showing no rows as PSAPTEMP tablespace.Also we cannot add any value to this table as it is fixed tabel/view.
How we can troubleshoot this?
I would also like to inform in my 40 B database PSAPTEMP tablespace is dictionary managed after upgrade to 9.2.0.5 but
In another server which is 4.7 9.2.0.5 , PSAPTEMP tablespace is locally managed
May be this is the problem why my dba_temp_files showing nothing.
Do i need to perform DMTS to LMTS for psaptemp tablespace.so that my dba_temp_files view will show me psaptemp tablespace under it?
Can anybody suggess something on the same at earliest ?
Best Regards,
AjitRMarkus ,
Thanks for reply but i have performed database refresh of my DEV server long time back. Now as part of upgrade i have also performed Oracle upgrade from 8.1.7.4 to 9.2.0.6 . Now how can i bring data in dba_temp_files.
Shouls i go for drop and recreate PSAPTEMP tablespace option.
Please guide me in detail as i cannot restore backup from any other server to DEV because database already upgraded.
Best Regards,
AjitR -
Error #3115: SQL Error.', details:'no such table
Hi,
I'm creating my Adobe Air App using Flash CS5 Professional and facing exactly the following error.
SQLError: 'Error #3115: SQL Error.', details:'no such table: 'categories'', operation:'execute', detailID:'2013'
My SQLite Db has been created using Firefox extension - SQLite Manager. The db file is placed into the same folder as the .fla and .swf files. The db has three tables namely: categories, period and activity. I don't understand why I'm getting this error. I have even tried copy pasting other source code from AS 3.0 reference guide but same error every time.
The code below is a modified version of example code in AS 3.0 reference documentation. Can you suggest how the above error can be fixed?
/you can also reply to me directly at [email protected]
/regards
import flash.data.SQLConnection;
import flash.data.SQLResult;
import flash.data.SQLStatement;
import flash.display.Sprite;
import flash.events.SQLErrorEvent;
import flash.events.SQLEvent;
import flash.filesystem.File;
var conn:SQLConnection;
var insertCategory:SQLStatement;
var dbFile:File;
databaseConnect();
function databaseConnect():void
// define where to find the database file
var appStorage:File = File.applicationStorageDirectory;
dbFile = appStorage.resolvePath("MyBudgetCalc.db");
// open the database connection
conn = new SQLConnection();
conn.addEventListener(SQLErrorEvent.ERROR, errorHandler);
conn.addEventListener(SQLEvent.OPEN, openHandler);
trace("dbFile.exists:"+ dbFile.exists);
conn.openAsync(dbFile);
// Called when the database is connected
function openHandler(event:SQLEvent):void
conn.removeEventListener(SQLEvent.OPEN, openHandler);
// start a transaction
//Object(this).inputfield.text = "openHandler called.. ";
conn.addEventListener(SQLEvent.BEGIN, beginHandler);
conn.begin();
trace("exiting openHandler..");
// Called when the transaction begins
function beginHandler(event:SQLEvent):void
conn.removeEventListener(SQLEvent.BEGIN, beginHandler);
//trace("beginHandler - SQLEvent message: "+SQLEvent.message);
Object(this).inputfield.text = "beginHandler called.. ";
insertCategory = new SQLStatement();
insertCategory.sqlConnection = conn;
insertCategory.text = "INSERT INTO categories(id, name) VALUES (', Auto')";
insertCategory.execute();
insertCategory.addEventListener(SQLEvent.RESULT, insertCategoryHandler);
insertCategory.addEventListener(SQLErrorEvent.ERROR, errorHandler);
trace("exiting beginHandler..");
// Called after the phone number record is inserted
function insertCategoryHandler(event:SQLEvent):void
insertCategory.removeEventListener(SQLEvent.RESULT, insertCategoryHandler);
insertCategory.removeEventListener(SQLErrorEvent.ERROR, errorHandler);
// No errors so far, so commit the transaction
conn.addEventListener(SQLEvent.COMMIT, commitHandler);
conn.commit();
trace("exiting insertCategoryHandler after conn.commit()..");
// Called after the transaction is committed
function commitHandler(event:SQLEvent):void
conn.removeEventListener(SQLEvent.COMMIT, commitHandler);
trace("exiting commitHandler(): Transaction complete..");
// Called whenever an error occurs
function errorHandler(event:SQLErrorEvent):void
trace("entering errorHandler()..");
// If a transaction is happening, roll it back
if (conn.inTransaction)
conn.addEventListener(SQLEvent.ROLLBACK, rollbackHandler);
conn.rollback();
trace(event.error.message);
trace(event.error.details);
trace("exiting errorHandler()..");
// Called when the transaction is rolled back
function rollbackHandler(event:SQLEvent):void
conn.removeEventListener(SQLEvent.ROLLBACK, rollbackHandler);Can you try creating the table using the AIR ActionScript APIs? It is possible the SQLLite Manager program that you are using is creating a database that isn't compatible with AIR.
-
Hi all,
i have the following code:
DROP TYPE unit_function FORCE
DROP TYPE unit_moving_point FORCE
DROP TYPE moving_point_tab FORCE
DROP TYPE moving_point FORCE
DROP TABLE moving_object_ref
DROP TABLE moving_point_ref
CREATE OR REPLACE TYPE unit_function AS OBJECT
xi NUMBER,
yi NUMBER
CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
p tau_tll.d_period_sec,
m unit_function
CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
CREATE OR REPLACE TYPE moving_point AS OBJECT
u_tab moving_point_tab
CREATE TABLE moving_point_ref OF moving_point NESTED TABLE u_tab STORE AS m_u_tab
When i execute this for the first time the drop commands fail, as expected and the types/tables are successfully created. But if i try to run again the same code i get this error:
ORA-00604: error occurred at recursive SQL level 1 ORA-04063: table "HERMESL.MOVING_POINT_REF" has errors
I have tried to first drop the tables and after the types but then I get this error:
ORA-00604: error occurred at recursive SQL level 1 ORA-22914: DROP of nested tables not supported
this error occurs when the "DROP TYPE unit_function FORCE" and "DROP TYPE unit_moving_point FORCE" commands is to be executed...
Can anyone help me?
Thanks...Works on 10.1.0.3.
What is your exact version?
SQL> DROP TYPE unit_function FORCE
2 /
DROP TYPE unit_function FORCE
ERROR at line 1:
ORA-04043: object UNIT_FUNCTION does not exist
SQL> DROP TYPE unit_moving_point FORCE
2 /
DROP TYPE unit_moving_point FORCE
ERROR at line 1:
ORA-04043: object UNIT_MOVING_POINT does not exist
SQL> DROP TYPE moving_point_tab FORCE
2 /
DROP TYPE moving_point_tab FORCE
ERROR at line 1:
ORA-04043: object MOVING_POINT_TAB does not exist
SQL> DROP TYPE moving_point FORCE
2 /
DROP TYPE moving_point FORCE
ERROR at line 1:
ORA-04043: object MOVING_POINT does not exist
SQL> DROP TABLE moving_object_ref
2 /
DROP TABLE moving_object_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> DROP TABLE moving_point_ref
2 /
DROP TABLE moving_point_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL>
SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
2 (
3 xi NUMBER,
4 yi NUMBER
5 );
6 /
Type created.
SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
2 (
3 m unit_function
4 );
5 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
2 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
2 (
3 u_tab moving_point_tab
4 );
5 /
Type created.
SQL> CREATE TABLE moving_point_ref OF moving_point
2 NESTED TABLE u_tab
3 STORE AS m_u_tab
4 /
Table created.
SQL> DROP TYPE unit_function FORCE
2 /
Type dropped.
SQL> DROP TYPE unit_moving_point FORCE
2 /
Type dropped.
SQL> DROP TYPE moving_point_tab FORCE
2 /
Type dropped.
SQL> DROP TYPE moving_point FORCE
2 /
Type dropped.
SQL> DROP TABLE moving_object_ref
2 /
DROP TABLE moving_object_ref
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> DROP TABLE moving_point_ref
2 /
Table dropped.
SQL>
SQL> CREATE OR REPLACE TYPE unit_function AS OBJECT
2 (
3 xi NUMBER,
4 yi NUMBER
5 );
6 /
Type created.
SQL> CREATE OR REPLACE TYPE unit_moving_point AS OBJECT
2 (
3 m unit_function
4 );
5 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point_tab AS TABLE OF unit_moving_point;
2 /
Type created.
SQL> CREATE OR REPLACE TYPE moving_point AS OBJECT
2 (
3 u_tab moving_point_tab
4 );
5 /
Type created.
SQL> CREATE TABLE moving_point_ref OF moving_point
2 NESTED TABLE u_tab
3 STORE AS m_u_tab
4 /
Table created.
SQL> disconnect
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options -
SQL error in the database when accessing a table.
Hi,
I got below error at production server. Please suggest how to reslove this error.
<br>
<br>
<br>
Runtime Errors DBIF_RSQL_SQL_ERROR
<br>
Exception CX_SY_OPEN_SQL_DB
<br>
Date and Time 02.01.2011 15:55:06
<br>
<br>
<br>
<br>
<br>
Short text
<br>
SQL error in the database when accessing a table.
<br>
<br>
<br>
How to correct the error
<br>
Database error text........: "[10054] TCP Provider: An existing connection was
<br>
forcibly closed by the remote host.
<br>
[10054] Communication link failure"
<br>
Internal call code.........: "[RSQL/INSR/SWFCNTBUF ]"
<br>
Please check the entries in the system log (Transaction SM21).
<br>
<br>
If the error occures in a non-modified SAP program, you may be able to
<br>
find an interim solution in an SAP Note.
<br>
If you have access to SAP Notes, carry out a search with the following
<br>
keywords:
<br>
<br>
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
<br>
"CL_SWF_CNT_FACTORY_SHMEM======CP" or "CL_SWF_CNT_FACTORY_SHMEM======CM001"
<br>
| "ADD_INSTANCE"
<br>
<br>
<br>
Information on where terminated
<br>
Termination occurred in the ABAP program "CL_SWF_CNT_FACTORY_SHMEM======CP" -
<br>
in "ADD_INSTANCE".
<br>
The main program was "SAPMSSY1 ".
<br>
<br>
In the source code you have the termination point in line 16
<br>
of the (Include) program "CL_SWF_CNT_FACTORY_SHMEM======CM001".
<br>
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
<br>
procedure "ADD_INSTANCE" "(METHOD)", but it was neither handled locally nor
<br>
declared
<br>
in the RAISING clause of its signature.
<br>
<br>
The procedure is in program "CL_SWF_CNT_FACTORY_SHMEM======CP "; its source
<br>
code begins in line
<br>
1 of the (Include program "CL_SWF_CNT_FACTORY_SHMEM======CM001 ".
<br>
<br>
<br>
<br>
Source Code Extract
<br>
<br>
Line
SourceCde
<br>
<br>
1
METHOD add_instance .
<br>
2
<br>
3
data: ls_id type swfcntbuf.
<br>
4
<br>
5
check buffer method - store in local buffer if necessary
<br>
6
retcode = cl_swf_cnt_factory=>add_instance( ibf_por = ibf_por instance = instance ).
<br>
7
<br>
8
CHECK m_buffer_method EQ mc_buffer_shared.
<br>
9
<br>
10
append key to list of tasks to add stored in database table SWFCNTBUF
<br>
11
will be evaluated by build process for shared memory area (UPDATE_BUFFER method)
<br>
12
<br>
13
ls_id-mandt = sy-mandt.
<br>
14
ls_id-id = ibf_por.
<br>
15
<br>
>>>>>
INSERT swfcntbuf CONNECTION r/3*wfcontainer
<br>
17
FROM ls_id.
<br>
18
<br>
19
IF sy-subrc EQ 0.
<br>
20
Commit seems to be necessary always, even if INSERT has failed, to get rid of
<br>
21
database locks
<br>
22
COMMIT CONNECTION r/3*wfcontainer.
<br>
23
ENDIF.
<br>
24
<br>
25
ENDMETHOD.
<br>duplicate here SQL error in the database when accessing a table.
Do not post the same question in more than on forum. -
dear all,
i have done a system copy from production server into quality server. quality was scrapped and freshly installed with SAP then used the DB flush method to carry out the system copy. i had to change the DBS_ORA_SCHEMA in environment variables to SAP<SOURCE SID> from SAPSR3. the sap version is ECC6.0,DB is ORACLE10.2 on WIN NT.
after MMC opened, i get "SQL error in the database when accessing a table" error is coming. in SM21, I am getting "Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000 )
Database error 8103 at SEL access to table TBTCO
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
Database error 8103 at FET access to table TBTCP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
> Short dump "081018 130339 sibqty_Q TY_00 " generated
Transaction Canceled 00 671 ( DBIF_RSQL_SQL_ERROR 20081018130339sibqty_QTY_00 SAPSYS 000
Delete session 001 after error 023
Database error 8103 at DEL access to table TMSALOGAR
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Database error 8103 at FET access to table SNAP
Run-time error "DBIF_RSQL_SQL_ERROR" occurred
> Short dump "081018 130432 sibqty_Q TY_00 " generated
Transaction Canceled SY 002 ( SQL error in the database when accessing a table. )
Database error 8103 at FET access to table TSP02"
please find the st22 DUMP:
ow to correct the error |
Database error text........: "ORA-08103: object no longer exists"
Internal call code.........: "[RSQL/READ/TBTCO ]"
Please check the entries in the system log (Transaction SM21).
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"SAPMSSY2" or "SAPMSSY2"
"INITIATE_JOB_START"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"INITIATE_JOB_START" "(FORM)", or its possible occurrence must be declared in
the
RAISING clause of the procedure.
|
please do me this favor if you know to avoid this problem..
thanks a lot..Hello Anuj,
This is because the COUNT(*) is returning a value which is longer than the INT4 data type it is expecting. If you restrict the selection by introducing a WHERE clause, then you won't get the dump:
DATA: dyn_from TYPE string,
dyn_where TYPE string,
gx_sql_err TYPE REF TO cx_sy_open_sql_error,
gv_text TYPE string.
dyn_from = `DD01L INNER JOIN DD02L ON DD02L~AS4LOCAL = DD01L~AS4LOCAL AND DD02L~AS4VERS = DD01L~AS4VERS`.
dyn_where = `DOMNAME LIKE 'Z%'`.
TRY .
SELECT COUNT(*) FROM (dyn_from) WHERE (dyn_where).
WRITE: / sy-dbcnt NO-GROUPING.
CATCH: cx_sy_open_sql_db INTO gx_sql_err,
cx_sy_dynamic_osql_semantics INTO gx_sql_err,
cx_sy_dynamic_osql_syntax INTO gx_sql_err.
ENDTRY.
IF gx_sql_err IS BOUND.
gv_text = gx_sql_err->get_text( ).
WRITE: / gv_text.
ENDIF.
BR,
Suhas -
Error message in TRFC 'An SQL error occurred when accessing a table'
Hi all,
Can any one tell what this below error message is about in while go into TRFC
'An SQL error occurred when accessing a table'.
and please tell me how to solve this problem.Hi
Try to see what all tables are accessed by data source. and see if there is any lock on that..
If some other job is accessing that table - then there might be lock on that which is causing failure..
1) Try looking at ST22 dump also..
2) Try to do RSA3 in R/3 and if see if its is fetching any records or not..
Hoep it helps
--SA -
HI ,
we are facing below issue while activating info object xxxxxxxx
" SQL Error: ORA-00942: table or view does not exist " and " CX_RS_SQL_ERROR "
can any one help us out to resolve this issue.
Thanks,
EDK......Hi,
Check the corrections given in the note 990764:
Reason and Prerequisites
Up to now, using a characteristic with its own master data read class as the InfoProvider was not supported. This is now released but it is not available for all modelings. Using the attributes in the query is not supported for characteristics that have their own master data read class. Using the attributes in the query causes a termination. The following errors may occur in this case:
ORA-00942: table or view does not exist
Fehler in CL_SQL_RESULT_SET Include NEXT_PACKAGE
RAISE_READ_ERROR in CL_RSDRV_VPROV_BASE
Solution
SAP NetWeaver 2004s BI
Import Support Package 11 for SAP NetWeaver 2004s BI (BI Patch 11 or SAPKW70011) into your BI system. The Support Package is available once Note 0914305 "SAPBINews BI 7.0 Support Package 11", which describes this Support Package in more detail, has been released for customers.
In urgent cases you can implement the correction instructions.
The correction instructions contain the tightened inspection for characteristics.
Regards,
Anil Kumar Sharma .P -
Loading issue : Error: sql error in the database while accessing a table
Hello,
where as one of the DTP in the process chain failed due to *Error: sql error in the database while accessing a table*, where as in the short dump it showing as Transaction log of data base is full., but i checked the data base space in DB02, more space is available . once we run the same DTP by manually its successful. its not through any errors.
could u please help me out solve the problem.
Thanks
siva kumar.it might be a lock. do you drop index before loading?
the database might be full at the moment of loading and not later if many loadings happen at the same time on the same system...
when you then rerun your dtp manually, it can go through as it's perhaps the only one running at that moment...
you can try to set the btch parameter to 1...this will help in some cases.
M. -
ORA-06502: PL/SQL: error TABLE OF BOOLEAN INDEX BY BINARY_INTEGER;
Hi,
I've a Compiled Body Package which code I described below:
create or replace
PACKAGE body emp_pkg
IS
TYPE boolean_tabtype2
IS
TABLE OF BOOLEAN INDEX BY BINARY_INTEGER;
valid_jobs boolean_tabtype2;
PROCEDURE add_employee(
first_name employees.first_name%TYPE,
last_name employees.last_name%TYPE,
deptid employees.department_id%TYPE,
jobid employees.job_id%type)
IS
BEGIN
IF valid_deptid(deptid) THEN
if valid_jobid(jobid) then
INSERT
INTO employees
employee_id,
first_name,
last_name,
email,
hire_date,
job_id,
department_id
VALUES
employees_seq.NEXTVAL,
first_name,
last_name,
SUBSTR(first_name,1,1)
||SUBSTR(last_name,1,7)
||'@buongio.com',
sysdate,
'SA_REP',
deptid
ELSE
RAISE_APPLICATION_ERROR (-20204, 'Invalid job ID. Try again.');
END IF;
END add_employee;
PROCEDURE init_jobs
is
begin
FOR rec IN
(SELECT job_id FROM jobs
LOOP
valid_jobs(rec.job_id):=true;
END LOOP;
END init_jobs;
function valid_jobid(
jobid employees.job_id%type)
return boolean
is
BEGIN
return valid_jobs.exists(jobid);
EXCEPTION
WHEN no_data_found THEN
dbms_output.put_line('no valid');
RETURN FALSE;
END valid_jobid ;
BEGIN
init_jobs;
END emp_pkg;and the server gives me the next output
ORA-06502: PL/SQL: error : error de conversión de carácter a número numérico o de valorI suspect that the problem is the procedure init_jobs but I don't Know what could I do to resolve it.
Thanks in advance...sorry
I forget to remove it,
the code:
create or replace
PACKAGE body emp_pkg
IS
TYPE boolean_tabtype2
IS
TABLE OF BOOLEAN INDEX BY BINARY_INTEGER;
valid_jobs boolean_tabtype2;
PROCEDURE add_employee(
first_name employees.first_name%TYPE,
last_name employees.last_name%TYPE,
deptid employees.department_id%TYPE,
jobid employees.job_id%type)
IS
BEGIN
if valid_jobid(jobid) then
INSERT
INTO employees
employee_id,
first_name,
last_name,
email,
hire_date,
job_id,
department_id
VALUES
employees_seq.NEXTVAL,
first_name,
last_name,
SUBSTR(first_name,1,1)
||SUBSTR(last_name,1,7)
||'@buongio.com',
sysdate,
'SA_REP',
deptid
ELSE
RAISE_APPLICATION_ERROR (-20204, 'Invalid job ID. Try again.');
END IF;
END add_employee;
PROCEDURE init_jobs
is
begin
FOR rec IN
(SELECT job_id FROM jobs
LOOP
valid_jobs(rec.job_id):=true;
END LOOP;
END init_jobs;
function valid_jobid(
jobid employees.job_id%type)
return boolean
is
BEGIN
return valid_jobs.exists(jobid);
EXCEPTION
WHEN no_data_found THEN
dbms_output.put_line('no valid');
RETURN FALSE;
END valid_jobid ;
BEGIN
init_jobs;
END emp_pkg; -
SQL error "-601" occurred when accessing table "SMEN_BUFFC
Hi Guys
I am getting the above error at tiem when i am logging on.
The actual error message in the st22 dump is
Database error text........: "SMEN_BUFH5 in R3EPT32000 type *SQLPKG already
exists. Job=018343/EPT01/WP00"
The termination occurred in the ABAP/4 program "SAPLSMTR_NAVIGATION_MODULES "
in
"SMTR_STRU_PROCESS_STRUCTURE".
The main program was "SAPLSMTR_NAVIGATION ".
This seems to happen when some users log on to the system and then tries to change their password. If I stop sap and start it again, the rror goes away.
I have actually deleted the sql package with the command
DLTSQLPKG R3EPT32000\SMEN_BUFH5.
This seem to work but after a while the erro comes back againDear Christian,
at the moment in our Productive system we have hundreds of Dumps: nearly at every log on user get a DUMP with the well known message.
Analyzing develoepr trace we find following information:
C Wed Mar 14 09:54:35 2007
C Concurrent prepare happened for SIPID
C Library name: R3S1132000
C Package name: SMEN_BUFH5
C Statement name: "QL1YQAAAAAFC"
C SQL Error: -601
C *** ERROR => Error -601 in function prep_cached_op [dbsldb4.cpp 7057]
C Library name: R3S1132000
C Package name: SMEN_BUFH5
C Statement name: "QL1YQAAAAAFC"
C Failing statement is:
C , SELECT * FROM R3S11DATA/"SMEN_BUFFC" WHERE "MANDT" = ? AND "UNAME" = ? WITH UR
B ***LOG BY4=> sql error -601 performing PRE on table SMEN_BUFFC [dbtran 7009 ]
B ***LOG BY0=> SMEN_BUFH5 in R3S1132000 tipo *SQLPKG esiste gi{. Job=251690/S1100/WP12 [dbtran 7009 ]
B dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'
B FHDR: {tab='SMEN_BUFFC ',
fcode=53, mode=2, bpb=0, dbcnt=0, crsr=1,
B hold=0, keep=1, xfer=2, pkg=0, upto=0, init:b=0,
B init:p=0000000000000000, init:#=278, wa:p=0000000000000000, wa:#=278}
B dbtran ERROR LOG (hdl_dbsl_error): DbSl 'PRE'
B STMT:
B CRSR: {tab='SMEN_BUFFC ', id=-1, hold=0, prop=0x10000, max.in@0=1, fae:blk=10,
B con:nm='R/3', con:id=0, con:vndr=2, val=2,
B key:1=0, key:#=6, xfer=2, xin:#=0, xout:#=0, upto=0,
B wa:p=000000800440C380, init:p=00000090D4CF4DF8, init:#=15, init:b=0}
Additionaly we also tried to delete only mentioned SQL package (while system was running), but without succes.
What do you think?
Giuseppe
Maybe you are looking for
-
Error while using OWSM File based authentication - URGENT
Hi , We have the requirement to invoke the gateway protected webservice from the client. PLEASE GIVE ME A SOLUTION. IT IS URGENT. I have protected a webservice via OWSM Gateway.The webservice was devloped with the jdev RPC-ENC format and deployed on
-
Hi, I am getting following error validating trading partner. I have double checked the TP setup, everything looks fine. I had earlier successfully validated, later added a document type and trying to re-validate. AIP-11052: Writing following objects:
-
BEA-001156 error repates with DR datasource in 10.3.2
I am getting an below error with 10.3.2 DG statsource (listner is down ). we have same configuration in 10.3.1 and errors out first time and does not repeat unlike 10.3.2 . any help is appreciated. ####<Jan 31, 2011 10:05:47 AM PST> <Warning> <JDBC>
-
Posting date filed not available to modify in invoices from SRM
Hi there. When we try to create an invoice from SRM ITS, the field posting date it is as displayed field, we can not populate it with another date. The value of this field is always the actual date. Is it possible to activate this field in order to m
-
Outlook 2003 and Office 2007/10 Files
Our exec is having problems opening up files created with the Office 2007/10 standard...doesn't matter if it is WORD or EXCEL...and he has the compatibility pack installed to read the files. When he tries to open a DOCX or XLSX file within an email a