CcBPM, how to capture error message in the exception branch ?

Hi,
Can I capture error message in the exception branch ? how to do that ?
because i want to raise the alert including with the error message ?
Cheers
Fernand

Hello Fernand,
I hope at the end of this you may get some knowledge on Alerts.
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step XI:Alerts step-by-step. (fundamental Basic)
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i CCMS Monitoring for XI. (CCMS monitoring for XI is enough later
we configure to Adapter Engine).
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1 Configuring scenario specific E-mail alerts in XI-CCMS: Part-1
(This is Important)
/people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2 Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
/people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3 Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
/people/federico.babelis2/blog/2006/05/03/solution-manager-cen-and-alerting-configuration-guide-for-dummies Solution Manager CEN and Alerting configuration (Advanced)
Please reward points if it is useful...
Thanks,
Satya Kumar

Similar Messages

  • How to give error message for the screen element text field when wrong i/p

    How to give error message for the screen element text field when wrong i/p
    when wrong input given
    eg. 
    I have a text box with SBOOK-CARRID
    so when user give wrong entry in text box i.e LG
    then I should give some error stating that the the input is invalid or not available ,
    now it showing the error of standard messages,
    i want manual message to be displayed when error comes.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla

    Hi all,
    Thank you for your valuable reply,
    but the thing is that its a screen field,
    i.e text box not a selection screen
    i created in screen layout
    with name sbook-carrid
    now i want to get error message display if wrong i/p is given
    thank you.
    Regards,
    Jagrut bharatkumar Shukla,

  • How to capture error message log for Tcode MIR7

    Hi ,
    I have a problem to capture the error message outside the tcode which are created by MIR7/MIR0 .
    Are they stored in any database table?
    Is there any other way to access them?
    Anybody knows how to solve this that will be very helpful.
    Thanks,
    Anu

    call transaction 'XK01' using i_bdcdata
                     mode 'N'
                     update 'S'
                     messages into i_bdcmsgcoll.
    if sy-subrc <> 0.
        perform get_error.
            write:/ itab , v_text.
    endif.
    *Form
    form get_error.
    loop at i_bdcmsgcoll.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = i_bdcmsgcoll-MSGID
       LANG            = sy-langu
       NO              = i_bdcmsgcoll-MSGNr
       V1              = i_bdcmsgcoll-MSGV1
      V2              = SY-MSGV2
      V3              = SY-MSGV3
      V4              = SY-MSGV4
    IMPORTING
       MSG             = v_text
    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.
    endloop.
    endform.                    " get_error
    Edited by: Bala Krishna on Sep 9, 2008 7:50 PM

  • How to set error message inside the loop...module pool

    Dear all,
         Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
    Thanks,
    Santhosh.R

    If i understood your doubt, here goes the answer.
    LOOP AT itab INTO wa_itab.  " This is your loop
      l_tabix = sy-tabix. "l_tabix receives the line of the loop
      READ TABLE itab WITH KEY itab = wa_itab.  "itab is the same tab of your loop
      IF sy-subrc EQ 0 AND l_tabix NE sy-tabix.    "Here the sy tabix have the value of the read table.
    *     Here you do your error treatment.
      ENDIF.
    ENDLOOP.
    Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
    Maybe there is someway easier to do this, but this is what i thought now.
    I hope this was your doubt hehe.
    Thales Schmidt

  • How to display error message on the screen

    I am new to WD world and need all possible steps to resolve the following issue.
    I need to display the error message on the screen if any required field is empty when user click on SAVE button.
    I have set the attribute GO_MESSAGE_MANAGER and check the both box for  PUBLIC and REFTO and set the associated type IF_WD_MESSAGE_MANAGER under COMPONENTCONTROLLER.
    Under the method of COMPONENTCONTROLLER set the value WD_THIS-GV_NAV_FORBIDDEN = IV_NAV_FORBIDDEN. Which is type IMPORTING of associated type WDY_BOOLEAN.
    GV_NAV_FORBIDDEN has been set to attribute WDY_BOOLEAN in the COMPONENTCONTROLLER.
    Under the ACTION (on SAVE button) of my default view (VW_DEFAULT) I am doing the following.
    IF lv_f_name IS INITIAL
        CALL FUNCTION 'BALW_BAPIRETURN_GET2'
          EXPORTING
            type   = 'E'
            cl     = 'HRRCF0002'
            number = '020'
          IMPORTING
            return = ls_return.
        lv_message = ls_return-message.
    NEED TO PUT CODE TO PASS IT ON
    ENDIF.

    The thing I can not figure out is the input parameter of this call. My CONTEXT has a node1->node2->node3->f_name.
    CALL METHOD lo_message_manager->report_attribute_error_message
      EXPORTING
        message_text              = lv_message
        element                   = HOW WIILL YOU FIND THE VALUE OF THIS
        attribute_name            =
       params                    =
       msg_user_data             =
       is_permanent              = ABAP_FALSE
       scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
       msg_index                 =
       cancel_navigation         =
       is_validation_independent = ABAP_FALSE     .
    wd_comp_controller->set_navigation_forbidden( iv_nav_forbidden = abap_true ).

  • Catch mapping error message in BPM Exception branch

    Hi dudes,
    Does anyone know how to catch the mapping runtime error message into a BPM exception branch? I know how to create an exception branch and how to trigger it, but I wonder whether it's possible to pass the mapping error message as shown in SXI_MONITOR (i.e. 'Cannot create target element XXXXX. Values missing in queue context').
    Otherwise, everytime my BPM fails I will have to take the payload and run the mapping test in order to find out the reason of the error.
    Many thanks in advance!
    Paco

    Thanks,
    My problem is not about handling exception in BPM, but getting the mapping error description and then passing it to the exception branch.
    I can see in the workflow log that this info is contained into the Exception container EXCEPTIONS[2] / T100MSG:
    Message Class: SAI_MAPPING
    Message Number: 217
    Message Type: E
    Message Variable: com/sap/xi/tf/_<MM name>
    Message Variable: com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti
    Message Variable: on: Cannot create target element /ns1:<path/field>.Message Variable: Values~
    The text in bold is the one I am interested in to be get and mapped into the exception branch.

  • How to capture error message in a FM call during exception

    Hi,
    The FM i'm trying to call is giving an exception and don't have the built in mechanism to pass on the error message that occured during processing.
    However, if i see the job log in SM37, I'm able to see the corresponding error message.
    Please let  me know on how to capture this error message with in my program.
    Thanks,
    Vijay.

    Hi,
    add the exceptions...ERROR_MESSAGE to capture the error message..raised in the function module.
             EXCEPTIONS
                  ERROR_MESSAGE = 1.
    Thanks
    Naren

  • How to capture error message from standard function module

    Dear friends
    when i  execute standard function module in finance , i am getting error message , pls check the below screen shot,
    how to capture the below error message so that i have display in my webdynpro component
    Thanks
    Vijaya

    Hello Vijaya,
    Incase of BAPI's they have a return table parameter T_RETURN. Just read that return table to get the error message.
    Incase of normal function modules, there will be exceptions raised for the message used inside the function module. Just read the sy-subrc after the FM and based on the sy-subrc value find the respective exception raised.
    May be you can try like this, whenever the message is raised it will be stored in the system variable.
    CALL FM.
    check for the system variables.
    sy-msgid = Message ID of the latest message raised.
    sy-msgno = message number of the latest message raised.
    sy-msgty = message type of the latest message raised.
    sy-msgv1 = variable1 of the latest message raised.
    sy-msgv2 = variable2 of the latest message raised.
    sy-msgv3 = variable3 of the latest message raised.
    sy-msgv4 = variable4 of the latest message raised.
    Regards,
    TP

  • How to get error message on the same jsp

    Hi guys,
    I have a login.jsp page and I want an error message to be printed "login failed" in the same jsp page when the user enters the wrong credentials.
    Any ideas on how to do that is highly appreciated.
    Thanx in advance.sri

    If you use struts it would have been a lot easier and better than only JSP.
    In struts :
    Add this line in ur JSP page
    <html:errors/>
    In ur Action servlet ex: LoginAction.java add thsi code extract in the appropriate position ...
    ActionErrors errors = new ActionErrors();
    errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("error.user.wrong"));
    if (!errors.isEmpty())
    saveErrors(request, errors);
    But in JSP do something like this:-
    If authentication fails then post to the same JSP and put this code in the reqd position...
    <%
    String postFlag=request.getParameter("postFlag");
    if(postFlag.equals("FAILED"))
    %>
    LOGIN FAILED
    <%
    %>
    So for JSp simply set the request parameter  (postFlag)  to SUCCESSFUL/FAILED  from your servlet.

  • How to capture error messages for BCP when running through XP_CMDSHELL

    XP_cmdshell returns 0 as success when running BCP that causes insertion failure for any records (failure because of truncation, data type mismatch etc.)
    One way is to capture output message in temp table and can parse the messages. but I am looking for some direct methods.

    Hi Naveen Raikwar,
    We can use insert/execute syntax to insert error output to a file, here is a good article, please see:
    http://www.sqlservercentral.com/articles/Error+Handling/69196/
    And here is a similar thread, please refer to:
    http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/b37ec1fd-ea2f-4546-93c1-8bb9d589710d
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • How to get error message from the BPEL process

    Hi,
    We have some BPEL processes running in BPEL PM 10g. If any of these BPEL process fails, we would like to get the error message caused this process to fail.
    Please let me know where does the BPEL proccess holds (table/file) these details. or is it possible to get the error message programatically.
    Thanks

    You can go through below link that can help
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/faults.htm#sthref1186
    http://bpelknowledge.blogspot.com/2010/07/error-conditions-that-cannot-be-handled.html
    http://blog.whitehorses.nl/2009/11/03/error-handling-in-soa-suite-11g/
    Hope it helps!!
    Thanks
    AJ

  • Anyone know how to capture error messages?

    I'd like to capture the feedback I receive in the Output panel when testing something in the Flash IDE, and display it in a TextArea included in my movie when it is compiled and running in a live environment.  Is there any way I can make this happen?  Thanks if you can help me out.

    So what kind of error am I dealing with when a movie clip I've loaded is trying to open an external file and that file doesn't exist?  In the Output panel I see a message like "Error Opening URL 'blah'".  Is that something that can be captured and displayed in a textarea?  And if so, is it possible to write a global error handler so that any errors that occur would be processed in the same way?  The reason being that I can't modify anything except for the clip I'm creating - the clips I'm loading can't be edited by me.
    Thanks for any help! 

  • How to avoid error message re: an exception that I don't care about

    I written a script that allows a user to click on a thumbnail image and then the script will change the html in order to play a particular video. It works, except that it throws some kind of error and I don' t know what it is. Since it works, I don't care what it is, but I would like to catch it. The popup error window says "An error occurred inside a plug-in contained on this page." Any ideas on what the error might be? Below is my code.
    <script type="text/javascript">
    function PlayVideo($Thumbnail)
    // Then there is a PHP section where I look up the video file, $VideoFile, in a database with $Thumbnail as my criteria. For now, I have a file hardcoded into the param.
    var $NEWhtml; // variable to build new script to swap with
    $NEWhtml ='<object id="MP4player" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="250" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n';
    $NEWhtml +='<param name="src" value="VideosApproved/Toad Singing.mp4">\n';+
    +$NEWhtml+ ='<param name="autoplay" value="true">\n';
    $NEWhtml +='<param name="loop" value="false" >\n';+
    +$NEWhtml+ ='<embed width="400" height="250" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" autoplay="true" controller="true"></embed>\n';
    $NEWhtml +='</object>\n';
    // REMOVE OLD ELEMENT
    var specialzone = document.getElementById('MP4section');
    var element = document.getElementById('MP4player');
    element.parentNode.removeChild(element);
    // ADD NEW ELEMENT
    var specialzone = document.getElementById('MP4section');
    var change = document.createElement('MP4player');
    change.innerHTML = $NEWhtml;
    specialzone.appendChild(change);
    return true;
    </script>

    This site supports java
    Java != javascript

  • How to add an error message in the application module?

    Hi,
    I have some code running in the application module. I want to display error messages in the messages section of the screen if an error happens in my code.
    How could I achieve this?
    I am using JDeveloper 10G
    Thanks

    Muhammed,
    Have you tried throwing a JboException in your AM code?
    John

  • I get an error message saying "The iTunes Library.itl file cannot be found or created" when I try to open iTunes on my computer and the program fails to open.   How can I fix this?

    When I try ot open iTunes on my computer I get an error message stating "The iTunes Library.itl file cannot be found or created" and the program fails to open.  How can I fix this issue?

    Hi pgarard1,
    If you are having issues with launching iTunes after an update, you may want to take a look at the troubleshooting in the following article:
    iTunes for Windows: Doesn't open after upgrading in Windows Vista or Windows 7
    http://support.apple.com/kb/TS2363
    Regards,
    - Brenden

Maybe you are looking for