KUP-01005 error when selecting external table

Hi All,
My name is arun. I am having trouble resolving the following error. I tried to google, search oracle forum but no avail. I would really appreciate some help? I hope someone point me to the right direction with this problem. Thank you.
Scenario :
I have done the following :
1. Created the external directories using a user account(KDEV199). However by default its owned by SYS user.
2. Created the table necessary for selection. This was done by user account(KDEV199)
3. I have granted the folder privileges owned by oinstall:oracle where the 2 physical files exists. Thus all the files is owned by oracle. This was done at OS layer.
4. I have created 2 files necessary to extract data & read in oracle. This was done at OS layer.
The problem is that i have the following when i try to select the table :
SQL> select * from TEXN_IGM_MST;
select * from TEXN_IGM_MST
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "minussign": expecting one of:
"double-quoted-string, identifier, single-quoted-string"
KUP-01007: at line 7 column 10
This script used to create the table :
--Create External Table
CREATE TABLE texn_igm_mst
COMP_NO CHAR(2),
POL_NO CHAR(10),
WRITING_AGENCY_NO_1 CHAR(10),
WRITING_AGENT_NO_1 CHAR(10),
WRITING_AGENCY_NO_2 CHAR(10),
WRITING_AGENT_NO_2 CHAR(10),
POL_STS_CDE CHAR(4),
STS_CHNG_DT DATE,
POL_DTE DATE,
PAY_UP_DTE DATE,
PAY_TO_DTE CHAR(10),
MATURE_DTE DATE,
PAY_MODE_CDE CHAR(2),
PAY_METHOD_CDE CHAR(1),
MODAL_PREM_AMT NUMBER(15,2),
POL_CUR CHAR(2),
NFO_CDE CHAR(1),
DIVD_OPTION_CDE_1 CHAR(1),
DIVD_OPTION_CDE_2 CHAR(1),
OTHER_OPTION_CDE_1 CHAR(1),
OTHER_OPTION_CDE_2 CHAR(1),
RESTRICT_CDE CHAR(20),
NEXT_MODAL_PREM NUMBER(15,2),
SUSPEND_CDE CHAR(1),
EXTRACT_DTE DATE,
REASON_CDE CHAR(3),
LINE_OF_BUSS CHAR(1),
BILL_TO_DTE CHAR(10),
DUE_DAY NUMBER(3),
DAY_USE CHAR(1),
PAR_TYPE CHAR(1),
ISSUE_STATE CHAR(2),
MED_CDE CHAR(1),
RACE_CDE CHAR(1),
ADMIT_CDE CHAR(1),
REPT_STATE CHAR(2),
COLL_OFF CHAR(2),
WRITING_AGENCY CHAR(10),
LAST_ANN_PROC CHAR(3),
TIMESTAMP DATE,
SPND_EFF_DT DATE,
SPND_TRMN_DT DATE,
SPND_USER_ID CHAR(8),
CMPLN_AGT_ID CHAR(10),
TOTAL_CWA DECIMAL(17),
TOTAL_CWA_DT DATE,
DELIVERY_DT DATE,
REINSURED_CDE CHAR(1),
SERV_AGENCY CHAR(10),
ST_CODE CHAR(1),
NFO_RULE CHAR(1),
CSTAT_REASN_CD CHAR(2),
REJ_REASN_CD CHAR(2)
ORGANIZATION EXTERNAL
TYPE oracle_loader
DEFAULT DIRECTORY external_dir_clmlog
ACCESS PARAMETERS
records delimited by newline
BADFILE external_dir_clmlog:'VILFPM1.BAD'
LOGFILE external_dir_clmlog:'VILFPM1.LOG'
fields terminated by '!'
missing field values are null
--Column and format setting
COMP_NO,
POL_NO,
WRITING_AGENCY_NO_1,
WRITING_AGENT_NO_1,
WRITING_AGENCY_NO_2,
WRITING_AGENT_NO_2,
POL_STS_CDE,
STS_CHNG_DT CHAR date_format DATE Mask "yyyy-mm-dd",
POL_DTE CHAR date_format DATE Mask "yyyy-mm-dd",
PAY_UP_DTE CHAR date_format DATE Mask "yyyy-mm-dd",
PAY_TO_DTE,
MATURE_DTE CHAR date_format DATE Mask "yyyy-mm-dd",
PAY_MODE_CDE,
PAY_METHOD_CDE,
MODAL_PREM_AMT,
POL_CUR,
NFO_CDE,
DIVD_OPTION_CDE_1,
DIVD_OPTION_CDE_2,
OTHER_OPTION_CDE_1,
OTHER_OPTION_CDE_2,
RESTRICT_CDE,
NEXT_MODAL_PREM,
SUSPEND_CDE,
EXTRACT_DTE CHAR date_format DATE Mask "yyyy-mm-dd",
REASON_CDE,
LINE_OF_BUSS,
BILL_TO_DTE,
DUE_DAY,
DAY_USE,
PAR_TYPE,
ISSUE_STATE,
MED_CDE,
RACE_CDE,
ADMIT_CDE,
REPT_STATE,
COLL_OFF,
WRITING_AGENCY,
LAST_ANN_PROC,
TIMESTAMP CHAR date_format DATE Mask "yyyy-mm-dd-hh24.mi.ss.ffffff",
SPND_EFF_DT CHAR date_format DATE Mask "yyyy-mm-dd",
SPND_TRMN_DT CHAR date_format DATE Mask "yyyy-mm-dd",
SPND_USER_ID,
CMPLN_AGT_ID,
TOTAL_CWA,
TOTAL_CWA_DT CHAR date_format DATE Mask "yyyy-mm-dd",
DELIVERY_DT CHAR date_format DATE Mask "yyyy-mm-dd",
REINSURED_CDE,
SERV_AGENCY,
ST_CODE,
NFO_RULE,
CSTAT_REASN_CD,
REJ_REASN_CD
LOCATION (external_dir_clmxcom:'VILFPM1.DAT')
DB version :
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
OS version :
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
Linux KAITLSDS01 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/Linux
---------------------------------------------------------------------------------------------------------------------------------------

Pl see MOS Doc 302672.1 (Select From External Table Gives ORA-29913 ORA-29400 KUP-554 KUP-1005)
Srini

Similar Messages

  • ORA-1722 ERROR WHEN SELECTING MFG_LOOKUPS TABLE

    제품 : AOL
    작성날짜 : 2003-04-07
    ORA-1722 ERROR WHEN SELECTING MFG_LOOKUPS TABLE.
    ================================================
    PURPOSE
    Problem Description
    sqlplus 에서 mfg_lookups table을 select할때,
    ORA-1722 Invalid number 에러발생
    Workaround
    Solution Description
    =======================================================
    CREATE OR REPLACE VIEW mfg_lookups(
    lookup_type,
    lookup_code,
    meaning,
    description,
    enabled_flag,
    start_date_active,
    end_date_active,
    created_by,
    creation_date,
    last_update_date,
    last_updated_by,
    last_update_login
    AS
    SELECT lv.lookup_type,
    TO_NUMBER(lv.lookup_code) lookup_code, <==== Wrong code!!!
    lv.meaning,
    lv.description,
    lv.enabled_flag,
    lv.start_date_active,
    lv.end_date_active,
    lv.created_by,
    lv.creation_date,
    lv.last_update_date,
    lv.last_updated_by,
    lv.last_update_login
    FROM fnd_lookup_values lv
    WHERE lv.LANGUAGE = USERENV('LANG') AND
    lv.view_application_id = 700 AND
    lv.security_group_id =
    fnd_global.lookup_security_group(lv.lookup_type,
    lv.view_application_id)
    =================================================================
    MFG_LOOKUPS 은 view로 fnd_lookup_values의 lookup_code값을 가지고 오는
    방식이나, to_number로 변환하게 되어 있어 숫자가 아닌 문자의 경우
    이와 같은 에러를 발생한다.
    이번 경우, 고객이 새로 등록한 Lookup code였고, code값을 숫자의 format으로
    다시 등록하니 해결됨.
    Reference Documents
    -------------------

    Yes but this is a regular operation and the INSERT is the only opportunity.
    BTW, look at what else I have just found:
    INSERT INTO Local_Table (a, b)SELECT col1, col2 FROM DUAL INNER JOIN Table1@remote ON (1=1) LEFT JOIN Table2@remote ON (...)
    OK.

  • Error: while Selecting External table

    Hi everybody,
    When i Select an external table i am getting this error. The file is like this:
    229|1|506460|SIGROUP |4890|100|0|0|10:31:01|2007/12/17|M009|20191395001|L|B|12|CLIENT|INE547A01012|10:31:00|
    229|1|506460|SIGROUP |4900|900|0|0|10:31:01|2007/12/17|M009|20191395001|L|B|13|CLIENT|INE547A01012|10:31:00|
    229|1|500407|SWARAJENG |21400|300|0|0|10:33:28|2007/12/17|OWN|20191397001|L|B|154|OWN|INE277A01016|10:33:28|
    I had created the Table like this:
    SQL> CREATE TABLE TEMP_SAUDA
    2 (S_A VARCHAR2(20),
    3 S_TYPE VARCHAR2(20),
    4 S_CO VARCHAR2(20),
    5 S_CONAME VARCHAR2(40),
    6 S_RATE NUMBER,
    7 S_QTY NUMBER,
    8 S_G NUMBER,
    9 S_H NUMBER,
    10 S_TIME TIMESTAMP WITH TIME ZONE,
    11 S_DATE DATE,
    12 S_PCODE VARCHAR2(20),
    13 S_SETNO VARCHAR2(20),
    14 S_M VARCHAR2(20),
    15 S_N VARCHAR2(20),
    16 S_O VARCHAR2(20),
    17 S_CLIENTOWN VARCHAR2(10),
    18 S_ISIN VARCHAR2(12),
    19 S_ORDER_TIME TIMESTAMP WITH TIME ZONE
    20 )
    21 ORGANIZATION EXTERNAL
    22 (TYPE oracle_loader
    23 DEFAULT DIRECTORY BSE17122007
    24 ACCESS PARAMETERS
    25 (RECORDS DELIMITED BY NEWLINE
    26 FIELDS
    27 (
    28 S_A CHAR(20),
    29 S_TYPE CHAR(20),
    30 S_CO CHAR(20),
    31 S_CONAME CHAR(20),
    32 S_RATE CHAR(20),
    33 S_QTY CHAR(20),
    34 S_G CHAR(20),
    35 S_H CHAR(20),
    36 S_TIME CHAR(35) date_format TIMESTAMP WITH TIMEZONE mask "DD-MON-RR HH.MI.SSXFF AM TZH:TZM
    37 S_DATE CHAR(22) date_format DATE mask "mm/dd/yyyy hh:mi:ss ",
    38 S_PCODE CHAR(20),
    39 S_SETNO CHAR(20),
    40 S_M CHAR(20),
    41 S_N CHAR(20),
    42 S_O CHAR(20),
    43 S_CLIENTOWN CHAR(20),
    44 S_ISIN CHAR(20),
    45 S_ORDER_TIME date_format TIMESTAMP WITH TIMEZONE mask "DD-MON-RR HH.MI.SSXFF AM TZH:TZM"
    46 )
    47 )
    48 location (BSE17122007:'BR171207.DAT')
    49 )
    50 ;
    Table created.
    SQL> SELECT * FROM TEMP_SAUDA;
    SELECT * FROM TEMP_SAUDA
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "date_format": expecting one of: "binary_double,
    binary_float, comma, char, date, defaultif, decimal, double, float, integer, (,
    nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned,
    varrawc, varchar, varraw, varcharc, zoned"
    KUP-01007: at line 21 column 14
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    Is there any mistake in this table creation.
    what i have to declare to the time format if the format in the file id hh:mm:ss
    Thank u...!
    Ravi

    The output you posted is completely wrong, I could not even create the table without errors.
    Try with this.
    CREATE TABLE TEMP_SAUDA
    (S_A VARCHAR2(20),
    S_TYPE VARCHAR2(20),
    S_CO VARCHAR2(20),
    S_CONAME VARCHAR2(40),
    S_RATE NUMBER,
    S_QTY NUMBER,
    S_G NUMBER,
    S_H NUMBER,
    S_TIME TIMESTAMP WITH TIME ZONE,
    S_DATE DATE,
    S_PCODE VARCHAR2(20),
    S_SETNO VARCHAR2(20),
    S_M VARCHAR2(20),
    S_N VARCHAR2(20),
    S_O VARCHAR2(20),
    S_CLIENTOWN VARCHAR2(10),
    S_ISIN VARCHAR2(12),
    S_ORDER_TIME TIMESTAMP WITH TIME ZONE
    ORGANIZATION EXTERNAL
    (TYPE oracle_loader
    DEFAULT DIRECTORY BSE17122007
    ACCESS PARAMETERS
    (RECORDS DELIMITED BY NEWLINE
    FIELDS terminated by "|"
    S_A CHAR(20),
    S_TYPE CHAR(20),
    S_CO CHAR(20),
    S_CONAME CHAR(20),
    S_RATE CHAR(20),
    S_QTY CHAR(20),
    S_G CHAR(20),
    S_H CHAR(20),
    S_TIME CHAR(8) date_format TIMESTAMP WITH TIMEZONE mask "HH.MI.SSXFF AM TZH:TZM",
    S_DATE CHAR(10) date_format DATE mask "yyyy/mm/dd",
    S_PCODE CHAR(20),
    S_SETNO CHAR(20),
    S_M CHAR(20),
    S_N CHAR(20),
    S_O CHAR(20),
    S_CLIENTOWN CHAR(20),
    S_ISIN CHAR(20),
    S_ORDER_TIME char(8) date_format TIMESTAMP WITH TIMEZONE mask "HH.MI.SSXFF AM TZH:TZM"
    location (BSE17122007:'BR171207.DAT')
    ;With this you get:
    SQL> col s_time format a40
    SQL> col s_date format a40
    SQL> col s_order_time format a40
    SQL> r
      1* select s_time,s_date,s_order_time from temp_sauda
    S_TIME                                   S_DATE                                   S_ORDER_TIME
    01-JAN-08 10.31.01.000000 AM +00:00      17.DEC.2007 00:00:00                     01-JAN-08 10.31.00.000000 AM +00:00
    01-JAN-08 10.31.01.000000 AM +00:00      17.DEC.2007 00:00:00                     01-JAN-08 10.31.00.000000 AM +00:00
    01-JAN-08 10.33.28.000000 AM +00:00      17.DEC.2007 00:00:00                     01-JAN-08 10.33.28.000000 AM +00:00Be aware that your file does not contain date information for the time fields, so as you see above it is defaulted to 01-JAN-08 for the S_TIME and S_ORDER_TIME column.

  • How to resolve error when Loading External Table?

    I’m getting the following errors when attempting to load External Table -- I've changed the file extension from .csv to .txt to resolve ORA-29913 but error re-occurred. See syntax of External Table below.
    Thanks,
    Carol-Ann
    SQL> desc OWB_COUNTY_TIMEZONE_EXT;
    Name Null? Type
    STATE_CODE VARCHAR2(2)
    COUNTY_CODE VARCHAR2(3)
    TIME_ZONE VARCHAR2(1)
    SQL> select count(*) from OWB_COUNTY_TIMEZONE_EXT;
    select count(*) from OWB_COUNTY_TIMEZONE_EXT
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file owb_county_timezone.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    ++++++++++++++++++++++++++++++++++++++++++++++
    Synatx of External Table:
    WHENEVER SQLERROR EXIT FAILURE;
    CREATE TABLE "OWB_COUNTY_TIMEZONE_EXT"
    "STATE_CODE" VARCHAR2(2),
    "COUNTY_CODE" VARCHAR2(3),
    "TIME_ZONE" VARCHAR2(1))
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY AIMQRYD_AIMP_LOC_FF_MODULE_LOC
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    CHARACTERSET WE8MSWIN1252
    STRING SIZES ARE IN BYTES
    BADFILE 'owb_county_timezone'
    DISCARDFILE 'owb_county_timezone'
    LOGFILE 'owb_county_timezone'
    FIELDS
    TERMINATED BY ','
    OPTIONALLY ENCLOSED BY '"' AND '"'
    NOTRIM
    MISSING FIELD VALUES ARE NULL
    "STATE_CODE" ,
    "COUNTY_CODE" ,
    "TIME_ZONE"
    LOCATION (
    AIMQRYD_AIMP_LOC_FF_MODULE_LOC:'county_timezone_comma.txt'
    REJECT LIMIT UNLIMITED
    NOPARALLEL

    Hi Carol-Ann,
    The key issue here is
    "KUP-04063: unable to open log file owb_county_timezone.log
    OS error Permission denied".
    Looks like you don't have sufficient system priviliges on Unix.
    This is wat AskTom mentions about it:
    "the directory must exist on the SERVER.
    the concerned user is the "oracle software owner" as far as the OS is concerned.
    oracle must have read write access to this directory
    and the directory must exist on the SERVER (database server) itself."
    Hope this helps.
    Cheers, Patrick

  • Invalid number error when using external table

    Hello.
    I have a problem with creating an external table with number field.
    My txt file looks like:
    11111|text text|03718
    22222|text text text|04208
    33333|text|04215
    I try to create external table like:
    create table table_ex (
    id varchar2(5),
    name varchar2(100),
    old_id number(5))
    organization external (Type oracle_loader default directory dir
    access parameters(
    RECORDS DELIMITED BY NEWLINE
    fields terminated by '|'
    (id, name, old_id))
    location ('file.txt'));
    When i create the table and run select i get this in log file:
    Field Definitions for table TABLE_EX
    Record format DELIMITED BY NEWLINE
    Data in file has same endianness as the platform
    Rows with all null fields are accepted
    Fields in Data Source:
    ID CHAR (255)
    Terminated by "|"
    Trim whitespace same as SQL Loader
    NAME CHAR (255)
    Terminated by "|"
    Trim whitespace same as SQL Loader
    OLD_ID CHAR (255)
    Terminated by "|"
    Trim whitespace same as SQL Loader
    error processing column OLD_ID in row 1 for datafile
    /dir/file.txt
    ORA-01722: invalid number
    Whats the problem?
    Any idea?
    Thanks
    Message was edited by:
    DejanH

    Try this:
    create table table_ex
    id varchar2(5),
    name varchar2(100),
    old_id number
    organization external
    (Type oracle_loader default directory dir access parameters
    ( RECORDS DELIMITED BY NEWLINE fields terminated by '|'
    (id CHAR(5),
    name CHAR(100),
    old_id CHAR(5)
    location ('file.txt')
    I have removed the length of Number field and added length in characters later
    Aalap Sharma :)
    Message was edited by:
    Aalap Sharma

  • Met error when deploy external table

    I create a file location on one machine and target table on another.
    when i deploy a map there's error. the error message like the following:
    oracle.wh.repos.sdk.exceptions.WBException
    oracle.wh.repos.sdk.exceptions.WBException
    at oracle.wh.ui.runtime.WHRuntimeProgress.notifyInternalError(WHRuntimeProgress.java:177)
    at oracle.wh.ui.runtime.WHRuntimeDeployThread.run(WHRuntimeDeployThread.java:128)
    \nCMPException 消息和堆栈跟踪:\njava.lang.NullPointerException
    at oracle.wh.ui.runtime.WHRuntimeDeployThread.run(WHRuntimeDeployThread.java:49)
    how can i solve this problem?
    thank you!!

    Essentially you will need deploy the following:
    - The target objects
    - The connectors between the targets and sources
    - the mappings
    Are you using a file in this case in the mapping, or are you using an external table?
    I'm a bit worried about the nullpointer exeption. Is there a way you can send me the metadata export of the repository? You can use [email protected] for that.
    JP

  • Error when selecting bkpf table

    select single belnr
         into it_data-belnr
         from bkpf
         where awkey = it_vbrp1-vbeln and
               blart = 'RV'.
    above code i am using for selecting bkpf table , actually key field are not useful in this case & hws to use index.
    plz reply.
    Thanks,
    Jyotsna

    Hi,
    select single belnr
    into it_data-belnr
    from bkpf
    where awkey = it_vbrp1-vbeln and
    blart = 'RV'.
    In above query what is it_vbrp1-vbeln? if it is internal table you are missing some thing like For all entries in it_vbrp1.Check it once.

  • ORA-00054 error when loading Oracle table using Data Services

    Hello,
    we are facing ORA-00054 error when loading Oracle table using BO Data services
    (Oracle 10g database, BODS Xi 3.2 SP3)
    Test Job performs
    1- truncate table
    2- load table (tested in standard and bulk load modes)
    Scenario when issue happens is:
    1- Run loading Job
    2- Job end in error for any Oracle data base error
    3- When re-running the same Job, Job fails with following error
         ORA-00054: resource busy and acquire with NOWAIT specified
    It seems after first failure, Oracle session for loading the table stays active and locks the table.
    To be able to rerun the Job, we are forced need to kill Oracle session manually to be able to run the Job again.
    Expected behaviour would be : on error rollback modifications made on table and BODS stops Oracle session in a clean way.
    Can somebody tell me / or point me to any BODS best practice about Oracle error handling to prevent such case?
    Thanks in advance
    Paul-Marie

    the ora-0054 can occure depending how the job failed before. If this occures you will need the DBA to release the lock on the table in question
    Or
           AL_Engine.exe on The server it creates the Lock. Need to Kill Them. Or stop it..
    This Problem Occurs when we select The Bulkloading Option in orclae  We also faced the same issue,Our admin has Killed the session. Then everything alright.

  • Error when selecting volume

    Hello,
    I just restarted my Maxtor external hard disk (which I use for time machine) because my Mac did not recognize it anymore.
    Now it does but I get an error when selecting the volume for Time Machine. The error says:
    "The file '.0011246f8842' can not be saved in the map 'Time Machine-reservekopieen'."
    Does anybody have a clue what I need to do to get my Time Machine working again?
    Thanks!
    BB

    Bauke Boezeman wrote:
    Hello,
    I just restarted my Maxtor external hard disk (which I use for time machine) because my Mac did not recognize it anymore.
    Now it does but I get an error when selecting the volume for Time Machine. The error says:
    "The file '.0011246f8842' can not be saved in the map 'Time Machine-reservekopieen'."
    Hi, and welcome to the forums.
    I'm not sure if that's the same message, but it sounds like a common permissions problem.
    Try this: Open the Terminal app (in your Applications/Utilities folder).
    In Terminal, the prompt looks like this: user-xxxxxx:~ <your name>$
    (where <your name> is your short user name). It's followed by a non-blinking block cursor (unless it's been changed via Terminal > Preferences).
    At the prompt, type the following exactly as shown, substituting the name of your TM drive exactly, including any spaces, between the quotes:
    sudo chmod 644 /volumes/"TM drive name"/.0011246f8842
    Press Return. You'll get some warnings and a request for your Administrator's password. Type it in (it won't be displayed) and press Return again.
    Then try a +Back Up Now.+

  • 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

  • Internal error when accessing a table  -

    Hi,
    The program which is running as background was running for last 1 year, last two days the RFC call in the program is dumping.
    In DUMP its showing Internal error when accessing a table
    Error : DBIF_RSQL_SQL_ERROR
    I checed the size of the table its quite huge for the application.
    So there is no issue with table.
    Please advise what causes these sort of error.
    System is ECC 6.0
    With SQL server 8.0
    Regards,
    Thomas

    These are the system log i got it from SM21. For this error logs are as below
    Very High Priority error
    Details Page 2 Line 9 System Log: Local Analysis of onsaprp1                  1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:43:09
    DIA
    009
    300
    AB
    0
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Run-time error "DBIF_RSQL_INTERNAL_ERROR" occurred
    Details
    Recording at local and central time........................ 11.02.2011 15:43:09
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    1
    SAPMSSY1
    T
    Transaction Problem
    SABP
    Further details for this message type
    Module nam
    Line
    Error text
    absapsql
    0786
    HandleRsqlErrors
    Documentation for system log message AB 0 :
    The specified runtime error has occurred in the system.
    Parameter
    abcdefghijklmnopqrstuvwxyz .. DBIF_RSQL_INTERNAL_ERROR
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    119
    618840
    l
    Error (Module, Row)
    AB
    0
    HandleRsqlErrors                                    absapsql0786
    High Priority error
    Details Page 2 Line 18 System Log: Local Analysis of onsaprp1                 1
    Time
    Type
    Nr
    Clt
    TCode
    Grp
    N
    Text
    15:44:07
    DIA
    009
    300
    SMEN
    BZ
    Y
    Unexpected return value 8 when calling up
    Unexpected return value 8 when calling up
    Details
    Recording at local and central time........................ 11.02.2011 15:44:07
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    03084
    Dialog work process No. 009
    TOM
    om-blr-l
    1
    SMEN
    SAPLSMTR_NAVIGATION
    K
    SAP Web AS Problem
    SBAC
    Further details for this message type
    Module nam
    Line
    Table Name
    Field Name
    dbrepolo
    172
    8
    Documentation for system log message BZ Y :
    When calling a function within the database interface, a return
    value which cannot be processed by the calling function was
    provided.
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    120
    11160
    h
    Database Error (Non-SQL)
    BZ
    Y
    8                                                   dbrepolo172
    Edited by: Thomas Paul jr on Feb 14, 2011 6:36 AM
    Edited by: Thomas Paul jr on Feb 14, 2011 6:38 AM

  • SM58 : Internal error when accessing a table

    Hi there,
    We have just upgraded from R/3 4.7 to ECC 6.0. After the upgarde we face many "Internal error when accessing a table" in sm58. Is there any table mapping mismatched happened during unicode conversions? How to check the details? Most of the errors are SWW_WI_EXECUTE_INTERNAL_RFC, SWW_WI_CREATE_VIA_EVENT_IBF and etc which are workflow modules.
    can you help?
    Thanks.
    Regards,
    Thava

    Hi
    Have u checked this thread?
    problem in TRFC
    Error while executing Workflow: User is locked.
    /message/5804053#5804053 [original link is broken]
    Regards
    Sridhar Goli

  • Error when select posting level in document type

    Hi,
    Did anyone have an experience to face the Abab run time error when select "posting level" in document type?
    The Error is : GETWA_NOT_ASSIGNED
    Short text
    Field symbol has not yet been assigned.
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_UC_ITKEY_FACTORY===========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.

    If you searched the notes, as Dan proposed (and didn't find anything relevant), and the answer to the Greg's question is positive, then I would suggest regeneration data basis and ConsArea due to data model inconsistency.
    If it doesn't not help - open customer message to SAP.
    Edited by: Eugene Khusainov on Jan 26, 2010 10:26 AM

  • Error when selecting the Report Center tab of the Issues web DB

    I started a DB from the Issues web DB template. Everything worked fine when I shutdown last night, but this morning I started receiving the following error when selecting the Report Center tab.
    You must specify an object for the BrowseTo to open. I have noticed that the ReportCenterDefault form no longer displays. How do I correct this?

    Hi Ben
    Wyer,
    Have you resolved
    your problem yet, and does the suggestion help you? If you still have any concern on the thread, feel free to follow up.
    Best Regards,
    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • KUP-01005 error in external table definition

    Hello,
    I'm facing an issue that I found it has been rose in the past but that never had an answer.
    I'm using an external table to load a file on the database.
    This file format is CSV (actually using ";" as delimiter) and it has header and trailer records that has the same format of data records, but contain field names in it.
    E.g.:
    FIELD_NAME1;FIELD_NAME2;...
    I want to discard this records (for the header is easy, I can use SKIP 1 parameter) and the way I was trying to do this was using the following condition:
    LOAD WHEN ( FIELD_NAME1 != "FIELD_NAME1" )
    The problem arises when a record has the first field empty (hence NULL): the record is discarded.
    Therefore I tried modifing the condition in this way:
    LOAD WHEN ( ( FIELD_NAME1 != "FIELD_NAME1" ) OR ( ( FIELD_NAME1 = NULL ) )
    but in this case I get the following error:
    KUP-01005 : syntax error : found "null": expecting on of "blanks, double-quoted-string, hexprefix, identifier, single-quoted-string"
    I've doublechecked Oracle reference and the NULL keyword is admitted - morover it is stated that a NULL value can be tested only against NULL value, otherwise the comparison returns false.
    Can anyone help me solving this issue? Is it a bug in SQLLOADER Driver used by External Tables or an error in Oracle Reference?
    Regards

    It's an other option that I've already tried, but it doesn't work - and it is correct because in External Table statement I've specified to trim fields (LRTRIM), so there's no fields containing blanks (they're simply empty).
    However, my main concern is that I tried to use a statement that should be correct - according to Oracle reference.
    Instead I get an error regarding the syntax of the statement...
    I think that I can workaround this problem - but it is a workaround, not a real solution... :-|

Maybe you are looking for

  • Programs won't work ???

    Ok ... I have been using a Mac for years, and I know that every time a new OS update is released there are bound to be some problems, but I have never had problems with programs I bought a few weeks before the the OS update (let alone software that c

  • Acrobat Pro XI says update reqd while CC install says all OK?

    Should I ignore the update requests outside of CC or ?

  • Solution to hanging mail when responding to certain emails

    I've had this annoying problem for a couple of months where I would get the spinning wheel of death when I would try and respond to certain emails. I've read multiple posts and suggestions and tried almost all of them to no avail. I finally read a te

  • Can anybody describe the workflow of Speedgrade CC with Photoshop CC

    I want to add a simiilar look to a series of fotos, that have been pre-optimized in Camera Raw CC. How can I use Speedgrade CC to do this?

  • Help wanted!

    i have lost my total iPhoto 6 library on my notebook. but I have all photos in high res on my iPod. can I import these photos in to my iPhoto library with the album-structure and the keywords? I have more than 10.000 pictures, and it is a lot of work