CcBPM: Raising Alert breaks transactional brackets!

Hi all!
I am using the (since SP19 / SP12 or so) new functionality of explicitly setting the <b>transaction boundaries</b> for my ccBPMs - however during tests I found out that obviously everything works fine UNLESS you are trying to raise an ALERT via control step in your block with broader transactional boundaries set. If you do raise an Alert
it seems to break your "transactional bracket" of the block - hence no correct retry
(e.g. via "SWF_XI_SWPR") is working.
Does anybody know some OSS-note regarding this? Or any other workaround for
having some Alerting in my BP and STILL don't lose my transactional boundaries?
Many thanks in advance for your input!
Andy

Similar Messages

  • 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 Raise alert in XI when a new file reaches application server

    Hey guys
    i have a requirement in which i need to trigger a piece of  ABAP code whenever a new file reaches a specific directory of Application server.
    i m using File adapter on receiver side and i want to raise a trigger so that the ABAP code is executed automatically whenever some new file reaches the directory
    we are running Win server
    thanx
    ahmad
    Message was edited by:
            Ahmad

    HI,
    It is possible to write a ABAP program to raise alert.and schedule it , In ABAP program we can check the file is existed or not in a specified folder if existes then we can raise Alert.Actually Alerts are maintained by SAP Alert Management only.
    So , but not clear , you said you are using the File receiver adapter .
    -- onoption is -this can bepossible with OS command .
    -- also we can raise alert from Payload itself , why becz i understand whenever you are going to write a file with file adapter then you need to raise an alert right?
    so if message is existed i mean data existed then from raise alert and store the file onoption
    -- Also you can try calling an ABAP program as the auto-reaction method of the MTE in CCMS
    Regards
    Chilla
    See the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/434fa590-0201-0010-1e9a-c27e6283a0fe
    SMS through SAP ABAP program
    XI Alert from BPM with Follow-Up Activity
    ABAP programming BAPI To XML
    How to send qRFC Alert to Internet Email from AP0 3.1 running 4.6D BASIS
    /people/gregor.wolf3/blog/2005/03/05/create-users-in-an-abap-system-with-bapi-ostermiler-java-utilities

  • Error in JMS Communication Channel not raising alert

    Processing Errors in JMS Communication Channel are not raising alerts.
    The settings on the communication channel retires are set at 3 and 5min interval.
    In RWB the JMS communication channel shows processing errors but an alert is not raised.
    The alert are configured in our system and we even have a catch all alert rule with * (wildcard). Errors in PI message processing are raising alerts but errors in Comm Channel are not raising alerts.
    The message in SXI_MONITOR shows as processed successfully but when we check the RWB and Comm. Channel Monitoring we see processing errors "Channel error occured; detailed error description: JMS error: Connection to the server has been terminated; Linked error: Connection reset, Error Code:null"
    Are we missing any configuration? How do we get alerts/notifications if there are errors in Comm. Channel without having to login into RWB and watch it periodically?
    Any help is greatly appreciated.
    RM

    Hi,
    What is the staus of Communication channel in RWB when it fails, RED ??if yes then it should genarate alert.
    create one more alert for specific to JMS interface and check it out.
    Regards,
    Raj

  • How to Raise Alerts from the fields of Mapping?

    HI,
    We had a very typical requirement for our client.
    Scenarios is IDOC to multiple files else consider a simple file to file scenario.
    Source structure contains some 5 fields and the target also remains the same 5 fields.
    Assume SERNO presents in both structures.
    The issue here is i need to check for a Target SERNO field  should accept only numerical value, there is a possibilty of coming alphanumeric and sometimes with specialcharacter appended  numeric. i have developed a udf which allows only numeric.
    The mapping is getting failed if alphanumeric or special character exists in that field.
    But, the client requires an alert mentioning that this mapping is failed due to the problem in Source SERNO field so that he can easily debug and resubmit those idocs.
    I want to know is it possible to raise alerts at field levels.
    Thanks,
    --Kishore

    Hi Raja,
    This is a new development and we dont hve any Alert framework right now exist, i believe even the alert category its not possibel to drill down to the field level.
    if its possible could you please elaborate.
    We have many fileds to check as similarly defined above example SERNO, so if the alerts are triggered @ filed level that are failed that will be a great..
    My Ultimate requirement is to notify client that due to this field the mapping was occured and alert should throw some light on to locate the error at the field level.
    Please suggest how to procced..
    Thanks,
    --Kishore

  • BPM: How to Raise Alert and Restart together ?

    The requirement is like this.My Integration Process receives a message, performs a 1:N split and undergoes further processing using Transformation steps. I want to ensure the following in case any one of the Transfofrmation fails(Because of some coding error in the step):
    1. Raise an Alert
    2. Should be able to restart the Process again from the
       failed step once the Transformation code is fixed.
    3. To raise an Alert for any file adapter level errors, 
       and to restart the processing of the message once the
       file adpter error is resolved
    I have tried the following approaches, but it does not help me achieve all of the above condition.
    I have put the Transformation step in a Block and introduced an exception branch with one control step which raises an Alert.
    Issue: This will raise an alert when the step fails, but it ends the BPM with a Processed status and hence I will not be able to restart the BPM.
    So I put another Control step immediately following the Alert step which raises an exception. However I have not handled this exception. Hence when a step fails, I am able to raise an alert as well as the BPM gets errored out.
    Issue : However, now when I restart the process in swf_xi_swpr, The process restarts with the Control step which was used to throw exception. It does not restart with the Failed mapping step.
    To raise Alerts for Adpter level errors which might occur before the message comes to BPM, I have defined alert category and rule in runtime workbench. However, the Alerts are not triggered when the file adapter fails.
    Please share any ideas on how to achieve all the 3
    requirements together.
    Thanks in advance.

    Hi Joachim!
    I was facing a very similar problem in my BPM modelling.
    Is there really no other chance than to loop (and maybe wait some time) over the critical (e.g. networking down, ...) parts of the BPM to have some active notification via alerts AND a possibility for retry?
    In my opinion this would a very inflexible way of doing error-handling stuff - if so - is it about to change in the upcoming releases?
    Currently I guess I can have:
    a) either ALERTING (by catching exception and raise alert)
    OR
    b) convenient retry mechansisms via "SWF_XI_SWPR" (by not catching exceptions at all and let the relevant block become "errorenous") ...
    Any other suggestions ...?
    Many Thanks,
    Andy

  • Use of Freeze Alert in transaction /SAPAPO/AMON1

    Hi,
    We have button for Freeze Alert in transaction /SAPAPO/AMON1
    I want to know what is use of this function.Is it used only for certain alert types?
    Thanks,
    Lalit

    Hello,
    Freeze alerts are used to Put alerts on hold with the freeze/unfreeze tool. After a refresh, new alerts are marked with a + and alerts that have disappeared are marked with a -, as compared to the last frozen alert situation.
    This is used to Simulate the alerts for creation and view the impact of the alerts created and then can mak the decision to save or to unfreeze the alerts.
    Hope the information is helpful
    Regards

  • Issue with the Task TS17900100 in HCM p & f - Transaction brackets damaged

    Hi Experts,
    We have a custom HCM processes & forms which updates the backend INFTY as the result of execution of Step Process Forms - with the Workflow Task TS17900100
    This works absolutely fine in the DEV System. But when I transported the workflow in the QA environment it worked fine for the first time.
    Ever since then we are getting follow issue -
    The backend INFTY does not get updated.
    On further checkin in SWIA we found that step with the task TS17900100 ( Process Form ) fails and throws the following error
    1.Transaction brackets of the workflow has been damaged
    2.Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event STATE_CHG and (target) status STARTED
    3.Error updating the process object
    Would appreciate if I can get any help in this regards.
    Thanks in advance!!
    Regards,
    Akshay..

    Hello,
    Make sure the wf is active in QA (re-activate if possible), check the transport for errors, check authorizations for WF-BATCH perhaps delete and recreate via SWU3?), refresh the buffers (SWU_OBUF).
    Please let me know if any of this helps.
    regards
    Rick Bakker
    Hanabi Technology

  • Empty File handling and raise alert.

    Hi,
    We have requirement where we are doing file pass through. But client wants PI to raise alert when it receives 0 byte file.
    How can we achieve this using File/FTP/SFTP adapter when we are not reading the actual payload and doing only pass thru?
    Thanks,
    Vertika

    Hi Vertika,
    AFAIK - there is no standard way for pass through interface to raise alert (for empty file). so you need to develop adapter module to raise the alert for empty file.
    Please refer the help page
    Configuring the Sender File Adapter - Advanced Adapter Engine - SAP Library
    Under Handling of Empty Files, specify how empty files (length 0 bytes) are to be handled:
    Do Not Create Message No XI messages are created from empty files.The files are processed according to the selected processing mode.For example, if the processing mode is Delete, empty files are deleted in the source directory.
    Process Empty Files XI messages are created with an empty main payload.The files are processed according to the selected processing mode.
    Skip Empty Files No XI messages are created from empty files.Empty files are skipped and remain in the source directory.

  • ***Raising Alerts When the message is struck in the Queue

    Hi Experts,
    Is there any way of Raising Alerts When the message is struck in the Queue I want to notify the user if the message is struck in Queue(smq1,smq2).Please let me know the same.
    Thanks,
    Srinivasa

    hi
    you can trigger alert for any of the component failure.
    for this u nees the ccms configuration.
    than you need to configure in RZ20 and RZ21.
    steps.
    1. create alert category in ALRTCATDEF
    2.enter long text
    3. add fixed recepient.
    4.go to RZ21.
    5. select display overview for method
    6. serch for method CCMS_Send_Alert_to_ALM.
    7. copy the method and create ur own Z method.
    8. open ur method.
    9. under control tab select ONLY IN CENTRAL SYSTEM TRIGGERED BY CCMS AGENTS.
    10. in parameter tab give ur alert cat created before.
    11.under release tab select AUTO REACTION METHOD.
    12. go to RZ20.
    13. a list of system will be displyed select ur own xi system
    14. now select the queue name for which u want to trigger alert.
    15.goto property button and double click.
    16. go to method tab and click on method assigment.
    17. goto method radio button and assigne the method u created in RZ21.
    done.....enjoy....
    u can check the log in slg1 tcode
    regards,
    navneet

  • Is there any way to raise alerts for stock outages in inventory

    Is there any way to raise alerts for stock outages in inventory

    You can use the Check Material Shortages attribute in the Org items under Inventory tab. Oracle will trigger shortage alert notifucations for the checked items. This works in the conjuntion with the Shortage Parameters defined at the Inv ORg level (these parameters are nothing but what business wants to consider as a shortage in WIP and OM). You can notify the cmp planner/buyer , assy planner/job creator..

  • Transaction brackets of the workflow has been damaged

    Hi,
    I am integrating workflow with the HR Processes and Forms using HCM.
    The process is new hiring and in configuration I have given the workflow name which is copy of the standard workflow(WS18900008). The event used is draft_created.
    When I execute the process and press the Save Draft, everything goes fine, the workflow gets completed but for the step Save Form Data(WS17900260) throws the following error:
    Executing Batch work Item: Transaction brackets of the workflow has been damaged.
    The task is TS17900108.
    Not able to understand what is this error and to which it is related.
    Pls help.

    Look for SAP Notes as this is SAP standard code.
    Short Text
    Transaction brackets of the workflow has been damaged
    Diagnosis
    When executing the workflow with the ID , the transaction brackets were destroyed by a commit command ('C') or a rollback work command ('R'). This command ('') was stopped from the implementation program of the object type. Access takes place, for example, when a condition is evaluated or when the container operation is executed. Access may only have a read character which is why a commit or rollback work command is not necessary.
    System Response
    The system has written a log entry. Uncontrolled commit or rollback work commands can affect the restart function of the workflow system. This restart function is only necessary in the case of errors. The current workflow instance is executed further.
    Procedure
    Check the implementation program of the object types and remove the corresponding ABAP instructions.

  • Executing Batch work Item: Transaction brackets of the workflow has been da

    Hi,
    I am integrating workflow with the HR Processes and Forms using HCM.
    The process is new hiring and in configuration I have given the workflow name which is copy of the standard workflow(WS18900008). The event used is draft_created.
    When I execute the process and press the Save Draft, everything goes fine, the workflow gets completed but for the step Save Form Data(WS17900260) throws the following error:
    Executing Batch work Item: Transaction brackets of the workflow has been damaged.
    The task is TS17900108.
    Not able to understand what is this error and to which it is related.
    Pls help.

    Look for SAP Notes as this is SAP standard code.
    Short Text
    Transaction brackets of the workflow has been damaged
    Diagnosis
    When executing the workflow with the ID , the transaction brackets were destroyed by a commit command ('C') or a rollback work command ('R'). This command ('') was stopped from the implementation program of the object type. Access takes place, for example, when a condition is evaluated or when the container operation is executed. Access may only have a read character which is why a commit or rollback work command is not necessary.
    System Response
    The system has written a log entry. Uncontrolled commit or rollback work commands can affect the restart function of the workflow system. This restart function is only necessary in the case of errors. The current workflow instance is executed further.
    Procedure
    Check the implementation program of the object types and remove the corresponding ABAP instructions.

  • Raise Alerts for BPM errors

    Hi Experts,
    I have a BPM, from which need to raise Alerts for Mapping error.
    is it possible to raise alerts using Alert rule and with out throwing alerts from BPM.
    Thank you,
    <b>MK</b>

    Hi MK
    The SAP Computing Center Management System (CCMS) provides a special alert monitor for SAP Exchange Infrastructure.
    You use this alert monitor to monitor the ABAP and Java components (including the Business Process Engine) of your Exchange Infrastructure centrally, and to identify different categories of system errors and application errors in the various interfaces and interface namespaces of the components involved.
    You use the alert configuration to have the system inform you of errors during message processing. You can receive the alert by e-mail, fax, or SMS. In each case you will also find the alert in your alert inbox.
      To configure your alerts, proceed as follows:
    &#9679;     Create the alert categories that you want to use in your alert rules.
    &#9679;     Create the alert rules in which you want to use your alert categories.
    &#9679;     You can configure a connection to CCMS and schedule the periodic transfer of alerts to CCMS.
    Once you have configured the connection to CCMS, choose Show CCMS Connection, select a period, and start the periodic transfer.
    A background job is scheduled that collects all unprocessed alerts and forwards the data to CCMS. You can also stop this job.
    As soon as a particular threshold value is reached, or is exceeded alerts are triggered and The transferred data is displayed in a special CCMS monitor.
    You can raise alerts through  BPM also .you can design your BPM in such a way that if an exception occurs, the exception handler for it has a control step in which youu can throw alert specifying the alert category and the text.
    For more information on alert configuration and CCMS you can refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/90/4e313f8815d036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.htm
    hope it may  help you
    Thanks
    Sandeep
    PS: if helpful reward points

  • Sender File adpter --don't raise alerts when file does not exist in folder

    Hi,
    My Scenario is File --- >XI ---> SAP.
    I must archieve the file after it got polled. and iam polling for every 60 mins, if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
    Is there any way i can avoid raising an alert if file does not exist in the source folder.
    we are on XI 3.0 sp23?
    Thanks
    Srini

    Hello,
    Your Subject:
    >Sender File adpter --don't raise alerts when file does not exist in folder
    is contradictory to your question.
    >if the file does not exist,it is throwing an alert like "Could not process file '.file..xml: No such file or directory '
    > Is there any way i can avoid raising an alert if file does not exist in the source folder.
    I know you want to say "Don't Raise alerts when file does not exist in folder". Correct me if I am wrong.
    Some times it happens, when we write the right thing but it means something else and this is the reason many experts have replied, "how to raise an alert". So if you remove the word "Sender File adapter" from your subject then it will be easy to understand the exact meaning.
    Regards,
    Sarvesh

Maybe you are looking for

  • SkillBuilders Modal Page not opening when click edit link in a Manual Tabul

    Hello, This thread is related to a recent thread I created (Column Link is not working on a Manual Tabular Form I am using Apex 4.1.1.00.27, Oracle DB 10.2.0.5.0. In summary, I have a collection that retrieves the information from the EMP table, a ma

  • HP Laserjet 2200 orange light is on and paper wont feed

    HP Laserjet 2200 Windows 2000 Giving me no message on the problem but orange light is on by the triange with exclamation point Acts as if the paper is having trouble feeding

  • Error in Posting of Vendore Excise Inv.

    Hi, I have been facing one error while posing of Vendor Excise Inv. against incoming materials using T.Code: J1IEX. When I try to post Excise Inv. against 'Vendor Excise Inv. / Internal Excise Inv.' I am getting Error msg "All Part I entries have bee

  • Ultraline series 3 9100 em router default username and password?

    I need to change some of the settings and well I cant log in to the Wireless Broadband Router Management Console. Any Ideas? Ive used the admin/password1 combo. It does not work Solved! Go to Solution.

  • Essbase Studion Dataload error

    Hi There, work on essbase studion (11.1.1.3), able to deploy dimensions successfully, the error I got is from load data, I take the SQL I use in essbase studio, and run it from SQL, then save the data file. I reload the data from EAS, and it is succe