ORA-1403 when accessing table SAPUSER

Hi all,
I was performed  from Windows 2003 R2 32bit to Windows 2008 R2 64bit for Homogeneous system copy for SAP ERP 6.0 SR2.
I occure error during Importing on Windows 2008 R2 64bit using sapinst.exe of Install Master ERP 2005 SR2.
Source system : Windows 2003 R2 32bit + Oracle 10.2.0.2 + ERP 2005 SR2 with  Non-Unicode
Target system :  Windows 2008 R2 64bit + Oracle 10.2.0.5 + ERP 2005 SR2 with  Non-Unicode
The step  is stop "Import ABAP"
1. Error detail log
D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: version R7.00/V1.4
Compiled Jul 16 2007 22:44:14
D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe -dbcodepage 1100 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(CNV) ERROR: rscpMCActivate rc = 2048
--------------------------------------5-
code: 2048  RSCPENOCONV 
in character code "MDMP" unknown                                   
module: rscpc    location:   22 line: 14584
TSL01: F43  p3: MDMP      
D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: job finished with 1 error(s)
D:\usr\sap\MAR\SYS\exe\nuc\NTAMD64\R3load.exe: END OF LOG: 20140924032758
2. R3load test connection error
C:\Users\maradm.IDES>R3load.exe -testconnect
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
R3load.exe: START OF LOG: 20140924033549
R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
R3load.exe: version R7.00/V1.4
Compiled Jul 16 2007 22:44:14
R3load.exe -testconnect
DbSl Trace: ORA-1403 when accessing table SAPUSER
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
(DB) INFO: disconnected from DB
R3load.exe: job completed
R3load.exe: END OF LOG: 20140924033549
C:\Users\maradm.IDES>
3. R3trans connect test error
C:\Users\maradm.IDES>R3trans -d .
This is R3trans version 6.14 (release 700 - 15.06.07 - 15:50:00).
2EETW000 sap_dext called with msgnr "2":
2EETW000 ---- db call info ----
2EETW000 function:   db_ntab
2EETW000 fcode:      NT_RDTDESCR
2EETW000 tabname:    TADIR
2EETW000 len:        5
2EETW000 key:        TADIR
2EETW000 retcode:    2
R3trans finished (0012).
trans.log
4 ETW000  [dev trc     ,00000]         SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)                                                            
4 ETW000                                                                             393  0.034113
4 ETW000  [dbsloci.    ,00000]  *** ERROR => ORA-1403 when accessing table SAPUSER
4 ETW000                                                                             429  0.034542
4 ETW000  [dev trc     ,00000]     set_ocica() -> OCI or SQL return code 1403         14  0.034556
4 ETW000  [dev trc     ,00000]  Disconnecting from connection 0 ...                   12  0.034568
4 ETW000  [dev trc     ,00000]  Rolling back transaction ...                          10  0.034578
4 ETW000  [dev trc     ,00000]  Closing user session (con_hdl=0,svchp=000000000025BF58,usrhp=000000000AC98A60)
4 ETW000                                                                             221  0.034799
4 ETW000  [dev trc     ,00000]  Now I'm disconnected from ORACLE                     413  0.035212
4 ETW000  [dev trc     ,00000]  Try to connect with default password                  21  0.035233
4 ETW000  [dev trc     ,00000]  Connecting as SAPSR3/<pwd>@MAR on connection 0 (nls_hdl 0) ... (dbsl 700 250407)
4 ETW000                                                                              24  0.035257
4 ETW000  [dev trc     ,00000]  Nls CharacterSet                 NationalCharSet              C      EnvHp      ErrHp ErrHpBatch
4 ETW000                                                                              27  0.035284
4 ETW000  [dev trc     ,00000]    0 WE8DEC                                                    1 0000000000253E70 000000000025C098 00000000002640F8
4 ETW000                                                                              12  0.035296

Hi Vagesan,
Thank you for your reply
First i try to connection test via R3load -testconnect
   It is ok.
   This problem not correct password of SAPR3. so i modify table SAPUSER OF OPS$ schema. I refer to Note 400241  - Problems with ops$ or sapr3 connect to Oracle
Second.
I retry SAPINST gui of sapinst.exe with button "retry".
but this error message the below.
I guess this IDES System is MDMP codepage.
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20140924061219
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#13 $ SAP
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4
Compiled Jul 17 2007 00:40:17
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe -dbcodepage 4103 -i test_MIGKEY.cmd -l test_MIGKEY.log -K
(DB) INFO: connected to DB
(DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): UTF8
(CNV) ERROR: rscpMCActivate rc = 2048
--------------------------------------5-
code: 2048  RSCPENOCONV 
in character code "MDMP" unknown                                   
module: rscpc    location:   22 line: 14584
TSL01: F43  p3: MDMP      
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
D:\usr\sap\MAR\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20140924061219

Similar Messages

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • MCOD Installation - Error ORA-1403 when accessing table SAPUSER

    Hello.
    We are in middle of a MCOD installation of 4.7 x 2.00 SR1 with BW 3.1 on Windows 2003/Oracle.
    BW 3.1 is up and running, while 4.7 fails on R3loads.
    Following are SAP000.log and SAPUSER.log files:
    SAP000.log
    ===============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193904
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAP0000.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) ERROR: DDL statement failed
    (DROP TABLE "REPOLOAD")
    DbSlExecute: rc = 103
      (SQL error 942)
      error message returned by DbSl:
    ORA-00942: table or view does not exist
    (IMP) INFO: a failed DROP attempt is not necessarily a problem
    DbSl Trace: ORA-406 occured when executing SQL statement (parse error offset = 0)
    (DB) ERROR: DDL statement failed
    (CREATE TABLE "REPOLOAD" ( "PROGNAME" VARCHAR2(40) DEFAULT ' ' NOT NULL , "R3STATE" VARCHAR2(1) DEFAULT ' ' NOT NULL , "MACH" NUMBER(5) DEFAULT 0 NOT NULL , "UNAM" VARCHAR2(12) DEFAULT ' ' NOT NULL , "UDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "UTIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "L_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "Q_DATALG" NUMBER(10) DEFAULT 0 NOT NULL , "SDAT" VARCHAR2(8) DEFAULT '00000000' NOT NULL , "STIME" VARCHAR2(6) DEFAULT '000000' NOT NULL , "MINOR_VERS" NUMBER(5) DEFAULT 0 NOT NULL , "MAJOR_VERS" NUMBER(10) DEFAULT 0 NOT NULL , "LDATA" BLOB , "QDATA" BLOB  ) TABLESPACE PSAPD11620 STORAGE (INITIAL 0000000016K NEXT 0000040960K MINEXTENTS 0000000001 MAXEXTENTS 2147483645 PCTINCREASE 0 ) )
    DbSlExecute: rc = 99
      (SQL error 406)
      error message returned by DbSl:
    ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193905
    ========================================
    SAPUSER.log
    ==============================
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: START OF LOG: 20060507193834
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#4 $ SAP
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: version R6.40/V1.4
    D:\usr\sap\D11\SYS\exe\run/R3load.exe -dbcodepage 1100 -i D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.cmd -l D:\Program Files\sapinst_instdir\R3E_472SR1_ABAP_NUC\DB/SAPUSER.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (DB) INFO: DbSlControl(DBSL_CMD_NLS_CHARACTERSET_GET): WE8DEC
    (DB) INFO: disconnected from DB
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: job completed
    D:\usr\sap\D11\SYS\exe\run/R3load.exe: END OF LOG: 20060507193835
    ==============================================
    Kindly look into it.
    Thanks
    KT

    Hi KT,
    Actually the problem is not ORA-1403, but the <i>ORA-00406: COMPATIBLE parameter needs to be 9.2.0.0.0 or greater</i>.
    Please update the COMPATIBLE parameter in your init<SID>.ora file and restart the database. This should fix your problem.
    Kind regards,
    Alexander Webster
    P.S. points are appreciated if my reply was helpfull.
    Message was edited by: Alexander Webster
    Removed typo

  • RSQL ERROR 23 WHEN ACCESSING TABLE "BKPF"

    Can you tell me what is wrong with this statement.  I get an ABAP runtime error.
    DBIF_RSQL_INVALID_RSQL.
    RSQL ERROR 23 WHEN ACCESSING TABLE "BKPF"
    START-OF-SELECTION.
      SELECT BUDAT BLDAT BLART XBLNR_ALT BKTXT XSNET WAERS FROM BKPF INTO
      IT_BKPF
             WHERE BUKRS = '0004'
             AND BLDAT > '2007/01/01'.

    It was the same with me. My declaration for "TYPES" wasn't like my "SELECT".
    I have a tip: In your "SELECT", select all fields that was declared in your "TYPES".
    Example:
    TYPES: BEGIN OF ty_bkpf,
       bukrs TYPE BKPF-BUKRS,
       belnr TYPE BKPF-BELNR,
       blart TYPE BKPF-BLART,
       budat TYPE BKPF-BUDAT.
    TYPES: END OF ty_bkpf.
    DATA: T_BKPF  TYPE TABLE OF ty_bkpf,
    SELECT BUKRS BELNR BLART BUDAT
       INTO TABLE T_BKPF
       FROM BKPF
       WHERE MONAT = '11'
         AND GJAHR = '2013'.
    Best Regards

  • 403 Error when access Table Storage using SAS token

    I have Azure Mobile Service which has a custom API to generate a sas token for accessing Table Storage from Windows Store app.
    I get following error in Windows Store app while accessing table storage using sas token:
    Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
    Example of sas token generated:
    se=2014-09-12T03%3A10%3A00Z&sp=rw&spk=MicrosoftAccount%3A005d92ef08ec5d83081afed1e08641d2&epk=MicrosoftAccount%3A005d92ef08ec5d83081afed1e08641d2&sv=2014-02-14&tn=Folders&sig=91c7S1QM0byNdM80JncwRribXqsWS1iKmOH8cRvHWhQ%3D
    Azure Mobile Services API Code that generates sas token:
    exports.get = function(request, response) {
    var azure = require('azure-storage');
    var accountName = 'myAccountName';
    var accountKey = 'myAccountKey';
    var host = accountName + '.table.core.windows.net';
    var tableService = azure.createTableService(accountName, accountKey, host);
    var sharedAccessPolicy = {
    AccessPolicy: {
    Permissions: 'rw', //Read and Write permissions
    Expiry: dayFromNow(1),
    StartPk: request.user.userId,
    EndPk: request.user.userId
    var sasToken = tableService.generateSharedAccessSignature('myTableName', sharedAccessPolicy);
    response.send(statusCodes.OK, { sasToken : sasToken });
    function dayFromNow(days){
    var result = new Date();
    result.setDate(result.getDate() + days);
    return result;
    Windows Store app code that uses sas token:
    public async Task TestSasApi()
    try
    var tableEndPoint = "https://myAccount.table.core.windows.net";
    var sasToken = await this.MobileService.InvokeApiAsync<Azure.StorageSas>("getsastoken", System.Net.Http.HttpMethod.Get, null);
    StorageCredentials storageCredentials = new StorageCredentials(sasToken);
    CloudTableClient tableClient = new CloudTableClient(new Uri(tableEndPoint), storageCredentials);
    var tableRef = tableClient.GetTableReference("myTableName");
    TableQuery query
    = new TableQuery().Where(TableQuery.GenerateFilterCondition("PartitionKey",
    QueryComparisons.Equal,
    this.MobileService.CurrentUser.UserId));
    TableQuerySegment seg = await tableRef.ExecuteQuerySegmentedAsync(query, null);
    foreach (DynamicTableEntity ent in seg)
    string str = ent.ToString();
    catch (Exception ex)
    string msg = ex.Message;
    Exception:
    Any help is appreciated.
    Thanks in advance!
    Thanks, Vinod Shinde

    Hi Mekh,
    Thanks for the links. I checked them and mostly they are due to date time on client and server.
    But this is not the case in this scenario.
    here is the Request and Response from Fiddler.
    Request:
    GET
    https://myaccount.table.core.windows.net/Folders?se=2014-09-13T02%3A33%3A26Z&sp=rw&spk=MicrosoftAccount%3A005d92ef08ec5d83081afed1e08641d2&epk=MicrosoftAccount%3A005d92ef08ec5d83081afed1e08641d2&sv=2014-02-14&tn=Folders&sig=YIwVPHb2wRShiyE2cWXV5hHg0p4FwQOGmWBHlN3%2FRO8%3D&api-version=2014-02-14&$filter=PartitionKey%20eq%20%27MicrosoftAccount%3A005d92ef08ec5d83081afed1e08641d2%27
    HTTP/1.1
    Accept: application/atom+xml, application/xml
    Accept-Charset: UTF-8
    MaxDataServiceVersion: 2.0;NetFx
    x-ms-client-request-id: b5d9ab61-5cff-498f-94e9-437694e9256c
    User-Agent: WA-Storage/4.2.1 (Windows Runtime)
    Host: todoprime.table.core.windows.net
    Response:
    HTTP/1.1 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
    Content-Length: 437
    Content-Type: application/xml
    Server: Microsoft-HTTPAPI/2.0
    x-ms-request-id: 22c0543b-0002-0049-7337-da39f4000000
    Date: Thu, 11 Sep 2014 02:33:28 GMT
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
      <code>AuthenticationFailed</code>
      <message xml:lang="en-US">Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
    RequestId:22c0543b-0002-0049-7337-da39f4000000
    Time:2014-09-11T02:33:29.6520060Z</message>
    </error>
    Do you see anything different in this request/response?
    Thanks, Vinod Shinde

  • ORA-28150 when accessing data from a remote database

    Portal Version: Portal 3.0.9.8.0
    RDBMS Version: 8.1.6.3.0
    OS/Vers. Where Portal is Installed:: Solaris 2.6
    Error Number(s):: ORA-28150
    I have a problem with using a database link to access a table in
    a remote database. So long as the dblink uses explicit logins
    then everything works correctly. When the dblink does not have a
    username then I get the ORA-28150 message. The database link is
    always public. A synonym is created locally that points to a
    synonym in the remote database. I am using the same Oracle user
    in both databases. The Oracle portal lightweight user has this
    same Oracle user as its default schema. The contents of the
    remote table are always visible to sqlplus, both when the link
    has a username and when it doesn't have a username.
    All the databases involved are on the same version of Oracle.
    I'm not sure which Oracle login is being used to access the
    remote database, if my lightweight user has a database schema
    of 'xyz' then does portal use 'xyz' to access the remote
    database? I would be very grateful for any help or pointers that
    might help to solve this problem.
    James
    To further clarify this, both my local and remote databases
    schemas are owned by the same login.
    The remote table has a public synonym.
    The link is public but uses default rather than explicit logins.
    The local table has a public synonym that points to the remote
    synonym via the database link.
    If I change the link to have an explicit login then everything
    works correctly.
    I can view the data in the remote database with TOAD and with
    sqlplus even when the database link has default login rather
    than explicit login.
    This seems to point to Portal as being the culprit. Can anyone
    tell me whether default logins can be used across database links
    with portal?
    TIA
    James

    832019 wrote:
    One way to do this is by creating a database link and joining the two tables directly. But this option is ruled out. So please suggest me some way of doing this.Thus you MUST use two connection strings.
    Thus you are going to be either constructing some intricate SQL dynamically or you are going to be dragging a lot of data over the wire and doing an in memory search.
    Although realistically that is what the database link table would have done as well.
    Might be better to look at moving the table data from one database to the other. Depends on size of course.

  • ORA-28500 when accessing an Excel file

    Hello,
    I'm getting the dreaded ORA-28500 "Optional feature not implemented" when trying to access an Excel file through HS ODBC. This is a known bug in 11.1.0.6 (6701400), however my flavor is 11.1.0.7 fully patched. Since I'm trying to use the OLAP option on Windows XP 32, I installed version 11.1.0.6 and applied patches 6890831 and 7682184, as advised on [this page|http://www.oracle.com/technology/products/bi/olap/collateral/olap_certification.html], with no error as far as I can tell. This should have fixed the problem with dg4odbc according to the bug page, however when now I try to access an Excel sheet I get the exact same message :
    SQL> select * from "International$"@refdata;
    select * from "International$"@refdata
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Excel Driver]Optional feature not implemented
    ORA-02063: preceding 2 lines from REFDATAIs it possible that the patch did not go as intended ? Or that the second patch did reintroduce the old behavior ? I'm really lost at what to do now.
    Thanks for your help,
    Chris

    Hi gronau,
    thanks for the prompt answer. In fact I have only one Oracle Home on this machine so this should not be the problem. Below is a log of the call that gives the error message, can you spot the error from that ?
    Thanks a lot for your help,
    Chris
    Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
    Heterogeneous Agent Release
    11.1.0.7.0
    Oracle Corporation --- TUESDAY   MAR 31 2009 17:28:17.858
        Version 11.1.0.7.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
    Exiting hgosdip, rc=0
    ORACLE_SID is "refdata"
    Product-Info:
      Port Rls/Upd:7/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:refdata
    Exiting hgogprd, rc=0
    hostmstr: 2068393984:      HOA After hoagprd
    hostmstr: 2068393984:      HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=110000
    Entered hgolofn at 2009/03/31-17:28:19
    Exiting hgolofn, rc=0 at 2009/03/31-17:28:19
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    Exiting hgoinit, rc=0 at 2009/03/31-17:28:19
    hostmstr: 2068393984:      HOA After hoainit
    hostmstr: 2068393984:      HOA Before hoalgon
    Entered hgolgon at 2009/03/31-17:28:19
    reco:0, name:DWO, tflag:0
    Entered hgosuec at 2009/03/31-17:28:19
    Exiting hgosuec, rc=0 at 2009/03/31-17:28:19
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using DWO as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2009/03/31-17:28:20
    HS_FDS_CONNECT_INFO = "refdata"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2009/03/31-17:28:20
    dsn:refdata, name:DWO
    optn:
    ##>Connect Parameters (len=27)<##
    ## DSN=refdata;
    #! UID=DWO;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2009/03/31-17:28:20
    DriverName:odbcjt32.dll, DriverVer:04.00.6304
    DBMS Name:EXCEL, DBMS Version:08.00.0000
    Exiting hgocont, rc=0 at 2009/03/31-17:28:21
    SQLGetInfo returns Y for SQL_CATALOG_NAME
    SQLGetInfo returns 260 for SQL_MAX_CATALOG_NAME_LEN
    Exiting hgolgon, rc=0 at 2009/03/31-17:28:21
    hostmstr: 1969635328:      HOA After hoalgon
    hostmstr: 1969635328: RPC Before Upload Caps
    hostmstr: 1969635328:      HOA Before hoaulcp
    Entered hgoulcp at 2009/03/31-17:28:21
    Entered hgowlst at 2009/03/31-17:28:21
    Exiting hgowlst, rc=0 at 2009/03/31-17:28:21
    SQLGetInfo returns ` for SQL_IDENTIFIER_QUOTE_CHAR
    SQLGetInfo returns Y for SQL_COLUMN_ALIAS
    5 instance capabilities will be uploaded
      capno:1991, context:0x0001ffff, add-info:        0
      capno:1992, context:0x0001ffff, add-info:        1, translation:"`"
      capno:3007, context:0x00000000, add-info:       -3, translation:"36"
      capno:3027, context:0x00000000, add-info:       -1, translation:"0"
      capno:3036, context:0x00000000, add-info:       -4, translation:"7"
    Exiting hgoulcp, rc=0 at 2009/03/31-17:28:23
    hostmstr: 1969635328:      HOA After hoaulcp
    hostmstr: 1969635328: RPC After Upload Caps
    hostmstr: 1969635328: RPC Before Upload DDTR
    hostmstr: 1969635328:      HOA Before hoauldt
    Entered hgouldt at 2009/03/31-17:28:24
    0 instance DD translations were uploaded
    Exiting hgouldt, rc=0 at 2009/03/31-17:28:24
    hostmstr: 1969635328:      HOA After hoauldt
    hostmstr: 1969635328: RPC After Upload DDTR
    hostmstr: 1969635328: RPC Before Begin Trans
    hostmstr: 1969635328:      HOA Before hoabegn
    Entered hgobegn at 2009/03/31-17:28:24
    tflag:0 , initial:1
    hoi:0x12f074, ttid (len 28) is ...
      00: 4C4F4341 4C2E4E53 4E2E6465 36313030  [LOCAL.NSN.de6100]
      10: 65322E35 2E31302E 31353434           [e2.5.10.1544]
                     tbid (len 25) is ...
      00: 4C4F4341 4C2E4E53 4E5B352E 31302E31  [LOCAL.NSN[5.10.1]
      10: 3534345D 5B312E34 5D                 [544][1.4]]
    TXN Capable:0, Isolation Option:0x0
    Exiting hgobegn, rc=0 at 2009/03/31-17:28:24
    hostmstr: 1969635328:      HOA After hoabegn
    hostmstr: 1969635328: RPC After Begin Trans
    hostmstr: 1969635328: RPC Before Describe Table
    hostmstr: 1969635328:      HOA Before hoadtab
    Entered hgodtab at 2009/03/31-17:28:25
    count:1
      table: International$
    Entered hgopdsc at 2009/03/31-17:28:25
    Describing procedure DWO.International$
    Output hoada
    hgopdsc, line 1298: NO hoada to print
    Exiting hgopdsc, rc=942 at 2009/03/31-17:28:25
    The hoada for table International$ follows...
    hgodtab, line 651: NO hoada to print
    Exiting hgodtab, rc=0 at 2009/03/31-17:28:25
    hostmstr: 1969635328:      HOA After hoadtab
    hostmstr: 1969635328: RPC After Describe Table
    hostmstr: 1969635328: RPC Before SQL Bundling
    hostmstr: 1969635328:      HOA Before hoxpars
    Entered hgopars, cursor id 1 at 2009/03/31-17:28:26
    type:0
    SQL text from hgopars, id=1, len=30 ...
         00: 53454C45 4354202A 2046524F 4D206049  [SELECT * FROM `I]
         10: 6E746572 6E617469 6F6E616C 2460      [nternational$`]
    Exiting hgopars, rc=0 at 2009/03/31-17:28:26
    hostmstr: 1968062464:      HOA After hoxpars
    hostmstr: 1968062464: RPC After SQL Bundling
    hostmstr: 1968062464: RPC Before SQL Bundling
    hostmstr: 1968062464:      HOA Before hoxopen
    Entered hgoopen, cursor id 1 at 2009/03/31-17:28:26
    hgoopen, line 83: NO hoada to print
    Exiting hgoopen, rc=0 at 2009/03/31-17:28:26
    hostmstr: 1966489600:      HOA After hoxopen
    hostmstr: 1966489600:      HOA Before hoxdscr
    Entered hgodscr, cursor id 1 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:26
    Column:1(Intl Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:26
    Column:2(Country Full Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:26
    Entered hgopcda at 2009/03/31-17:28:27
    Column:3(Country Short Name): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    Entered hgopcda at 2009/03/31-17:28:27
    Column:4(ISO Code): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    Entered hgopcda at 2009/03/31-17:28:27
    Column:5(Type): dtype:12 (VARCHAR), prc/scl:255/0, nullbl:1, octet:510, sign:1, radix:0
    Exiting hgopcda, rc=0 at 2009/03/31-17:28:27
    hgodscr, line 506: Printing hoada @ 01E01CA0
    MAX:5, ACTUAL:5, BRC:100, WHT=5 (SELECT_LIST)
    DTY         NULL-OK  LEN  MAXBUFLEN   PR/SC  CST IND MOD NAME
    12 VARCHAR Y        510        510   0/  0    0   0   0 Intl Code
    12 VARCHAR Y        510        510   0/  0    0   0   0 Country Full Name
    12 VARCHAR Y        510        510   0/  0    0   0   0 Country Short Name
    12 VARCHAR Y        510        510   0/  0    0   0   0 ISO Code
    12 VARCHAR Y        510        510   0/  0    0   0   0 Type
    Exiting hgodscr, rc=0 at 2009/03/31-17:28:27
    hostmstr: 1966489600:      HOA After hoxdscr
    hostmstr: 1966489600: RPC After SQL Bundling
    hostmstr: 1966489600: RPC Before Get Statistics
    hostmstr: 1966489600:      HOA Before hoxtcis
    Entered hgotcis at 2009/03/31-17:28:27
    Calling SQLStatistics for International$
    Entered hgopoer at 2009/03/31-17:28:28
    hgopoer, line 159: got native error 106 and sqlstate HYC00; message follows...
    [Microsoft][ODBC Excel Driver]Optional feature not implemented
    Exiting hgopoer, rc=0 at 2009/03/31-17:28:28
    hgotcis, line 367: calling SQLStatistics got sqlstate HYC00
    Exiting hgotcis, rc=28500 at 2009/03/31-17:28:28 with error ptr FILE:hgotcis.c LINE:367 ID:SQLStatistics
    hostmstr: 1966489600:      HOA After hoxtcis
    hostmstr: 1966489600: RPC After Get Statistics

  • Getting ORA-00600 when using table functions

    Hello,
    I am trying to use simple table function:
    create or replace type StatCall AS OBJECT (
    dial_number varchar2(255),
    start_date date,
    duration number(20)
    create or replace type StatCallSet AS TABLE OF StatCall;
    create or replace package ref IS
    type refcall_t IS REF CURSOR RETURN calls%ROWTYPE;
    end ref;
    create or replace function GetStats(p ref.refcall_t) return StatCallSet pipelined is
    out_rec StatCall;
    in_rec p%ROWTYPE;
    BEGIN
    LOOP
    FETCH p INTO in_rec;
    EXIT WHEN p%NOTFOUND;
    out_rec.dial_number := in_rec.dial_number;
    out_rec.start_date := in_rec.start_date;
    out_rec.duration := in_rec.duration;
    PIPE ROW(out_rec);
    END LOOP;
    CLOSE p;
    RETURN;
    END;
    select * from TABLE(GetStats(CURSOR(select * from call)));
    And I get:
    ORA-00600: internal error code, arguments: [17285], [0xFFFFFFFF7C4900A8], [1], [0x3943BA5E0], [], [], [], []
    Oracle 9.2.0.2
    Are there any ideas about how to fix this?

    What version of the database?
    Which flavor of Disco (Plus, Desktop, Viewer)?
    Standars EUL or Apps EUL?
    Can you post the code for the calculation?
    ORA-600 errors, as you mentioned, are internal, and may require opening a dialog with Oracle support. Then again, it could be something else in the calculation that is causing the sky to fall.

  • 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 again

    Dear 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

  • Problem with ORA-19025 when joining tables

    I am querying a table that stores xml datata in an xml column. I an query this column without problems. If I join the table with another table (not xml). I get the error below.
    ORA-19025: EXTRACTVALUE returns value of only one node
    19025. 00000 - "EXTRACTVALUE returns value of only one node"
    *Cause:    Given XPath points to more than one node.
    *Action:   Rewrite the query so that exactly one node is returned.
    I don't seem to have any subnodes in the fields I am querying and I dont know how joining to the second table introduces the problem.
    This produces the error I mentioned before
    SELECT a.NAME,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
    GDB_ITEMTYPES.NAME
    FROM GDB_ITEMS_vw a, GDB_ITEMTYPES b
    where a.UUID = b.UUID
    This one gives no error
    SELECT a.NAME,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/title') TITLE,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/origin') ORIGIN,
    EXTRACTVALUE(xmltype(a.DOCUMENTATION), '/metadata//idinfo/citation/citeinfo/pubdate') PUBLICATION_DATE,
    FROM GDB_ITEMS_vw a
    I am using 11g 2
    Any suggestions are welcome
    Thanks
    Edited by: user3444035 on Mar 18, 2011 1:43 PM

    Hi,
    Could you give some sample data from GDB_ITEMS_vw and GDB_ITEMTYPES?

  • SQL error 60 occurred when accessing table "STXH ".

    Hi Friends,
    I have written a BAPI to create a sales order wihch would store the Texts in differant Text id like, operating comments, shipping instructinos, warehouse instructions and the table stored in the table STXH.
    In my program i am trying to insert three type of Text id ...Operating instructions, Shipping instructions and Warehouse information.  If i am running through the debug, the sales order is created and the respective Text Ids are stored in the respetive Text Id.  But when  just run the progam, it gives me an error saying the table in / wa sin a deadlock sitation.
    Has anyone faced this kind of situation.  Pls suggest me ad as also this is an urgetnt sittuation here.
    Thanks in advance.
    Venky.

    Hi Santhosh,
    Didn't get a chance to log into this for a long time.  I am again facing this problem after using this function for a differant object.  Is there any other possible way ?
    Thanks,
    Venky.

  • RSQL error 23 when accessing table "AUFK "??What happened in the ABAP DUMP?

    Thanks a millon for your help o(u2229_u2229)o...
    The code is:
      select aufkaufnr  afkogltri afkoftrmi afkoplnbez maktmaktx afkogamng
                                     afkogmein afpowemng afko~plnnr
         inner join AFKO on AUFKAUFNR = AFKOAUFNR  and AFKO~GLTRI = '00000000'
    *and AFKOFTRMI <= sy-DATUM and AFKOFTRMI <> '00000000'
          from aufk inner join afko on aufkaufnr = afkoaufnr and afko~ftrmi <= sy-datum
          left join makt on maktmatnr = afkoplnbez and makt~spras = 'E'
          left join afpo on afpoaufnr = aufkaufnr
          into corresponding fields of table mytable1
          where aufkwerks = mywerks and aufkauart = myauart and aufk~aufnr in myaufnr
          order by aufk~aufnr.

    Hi,
    Use FOR ALL ENTIRES in place of JOIN like this:
    Select aufnr
        From aufk
        into table lt_aufk
        where aufnr in myaufnr
          and auart EQ myauart
          and werks EQ mywerks.
    Select aufnr
        From aufk
        into table lt_aufk
        where aufnr in myaufnr
          and auart EQ myauart
          and werks EQ mywerks.
    IF lt_aufk IS NOT INITIAL.
      SORT lt_aufk BY aufnr.    
      Select aufnr
             gltri
             ftrmi
             gamng
             gmein
             plnbez
             plnnr
        FROM afko
        INTO lt_afko
        FOR ALL ENTRIES IN lt_aufk
        WHERE aufnr EQ lt_aufk-aufnr
         AND ftrmi LE  sy-datum.
        SORT lt_afko BY aufnr
                        ftrmi.
       Select aufnr
              wemng
         FROM afpo
         INTO lt_afpo
         FOR ALL ENTRIES IN lt_aufk
         WHERE aufnr EQ lt_aufk-aufnr.
       SORT lt_afpo BY aufnr.
       Select matnr
              maktx
         FROM makt
         INTO lt_makt
         FOR ALL ENTRIES IN lt_afko
         WHERE matnr EQ lt_afko-plnbez
           ANd apras EQ 'E'.
       SORT lt_makt BY matnr.
    ENDIF.
    LOOP AT lt_aufk ASSIGNING <fs_aufk>.
    READ TABLE lt_afko INTO lwa_afko WITH KEY aufnr = <fs_aufk>-aufnr BINARY SEARCH.
    Now move data of respective fields of lwa_afko to lw_mytable
    Similarly read with key other internal tables and move data to lw_mytable
    Then append lw_mytable to lt_mytable.
    ENDLOOP.
    Also note that the fields in where condition should be in same order as they are in the database table otherwise you will get a dump..
    I hope it helps you.

  • ORA-03237 when creating table with BLOB columns on Oracle 9i

    I am playing with my new Oracle 9i database. I am trying to copy
    tables from my 8.1.6 db. Three tables won't create due to this
    new message. The 9i documentation says it's soemthing to do with
    freelist groups but my DBA says he hasn't set up any.
    The tablespace is one of these newfangled locally managed
    tablespaces (predetermined size 8k).
    I can create these tables if I change the BLOB column to datatype
    VARCHAR2(4000).
    I have raised this through the usual channels, but I thought I'd
    try this site as well.
    Cheers, APC

    victor_shostak wrote:
    Figured, Virtual Columns work only for Binary XML.They are only supported, currently, for Binary XML.

  • Problems with SAPUSER Table / ORA-1403 during PI 7.1 EHP1 Installation

    Hello,
    as I have currently problems creating a customer message with the customer provided S-User and I need a solution after the easter weekend, I'll try my luck here...
    We currently perform a SAP Netweaver PI 7.1 EHP1 installation on Windows 2008 (Enterprise)/ Oracle. The installation media were downloaded from SAPNet.
    The Windows Server 2008 is completely udpated, no further patches are available.
    The Windows system is patched according to note 1375494 (new SAP kernel does not work on Win2008 without).
    Oracle 10.2.0.4 was installed previous to the installation.
    During the installation the new independend and db-dependend kernel was provided.
    First steps run smoth until Phase ABAP IMPORT. This one fails according to the logs because access to table SAPUSER is not possible:
         Compiled Jan 15 2010 23:56:22
         E:\usr\sap\PID\SYS\exe\uc\NTAMD64\R3load.exe -testconnect
         DbSl Trace: ORA-1403 when accessing table SAPUSER
         (DB) ERROR: db_connect rc = 256
         DbSl Trace: ORA-1403 when accessing table SAPUSER
         (DB) ERROR: DbSlErrorMsg rc = 99
    I already checked the OPS$ mechanism. Starting SQLPlus /nolog and login with "connect /as sysdba" works as intended.
    i.e. "select owner from dba_tables where table_name = 'SAPUSER';" shows:
         OWNER
         O$HERDER_DOMAIN\PIDADM
    Which is ok, the Domainname and SID is correct.
    "select * from "O$HERDER_DOMAIN\PIDADM".SAPUSER;" show:
         no rows selected
    Comparing this to another recently installed system there should be something like this:
         USERID
         PASSWD
         SAPSR3-CRYPT
         V01/0050ZctvSB67Wv2haiQTDrO5P5c7Ks/kyqpdQ7jDbQ==
    But I'm not really sure, if this entry should be there at this installation phase.
    If so, how is this entry created? Note 50088 describes how to handle this, but with other USERID and without encrypted PASSWD.
    I have no idea, why this happens, I recently installed 2 ECC systems and 1 Solution Manager systems and had no problems installing them.
    I already exchanged the control.xml according to note 1249469.
    I cannot find any note for this situation, so please ... is there anyone out there with an idea?
    Best regards
    Christian Reitz

    Hi,
    thanks for the answer... as I read your answer, I had some doubt, and unfortunately I was right.
    Altering the users PW does not write into the SAPUSER table... why should it? Altering an oracle user does not effekt this SAP table.
    In the meantime I started from scratch. Complete new installation of Win2008, patching, etc.
    ... same issue.
    I don't know, why this happens... I cannot find another hint what happend before, when the user should be added into the table.
    Any ideas? Anyone?
    Thanks for help in advance.
    Christian

  • ERROR = ORA-1403 after 10.2.0.4 32 bit upgrade

    Hi Gurus,
    We have a problem after oracle upgrade 9i to 10g
    The SAP instance disp+work no working, but R3trans -d is ok.
    The wp table no work. ORA-1031 when accessing table SAPUSER
    Please let me know how to fix this.
    Regards,

    Hi,
    The problem has been solved after applying the following steps.
    select * from V$NLS_PARAMETERS where PARAMETER = 'NLS_NCHAR_CHARACTERSET';
    Note 669902 - Setting the national character set to UTF8
    select USERNAME,ACCOUNT_STATUS from dba_users;
    ALTER USER <USER> ACCOUNT UNLOCK;
    ALTER PROFILE DEFAULT LIMIT FAILED_LOGIN_ATTEMPTS UNLIMITED;
    SAP's note was the key to correct the problem.
    sqlplus /NOLOG @oradbusr.sql <schemaowner> NT <userdomain>
    Apply the SAP Note: 50088
    Thanks
    Edited by: Gabino Sequera Flores on Aug 31, 2010 4:54 PM

Maybe you are looking for

  • Is it possible to download/Upload more that one AOL objects using FNDLOAD.

    Hi, I need to download responsibilities and then its will need to migrate in PRD using fndload. in my case, i have more 50 responsibilities. i want to download all responsibilities in one shot using FNDLOAD commnad. same way to upload in other instan

  • RFC - PI - SOAP - escape characters

    I'm trying to send following payload in an RFC to PI and then onword to SOAP (sharepoint webservice) <Method ID="1" Cmd="New"><Field Name="Title">Added item</Field> However PI replaces "<" into  "& # 60 ;" and  ">" into "& # 62 ;" (placed spaces in t

  • Getting back .Mac Web Galleries after reformat

    I've created many .Mac Web Galleries with iPhoto and they've successfully published and appeared in the iPhoto source list. I reformated, and even after logging into .Mac in System Prefs, the .Mac Web Galleries do not display in my iPhoto source list

  • Data Services Designer

    What is the difference between BO Data Services Designer and BO Designer?

  • Validation not working in sun idm(oracle waveset) form

    I have put this validation code in my form. <Field> <Validation> <cond> <gt><i>6</i> <i>5</i> </gt> <s>zip codes must be five digits long</s> <s>zip codes must be five digits long</s> </cond> </Validation> </Field> But on submit of form this validati