Raising alert in BPM

Hi Folks
I have a scenario in which i have to merge three files  in BPm and generate an Idoc 
MY BPM has >>>>3  recieve steps in a fork
                                  1  transformation step
                                  1 send Step                       
Now i have to  implement such that  BPM should wait for all the three files for a specific  interval of time  and if the time interval is complete  then it has to raise an alert  
any clues how do i achieve this ???
thnx ]
Ninad

Hi ,
  add control step in befor sedning message to send step,then rise alert using sandard procedure.
Your BPM looks like this
3 Receive steops in fork and merger the message and Transformation step now add control step after that sen step.
Regards,
Raj

Similar Messages

  • 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

  • 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 !!

  • Alerts thru BPM

    1)How do we raise Alerts in BPM..
    2) What is the difference between Exceptional Handling and Alert Configuration..

    Venkat,
    ><i>1)How do we raise Alerts in BPM..</i>
    This blog will help,
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    ><i>2) What is the difference between Exceptional Handling and Alert Configuration..</i>
    If you are from a Java Background, Exception handling is just like the TRY-- CATCH block of Java. When any excetpion occurs, the excweption handler is triggered and you handle the corresponding exception.Similary , in BPM, exception handling allows you to define a set of steps that need to be executed in case, some exception / error occurs.

  • 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

  • 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

  • RAISING ALERT

    Hi,
    I want to raise an alert out side BPM.
    e.g.: I got one failure in message mapping, where I need to raise the alert for any mapping exception.
    I don't want to raise an alert in BPM, because, If I raise an alert in BPM, The message mapping status is becoming SUCCESS once the alert is raised. Here I can not re-start the same message again.
    Please let me know, If you have any idea on this.
    Thanks & Regards
    Katta Mohan Reddy

    Katta,
    Try going thru the below weblogs. Might be of some help.
    Integrating Alerts into UWL - it's no problem!
    /people/ginger.gatling/blog/2005/06/16/integrating-alerts-into-uwl--its-no-problem
    Alerts with variables from the messages payload (XI) - UPDATED
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    regards,
    SK

  • Trying to get Descriptive Alerts in BPM using wlg4714

    <a href="/people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi:///people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    Hi I am trying to get a descriptive BPM Alert as per the Weblog above.
    But I am not good at Java UDF.
    The UDF featured how/where do I put this coding.
    Scenario
    BPM transform step fails and throws exception BPM_ALERT.
    Within the Exception branch I setup a transform message mapping for my message MY_MESSAGE to an error message type MY_ERROR.
    Within the mapping message_type --> error_message_type graphical mapping
    I have mapping to node error_text.
    Do I create a UDF called triggerAlert context Queue
    then add the code in here? what about ResultList...
    IF it needs to be a compiled class. I have tried this in the SAP Web Developer Studio Tool to write class and compile but it is erroring and will not compile...
    package AlertMessage;
    public class triggerAlert {
         public static void triggerAlert(
              String alertSubject,
              String[] alertMessage) {
              String strAlert = new String();
              String strAlertXML = new String();
              ArrayList returnStr = new ArrayList();
              //        split message if length more than 132.
              String newAlrtMsg = new String();
              int j = 0;
              for (int i = 0; i < alertMessage.length; i++) {
                   newAlrtMsg = alertMessage<i>;
                   try {
                        while (newAlrtMsg.length() > 130) {
                             newAlrtMsg = newAlrtMsg.substring(130);
                             j++;
                             strAlertXML
                                  += "<item><ELEMENT>XI_ERROR_MESSAGE</ELEMENT><TAB_INDEX>"
                                  + (j)
                                  + "</TAB_INDEX><ELEMLENGTH>255</ELEMLENGTH><TYPE>C < / TYPE > < VALUE > "
                                  + newAlrtMsg
                                  + " < / VALUE > < / item > ";
                        j++;
                        strAlertXML
                             += "<item><ELEMENT>XI_ERROR_MESSAGE</ELEMENT><TAB_INDEX>"
                             + (j)
                             + "</TAB_INDEX><ELEMLENGTH>255</ELEMLENGTH><TYPE>C < / TYPE > < VALUE > "
                             + newAlrtMsg
                             + " < / VALUE > < / item > ";
                        } catch (Exception e) {
                        System.out.println(newAlrtMsg + "" + e.getMessage());
              try {
                   //       Calling Alert RFC SALERT_CREATE
                   Channel channel =
                        LookupService.getChannel(
                             "<XI_Servername>”,”XICommunicationChannelName");
                   RfcAccessor accessor = LookupService.getRfcAccessor(channel);
                   String rfcxml =
                        "<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:SALERT_CREATE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><IP_APPLICATION_GUID/><IP_CAT><AlertCategoryName></IP_CAT><IT_CONTAINER>"
                   +"<item><ELEMENT>XI_ERROR_SUBJECT</ELEMENT><TAB_INDEX>000000</TAB_INDEX><ELEMLENGTH>255</ELEMLENGTH><TYPE>C</TYPE><VALUE><alertSubjectText>"
                   "</VALUE></item>”strAlertXML+ </IT_CONTAINER></ns0:SALERT_CREATE>";
                   InputStream inputStream =
                             new ByteArrayInputStream(rfcxml.getBytes());
                   XmlPayload payload = LookupService.getXmlPayload(inputStream);
                   Payload rfcOutPayload = null;
                   rfcOutPayload = accessor.call(payload);
              } catch (com.sap.aii.mapping.lookup.LookupException e) {
                   throw new RuntimeException(
                        " Error in raising Alert: <CC_MMGlobal_RFCLookUp_Alert> Communication Channel lookup failed",
                        e);
    What to do, How to do it...
    thanks,
    V

    Bhavesh,
    I do go on...
    Problem:- I have re-engineered a BPM to reduce long runtimes in Collect Scenario.
    (1) Incoming to XI single xml messages --> collected in a folder on XI server.
    (2) Trigger renaming of messages extension to *.xml in folder at specific time ie once daily.
    (3) Receiving Communication Channel (type File) is first step in BPM gets triggered.
    (4) BPM block 1 Receive step in loop collects messages (1,2,3...n) into multiline container of same type as messages.
    (5) After 2 minutes Deadline Branch triggered.
    (6) Ends Block 1 moves to Block 2
    (7) Block 2 Transform Step of multiline container to single message type.
    Simple mapping ie
    <LIST> 1..unbounded    -->    <LIST> 1
    <S_STX>                     -->        <S_STX> 1..unbounded
    message1                                      message1
    <S_STX>                                 <S_STX> 2..
    <LIST>
    <LIST>
    <S_STX>
    message2
    <S_STX>
    <LIST>                        -->       <LIST>
    (8) Send step Single Message mapped using BIC Mapping to a Report XSLT Template.
    If the process is successful then I get in XML message Monitor an entry and a payload. Of the concatenated messages.
    If the process has an error the users want to be told about it as soon as possible hence I set up Alerting. Which works.
    But on running a test scenario where message3 (structure is incorrect) at Step (7) the BPM throws the Alert correctly (no information passed as to error) and the Workflow Finishes.
    In XML message Monitor the result is message1 is Greenflag. Message2, and Message3 are chequered flag.
    No Message Payload generated from the BPM.
    The users are not happy with this nor am I.
    (1) I look at Workflow Log of BPM and see that step(7) the transformation step has information in the container elements MAPPING and TRACE (no way to reference these from BPM I know of).
    (2) I read blogs etc and discover I should perhaps try to add more steps to my Exception/Alert Branch to try to deliver a Payload so the XML message Monitor shows something. Is this a correct assumption?
    (3) I try to make my Alert message more informative but I am not skilled in what information is available to identify the error. The Workflow Container is not enough.
    If I add a container operation to instantiate a container variable I would like to grab the Payload at least of the multiline element.
    (4) To produce a Payload in the Exception Branch to output from the multiline element do I have to do a Loop and Container Operation to Split the multiline message up again into individual messages to send out to an error folder.
    (5) I am trying to make it easier for the users to find the errorred files than searching through the Archive folder from the initial receive step.
    (6) I am trying to stretch my knowledge of XI Error reporting so I can deliver a better solution to the users.
    (7) I have some Java Skills from 10 years ago when life was simpler hence very rusty and am finding it difficult to fit it into the context of UDF's (what information can be accessed etc).
    I hope this is clearer about my self made problem. I should never have mentioned error messaging to the users...
    thanks,
    V

  • Issue with Alerts using BPM : Trigerred for Successful messages also

    Hi Everybody,
    I am working on configuring Alerts using BPM.
    I have followed the below blog by Micheal.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
    I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
    This is a strange behaviour when we talk about Alerts.
    Can somebody help me out in this?
    Thanks & Regards,
    Zabiulla

    Hi Zabiulla,
    Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
    Regards,
    Udo

  • Alerts from BPM Email Subject and From address should be changed.

    Hi All,
    I'm raising an alert from BPM by using Container operation  and Control steps.
    The below details are appearing in the Email. Is there any way to change these standard steps... ?
    From:     WF-BATCH at K.local
    To:         SAPSupport at k.com
    Subject:  Process 000000021589
    Alert ID:   ##00010##
    I want to change the
    - Subject name with my own subject line.
    - From address should be changed to it.helpdesk at k.com instead of WF-BATCH at k.com
    - I checked in some of the threads, looks like there is limitation in terms of characters in the Email body(127 characters)? Is there anything I can do to extend the email body?
    Kindly suggest me.
    Thanks
    Deepthi

    Hi Baskar,
    // You can pretty much change the subject title and recipient information easily. Click on fixed recipients to modify mail address.
    Recipients list is fine. I can change. How about the Sender Email address?
    Ex:  WF-BATCH.. Since the errors are generated from BPM, the sender userid will be always WF-BATCH.
    I want to change this user id into my custom user id.. is it possible?
    2. Also I enabled Dynamic Text in alert category which is used to get the dynamic text from mapping.. Hence i cannot use Short and Long texts tab in Alert Category to generate the subject line.
    Hence Subject line is coming with process ID, looks like I cannot change?
    Thanks

  • 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

  • Mapping Alerts in BPM

    Hi,
      I am working on a scenario where in i need to raise alerts to business end users from mapping errors. The mapping errors occurs due to missing data in Idoc segments. I have tried using the control step in exception branch and posting a call to the Alert Category defined in ALRTCATDEF in the ABAP stack.
    In the alert category, i have defined the container variables and used the following configurations in the long text -
    Message ID : &SXMS_MSG_GUID&
    Sender Service : &SXMS_FROM_SERVICE&
    Sender Interface : &SXMS_FROM_INTERFACE&
    Sender NameSpace : &SXMS_FROM_NAMESPACE&
    Receiver Service : &SXMS_TO_SERVICE&
    Receiver Interface : &SXMS_TO_INTERFACE&
    Receiver Namespace : &SXMS_TO_NAMESPACE&
    Adapter Error : &SXMS_TO_ADAPTER_ERRTXT&
    Error Category : &SXMS_ERROR_CAT&
    Error Code : &SXMS_ERROR_CODE&
    However on mapping error, i get the alert message in the inbox with all the above fields blank. Even i am not getting the possible subsequent activities in the alert mail.
    The client requires the details to be filled in case of mapping errors.
    For your information, the above information is well filled in case of any adapter error or Network issues (ICM failure etc..).
    I doubt that the data is unable to be filled in due to mapping being executed on the Java stack.
    Please suggest.
    Thanks,
    Amit

    Hi Amit,
       I faced the same issue in one of my projects.
    You canot get dynamic messages(Using container variables) with the long text option in your alert category.
    You can do the following.
    1) In the Exception branch, have a transformation step with source message as the source message in your actual mapping and target message as an abstartct interface(Name it as Alert_Variables(NOt mandataory to name it the same way) ) with one node and one child (of type string).
    2) Have a mapping between your source message and your target Alert_Variables.
    3) Write a UDF to get the concatenated text with all the variables you need and map to the target field.
    //write your code here
    String constant;
    java.util.Map map;
    map = container.getTransformationParameters();
    constant = "Message GUID:"+(String) map.get(StreamTransformationConstants.MESSAGE_ID)+"\n"
    +"Sender Party:"+(String) map.get(StreamTransformationConstants.SENDER_PARTY)+"\n"
    +"Sender Service:"+(String) map.get(StreamTransformationConstants.SENDER_SERVICE)+"\n"
    +"Sender Namespace:"+(String) map.get(StreamTransformationConstants.SENDER_NAMESPACE)+"\n"
    +"Sender Interface:"+(String) map.get(StreamTransformationConstants.INTERFACE)+"\n"
    +"\n"
    +"Receiver Party:"+(String) map.get(StreamTransformationConstants.RECEIVER_PARTY)+"\n"
    +"Receiver Service:"+(String) map.get(StreamTransformationConstants.RECEIVER_SERVICE)+"\n"
    +"Receiver Namespace:"+(String) map.get(StreamTransformationConstants.RECEIVER_NAMESPACE)+"\n"
    +"Receiver Interface:"+(String) map.get(StreamTransformationConstants.RECEIVER_NAME)+"\n"
    +"\n";
    return constant;
    4) After the transformation step in your exception branch, you can have a container step to assign the value of the target node's child element(That was returned by the transformation step).
    5) Have the control step to raise the alert category. The alert text should include only the container variable that holds the concatenated value of all the information.
    6) Check the Dynamic text checkbox in your ALert category defined in your abap stack.
    Regards,
    Ravi Kanth Talagana

  • 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

Maybe you are looking for

  • How do I force lightroom to (re)load an XMP sidecar file?

    Good morning from Boston! I am new to Lightroom and just finished importing my Aperture library into Lightroom 5 on a Mac. For that, I followed the instructions on Adobe's landing page and Lightroom solutions. For those not familiar with the instruct

  • Can I use Flex to push data to other PCs?

    My problem: I have a touchscreen(with PC) and 4 different screens (with PCs), all connected to a server. When you click on a button on the touchscreen, you load a new image on the touchscreen and 4 different contents (images/pps/movies/...) on the fo

  • Lightroom CC revelation problem

    I have installed the new lightroom CC and the miniatures are ok, but in revelation there's a blue box over the the image with a big cross over it. I've uninstalled it and re installed and no luck. Someone can help me?

  • Pining of Application

    Can anybody help me? What is Pining of application? Please mail me the answer. Mail id [email protected] null

  • Lync 2013 SQL requirements

    I have a SQL environment which is used for web apps, ERP, CRM and other databases. Can I install my Lync SQL environment onto this SQL server? is this scenario supported?  or do I need dedicated and separate Lync SQL servers?