EAI Error logging  - Log input/output XML to table

Hi Gurus,
In our project we are designing error handling mechanism for our EAI workflows.
Along with the common fields, generally we use in such scenarios (Object type, Row_id, User Login, Workflow Process,Error Code, Error Message..etc) we would like to save the input and output XML to the EAI log table.
Here I have couple of questions.
1) Is it a best approach to store all I/O messages to the table, ofcourse XML message size is not hude, it is just customer profile information without any child objects.
2) Which data type will support in Siebel and Oracle DB of the table column to store the XML message. Do we need any conversion from XML to normal string to store the XML.
3) How others (other projects) make use of this kind of error log table. Do I need to design BC, BO, Applet and view for this?
Please provide me your valuable suggestions.
Regards
user4619223

Please have a look at Metalink(metalink3.oracle.com) HowTo:
Are there vanilla tables existing in Siebel schema that log system errors? (Doc ID 860443.1)
If you are looking into doing this.
Axel

Similar Messages

  • Java.io.IOException: error in poll: Input/output error

    Hello,
    My server is running on Linux 7.1, IBM JDK 1.3 and WLS 6.1. When the
    following error is thrown in weblogic.log, the server is stopped by this
    error. This error keeps happening once it occurs for about every one second.
    ####<Dec 23, 2001 3:12:46 AM SGT> <Error> <Posix Performance Pack>
    <MyPC.1st-cube.com> <myserver> <ExecuteThread: '12' for queue:
    'default'><><><000000> <Uncaught Throwable in processSockets>
    java.io.IOException: error in poll: Input/output error
    at weblogic.socket.PosixSocketMuxer.poll(Native Method)
    at
    weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:371)
    at
    weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Can anyone help?
    Thanks.
    Regards,
    Mo

    I too am seeing a slight variation of this error with JM 1.3.1. Unfortunately, the message has since been deleted. Any ideas?
    java.io.IOException: Error in encoded stream, got 2
    at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:148)
    at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:53)
    at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:78)
    at java.io.FilterInputStream.read(FilterInputStream.java:90)
    at javax.activation.DataHandler.writeTo(DataHandler.java:289)
    at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1147)
    at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:668)
    at javax.mail.internet.MimeMultipart.writeTo(MimeMultipart.java:233)
    at com.sun.mail.handlers.multipart_mixed.writeTo(multipart_mixed.java:67)
    at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:839)
    at javax.activation.DataHandler.writeTo(DataHandler.java:295)

  • Error loading BASIC document. General Error. General input/output error".

    Error loading BASIC document. General Error. General input/output error".

    I guess your problem is related to StarOffice8, right?
    I had the same issue after upgrading StarOffice7 to StarOffice8:
    http://forum.java.sun.com/thread.jspa?threadID=5287604&tstart=0
    Apparently the .StarOffice8 directory in your export/home directory was created based on .StarOffice7
    directory. Probably here something went wrong. Maybe a bug.
    So the solution is very simple:
    rm -r .StarOffice8 in your export/home directory and restart StarOffice8.
    Or you can also rename the directory.

  • Error inserting acpi_cpufreq: Input/output error?

    Hi,
    I'm trying to set up frequency scaling on my Intel i5 760 as per the wiki.
    The only problem is I can't seem to load the acpi_cpufreq module!
    # modprobe acpi_cpufreq
    FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.39-ARCH/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko.gz): Input/output error
    There is no additional output in dmesg from this error.
    I'm running x86_64 btw, and I notice that it's trying to load an x86 module, could this have anything to do with it?
    Thanks!

    Hi
    Did you find a solution? I'm having exactly the same problem with acpi-cpufreq. (eeepc 900). I tried modprobing the p4_clockmod as well, which some older posts say is required for my machine, but I got the same error.
    Both modules appear to be available -
    ls /lib/modules/$(uname -r)/kernel/arch/x86/kernel/cpu/cpufreq/
    acpi-cpufreq.ko.gz     gx-suspmod.ko.gz  mperf.ko.gz        powernow-k6.ko.gz  speedstep-ich.ko.gz
    cpufreq-nforce2.ko.gz  longhaul.ko.gz    p4-clockmod.ko.gz  powernow-k7.ko.gz  speedstep-lib.ko.gz
    e_powersaver.ko.gz     longrun.ko.gz     pcc-cpufreq.ko.gz  powernow-k8.ko.gz  speedstep-smi.ko.gz
    Last edited by belbo (2011-06-11 11:07:50)

  • What types of Interface Errors lead to Input/Output Drops/Discards?

    Hi All,
    I was wondering if anyone knows if all of the following errors would lead to packet drops/discards.
    Runts
    Giants
    Framing Errors
    Overrun Errors
    Abort Errors
    Also, are there any types of interface errors that don't lead to packet drops/discards?
    So if all interface errors lead to packet drops/discards, I may not have to poll for multiple OIDs for these errors, but instead just poll for packet drops/discards.
    Any insight would be appreciated.
    Thanks,
    David

    ifInDrops do not related to errors.  In fact, ifInDiscards specifically count packets that were discarded without an associated error.  This could be due to a lack of buffer space (e.g. no queue slot), or there was no listener for a TCP connection.  The same is true for ifOutDiscards.
    For a consolidated error count, look at ifInErrors and ifOutErrors.  It will depend on the interface/encapsulation type as to what exactly will be counted as an error, but anything that would be an encap-specific error should appear in one of the interface error counters.

  • Store of error logs

    Dear gurus,
    Could you please let me know if the following logs are stored in the DB or at file system?
    - ABAP runtime error logs (ST22)
    - Background job logs (SM37)
    - System logs (SM21)
    Best regards
    Rodolfo

    As far as i know
    - ABAP runtime error logs (ST22) -- Stored on DB table SNAP
    - Background job logs (SM37) - Stored on DB as well as os level also
    - System logs (SM21) - Stored on DB only
    Regards,
    Subhash

  • OpenOffice/Go-Office Export to PDF General Input/Output Error

    Okay so I am using the openoffice 3.2 from the latest go-office package. 
    Whenever I try to export something as a pdf, it gives me the following error message in a little window:
    Error saving the document: Untitled 1
    General Error.
    General Input/Output Error.
    I have checked to make sure that I have installed all of the optional, PDF handling packages for openoffice, but I still get this message.  It's odd though, it does export the document to a PDF, but the quality of the font and the images is really bad. 
    Is there any way to fix this? Is this something I need to do a downgrade to fix? Do I need to install the openoffice package instead?
    Last edited by Dr Belka (2010-04-26 21:13:29)

    http://user.services.openoffice.org/en/ … =7&t=29979
    [SOLVED]
    I'm so confused
    Last edited by itsbrad212 (2010-05-08 02:23:49)

  • Submit Back ground job with error log

    Hi Gurus
    Can anyone help with Back ground job with error log. i want put all the error logs in to 1 internal table and submit the back ground .how can i do that .please help me

    Hi reddy ,
    i am not experienced this in real scenarion .. even though i would like to give my idea
    Put your logic inside the FM and execute in in background task mode on your action button .
    call function 'Function module name' in background task
    exporting
       parameter =
    importing
       ret =
    refer the below link for more detail on executing FM as  background task
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    Regards
    Chinnaiya P

  • Resolve input/output does not match

    I've used Audition for years, but I'm unable to record in the new version that I just downloaded.  I get the error message that input / output measurements to not match.  I've been in and out of preferences and made changes to no avail.   Thank you for your help.

    We need a few more details of your system. Are you on a PC or a Mac? What operating system are you using? And what audio interface?
    Since you say that you have used Audition for years I assume that this means on a PC. In which case it is probably Windows that is giving you the run around with setting up the soundcard correctly for Audition. This FAQ may be of help.
    http://forums.adobe.com/thread/973133?tstart=0

  • NEW STRANGE PERMISSION ERROR reported as IMPUT/OUTPUT error

    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8571.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8572.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8573.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8574.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8575.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8576.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8577.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8578.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8579.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8580.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8584.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8585.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8586.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8587.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8588.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8589.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8590.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8591.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8593.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8594.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8595.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8597.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8598.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8599.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8600.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8601.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8602.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8604.ht ml
    Errore apertura 5: "Input/output error" su Library/Documentation/Help/MacHelp.help/Contents/Resources/ko.lproj/pgs/8605.ht ml
    I have the file MacHelp.help in the reported position under Harddisk Lbrary (and not in Library of user's Account - mine Folder Help is empty).
    During the Repair of permission the Mac freezes while checking these part and later resumes.
    The Mac is working without apparent problems.
    Any suggestion ???
    THANKS
    Message was edited by: WALTER-MILANO-ITALY
    Forgot to say that the file MacHelp.help is reported by Finder to be a Final Cut Express file. It opens and happens to be a general help file for Mac with links to other Help

    Thanks for your suggestion. The original disk was Tiger. Now I have SnowLeo.
    I will try to do it with SnowLeopard disk.

  • Error log table and output type

    Hi All,
    While creating an invoice(while saving billing document) is it poosible to capture the error in a log in table?
    And how is this error log table related to the output type?
    Thanks

    You seem to be confusing saving of the billing document with creation of the output. These are two independent updates (LUWs). A document may be saved without any output.
    If there are any errors in the billing document creation, the document just won't be created. Such errors should be captured in the log of the Blling Due list, if it's been run properly.
    To update the processing log for the output, use FM NAST_PROTOCOL_UPDATE.

  • Creation of error log  on input data  and stat report

    I am doing call transaction on <b>C202</b> transaction.my client asked me before uploading the file he needs some validations on input file and he is asking me to create  a log for all the validations.i have to place error lof for all the input data.
    •An error log will record all errors occurring during upload. For each error the list should
    contain the data (line) going in error and an error text in a subsequent column (subsequent to data). The change number used to perform  the upload will be stated in the header of the error list.A txt-file containing the error log will get the same name as the input file, but with an ending –err.xls.
    Therefore no Batch-Input-Session is needed.
    • After execution of the batch input program, the following analysis regarding execution will be shown:
    o Number of records in input file (including title, first line)
    o Number of records successfully updated
    o Number of records in error
    Example:
    Number of records in input file (incl. first line) 4
    Number of records successfully updated:   3
    Number of records in error:      0
    How to do this according to client  requirements.can u help me to get a statastical way to represent errors.  Send me some smpale code for number of errors and no records gets success and no of failed.
    Thanks
    chandrasekhar

    Hai Chandrasekhar
    Go through the following Code
    report Z_CALLTRANS_VENDOR_01
    no standard page heading line-size 255.
    Generated data section with specific formatting - DO NOT CHANGE ***
    data: begin of it_lfa1 occurs 0,
    KTOKK like lfa1-ktokk,
    NAME1 like lfa1-name1,
    SORTL like lfa1-sortl,
    LAND1 like lfa1-land1,
    end of it_lfa1.
    End generated data section ***
    data : it_bdc like bdcdata occurs 0 with header line.
    *DATA: IT_MESSAGES TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
    *DATA: LV_MESSAGE(255).
    data : it_messages like bdcmsgcoll occurs 0 with header line.
    data : V_message(255).
    data : V_flag.
    data : V_datum1 type sy-datum.
    data : begin of it_mesg occurs 0,
    message(100),
    end of it_mesg.
    *V_datum1 = sy-datum-1.
    parameters : P_Sess like APQI-GROUPID.
    start-of-selection.
    perform Get_data.
    *perform open_group.
    loop at it_lfa1.
    perform bdc_dynpro using 'SAPMF02K' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RF02K-KTOKK'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RF02K-KTOKK'
    it_lfa1-KTOKK.
    perform bdc_dynpro using 'SAPMF02K' '0110'.
    perform bdc_field using 'BDC_CURSOR'
    'LFA1-LAND1'.
    perform bdc_field using 'BDC_OKCODE'
    '=UPDA'.
    perform bdc_field using 'LFA1-NAME1'
    it_lfa1-name1.
    perform bdc_field using 'LFA1-SORTL'
    it_lfa1-sortl.
    perform bdc_field using 'LFA1-LAND1'
    it_lfa1-land1.
    call transaction 'XK01' using it_bdc
    mode 'N'
    update 'S'
    messages into it_messages.
    if sy-subrc <> 0.
    if V_flag <> 'X'.
    perform open_group.
    V_flag = 'X'.
    endif.
    perform bdc_transaction. "using 'XK01'.
    endif.
    perform format_messages.
    refresh : it_bdc,it_messages.
    endloop.
    if V_flag = 'X'.
    perform close_group.
    endif.
    *& Form Get_data
    text
    --> p1 text
    <-- p2 text
    FORM Get_data .
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    FILENAME = 'C:\srinu_vendor.txt'
    FILETYPE = 'ASC'
    TABLES
    DATA_TAB = it_lfa1
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " Get_data
    *& Form bdc_dynpro
    text
    -->P_0061 text
    -->P_0062 text
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
    CLEAR it_BDC.
    it_BDC-PROGRAM = PROGRAM.
    it_BDC-DYNPRO = DYNPRO.
    it_BDC-DYNBEGIN = 'X'.
    APPEND it_BDC.
    ENDFORM.
    Insert field *
    FORM BDC_FIELD USING FNAM FVAL.
    CLEAR it_BDC.
    it_BDC-FNAM = FNAM.
    it_BDC-FVAL = FVAL.
    APPEND it_BDC.
    ENDFORM.
    *& Form format_messages
    text
    --> p1 text
    <-- p2 text
    FORM format_messages .
    loop at it_messages.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = it_messages-MSGID
    LANG = 'EN'
    NO = it_messages-MSGNR
    V1 = it_messages-MSGV1
    V2 = it_messages-MSGV2
    V3 = it_messages-MSGV3
    V4 = it_messages-MSGV4
    IMPORTING
    MSG = V_message
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write : / V_message.
    clear : V_message.
    endloop.
    ENDFORM. " format_messages
    *& Form open_group
    text
    --> p1 text
    <-- p2 text
    FORM open_group .
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
    CLIENT = SY-MANDT
    GROUP = P_Sess
    HOLDDATE = V_datum1
    KEEP = 'X'
    USER = SY-UNAME
    IF SY-SUBRC = 0.
    write : / 'Session Creating wit Name : ',P_Sess.
    ENDIF.
    ENDFORM. " open_group
    *& Form close_group
    text
    --> p1 text
    <-- p2 text
    FORM close_group .
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    ENDFORM. " close_group
    *& Form bdc_transaction
    text
    -->P_0132 text
    FORM bdc_transaction. "USING VALUE(P_0132).
    CALL FUNCTION 'BDC_INSERT'
    EXPORTING
    TCODE = 'XK01'
    POST_LOCAL = NOVBLOCAL
    PRINTING = NOPRINT
    SIMUBATCH = ' '
    CTUPARAMS = ' '
    TABLES
    DYNPROTAB = it_bdc
    EXCEPTIONS
    INTERNAL_ERROR = 1
    NOT_OPEN = 2
    QUEUE_ERROR = 3
    TCODE_INVALID = 4
    PRINTING_INVALID = 5
    POSTING_INVALID = 6
    OTHERS = 7
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " bdc_transaction
    Regards
    Sreeni
    Message was edited by: Sreenivasulu Ponnadi

  • Error log table for LSMW-Direct input

    Can any one tell me , What is the table for storing the error messages in LSMW-Direct input?
    Regards,
    Nagesh

    for LSMW-Direct input method you can use EXCUTE IN BACK GROUND. the job is running and see the job name in SM37 . after completion of your job , select you job name and press the  SPOOL button there you can find the you job error log.

  • SQL PLUS log input and output to file

    What is the way to log every activity in sqlplus, input and output to a file (interactively).
    I managed to do it using rlwrap and tee but the only problem is, it is displaying the password and logging it into file as well :D. I can remove it from the logfile but am unable to prevent from showing the password.
    I hope many might have wanted to do this, and some might have been succeeded. Please share your ideas!

    N:\tools>sqlplus siva
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 19 03:12:04 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password: password
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsThe password is displayed on screen and it is in the log file as well.
    Here is the some environmental setup;
    I've installed cygwin with rlwrap package
    I've renamed the original sqlplus.exe to _sqlplus.exe
    I've placed mysqlplus.bat and sqlplus.bat in N:\tools and this location includes in the pathwhere sqlplus.bat contains
    @echo off
    rlwrap -a"Enter" mysqlplus.bat %*perhaps this is more related to linux commands but I want to log input and output of sqlplus!
    :)

  • Error Log in Direct Input Method of LSMW

    Hello!
    We are developing an upload through LSMW using its direct input method for material master. This method is better than the Recording method but the only problem we are having is maintaining the error log. Unlike the recording method, in direct input the system gives an error log but it cant me maintained in a permanent file i.e when we go back to the upload for specifying a new file, the error log of the previous file is gone.
    Is there any way that we can maintain the error log in a permanent file? Help needed ASAP!
    Thank You!
    Regards
    Sahar

    When i enter %PC in the command field the system gives following information
    Function code cannot be selected
         Message no. 00255
    Diagnosis
         You entered an inactive function code.
         You can trigger this by:
         o   inputting directly in the OK code field,
         o   inputting the fastpath of an inactive menu function,
         o   choosing an inactive function key, or even by
         o   choosing ENTER, if ENTER has an inactive function.
         In batch input, a function code is included in field BDC_OKCODE of the
         session, if this function code is not assigned to ENTER.

Maybe you are looking for