SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES
Hi Guys,
1) I conducted a homogenous liveCache Copy from TPC System TSP to TSQ
2) Now when attempting to start liveCache in TSQ, I encountered the following error when starting liveCache:
/sapdb/data/wrk/LCQ/lcinit.log
START ****************************
liveCache LCQ (restart)
Tue Oct 30 16:20:53 SST 2007
installation path: /sapdb/LCQ/db
operating system : HP-UX
OK State OFFLINE
starting LCQ into ADMIN
OK
OK DBMServer 7.5.0 Build 021-123-084-954
starting LCQ into ONLINE
OK
creating liveCache application procedures
ERR
-24964,ERR_EXECUTE: error in program execution
1024,/sapdb/LCQ/db/bin/x_python /sapdb/LCQ/db/env/lapps.py -R /sapdb/LCQ/db -d L
CQ -u SUPERDBA,*
Installing APPS
Traceback----
File "/sapdb/LCQ/db/env/installib.py", line 378, in connectAndInstall
installRoutine (session, options)
File "/sapdb/LCQ/db/env/lapps.py", line 48, in install
"APPS"
File "/sapdb/LCQ/db/env/installib.py", line 163, in include
install (session, options)
File "/sapdb/LCQ/db/env/APPS.py", line 78, in install
delPackages = getExistingPackages (options.db, sapuser[0], sapuser[1])
File "/sapdb/LCQ/db/env/APPS.py", line 187, in getExistingPackages
return getExistingPackagesExecSQL (dbname, username, password)
File "/sapdb/LCQ/db/env/APPS.py", line 194, in getExistingPackagesExecSQL
cursor = session.sql (
Error----
sql.SQLError: sql.SQLError: [-4004] (at 30) Unknown table name:DBPROCEDURES
ERROR : liveCache LCQ not restarted (see /sapdb/data/wrk/LCQ/lcinit.log)
Tue Oct 30 16:21:14 SST 2007
END *****************************
Can anyone advice? Thanks.
Regards,
Simon
Hi Simon,
did you load the system tables after you performed the system copy?
Regards,
Melanie
Similar Messages
-
Unknown table name:PERSON
Hi,
I created a table in dbmcli :
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd -c sql_execute CREATE TABLE person (pno FIXED(6), name CHAR(20), city
CHAR(20))
OK
C:\>dbmcli.exe -d MAXDB2 -u DBADMIN,pwd -c sql_execute select count(*) from person
OK
END
0
But when query in SQL STUDIO, I receive :
--- Error -
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
Base table not found;-4004 POS(23) Unknown table name:PERSON
select count( *) from person
What is wrong ?
Thank you.Hi BIG136,
if you run a command like
dbmcli -u dbadmin,<pw> -d <db name> -c sql_execute <any command>
the command is executed as user dbm. This is the reason why you do not see the table in SQL Studio as dbadmin. Run instead
dbmcli -u dbadmin,<pw> -d <db name> -uSQL dbadmin,<pw> -c sql_execute <any command>
and the table will be also found in SQL Studio as user dbadmin. To execute an SQL command with dbmcli you normally first open a session, execute the command and then release the session. Because this is hardly possible with a single command line you should use -uSQL option which does all this for you at once.
Regards,
Steffen -
Hello.
After opening the SQL studio I get the following error.
Error -
Auto Commit: On, SQL Mode: Internal, Isolation Level: Committed
Base table not found;-4004 POS(21) Unknown table name:SYS_MYAUTOSUPPOSE.
SELECT SUPPOSE FROM SYSDBA.SYS_MYAUTOSUPPOSE WHERE TYPE = 0
I've checked - such table does not exist.
Should I create it manually?
If so, what are its parameters (columns)?
Thank Yyou, LUCAS.Hello,
the table SYS_MYAUTOSUPPOSE is a SQL Studio system table which was used in a previous version of SQL Studio (7.5). In new database releases the table does not exist. Please install the newest SQL Studio. The newest version of SQL Studio does not need the table SYS_MYAUTOSUPPOSE.
Regards
Wolfgang -
Unknown table name :INFO_STATE
Hi,
on 7.6 on Win 2003, when in GUI DBM , when I want to connect to DB I receive :
-24988 SQL error [info STATE -d]; -4004, Unknown table name : INFO_STATE
Any idea ?
Thank you.Hello,
see:
[http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm|http://maxdb.sap.com/doc/7_7/45/11cbd6459d7201e10000000a155369/content.htm]
load_systab [-u <sysdba_user>,<sysdba_user_password>]
Regards, Michael -
Hello Experts,
After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
Logical Command: DBMRFC
Parameter: exec_lcinit register
Name and Server : LCQ - dusepierp12
DBMRFC Function : DBM_EXECUTE
Command : exec_lcinit register
Error : DBM Error
Return Code : -24964
Error Message : ERR_EXECUTE: error in program execution#
0,sap\lcinit LCQ register -uDBM , -uDBA , -uSQL ,
liveCache LCQ (register)
The liveCache state is ONLINE
DBMServer 7.6.04 Build 009-123-182-193
Creating liveCache application procedures
ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
START *****************************
liveCache LCQ (register)
Thu 07/30/2009
10:26 PM
installation path = S:\sapdb\LCQ\db
OK
DBMServer 7.6.04 Build 009-123-182-193
Creating liveCache application procedures
ERR
-24964,ERR_EXECUTE: error in program execution
1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
Traceback----
Error----
sql.SQLError: [-4008] (at 1) Unknown user name/password combination
Traceback (most recent call last):
File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
connectAndInstall (install, install.__doc__)
File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
session = connect (options)
File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
alterUserNotExclusive(options)
File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
session.release()
AttributeError: 'NoneType' object has no attribute 'release'
ERROR : liveCache LCQ not registered
Thu 07/30/2009
10:26 PM
END ******************************
Many Thanks,
TIA,
NischNischal Mahakal wrote:>
> Hello Experts,
>
> After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
> -24964,ERR_EXECUTE: error in program execution
> 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
> -
Traceback----
Hi there,
looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
For SAP installations, this user is always named "CONTROL".
So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
regards,
Lars -
Hi,
I recently installed 10g on windows and created a databse. I only created one table in my schema "T" but when I do select * fom tab I get all these. Any idea what they are ?
BIN$4slr2AIkQGmj2B8iyLX/0Q==$0 TABLE
BIN$PugCzbrBQ+SLa8xfb9jc7A==$0 TABLE
BIN$UBfhfP2RSJ6MSbcHHhCrtQ==$0 TABLE
T TABLE
Thanks,
Ashafor the current schema owner
purge recyclebin
for all tables, if you are the dba
purge dba_recyclebin
and there are other options
http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10739/tables.htm#i1010137
These tables are a good thing to get rid of, even though Oracle will purge them, since they also get indluded in your RMAN backups, and can increase backupset sizes. We've encountered problems bumping up against the space limit set for our flash recovery area due to this, even though Oracle claims it will delete tables in the recycle bin when this becomes an issue.
-Chuck -
Limit on length of table name?
I created a table named LEARNING_PLAN_COURSE_MAPPING in SAP DB, when I deleted a record in it through EJB, it failed, following is the log.
Any advice will be appreciated.
12:14:07,947 ERROR [STDERR] javax.ejb.FinderException: Find failed: com.sap.dbtech.jdbc.ex
ceptions.DatabaseException: SAP DBTech SQL: [-4004] (at 42) Unknown table name:LEARNING_PLAN_COU_V17Q1UI checked, the Max table name length limitation is 32. But how to modify it? I'd like to enlarge it from 32 to 64. Maybe I should ask on SAP DB forum.
-
SAP* locked!Unlocking from DB level says unknown table USR02
Hi,
The user SAP* is locked.
I tried to unlock it at DB(MAXDB) by query:
sql_execute update <db_schema>.USR02 set UFLAG=0 where BNAME='SAP*' and MANDT=u2019000u2019
It says:
ERR
-24988,ERR_SQL: SQL error
-4004,Unknown table name:USR02
Anything can be done here to unlock the SAP* user?
Thanks in advance!Below are 2 scripts that will a) show the status of a user and b) unlock that user.
Note, this was used in MSSQL.
--This script is used to determine the status of users in a system,
--the codes are as follows:
--0 --> not locked
--32 --> globally locked by administrator
--64 --> locally locked by administrator
--128 --> locked due to incorrect loggins
Use '<SID>'
go
setuser '<sid>'
go
select * from USR02
To unlock a user execute the script below.
Update USR02 set UFLAG=0 where BNAME = '<USER>' and MANDT = '<CLIENT>' -
Writing procedure using table name as parameter
I want to write a procedure to sample size any table. It could be employees, departments, etc. It will not know anything about the table (what table, columns, datatypes) until it is called.
I want to invoke it sample_size(table_name_in, table_name_out, sample_sz).
Table_out will be created and empty. It will determine the columns to be selected from table_in.
It is a given that all columns in table_out exist in table_in with same name/datatypes.
Pseudocoding:
determine increment using size of table_in and sample_sz
build out_var list from table_out
select out_list from table_in
for (rows in table_in) loop by increment
insert into table_out
end for
I wrote function to get cursor:
create or replace
FUNCTION get_cursor
(table_nm IN VARCHAR2,
flds IN VARCHAR2)
RETURN sys_refcursor
IS
cur sys_refcursor;
vQry VARCHAR2(4000);
BEGIN
vQry := 'SELECT ' || flds || ' FROM ' || table_nm;
OPEN cur FOR vQry;
RETURN cur;
END get_cursor;
What I cannot figure out is how to define rowtype in calling procedure:
PROCEDURE
sample_size( table_in IN VARCHAR2,
table_out IN VARCHAR2,
sample_sz IN NUMBER )
IS
c1 sys_refcursor;
vInto VARCHAR2(4000);
BEGIN
-- code to get variables desired into variable vInto (I know how to do this)
c1 := get_cursor(table_in,vInto);
LOOP
FETCH c1;
EXIT WHEN c1%NOTFOUND;
-- code to decide wether to insert row into table_out
END LOOP;
CLOSE c1;
END sample_size;
I get error on FETCH c1; line:
Error(47,15): PLS-00103: Encountered the symbol ";" when expecting one of the following: . into bulk
All discussions I found about subject will have something similar to:
Rec emp%rowtype
and then
fetch c1 into Rec
None of the discussions showed me how to process an unknown table.
If tomorrow someone tells me to sample_size table CITIES, I want to use function without having to change it.
This is my first post. I hope I gave enough information. Thanks for any answer.Welcome to the forum.
If yours is not an exercise why you don't want to use just
<tt><b>[url http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_10002.htm#SQLRF01702]select * from table_name {sample_clause}</b></tt> ;)
Regards
Etbin -
Unknown table--- BIN$q9sxdXaDQgWvL8DWKxQFbw==$0
I found the following unknown table in my scott/tiger instance.this table is named as
BIN$q9sxdXaDQgWvL8DWKxQFbw==$0
i am unable to run desc command or drop command on this table
looking for some help regarding this
thanks and regardsHi,
Oracle introduce the concept of Recyclebin in 10g,whenever u drop the tables from schema then it automatically move to recyclebin and its names has changes with bin+some uq identifier,now in 10g ,after droping the tables from schema u can easily recover it by issuing one command.
and if u want to be purge this table then use
PURGE TABLE BIN$q9sxdXaDQgWvL8DWKxQFbw==$0;
http://download-uk.oracle.com/docs/cd/B14117_01/server.101/b10739/tables.htm#sthref2018
Kuljeet -
Report data binding error unknown column name
Hi,
I am having a problem with the new 7.02 update of Report
Builder. The issue is it's not finding my SQL query.
I have wrote my query initally in the advance mode, and it
doesn't seem to reconize it. Is there an issue with this?
I did manage to fix one of my reports by using the basic mode
and selecting all my tables and seting my linkage and criteria.
I have other computers that i have not updated to 7.02 and
they do not have this issue. Below is the error:
Error Occurred While Processing Request
Report data binding error Unknown column name : work_phone.
Please try the following:
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.1.4322; .NET CLR 2.0.50727)
Remote Address 127.0.0.1
Referrer
Date/Time 13-Jul-06 02:33 PM
Stack Trace (click to expand)
coldfusion.runtime.report.Report$ReportDataBindingException:
Report data binding error Unknown column name : work_phone.
at
coldfusion.runtime.report.Report.runReport(Report.java:420)
at
coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
at
coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
This report works in 7.01. So all query variables match with
a variable in the SQL select statement.
Anyone have any Ideas??
Thanks,
DanielThank you very much for help.
The "Unknown column name " is a field still used in my
report, so I can't remove it.
After I clear the query in the report and reopen the report
and apply the same query back to it, I get different error message:
Element TASKNUM is undefined in QUERY.
The error occurred in : line 1
-1 : Unable to display error's location in a CFML template.
I know for sure this "Element TASKNUM is undefined in QUERY."
is defined in query. each time it complains something different. I
get really confused.
Thanks again.
Yueming -
Unknown Column Name "XYZ" not detemined untill runtime.Select query.
Hi,
I have written a query in ABAP.I am getting following error.Can some one help me resolve this.There is a column "LANDX" in standard table T005 of PI which i need to get values from. The problem is that the column is visible only at runtime and not otherwise.How can i fetch data from this coulmn writing a select query for this.
Query written is:
SELECT landx from T005 into table it_t005.
Error:
"Unknown column name "XYZ" not determined untill runtime,you cannot specify a field list."Hi Deepika u were right. that there is a landx field but it is included in that table.
so u cant exactly get it.
now u can get ur country name and iso code just like this.
tables: t005t , t005.
data: BEGIN OF it OCCURS 100,
landx like t005t-landx,
intca like t005-intca,
END OF it.
SELECT t005t~landx t005~intca into CORRESPONDING FIELDS OF TABLE it
from T005t
INNER JOIN t005 on ( t005t~land1 = t005~land1 ).
it is fulfilling ur need.
Edited by: Matt on Feb 3, 2009 7:49 AM - Please don't use txtspk -
Dynamic Table name in Inner Join in 4.6c
data: tab1(10) type c value 'MARA',
tab2(10) type c value 'MAKT'.
data: dbtab1(10) type c,
dbtab2(10) type c .
dbtab1 = tab1.
dbtab2 = tab2.
DATA: BEGIN OF itab occurs 0,
matnr TYPE mara-matnr,
maktx type makt-maktx,
END OF itab.
DATA: column_syntax TYPE string,
dbtab_syntax TYPE string.
PARAMETERS: p_matnr TYPE mara-matnr.
dbtab_syntax = '( (dbtab1) AS t1 '
&' INNER JOIN (dbtab2) AS t4 ON t1MATNR = t4MATNR )'.
SELECT matnr maktx
FROM (dbtab_syntax)
INTO TABLE itab WHERE t4~matnr = p_matnr.
Got the following error:
"A table name, specified in an SQL command, is unknown"
It seems not able to read dynamic table name in dbtab_syntax.
thanks
anya
Moderation Message: Duplicate Post.
Edited by: kishan P on Nov 29, 2010 11:17 AMHi,
Check this link.
[http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb39c4358411d1829f0000e829fbfe/frameset.htm]
[Re: accessing dynamic internal table's fields??;
hope it'll help u.
Regards,
Sneha.
Edited by: sneha kumari on Jun 18, 2009 1:57 PM -
SQL Statement error - ORA-00903: invalid table name
Hi
I have written a sql script that gets executed from a form within e-business suite. Unfortunately, the script is falling over with an error:
unknown command beginning "MERGE INTO..." - rest of line ignored.
unknown command beginning "USING edop..." - rest of line ignored.
unknown command beginning "ON (elw.ro..." - rest of line ignored.
unknown command beginning "WHEN MATCH..." - rest of line ignored.
For a list of known commands enter HELP
and to leave enter EXIT.
SET ELW.billed_flag = t.billed_flag,
ERROR at line 2:
ORA-00903: invalid table name the actual statement that is causing the issue is:
MERGE INTO edopaif.table1 elw
USING edopaif.tablw2 t
ON (elw.rowid = t.LOAD_WORKING_ROWID)
WHEN MATCHED THEN
UPDATE
SET ELW.billed_flag = t.billed_flag,
ELW.last_bill_generated = t.last_bill_generated,
ELW.last_bill_type = t.last_bill_type,
ELW.load_month = t.load_month,
ELW.BILL_TRANSACTION_ID = t.bill_transaction_id
WHEN NOT MATCHED THEN
INSERT(error_meaning)
VALUES('ROWID error with ins_ptia');The version of e-business suite that we are using is: 11.5.10.2.
The version of the Oracle database that we are using is:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for IBM/AIX RISC System/6000: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
Please note that I am able to successfully run the statement directly connected as the APPS schema in the database - the error only occurs when the script is run from the forms front-end (which is really confusing me).
Many thanks
PaulHi
I've modified the script to include only the statement that is erroring and it still errors when executed from the front end application.
Next I re-wrote the statement to use PL/SQL instead of the MERGE statement, to do the update, and the script completes succesfully, i.e.:
DECLARE
CURSOR cu_lw IS
SELECT t.billed_flag,
t.last_bill_generated,
t.last_bill_type,
t.load_month,
t.bill_transaction_id,
t.load_working_rowid
FROM table2 t;
BEGIN
FOR rec_cu_lw IN cu_lw LOOP
UPDATE table1 elw
SET ELW.billed_flag = rec_cu_lw.billed_flag,
ELW.last_bill_generated = rec_cu_lw.last_bill_generated,
ELW.last_bill_type = rec_cu_lw.last_bill_type,
ELW.load_month = rec_cu_lw.load_month,
ELW.BILL_TRANSACTION_ID = rec_cu_lw.bill_transaction_id
WHERE elw.rowid = rec_cu_lw.load_working_rowid;
END LOOP;
END;
/I am still unsure as to why the MERGE statement is failing when executed in the front end, but completes in the backend with no issues at all. Obviously I would prefer to use the MERGE statement instead of PL/SQL to do the update.
Thanks
Paul -
ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
Hi,
I am working on Oracle 10g. When executed import datapump script in the UNIX box with option “RMAP_TABLE” I received the error “unknown parameter name 'REMAP_TABLE' “Can you please give me solution for it?
Scripts :-
impdp eimsexp/xyz TABLES=EIMDBO.DIVISION DIRECTORY=DATAMART_DATA_PUMP_DIR DUMPFILE=expdp_DATAMART_tables_%u_$BATCH_ID.dmp LOGFILE=impdp_DATAMART_tables.log REMAP_TABLE=EIMDBO.DIVISION:EIM2DBO:YR2009_DIM_DIVISION
Note :- The YR2009_DIM_DIVISION table is available in the target database. It is without partition table. The EIMDBO.DIVISION is partition table.
Thanks,See your post here
ORACLE 10g : Datapump-Import : Error: unknown parameter name 'REMAP_TABLE'
Srini
Maybe you are looking for
-
Hi, Currently we are implementing crm & adobe interactive form integration scenario. What we are expecting; when user presses submit via e-mail button on the form, the xml file which is attached to e-mail has to be processed by CRM. We have read pre
-
I have my dock on the "hide" setting, and when i scroll to the bottom of the screen, it jumps up. However, occasionally (and I think it might be related to the uptime of the computer - it might be getting tired) it just won't come up. Suddenly, I wil
-
I reactivated my iphone and it keeps saying iphone is not activated
my phone keeps saying iphone is not activated
-
Hi there: I found one material in co06, rec/reqd qty is 1596, but *** ATP qty is 6, so i failed to create outbound delivery, why those two quantity are not same? It is supposed to be same, help.
-
ICloud Restriction, Annotations
I have iTunes 11.0 and am using iTunes Match on two computers. Home Sharing is "On." One of the computers has two problems: 1. When I try to drag a newly downloaded and purchased song to any Playlist, I get a pop-up message that says: "iCloud Play