Skip to Content
avatar image
Former Member

Alert for mapping problem


I have XML file to IDOC scenario.

I want to know if is possible to configure alert for the mapping problem in this scenario.

How can I receive alert if I have a problem with XML structure?


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Mar 23, 2008 at 07:44 AM


    What type of error u want to raise.

    Just go through the below link for more details: Try to raise an alert through Function module. See the first link for the same.

    U need to pass the alert message along with other parameters to SALERT_CREATE FM to raise the alert.


    For raising an alert you need to first configure the alert please follow the below weblog written by Michal Krawczyk


    Configuration steps are: go to transaction ALRTCATDEF

    1) Define Alert Category

    2) Create container elements which are used for holding an error messages.

    3) Recipient Determination.

    Alert can be triggered in different ways.

    1) Triggering by Calling a Function Module Directly.


    2) Triggering by Calling a Function Module in the Workplace Plug-In.

    3) Triggering with an Event Linkage.

    4) Triggering with the Post Processing Framework (PPF) or Message Control (MC)

    5) Triggering from a Workflow.

    6) Triggering from CCMS with autoreaction.

    7) Triggering from BPM.



    8) Triggering alert by configuring a rule from RWB.

    Hope this will help you.


    Edited by: Chirag Gohil on Mar 23, 2008 1:15 PM

    Add comment
    10|10000 characters needed characters exceeded

    • function myudf(String a,Container container)


      int i=0;




      catch(NumberFormatException e)


      throw new NumberFormatException("Not a Number");


      return i;


      You can write the UDF which throws NumberFormatException that triggers the Alert message in your alert inbox

      Similarly You can trigger the alert for your message by simple UDF



      that contains NullpointerException or RuntimeException

      or any other Exceptions

      throw new Exception("Not a valid message");

  • avatar image
    Former Member
    Mar 24, 2008 at 06:02 AM


    For triggering alerts try to follow the steps inthis blog


    Check for few more links:

    Alert Configuration

    Alert Inbox

    Alert Notification Step-by-Step

    and in case of any issues refer this thread:

    Alert configuration



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 24, 2008 at 09:08 AM


    You can configure the alert for this scenario.

    First go to the transaction ALRTCATDEF in your XI server.create an alert catagory there.

    to use this alert catagory you have to use BPM.

    so create an Integration Process in IR and insert a Control step where you want to throw the alert.

    In the properties of the control step choose action as Throw Alert, then specify the alert catagory you just created and the alert message you want to receive when the alert is thrown.

    Now at the runtime, the alert will be thrown(based on the condition you specified if any) to the alert inbox.

    you can access your alert inbox by executing the transaction ALRTINBOX or go to Runtime Workbench>Alert Inbox. where you can see the alert message.

    Reward points if helpful.

    --Sankar Choudhury

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      My scenario without BPM.

      The alert triggered OK but I Cannot succeed to receive only one message per problem.

      I sent wrong file and I received in mail box more then 200 messages.

      Any Idea?