Capturing Runtime Error Messages From ODI (Sunopsis) Operator

Hi
I have following question
1) I want to capture error message of an activity that has failed during execution
I have created a variable and used following query to capture it
select T.TXT
from <%=odiRef.getObjectName("L","SNP_EXP_TXT","D")%> T,
<%=odiRef.getObjectName("L","SNP_STEP_LOG","D")%> S
where S.SESS_NO = <%=odiRef.getSession("SESS_NO")%>
and S.I_TXT_STEP_MESS = T.I_TXT
order by T.TXT_ORD asc
unfortunatly am not getting entire error message ,instead am getting first row of the error from SNP_EXP_TXT table.How to get entire error message in a variable.
2) How can we know scenario name if we know session number?
Please provide your inputs
Thanks
Baji

Hi,
Don't use this query, it won't work.
Use the API GetPrevStepLog, it is simple and better...
Take a look at:
Use the http://www.oracle.com/technology/products/oracle-data-integrator/10.1.3/htdocs/documentation/oracledi_api_reference.pdf
For the session name, just use getSession() Method ( too is at the pdf)
I hope be helpful.
Cezar
Edited by: Cezar Santos on 21/11/2008 09:16

Similar Messages

  • How to capture the error messages from incorrect session?

    Hi SDNs.,
    i am using BDC Session method to update transaction FB01. So my job runs daily. here i want to capture the error messages and i want to send it to mail.  Can i capture the unprocessed records???
    i think FM <b>SO_NEW_DOCUMENT_ATT_SEND_API1</b> used for sending mail? but how to capture mes or records?
    or Is there any other way to Do it???
    Thankning you.,
    Ram

    Hi Ramakrishna,
       Once you create the session, Process the session using
    the report RSBDCSUB using submit statement.
    It would list out the erroneous records.
    Hence, while submitting, just say submit RSBDCSUB in background and export output list to memory.,
    Then you can retrieve the list from memory using the FM LIST_FROM_MEMORY into the internal table and finally send the email by the fm you have already mentioned.
    Regards,
    Ravi

  • Capturing custom error message from alert category

    We are using XSLT mapping and We are raising custom error message based upon some conditions i.e if vendor number is invalid or blank.If it doesn't meet the requirement,mapping will fail and it will throw error message as" IDoc XXXXXXXXX is having invalid vendor number".
    My question is,we would like to send this custom error message to email receipients through RWB-AFW.
    How do we capture this custom error message is alert category or alert rule?

    You can not unless u use BPM.
    VJ

  • Capturing Custom Error Messages from Database Triggers

    Hi Everybody
    When i fired a trigger it should show only the custom message from RAISE_APPLICATION_ERROR
    instead of showing all the message....
    ORA-20103: We Cannot Delete the emp_id 5610
    ORA-06512: at "emp_id", line 89
    ORA-04088: error during execution of trigger 'delete_emp_id.trg'I want to show only the custom message
    We Cannot Delete the emp_id 5610Thanks in Advance

    Not possible AFAIK.
    Instead of RAISE_APPLICATION_ERROR, define a custom exception, call it and just print it onto the console (using dbms_output). You can't pop it out though.

  • How ro send error message from BADI to BAPI

    i have a BADI which is triggered from a BAPI.This BADI has only importing and changing parameters.How can i send error message to BAPI.Please reply at the earliest.
    High points can be expected.

    Hi Arshi,
         Please check whether the following link is of any use to you,
    how to capture the error message from bapi
    Best Regards.
    Reward points if it is helpful.

  • Error message from Application Server

    Hi All,
    Is it possible to capture a descriptive error message from the Application server when we try to transfer a file from SAP and it does not get written to the application server.
    I know it is possible to catch the standard catchable runtime exceptions, but I also would like to know if the file transfer fails in any other conditions which do not result in runtime dumps, nevertheless I should be able to get the error message.
    Thanks in advance,

    hi,
    it is not possible to find the run time errors in application server while writing the file.using sy-subrc only we can find out. where it is writing correctly like this.
    we can see all the application server files in this Tcode: AL11

  • Error message from ABAP to portal

    Hi
    I need to write error message from ABAP to BW portal.
    If I write as usual: message E001(ZBW).
    Then I get a dump in portal.
    Does anyone know how to post error message in this case?
    Thanks.

    Hi
    Good
    Check the below sdn link.
    portal runtime error in BW
    Thanks
    mrutyun^

  • Error Message from VM TMS 13.0

    Dear all,
    We have receive some error message from the VM TMS 13.0, that is installed a month ago.
    <ErrorCode 1000>
    Message="Faulting application name: TMSSNMPService.exe, version: 1.0.4008.29206, time stamp: 0x4d12159c Faulting module name: mscorlib.ni.dll, version: 4.0.30319.18444, time stamp: 0x52717d7e Exception code: 0xc0000005 Fault offset: 0x0000000000cd5bf7 Faulting process id: 0x116c Faulting application start time: 0x01cf68076319516f Faulting application path: C:\\Program Files (x86)\\TANDBERG\\TMS\\Services\\TMSSNMPService.exeFaulting module path: C:\\Windows\\assembly\\NativeImages_v4.0.30319_64\\mscorlib\\abf62e6545d2802fc60286678a67e6bf\\mscorlib.ni.dll Report Id: 371654ff-d3fb-11e3-98ea-005056b1027a"
     <ErrorCode 1026>
    Message="Application: TMSSNMPService.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at System.Runtime.InteropServices.Marshal.ReadInt64(IntPtr, Int32) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.VbToObject(Tandberg.CommLib.SnmpLib.WinSnmp.SMIVALUE ByRef) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.VblToHashtable(IntPtr) at Tandberg.CommLib.SnmpLib.TrapHandling.SnmpTrapHandler.OnSnmpMessage(IntPtr, IntPtr, Int32, UInt32, UInt32, IntPtr)"
     <ErrorCode 7031>
    Message="The TMSSnmpService service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds:
    Any comments on the above error?
    Best Regards,
    Ben Lai

    This seems to be happening on 14.2.2 as well.
     Component: Application Error
      Severity: Warning
      Event class: /App/Failed
      Device class: /Server/Windows/WMI/TMS
      Systems: None
      Summary: Faulting application name: wmiprvse.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc794
    Faulting module name: ole32.dll, version: 6.1.7600.16624, time stamp: 0x4c2984e3
    Exception code: 0xc0000005
    Fault offset: 0x00000000000393a9
    Faulting process id: 
      Message:
      Faulting application name: wmiprvse.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc794
    Faulting module name: ole32.dll, version: 6.1.7600.16624, time stamp: 0x4c2984e3
    Exception code: 0xc0000005
    Fault offset: 0x00000000000393a9
    Faulting process id: 0x39c4
    Faulting application start time: 0x01d04d36eb9b6c36
    Faulting application path: C:\Windows\system32\wbem\wmiprvse.exe
    Faulting module path: C:\Windows\system32\ole32.dll
    Report Id: e334bd6f-b990-11e4-aa1d-842b2b6be310
    http://tools.cisco.com/security/center/viewAlert.x?alertId=29142

  • Persistent but Inconsistent iTunes Runtime Error Message...

    A while ago, I started getting a runtime error message when I'd open iTunes.
    "Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program: C:\Program Files\iTunes\iTunes.exe
    This application has requested the Runtime to terminate in an unusual way."
    The odd thing is sometimes it doesn't happen. Or, if it does, I found by opening the application a few times I'd be able to get back into iTunes without the error message popping up.
    I am running Windows XP with service pack 2 which is up to date.
    Additionally, I have Norton System Works which scans the hard drive once a week and cleans up files.
    Is there a simple and painless way I solve this problem?
    Can anyone help?

    followed the excellent instructions from turingtest2, london, uk message of 1-31-2014.  everything is working perfectly.  .

  • How to capture Exception error message in Odata ?

    Hi,
      I am new to sap gateway. Currently i am creating a Odata Service through the transaction SEGW. In the query i have mapped a RFC. When i execute the service sometimes the RFC throws exception like 'No data Found'. But i dont know how to capture the exception returned from the RFC.
    I read some threads which says use
    RAISE EXCEPTION TYPE /IWBEP/CX_MGW_BUSI_EXCEPTION
          EXPORTING
            textid            = /iwbep/cx_mgw_busi_exception=>business_error
            message       =  lv_text
            message_container = io_message_container.
    My doubt is since i have not done any code in the DPC method. As said in many threads should i go to DPC_EXT method and redefine the method or how to capture the exception.
    Kindly advise. Thanks in advance

    Hello Velsankar,
    You need not to capture the error messages explicitly by writing custom code in you DPC_EXT if you are using service builder when the return error message table is of type BAPIRET2.
    GW itself will handle and return the error messages.
    If at all the return error message table is of different type , i mean to say if it is not of type BAPIRET2 then you need to capture explicitly.
    The below is the code you need to write in DPC_EXT to capture.
    DATA: LO_MECO TYPE REF TO /IWBEP/IF_MESSAGE_CONTAINER.
    DATA: LX_BUSI_EXC TYPE REF TO /IWBEP/CX_MGW_BUSI_EXCEPTION.
            LO_MECO = MO_CONTEXT->GET_MESSAGE_CONTAINER( ).
             LO_MECO->ADD_MESSAGES_FROM_BAPI( IT_BAPI_MESSAGES = LT_ERR_RET_TAB ).
             CREATE OBJECT LX_BUSI_EXC
               EXPORTING
                 MESSAGE_CONTAINER = LO_MECO.
             RAISE EXCEPTION LX_BUSI_EXC.
    Note : where LT_ERR_RET_TAB is your internal table where you would have captured all the error messages.
    That is it. You will be able to see the messages .
    Regards,
    Ashwin

  • Capturing Application Error log from SXMB_Moni

    Hi,
    I wanted to capture the error information from Application error log from ECC sxmb_moni and forward that as email alert.
    We have already alert configuration in place with alert category using standard variables. Was wondering if I have to capture application error log from sxmb_moni what would be steps involved. Please let me know if anybody has worked on this and appreciate your help on this.
    Sample Error message from sxmb_moni of ECC system
    MT_Fault
    Error in Application System
    Detailed Information
    Process Order invalid
    Thanks
    Selvam
    Edited by: Selvam_muthu on Jun 23, 2011 5:40 PM

    Hi Selvam,
    As the exception is raised in ECC system, alert cannot be trigger, alert will get trigger when there is a error in PI system. To raise a email, write additional code in ECC to trigger the e-mail with proper error content

  • Delete windows warnings, error messages from hard drive

    delete windows warnings, error messages from hard drive

    Hello @NeoTaino,
    I have read your post on how your desktop computer is displaying a "delete Windows warning, error messages from hard drive". Did you install any hardware or software recently? What does the full error message state as it appears on the screen? I would be happy to help you, but first I would encourage you to post your product number for your computer. Below is a is an HP Support document that will demonstrate how to find your computer's product number. In addition, it will also help if you indicate which operating system you are using; and whether your operating system is 32 or 64 bit. The more information you can provide, the better!
    How Do I Find My Model Number or Product Number?
    Which Windows operating system am I running?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How do I resolve the "Mozilla cannot find runtime" error message when I try to start Firefox?

    Mozilla Firefox updated to version 36.0. When I click on the Firefox icon to open it I receive the message: "Mozilla cannot find runtime" I receive the same message if I try to open Firefox by selecting "firefox.exe" from within the Program Files. I subsequently uninstall Mozilla Firefox and reinstall it. It will open and run normally right after the re-installation. Then if I close the program and try to re-open it again, I get the same "Mozilla cannot find runtime" error message.
    The only way I can get Firefox to open is if I uninstall and re-install it every time I want to open it after the initial re-installation.

    ''sage68 [[#answer-700841|said]]''
    <blockquote>
    Hi Adriel,
    The "Mozilla cannot find runtime" problem has returned. It occurs in two situations:
    1. When Firefox tries to download updates using "updater.exe" (version 36.0.0.5531), which causes my "Norton Internet Security" program to notify me with the message: "Auto-Protect has removed security risk Suspicious.Cloud.9.B" This message is shown every time "updater.exe" activates.
    </blockquote>
    I also have experienced this during several upgrades, not just the latest. (I am using Windows XP and Norton Security Suite.) Norton identifies c:\program files\mozilla firefox\updated\xul.dll with the Suspicious.Cloud.9.B virus and removes the file. I can set the Norton installation to accept xul.dll but it would make more sense for a Mozilla expert to contact Norton and work out a permanent solution, for all who are facing this problem.

  • Preventing Form Calc Runtime Error Message Dialog

    When there is an runtime error in a script written in JavaScript, Adobe Reader "swallows" the error (if it is not caught). I mean, it may write the error to the console, but the user isn't warned of the fact, through a message box.
    So, for the user, everything is well.
    For the programmer, because he can use a top level try/catch/finally statement, if he is interested in knowing of the fact, this behaviour is a good compromise.
    If there is a syntax error in a script written in JavaScript Adobe Reader also does not alert the user of the fact.
    If you write code in FormCalc the behaviour is the exact opposite.
    Syntax errors show up to the user. This may be admissible because, with thorough testing, it will happen in development-time.
    But runtime errors always show up to the user. A big dialog, as tall as your code, shows the code to the user, and, at the bottom, possibly already off the screen, the description of runtime error. This may be an ugly description, depending on what failed.
    As far as I know, there is no construct in the Form Calc language that allows catching errors, so you're stuck.
    To make things worse not every FormCalc function is available in JavaScript. Many useful functions only exist in FormCalc.
    I tried calling FormCalc scripts from JavaScript scripts, using the field.execEvent('...') and it works, appart from a lot of dificulties in passing parameters to, and returning results from, using fields' values as intermediaries of this interaction.
    Yet, a try/catch/finally block in the calling JavaScript script does not catch FormCalc errors...so we're back again to the same problem.
    All this, imho, is an absurd, and can only be understood as some market-like feature.
    Is there ANY undocumented way or dirty trick to prevent FormCalc error messages from displaying to the user?
    Or
    Is there ANY undocumented way or dirty trick to catch FormCalc error messages, in FormCalc code?

    Duarte:
    You cannot catch exceptions in FormCalc -- it doesn't have that language feature. If this is important to you, you need to stay with JavaScript. Of course there are certain functions that are available only in FormCalc. There is a way to get at those functions from JavaScript. See my blog post at:
    http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html
    John

  • Recent update download upset my entire itunes program. Can't use to sync iphone, ipad, etc nor run any other updates.  Get runtime error message, etc...and contact app support team.  Says itunes not installed correctly, pls reinstall. tried to no avail.

    A recent update download upset my entire itunes program. Unable to use to sync iphone, ipad, etc nor run any other updates.  Get runtime error message, Error 7 (windows error 1114)  etc...and contact app support team.  Says itunes not installed correctly, pls reinstall. tried to no avail.

    First try updating to iTunes 11.1.5.5, using an installer downloaded from the Apple website:
    http://www.apple.com/itunes/download/
    If you still get the errors after that, try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for