CATS Error

In the Resource Related Billing, when I upload the time-sheet to CATS by using CAT7 I get the error as:
Message ID           Message No.    Message Text
E BK                      202                   Document contains errors
A GB                     73                     Generation Successful, but you must call up the function again.
Kindly provide me the solution.
Thanks
Deepak

Sridhar Srikrishna: did u even bother to read the question asked and the link you posted?
whats that webtime sheet thing? its not even SAP related!!
Vijay: closest i found to your query is this [link|http://help.sap.com/saphelp_erp2004/helpdata/en/96/6b40a3727e480c958c77ff0ad578ad/content.htm]
according to it you shld be able to see what each color means by calling the color legend, it shld be be under some option from the tool bar or iview.

Similar Messages

  • CATS error after delimiting a quota type

    Hi Guys,
    CAT2 throws error on a delimited quota type 30 on using any active absence 1234.
    Quota Type 30 was delimited from 01.01.2006. Now when employees apply for leave in current period (Feb 10) through CATS using active absence type 2000, system throws saying that "No Absence quota type 1/95/30 on 10.02.2010.
    The absence type 2000 is not linked to quota type 30 but its linked to 01 but CATS throwing error for quota type 30.
    When I directly try to maintain records in IT2001 using PA30, it shows no error and creates infotype.
    Then I went back and removed the delimitation for the quota type 30 in V_556A_B and extended till 31.12.9999 and the CATS error is vanished. But the delimitation exists in all the other tables for the quota type 30 and its not usable anymore.
    I wanted to know how does the delimitation in V_556A_B effected CATS.
    regards
    Naveen

    Hi, Naveen...
    Are you sure that there's no deduction rule configured for this absence? In PA30 does it work? The period you're inputing in CATS does the quota exists?
    Check..
    1. view V_554S_Q.
    2. T556C (where you link the quota deduction)
    Try to change the counting rule from V_554S_Q to another one you have in your system and let us know your results.
    regards,

  • CATS - error in workflow while releasing the time entry record

    Dear Experts,
    I have setup the configuration for CATS with approval along with workflow. I have maintained the Entry profile and also the Approval steps.
    After entering the time sheet and while releasing the record, system is prompting to enter the user id, I have entered the user id and click OK button, system is producing the following error message:
    An error occurred on starting the workflow
    Message no. LR365
    Diagnosis
    For technical reasons, the system cannot start the SAP Business Workflow.
    Procedure
    Contact your system administrator.
    I have activated the work flow customization using Trnx SWU3.
    Can some one please help me out in solving this problem.
    Thanks in advance,
    Regards,
    Praveen

    I got the solution, we have to maintain the task TS31000004 as general task in the transaction PFTC - 31000004 -> Additional Data -> Agent Assignment -> Maintain, in the next screen GOTO -> Attributes (F8), then Change the task type to General task.
    Also we have to create variant by name WORKFLOW for the program RCATSB01.
    The above has solved my problem.
    Thanks for support.
    Praveen

  • Itm cat Error in sales order

    Gurus,
    I am facing an error in sales order creation.
    When I enter the material and qty and press enter, I am getting an error saying the Item category is not defined.
    have anyone came across this error, kindly help

    HI,
    Generally item category is determined by the combination of
    sales doc type + item cat grp +usage + high level itm cat(if any).
    so check whether the above requirements are fulfilled i.e  for the sales doc type (if customised) and item category (maintained in mat master sales org-2) are maintained in VOV4 or not.
    Reward points if helpful.
    regards,
    gupta.

  • CATS - Data Transfer to Target Components via CATA - Error "No Data for Trf

    Hello
    I am recording hours via CAT2 on Network Activity. These hours are then approved.
    However, when I run CATA to transfer the hours to CO and PS, I get popup information "No Data for Transfer".
    When i proceed further , i get another popup saying all records were read and saved successfully, and no. of confirmations generated.
    However, when i run CJI3, I do not see any Actual cost line items.
    Please help
    JG

    Hello Joy,
    (1) Perhaps you have on your profile on CAC1, the "Immediate Transfer to HR" flag set.
    This way you have the "Release on Saving" flag set, all the time you save data, it gets transferred directly.
    (2) But, I see that you are having the issue with the CO and PS, so I highly suggest you to check on if the data is on the interface tables.
      a. First you should make sure that the data exists on CATSDB with Status 30.
      b. Then, you should check the data on CATSPS (Interface table for PS) and CATSCO( interface table for CO).
      c. If you don't have the data on these tables there should be no record after all to transfer.
    Regards,
    Bentow.

  • CATS Error Logs

    Can someone please tell me the difference between the error logs created in SAP for hours i..e. CN30, IW46 & COFC.  What determines errors going to each log?  How does the system determine?
    Thanks,
    Sarah

    Please give me some time.
    I will inform you after getting my bro.
    He knows that things.
    <removed_by_moderator>
    Edited by: Julius Bussche on Aug 19, 2010 7:10 AM

  • R12 installation giving me error [while loading shared libraries: librt.so]

    Hello ..
    I am installing Fresh R12 installation on Fedora. I was doing Single node installation. Installation was going fine but at the point when it said run "autoconfig.sh" for APPS_TIER. I went to $INST_TOP/admin/scripts and ran "autoconfig.sh". After that installer showed me all the errors and when i try to see the log file.
    I am getting following errors.
    [oracle@aurie / ]$ ls
    ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    [oracle@aurie / ]$ su - root
    su: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
    Now, I cant do anything on this machine, I try rebooting it but no matter what command i try to run i am getting above error.
    Cant find any solution online.
    any help would be appreciated.
    Thanks

    Hello Hussein,
    I chnaged my Fedora to following ..
    [root@aurie /]# cat /etc/issue
    Red Hat Enterprise Linux Server release 5 (Tikanga)
    Kernel \r on an \m
    [root@aurie /]# cat /proc/version
    Linux version 2.6.18-8.el5 ([email protected]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:15:21 EST 2007
    But installer is failing at the end of DB installation and it is not able to create database
    ==== ApplyDatabase_05092341.log ===========
    Executable : /d01/oracle/VIS/db/tech_st/11.1.0/bin/sqlplus
    The log information will be written to
    /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/adcrdb_VIS.txt
    Creating the control file for VIS_aurie database ...
    exit_code=127
    Checking for errors ...
    .end std out.
    ***sqlplus: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory***
    ***egrep: /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/adcrdb_VIS.txt: No such file or directory***
    **.end err out.**
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    =============
    ============05092156.log============
    Processing Disk68....
    ^M
    runProcess_2
    Statusstring Registering Database
    Executing command: /R12_setup/startCD/Disk1/rapidwiz/jre/Linux/1.6.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/VIS_aurie.xml -stage /R12_setup/startCD/Disk1/rapidwiz -showProgress -phase reg -nopromptmsg
    Log file located at /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/ApplyDatabase_05092341.log
    ^M
    | 0% completed
    runProcess_3
    Statusstring Configuring Database
    Executing command: /R12_setup/startCD/Disk1/rapidwiz/jre/Linux/1.6.0//bin/java -DCONTEXT_VALIDATED=true -mx512M -classpath /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar oracle.apps.ad.clone.ApplyDatabase -e /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/VIS_aurie.xml -stage /R12_setup/startCD/Disk1/rapidwiz -showProgress -phase cfg -nopromptmsg
    Log file located at /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/log/VIS_aurie/ApplyDatabase_05092342.log
    ^M
    | 0% completed ^M
    / 0% completed ^M
    - 0% completed ^M
    \ 0% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    Cannot execute configure of database using RapidClone
    RW-50010: Error: - script has returned an error: 1
    RW-50004: Error code received when running external process. Check log file for details.
    Running Database Install Driver for VIS instance
    Processing DriverFile = /R12_setup/startCD/Disk1/rapidwiz/template/adridb.drv
    Running Instantiation Drivers for /R12_setup/startCD/Disk1/rapidwiz/template/adridb.drv
    instantiate file:
    source : /R12_setup/startCD/Disk1/rapidwiz/template/adrun11g.sh
    dest : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh
    backup : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh to /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/out/VIS_aurie/templbac/adrun11g.sh
    setting permissions: 755
    setting ownership: oracle:dba
    instantiate file:
    source : /R12_setup/startCD/Disk1/rapidwiz/template/adrundb.sh
    dest : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
    backup : /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh to /d01/oracle/VIS/db/tech_st/11.1.0/appsutil/out/VIS_aurie/templbac/adrundb.sh
    setting permissions: 755
    setting ownership: oracle:dba
    Step 0 of 5
    Command: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrun11g.sh
    Step 1 of 5: Doing UNIX preprocessing
    Processing Step 1 of 5
    Step 1 of 5
    Command: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
    Step 2 of 5: Doing UNIX preprocessing
    Processing Step 2 of 5
    Executing: /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh
    STARTED INSTALL PHASE : DATABASE : Sun May 10 09:33:17 PDT 2009
    Preparing environment to install databases ...
    Setting LD_LIBRARY_PATH to - /R12_setup/startCD/Disk1/rapidwiz/lib/Linux -
    Setting PATH to - /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
    Setting CLASSPATH to - /R12_setup/startCD/Disk1/rapidwiz/jlib/java:/R12_setup/startCD/Disk1/rapidwiz/jlib/xmlparserv2.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/ojdbc14.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/OraInstaller.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/ewt3.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/share.jar:/R12_setup/startCD/Disk1/rapidwiz/jlib/oui/srvm.jar -
    ... installing VISION demo database
    FINISHED INSTALL PHASE : DATABASE : Sun May 10 09:33:18 PDT 2009
    /d01/oracle/VIS/db/tech_st/11.1.0/temp/VIS_aurie/adrundb.sh has succeeded
    =============
    Now, I am again hitting the same issue .. whatever I try to do after this fail installation i am getting following
    *[oracle@aurie 11.1.0]$ ls*
    ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    *[oracle@aurie 11.1.0]$ cat /etc/issue*
    cat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    *[oracle@aurie 11.1.0]$ cd /*
    *[oracle@aurie /]$ ls*
    ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory

  • Error while Registering the Database with Catalog..

    I m creating recovery catalog in same database, and getting the errors.
    1. I have created TOOLS tablespace
    2.CREATE USER RMAN2
    SQL> CREATE USER rman IDENTIFIED BY cat
    2 TEMPORARY TABLESPACE temp
    3 DEFAULT TABLESPACE tools
    4 QUOTA UNLIMITED ON tools;
    CREATE USER rman IDENTIFIED BY cat
    ERROR at line 1:
    ORA-01920: user name 'RMAN' conflicts with another user or role name
    SQL> ed
    Wrote file afiedt.buf
    1 CREATE USER rman2 IDENTIFIED BY cat
    2 TEMPORARY TABLESPACE temp
    3 DEFAULT TABLESPACE tools
    4* QUOTA UNLIMITED ON tools
    SQL> /
    User created.
    3. GRANT RECOVERY_CATALOG_OWNER
    SQL> GRANT RECOVERY_CATALOG_OWNER TO rman2;
    Grant succeeded.
    4. To create the recovery catalog:
    1. Connect to the database that will contain the catalog as the catalog owner.
    H:\>rman catalog rman2/cat@rock
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 10:45:52 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to recovery catalog database
    2. Run the CREATE CATALOG command to create the catalog.
    RMAN> CREATE CATALOG;
    recovery catalog created
    3. Optionally, start SQL*Plus and query the recovery catalog to see which tables were created:
    H:\>sqlplus
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 5 11:53:36 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: rman2/cat
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select count(*) from cat;
    COUNT(*)
    91
    SQL> ed
    Wrote file afiedt.buf
    1 select owner, table_name, tablespace_name
    2 from dba_tables
    3* where table_name='DB'
    SQL> /
    OWNER TABLE_NAME
    TABLESPACE_NAME
    RMAN2 DB
    TOOLS
    RMAN DB
    ABAMCO_TEST
    Next step is to registering the Database in the Recovery Catalog.
    Registering a Database in the Recovery Catalog
    H:\>rman TARGET / CATALOG rman2/cat@rock
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 11:56:09 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    I m getting above error while registering the Database with Catalog,
    Can anybody help me how can I register the Database with Catalog.????
    Waiting for Reply!!!!!!!

    Dear Manoj I can log in at TARGET Database.
    H:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Sep 5 12:41:59 2008
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target sys/rock
    connected to target database: ROCK (DBID=3255117147)
    RMAN>
    ============================================================
    USING CONNECT STRING as you said.
    H:\>rman target "sys/rock@rock as sysdba" catalog rman2/cat@rock
    Argument Value Description
    target quoted-string connect-string for target database
    catalog quoted-string connect-string for recovery catalog
    nocatalog none if specified, then no recovery catalog
    cmdfile quoted-string name of input command file
    log quoted-string name of output message log file
    trace quoted-string name of output debugging message log file
    append none if specified, log is opened in append mode
    debug optional-args activate debugging
    msgno none show RMAN-nnnn prefix for all messages
    send quoted-string send a command to the media manager
    pipe string building block for pipe names
    timeout integer number of seconds to wait for pipe input
    checksyntax none check the command file for syntax errors
    Both single and double quotes (' or ") are accepted for a quoted-string.
    Quotes are not required unless the string contains embedded white-space.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00552: syntax error in command line arguments
    RMAN-01009: syntax error: found "as": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
    RMAN-01007: at line 0 column 16 file: command line arguments
    H:\>rman
    It didnt work either.
    I have only one database rock, and created recovery catalog in it. I want to register rock database with recovery catalog.

  • Report for failed CATA entries

    Hello Experts,
    Is there any standard report to derive the CATA error log for entries which have failed to post to respective modules?
    Thanks & Regards,
    Preshit.

    If the posting is done automatically by batch job then you should just need to check the output spools (or have them setup to be mailed automatically when it is run). 
    If this isn't possible then you'll need to check manually, and it varies depending on the target system. 
    - HR: run CAT6, which is CATA but specific for HR.  Choose the relevant re-run options and execute. Any errors will be output in the log.
    - Finance: similar to HR, use CAT7 and post all the documents.  The output log can be extracted and will document all the errors
    - Project Systems: depending on where the error occurred, either re-run the postings via CAT5 or (if the error was at the point of calculating costs against the project) use transaction COFC which will list all the errors in calculating project costs (in this case the document has been successfully posted from CATSDB to Project Systems, but the next stage has then failed and so the process is incomplete).
    Regards
    Simon

  • Error Pages and StackTrace

    Hello!
    I want to create a Error Page.
    And I want to save the StackTrace as String in a variable.
    My code is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ page import="java.lang.Exception,java.io.*"%>
    <%@ page isErrorPage="true" %>
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Fehler!!!!<p>
    <p>Fehler: <%=exception.getMessage()%>
    <p><% PrintWriter writer = new PrintWriter(out);%>
    Stack: <% exception.printStackTrace(writer);%>
    <p>getLocalizedMessage = <%=exception.getLocalizedMessage()%>
    <p>toString = <%=exception.toString()%>
    </body>
    </html>But here the StackTrace is printed directly to the Page, but I want to save it in a variable at example a String, because I want to create a automaticle report to me, if there is any error....
    Can anybody help me?
    Mike

        public final static String getFullStackTrace(Throwable t) {
         // writers
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         // update stack
         t.printStackTrace(pw);
         String stackTrace = sw.toString();
         // close writers
         try {
             sw.close();
         } catch(IOException ex) {
             cat.error(ex.getMessage(), ex);
             return "error creating stack trace";
         pw.close();
         return stackTrace;
        }

  • Apache-fop classloading error ....

    HI,
    I am deploying a big EAR in WL 6.1 on solaris and I am bundling FOP 1.20.3
    within it, I am
    also including avalon 4.0 and logkit 1.0 jars within it as they are needed by
    fop.jar. Whenever I
    try to construct a "Driver()" class I get a NoClassDefFoundError on the org.apache.framework.logger.Loggable
    interface that it needs. The strange thing is that when I do the following :
    try {
    ClassLoader cl = this.getClass().getClassLoader();
    cl.loadClass("org.apache.avalon.framework.logger.Loggable"); // .........this
    works OK
    // the following .... fails with NoClassDefFoundError on Loggable
    org.apache.fop.apps.Driver d = new org.apache.fop.apps.Driver();
    } catch (Throwable t) {
    cat.error("failed:", t);
    It DOES work when I put the necessary jars on the server startup class path,
    however it would obviously be
    better to be able to bundle the 3rd party jars within my EAR ....... I know this
    seems like it would be a general
    weblogic classloader question - but I have had no problems with any other 3rd
    party jars that are similar to
    this one.
    Has anyone else had these kinds of problems ?
    Cheers,
    Brian.

    I have a similar problem, I tried to package the fop library with an ear also. I think it has to do with System properties. The fop library loads it's parser class from a system property, the class it finds is a weblogic library and that's when the problem begins. I was never able to solve this, but hope this gives you starting point. Keep us abreast of your findings.

  • PM issue:CATS eror log!!

    HI! PM gurus,
    in CATS error log when particular order is checked system shows different plant as correct than one in the order.
    But actual work order has different plant.
    Sometimes plant is incorrect,sometimes work center is incorrect and sometimes both,bit how it happens on random basis when actual work order may have different data.
    Is it possible to avoid these errors in the order creation stage itself?
    And sometimes both plant and work center are correct bbut then how do they get pulled in to CATS error log.
    Helpful answers will be rewarded.
    Thanks!

    fhsethse

  • Error signaled in parallel query server P006

    This is the error stack..
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "XXXXX", line 47
    ORA-06512: at "XXXXX", line 171
    ORA-12801: error signaled in parallel query server P006
    ORA-01555: snapshot too old: rollback segment number 4 with name "_SYSSMU4$"
    too small
    ORA-06512: at line 1
    Please help.
    Thanks.

    Hi,
    I wrote the code to uploada to a flat file (.txt format) by using UTL_FILE package in PLSQL. In that code I redirected errors to a error file.
    It is uploading the correct data to the file, and also generating a error file with the below error message.
    Upload Type: cat Error Code: -12801 System Message: 10/21/2008 13:19:39 Oracle Message: ORA-12801: error signaled in parallel query server P026, ins.
    here the word 'cat' is part of my file name passing through exception part in PLSQL code.
    Below is exception part of my PLSQL program:
    EXCEPTION
    WHEN VALUE_ERROR
    THEN
    p_write_to_upload_log ('cat', TO_CHAR (SQLCODE), 'Value error reading Retail upload', SQLERRM);
    WHEN UTL_FILE.invalid_filehandle
    THEN
    p_write_to_upload_log ('cat', TO_CHAR (SQLCODE), 'Write error on upload file', SQLERRM);
    WHEN UTL_FILE.invalid_operation
    THEN
    p_write_to_upload_log ('cat', TO_CHAR (SQLCODE), 'Upload file is not open', SQLERRM);
    WHEN UTL_FILE.read_error
    THEN
    p_write_to_upload_log ('cat', TO_CHAR (SQLCODE), 'OS error during file read', SQLERRM);
    WHEN OTHERS
    THEN
    p_write_to_upload_log ('cat', TO_CHAR (SQLCODE), TO_CHAR (SYSDATE, 'MM/DD/RRRR HH24:MI:SS'), SQLERRM);
    END p_cat_upload;
    Please let me know if you need any more information on this.
    Appriciate your help in resolving this error message.
    Thanks and Regards
    Vedaprakash N

  • CATA - No records for transfer to PS Issue

    Few postings were made in CAT2 against a 'Network - Activity'. After CATA is run, there is no CO document generated. For CO document to be generated, number range is maintained for trx RKL in KANK. I have checked CATSCO, PTEX2000 tables. there is no data posted in these tables either. I see a message "No records for transfer to PS". The data is present in CATSDB table though; with status (30 - APPROVED).
    Not even the Activity type price maintained (KP26) is being triggered / displayed in CATA.
    I have checked the below threads, but still unable to figure out what the reason for this issue is.
    http://forums.sdn.sap.com/thread.jspa?threadID=1926978
    http://forums.sdn.sap.com/thread.jspa?threadID=1849012
    Any suggestions plz.

    Refer these notes,
    Note 1246420 - Composite SAP Note : Cross Application Time Sheet Docum.
    Note 166961 - CATS:Error LR121 durng transfer in target applicatn
    Also refer the 2nd point in the Solution in this note,
    Note 555947 - PS/PM: Confirmation by CATS (Consulting note). Maybe this is the reason you are getting this error.
    Hope it helps.
    Post the error message number to analyse further.

  • Delete File's after Reading on server

    Hi All,
    I am uploading & reading a CSV or Txt file which contains data. The servlet reads & successfully inserting date into the backend db tables.
    For the uploading purposes i am using com.oreilly.servlet.MultipartWrapper servlet class which does successfully upload's the selected file from JSP page to the server location which i mentioned in web.xml.
    Now my requirement is after reading the file from the uploaded location i want to delete the file. can anyone suggest me on this??
    I have tried using file.delete(); method but it does not seem working. Any suggestions???
    Code :
    web.xml
    <filter>
    <filter-name>MultipartFilter</filter-name>
    <filter-class>com.oreilly.servlet.MultipartFilter</filter-class>
    <init-param>
    <param-name>uploadDir</param-name>               
    <param-value>C:/Temp/</param-value>
    </init-param>          
    </filter>
    <filter-mapping>
    <filter-name>MultipartFilter</filter-name>
    <url-pattern>FileUpload</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>FileUpload</servlet-name>
    <servlet-class>com.test.FileUpload</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FileUpload</servlet-name>
    <url-pattern>FileUpload</url-pattern>
    </servlet-mapping>
    JSP Code :
    <FORM name="file_upload" action="<%=request.getContextPath()%>/FileUpload" method="post"      enctype="multipart/form-data">
    <TABLE border="1" width="400" CELLPADDING="4">
                   <tr>
                        <td colspan="2" align="center">Enter or Select the file for Upload</td>
                   </tr>
                   <tr>
                        <td align="center">Enter or Select a file: <input type="file" name="fileInfo" value="" /></td>
                   </tr>
                   <tr>
                        <td colspan="2" align="center"><input type="submit" name="button" value="Upload File" />
                        </td>
                   </tr>
              </TABLE>
    </FORM>
    Servlet Code :
    import import javax.servlet.*;
    import com.Ostermiller.util.CSVParser;
    import com.oreilly.servlet.MultipartWrapper;
    public class FileUpload extends HttpServlet {
    boolean recordInserted = false;
    Connection dbconn = null;
    CallableStatement cstmt1 = null;
    DatabaseUtils dbUtils = new DatabaseUtils();
    protected void doPost(HttpServletRequest request,
                   HttpServletResponse response) throws ServletException, IOException,
                   FileNotFoundException {
              HttpSession session = request.getSession();
              PrintWriter out = response.getWriter();
    try {
                   dbconn = dbUtils.getConnection(session);
                   // to get the content type information from JSP Request Header
                   String contentType = request.getContentType();
                   Enumeration enum1 = request.getParameterNames();
                   while (enum1.hasMoreElements()) {
                        String name = (String) enum1.nextElement();
                        String values[] = request.getParameterValues(name);
                        if (values != null) {
                             for (int i = 0; i < values.length; i++) {
                                  cat.debug(name + " (" + i + "): " + values);
    if (request instanceof MultipartWrapper) {
                        try {
                             // Cast the request to a MultipartWrapper
                             MultipartWrapper multi = (MultipartWrapper) request;
                             // Show which files we received
                             Enumeration files = multi.getFileNames();
                             while (files.hasMoreElements()) {
                                  String names = (String) files.nextElement();
                                  String filename = multi.getFilesystemName(names);
                                  String type = multi.getContentType(names);
                                  File f = multi.getFile(names);
                                  cat.debug("name: " + names);
                                  cat.debug("filename: " + filename);
                                  cat.debug("type: " + type);
                                  if (f != null) {
                                       if (type.equals("application/vnd.ms-excel") || type.equals("text/plain")) {
                                            cat.debug(filename);
                                            cat.debug(" | length: " + f.length() + "\r");
                                            cat.debug("File Uploaded Successfully");                                                  String filePath = "C:/Temp/" + filename;
                                            cat.debug("FILE PATH : " + filePath);
                                            // mergeStatenos.setUploadedFilePath(filePath);
                                            values = CSVParser.parse(new FileReader(filePath));
                                            cat.debug("VALUES LENGTH : " + values.length);
                                            String[][] values = CSVParser.parse(new FileReader(f));
                                            for (int i = 0; i < values.length; i++) {
                                                 for (int j = 0; j < values[i].length; j++) {
                                                      try {                                                       
                                                           cstmt1 = dbconn.prepareCall("{call spj_add_file_records (?, ?, ?, ?, ?)}");
                                                           cstmt1.setString(1, values[i][0]);
                                                           cstmt1.setString(2, values[i][1]);
                                                           cstmt1.setString(3, values[i][2]);
                                                           cstmt1.setString(4, values[i][3]);
                                                           cstmt1.setString(5, "1");
                                                      recordInserted = cstmt1.execute();
                                                                                                                       // // create the return message container
                                                                ReturnMessages rm = new ReturnMessages(session);
                                                           rm.add(new ReturnMessage("File upload records inserted successful"));                                                                                                         
                                                                                                             } catch (SQLException sqle) {
                                                           cat.error(LogException.convertStackTraceToString(sqle));
                                                           new LogDBException(sqle.getMessage(), request);
                                                           ReturnMessages rm = new ReturnMessages(session);
                                                           rm.add(new ReturnMessage("A Database Error Occurred while inserting records. Please Try Again. "));
                                                                                                             } finally {                                                       
                                                           dbUtils.cleanUp(cstmt1);
                                                           f.delete();
                                       } else {
                                            f.delete();
                                            cat.debug(filename+ " is not a XLS file or text file, cannot upload.");
                        } catch (Exception e) {
                             cat.debug("Could not upload file/files");
                             cat.debug(e.getMessage());                         
                             e.printStackTrace();
                             // out.println("</PRE>");
    Any Suggestions???

    rajeshchenji wrote:
    Files are with minimum 10,000+ records...so can you tell me how i can upload & read into memory.I would read the documentation for that tool you are using to do the file upload. I am not at all interested in rummaging through that unformatted mess of code you dumped there. You're looking for something that can upload to an OutputStream rather than a File, then use that to output to a ByteArrayOutputStream.
    Or something that can give you an InputStream that reads directly from the upload.

Maybe you are looking for