How to control errors in BPM

HI all,
We are developing a quite complicated BPM. We need to controle errors in File Adapter, just in case the comunication channel cannot write/read (for example with a wrong FTP account). In case of error we need to send an email. So we are trying to develop a module in the file adapter. We are not sure about behaviour of the BPM if one of the steps have an error. I mean the execution of the module will continue the BPM in case of error in the file adapter?
Many thanks in advance
Regards
Noelia

Hi Noelia,
CCMS is SAP Computing Center Management System.  RWB is smoothly integrated with CCMS and CCMS alerts can be viewed thro' the Runtime WorkBench.
First configure CCMS in XI System:-
/people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
For Monitoring in the CCMS:-
http://help.sap.com/saphelp_nw04/helpdata/en/4d/6272376d3bfa2be10000009b38f8cf/frameset.htm
Go thro' this link for configuration scenario:-
/people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
Hope this helps.
Regards.
Praveen

Similar Messages

  • How to control Error mechanism of READ_TEXT..?

    Hi all,
    I am working on a report where, i am retrieving the Header text of Billing Document.
    I am retrieving Header texts of Billing Documents (VBRK-VBELN) using READ_TEXT Function Module.
    Now, if a Billing Document is not having header text, the report should not pop up error.
    It should go to next available Billing Document in the internal table and check for the header text. If its available, it should save the text in the internal table..otherwise, just leave the text field of internal table as blank and move ahead.
    HOw to handle error mechanism in such scenarios....????
    Its very much urgent and kindly hep me out......
    Regards
    Pavan

    Handle the exceptions then you will not hit the pop up..
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id = p_c_txt_id
    language = p_c_lang
    name = p_tdname
    object = p_c_object
    IMPORTING
    header = thead
    TABLES
    lines = lines
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    not_found = 4
    object = 5
    reference_check = 6
    wrong_access_to_archive = 7
    OTHERS = 8.

  • How to catch SAP application errors in BPM.

    Hi,
    I have a IDOC to Soap Sync Scenario where I send the message to a Webservice. I have used a BPM since we need to catch the resposne of this message and map it to a RFC. For ex if I get a success resposne I need to map success if not than I need to catch the error and map it to the RFC. Now here in some cases like if the target system (webservice) is down than XI raises a sap application error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused (errno:239)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Normally XI stops the process in these cases and does not proceed to the next step but I need to catch this message and map the content in the AdditionalText to the target RFC. Can anyone let me know how to catch this SAP Application Error in BPM and map it to the RFC.
    Thanks,
    Bhargav

    Hi Gaurav,
    As I have mentioned I need to catch the application error in the BPM. If you see the discussion that is mentioned after the blog you have mentioned it is stated that the fault messages or the application error cannot be caught in BPM.
    In the blog that you stated we can catch the fault message and map it to a message structure but only to that extent after that it would stop the BPM process at that step but would not proceed further as shown in the screenshot given in the blog it would fail as "application error restart not possible".
    I need to proceed further and capture this error to an RFC Structure and call a proxy.
    Here after the error it does not proceed to the next step.
    Thanks,
    Bhargav

  • How do I fix "could not be added to AVI control" error?

    How do I fix "could not be added to AVI control" error? I get this error when loading a file via the Clip/Insight Player.

    Hello acacord,
    are you working with an AVI using the Indeo codec? On Windows XP, after
    installing the service pack 2, files using this particular codec cannot
    be played if they are placed in the temporary Windows folder. This is
    due to Windows restrictions, not to CLIP.
    If you run a cip file in CLIP, it would unpack all its content
    (including the AVI) to that temp folder and play the video from there -
    which is not possible.
    With the current version, all CLIP examples are using the Radius codec
    instead ov the Indeo. As you can see ich you make a test with one of
    the example projects - it is working well.
    So in your case, just use a different codec than the Indeo.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • How to raise alert in BPM

    Hi Experts,
    Please tell me how to raise alert using control step in BPM. What are the other steps to be used with control step for raising alerts?
    Is CCMS Alerts and Alerts by BPM are same? If they are not the same, how they are different to each other?
    my requirement is, simply i want to raise a mapping, data related errors by Alert.
    in addition to it, i want to raise alerts for any failure in IE.
    Could any one tell , what are the sequence of steps needed in BPM for the above requirement?  Plz take a IDOC to FTP receiver scenario and explain me BPM steps.
    thnx
    RAMS

    Hi rams
    for more details refer these
    refer these link for more details about Alert
    For email alerts
    /people/aravindh.prasanna/blog/2005/12/24/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
    /people/sap.user72/blog/2005/01/14/alert-management--improving-monitoring-of-your-landscape
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    You have to do SMTP Configuration for EMail and SMS.....
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
    Alerts
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-stepCheck out these:
    RWB- Alert Configuration LInk isnot working
    Unable to login into Alert configuration
    Get all the details here
    CCMS ALERTS
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    /people/sap.user72/blog/2005/12/05/xi-grmg-customizing-for-xi-ccms-heartbeat-monitoring-part-ii
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    Alerts
    transaction handling in XI
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    • Auto triggering of alerts
    transaction handling in XI
    • SCOT
    not sending email from alert inbox
    See this link : http://help.sap.com/saphelp_nw70/helpdata/en/da/a3a7408f031414e10000000a1550b0/frameset.htm
    heck this weblogs on creating them and troubleshooting:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9418d690-0201-0010-85bb-e9b2c1af895b
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Further reference
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
    Also suggested go through the blog:Alerts with variables from the messages payload
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
    /people/matt.kangas/blog/2006/06/27/personalized-alert-delivery
    U may proceed in the following ways:
    1. Reduce the securit settings of ur browser and enable the cookies
    2. Try to SSO enable ur scenario
    Have a look here:
    SAP Note 840849
    The configuration required as per ur patch level
    SAP Note 913858
    Check out these:
    RWB- Alert Configuration LInk isnot working
    Unable to login into Alert configuration
    Thanks !!

  • How to handle errors in a file at sender side?

    Hi
    I have done a file to proxy scenario.
    I know how to handle errors on proxy.
    But on sender side when picking the file if one the record have worng fomat its throwing mapping error and its not processing any record..
    I wanted to process the records which have right format and data and  all remaining recrods which have wromg format should be send back to the sender as file.
    How to do this.
    How to handle error in sender file.
    Regards
    Sowmya

    Hello Sowmya,
    In your scenario Three ways you can validate the data.
    1) Before the data reaches into SAP system ie in XI system during Mapping or before mapping i,e in Adapter Module in the Sender side
    2) this option, is in the receiver applications side. ie. Validations will be taken care in the SAP system i.e in ABAP server proxy code.
    3)Through BPM, If Mapping Exception Occures then through exception Branch you can send bad formate file to sender again.
    Generally, it is prefer to more business critical validations in the Application System ie Receiver Application System (ABAP Server Proxy)
    In this, you can have more flexibility of the validations as you are validating some of the SAP payroll informations as Personal ID etc.
    Based on the complexity and flexibility of the requirement, you can either do this in the XI (if XI, ie Sender Adapter Module or Mapping) or in the ABAP proxy
    Thanks'
    Sunil Singh

  • Mapping Errors in BPM

    Hi All,
    How can the mapping errors in BPM be handeld implicitly (without the use of Exception Handling Branch)
    Regards,
    Anurag

    Hi Anurag.
    Handling the mapping exceptions in BPM could be possible using the Alerts.
    Go through this blog for Alert Configuration:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    And also go through this thread:
    alert in BPM
    Hope this helps you.
    Regards,
    Hari.

  • Permenant error in bpm inbound processing error in inbound queue of pi7.1

    Hi Experts,
                 In  E filling scenario in SAPPI7.1, iam facing a problem. i.e In sxmb_moni message monitoring, the  message was schedule at outbound side.when i extend that, the message was stuck in smq2 with "permenant error in bpm inbound processing".can any one please tell me how to relove this issue.
    Thanks & Regards,
    Giri.

    Hello
    Check the note #1126656     BPE-TS: Permanent errors in the BPE inbound processing. This describes some possible causes and solutions for this error.
    Regards
    Mark

  • Block1 (No agent)  Error  in BPM  ?

    Hi friends ,
                        I am  trying the  the BPM scenario   using Integration Process
    BpmPatternCollectTime
    from SAP BASIS ® SAP BASIS 7.00 in the namespace http://sap.com/xi/XI/System/Patterns
    I have done the scenario like the above . I have followed all the Steps which are used in above scenario.
    I am using a File Sender Adapter and Receiver Adapter .
    It is Successfully picked up the File but nothing is happening after that .
    I am using two receiver Determination one from Ob to IP and other from IP to FIleReceiver ( IB) .
    But, I am Getting error as Block1 (No agent) Error in the PE graphical diagram
    I have checked in SWWL my Integration Process Return code is "0"
    Can you please tell tell me how to solve this ?
    Can you please tell me this scenario is like Multiple Purchase Order Items to One Purchase Order
    Here they have given ID adn OverAllNumber . For ex. In one xml file I am sending
    ID as A100
    OverAllNumber as 120
    next 5 minutes putting the another file with contents
    ID as A100
    OverAllNumber as 130
    My Question is
    Will TWO files wiil come as Output in File Receiver ?       
                               I  am Clear in this please give some suggestions
    Best Regards.,
    V.Rangarajan          
    Best Regards.,
    V.Rangarajan

    Hi,
             Thanks for your reply.
       <i>       once the files are connected in the transformation step you will use a N:1 mappping.</i>
                       Yes , i have done as same .   I have set deadline as 15 minutes .
    My doubt is
                        <b> if   N:1  </b>
    <b>First File</b>
    ID as A100
    OverAllNumber as 120
    next 5 minutes putting the another file with contents
    <b>SecondFile</b>
    ID as A100
    OverAllNumber as 130
            <b>  Then  what will be the  output ?
                   will it be like this
                   ID as A100
                   OverAllNumber as 130</b>
                         I am not clear in this Please tell me ! 
                       If possible please give some suggestion  to clear this Block1 (No agent) Error in BPM ?
    Regards.,
    V.Rangarajan

  • How to control the screen in LSWM

    Hi ,
    I am creating a LSMW for tcode ABAON . For this tcode there will be a POP UP screen populate once for company code to key in.But next time when we enter this tcode It won't  call this pop up for input.
    If I run the file which is having company code for alll fields or If I run second time it will give error screen not found.
    How to control this in screen level.
    I don't want go for parmater id in config.
    Pls advice.

    solved by self.

  • How to control po item from pr can't been changed manually?

    when i create po via pr. the item can been modified.it is not permitted. how to control the behave in system.

    hi
    while creating a PO wrt PR if the user changes the item then we will get the warning Purchase requisition &, item &, has a different material number but we will not consider it.
    if we do not want to continue
    goto SPRO - MATERIAL MANAGEMENT - PURCHASING -ENVIRONMENT DATA -DEFINE ATTRIBUTES OF SYSTEM MESSAGES -SYSTEM MESSAGES -VERSION 00 APPLICATION AREA 06 NUMBER 56 MESSAGE TEXT Purchase requisition &, item &, has a different material number , u change the categeory from warning to ERROR
    then automatically when ever ur doing po wrt pr when we change the item automatically the system issues an error message

  • How to control po item which come from pr can't been changed manually?

    when i create po via pr. the item can been modified.it is not permitted. how to control the behave in system.

    hi
    while creating a PO wrt PR if the user changes the item then we will get the warning Purchase requisition &, item &, has a different material number but we will not consider it.
    if we do not want to continue
    goto SPRO - MATERIAL MANAGEMENT - PURCHASING -ENVIRONMENT DATA -DEFINE ATTRIBUTES OF SYSTEM MESSAGES -SYSTEM MESSAGES -VERSION 00 APPLICATION AREA 06 NUMBER 56 MESSAGE TEXT Purchase requisition &, item &, has a different material number , u change the categeory from warning to ERROR
    then automatically when ever ur doing po wrt pr when we change the item automatically the system issues an error message

  • Elicense control error

    Hello all.  Everytime i try to start logic without my nexus license dongle i get the eLicense control error and logic refuses to start.  The problem is that I do a lot of work in logic on the plane and in hotel rooms and don't always have my license key handy.  I should still be able to work on that session and just not access those particular plug ins unless i have the key installed.  I don't see why i cannot even get the session to open.  Does anyone know a workaround for this.  I am buying the uad satellite bundle and im sure im going to have the same problem with this.  But my main goal is to be able to open any track and work on a particular part weather or not my license is plugged in.  This is how it is in ableton.  The session will open but i just cant access nexus or UAD.  PLEASE HELP

    Boyd Ostroff wrote:
    I wonder if you could setup two separate accounts on your laptop and only install nexus on one of them? Not sure if the nexus software is installed into the user library or a global location, but seems like it would be worth a try.
    Excellent suggestion....
    If that doesn't work the OP could just move the Nexus AU out of the Components folder before starting an "on the road" session.
    That would be in Root/Library/Audio/Plug-ins/Components
    Logic never did have graceful exit strategies... if it finds something amiss it often tends to freeze or crash.

  • Error when re-starting an SQL Server Instance from VBA - [SQL-DMO]Service Control Error: Access is denied.

    Our Application needs to have the use of the [Named Pipes] and [TCP/IP] Protocols.  To save our Users the hassle of having to enable them manually our application has always done it for them and then stopped and restarted SQL Server.  However
    since the advent of Vista and Windows 7, the restart stopped working.  We solved the problem by detecting the failure to re-start and giving Users sufficient instructions for them to do it themselves.  Since this only occurs during installation on
    the Server, this approach has not been too much of a hassle.  However we would like to tidy this up if possible. This the VBA code that is causing the problem:
        obj_SQLServerInstance2.Start _
            g_SQL_UseWindowsAuthentication, _
            SQLServerInstance, _
            UserName, _
            Password
    This still works when run under XP, but fails under Windows 7 with the Error:
    [SQL-DMO]Service Control Error: Access is denied.
    Does anyone know how to resolve the problem?

    This still works when run under XP, but fails under Windows 7 with the Error:
    [SQL-DMO]Service Control Error: Access is denied.
    Hello Brian,
    Under Windows 7 you have to run the VBA script with admin permission, a normal user don't have permissions to start/stop services.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to control and use the search criteria values "%" ?

    Hi,
    When I searched some information in my employee name. I filled in search criteria values "%" and selected the "Go" button to see the result. But I got errors that the search criteria values should not begin with a "%" or "_" for at least one if the listed fields.
    How to control and use the search criteria values "%" ?
    Thanks,
    sinolee

    sinolee,
    These kinds of details are mentioned in Dev guide. Always have a look into dev guide before posting.
    --Shiv                                                                                                                                                                                                                                                   

Maybe you are looking for