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

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

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

  • Handling Java Mapping Exception in BPM Transformation step

    Dear SDN members,
    I have developed a File to File scenario using BPM as follows.
    Step 1:
    Sender file adapter picks the file from FTP server and using file content conversion mapped to XML structure.
    Step 2:
    BPM will recieve the XML payload , immediately in the block a transformation step is called with an interface mapping. In the interface mapping a Java mapping will be executed with certain data validations on the XML payload. If found any invalid data is there a suitable excptions will be raised . Here the transformation step should be catch the error and control should be sent to exception block to place the recived file as a error file.
    else if the transformation is executed with out any issues, the file will be placed in success folder.
    But in the transformation step, though java mapping thorwing exceptions, the control not going into exception block, instead it is continuing to next step i.e the file is placing in the success folder.
    Can anybody tell me, how to handle the exceptions raised in java mapping in the BPM transformation step?
    I have refered all the SDN blogs, forums related to this issue, but could not able to find the answer. Please help me?
    Thanks & Regards
    Vijayanand Poreddy

    Hi Abhishek,
    Once the file is picked from FTP server then sent to BPM,
    the BPM steps
    Step1:
    -->Recive
    Step 2:
    Block Starts
       ---Block Start: New Transaction
       ---Block End : New Transaction
       ---Exception : Error
    Step 3 
    Inside the Block
    Transformation Step
       --Interface Mapping: <IM Name>
       -- Check box ticked for Create New Transcation
       -- Exceptions
          --System Error: Error
       --Source Message: Message recieved in Recieve Step (Step 1)
    Step 4:
      --Send
      --Source Maessage: Output message from the Transformation Step
    Block End
    Inserted a Exception Branch for Block
    Steps inside Exception Branch
      -Control
        --Throw Alert
       --Alert Name
    In the above scenario
    The transformation step is not throwing error even my interface mapping going to error. The same transformation step if i place outside the block next to recieve step, then the transformation step is throwing error and BPM stops the process.
    Also, when transformation is inside the block, i have used the exception handling on the send step inside the block. here it is throwing error as the source message payload is empty. because in the preceding transformation step the interface mapping is failed due to which there the target will not be filled. But even though it is not entered into exception block.
    Regards
    Vijayanand Poreddy

  • 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

  • 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

  • Anyone know how to customize email subject generated by Alerts from BPM

    I'm generating Alerts from BPM. However, the Alerts generated this way has subject title with - Process and an id number like this 'Process 000000126930'.
    I want to create custom subject line / email title.
    I tried by creating and using container variables in the Alert category for the title and it did not work.
    Any ideas on how to do this.
    Thank you,
    Parimala

    Hi Parimala,
    You can use the external definition Mail strcuture (Mail.xsd) provided by SAP for XI. You can map your structure with the Mail structure where you can create any subject line and any content as well, depending upon your interface configuration.
    Pls find the attached, Mail.xsd. Customize the subject, to, from etc. fields and populate the content branch element to send any message via the email.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://sap.com/xi/XI/Mail/30" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30">
      <xsd:element name="Mail">
        <xsd:annotation>
          <xsd:documentation>Mail package for XI - Mail Adapter</xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Subject" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="From" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Reply_To" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Content_Type" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Date" type="xsd:dateTime" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="Message_ID" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
            <xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
         <xsd:element name="Content" minOccurs="0">
           <xsd:annotation>              
              </xsd:annotation>
         </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="encoding" type="xsd:string" />
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    Hope this helps, pls let me know if you need further info.
    Cheers,
    Ranjan

  • 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

  • N:1 Mapping - W/ O BPM

    We r on SPS 18.
    Can we do N:1 Mapping - W/ O BPM.

    Narayana,
    Your requirement is completely different from Naveen's. His requirement was to map different msg types/ N number of same msg to single msg type. But in your case, you are having a single msg as input and single msg as output. You need to map different elements in source to a single target node. For this purpose, as I already replied in your thread, use an advanced UDF that will take N elements from source as input.
    Regards,
    Jai Shankar

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • Message mapping when using BPM?

    We are doing a test to see if you can do a split of a string using standard functions, UDF or BPM.
    We discovered that standard function has some of the functionality but if you are going to solve the problem that way the solution will be very complex. You will get no flexi bility in how to design the string and all the feilds will have to have fix length. So Standard functions are not the solution for us.
    UDF works realy great. Write your java function and map it and everything are running.
    We wont to test BPM as well. and i just started to look at it and how to solve it. I'm a newbee on BPM and for start I'm wondering how the message mapping should look to use in the BPM?
    Sourcemessage looks as follow:
    <Header>
       <Line>  
          <SegmentA>   0 to unbounded
          <SegmentB>   0 to unbounded
          <SegmentC>   0 to unbounded
    SegmentA contains a value to be copied to a segment in the target.
    SegmentB contains a date to be copied to a targetelement.
    SegmentC contains a string that we want to split into several elements in the target structure.
    Targetmessage looks as follow:
    <Header>
       <LineA>   1 to 1   (Will get the value from SegmentA in the sourcemessage.)
       <LineB>   1 to 1   (Will get the value from SegmentB in the sourcemessage.)
       <LineC>   0 to unbounded
          <ElementA>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementB>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
          <ElementC>   0 to 1   (Will get a part of the string from SegmentC in the sourcemessage.)
    To able to get the messages into BPM I need a interfacemapping and to do the interfacemapping I need to do a messagemapping. How should that messagemapping be configured?

    > Now i want to try to replace that UDF with a BPM (Integration Process).
    An UDF is part of a mapping and an Integration Process is used if you want to realize a more complex scenario then sending a message from System A to System B. In BPM you can do things like collecting messages, use timeouts, ...
    But if you want to use a mapping in a BPM you define your mapping in your Integration Repository (like in a standard scenario without BPM) and then you can use the mapping in the Integration Process.
    That's why i say it's maybe possible to realize your mapping without UDF (for example only with standard functions), but it makes no difference if you use BPM.
    If you want to try finding a solution without UDF, i would suggest to open a new thread for this question.
    Hope this helps.
    Regards
    Patrick

  • Mapping with out bpm

    hi...guys
    how we will do 1:n multi mapping with out using bpm , pls explain..
    with regards,
    Prasad.

    Hi Prasad
    Go thru the forums given below.. which will discuss the same...
    1:N mapping without using BPM
    Re: 1:N mapping without using BPM --> IDOC to multiple files
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • 1:N mapping without using BPM

    Hi All,
    I am facing a problem in 1:N mapping without using BPM...
    I would explain regarding it first...
    Scenarion is from SAP > XI> 3files
    I have 4 XSD's 1) one is Source Idoc XSD (all xsd's imported to External def.s)
                          2) target file 1 XSD
                           3) target file 2 XSD
                          4) target file 3 xsd
    I have created 4 message interfaces one is Outbound and rest 3 are Inbound
    and also i have done mapping : In mapping messages tab i have mentioned the 3 XSD(External definitions) and done the mapping as required...
    But now my problem is how to proceed with Interface mapping ...
    should i create 3 interface mappings ( ithink no) ... but in IM i am able to create for only one taget Interface .. how to with 3 XSD's ...
    Any solution is always thankfull...
    and Points are surely rewarded....
    Thanks and Regards,
    Sridhar Reddy

    Hi Sridhar,
    Receiver Determinatiion: one Receiver without Condition (Service that has all the Three inbound Interfaces).
    Then in Interface Determination choose enhanced  and choose ur Interface Mapping that has the Multi Mapping.
    It will automatically provide the three inbound Interfaces and u can create ur receiver agreements.
    Reference Blog:
    <a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible:///people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Sudharshan

  • Sequential mapping without using BPM

    I have a requirement where i need to do a sequential mapping without using BPM. IDoc to file is the first mapping.A few fields of the IDoc are transformed in this mapping. Output of this first one should contain the transformed as well as rest of the fields of the IDoc as it is coz they will be used in the second mapping.
    Is this possible any way?

    yes soumen...u can do it.in the interface mapping option is there to do that...
    but u can do it in a single mapping!!!
    go thro'  this general Idoc to file scenario...u may get some help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539

  • How to check data after mapping for BPM if the mapping done outside BPM ?

    Hi.
    I have simple scenario BPM. Proxy -
    > JDBC. I have 1 message mapping in between PROXY and JDBC.
    and i have put the mapping outside the BPM (i didn' use transformation step). In case error happen. how i can see the data after the mapping ? i am always got difficulty to check the data if i have mapping outside bpm.
    Thank you
    Fernand

    Hi
    In case error happen. how i can see the data after the mapping ?
    You have used mapping in interface determination of corresponding receiver determination. In transaction SXMB_MONI, open message corresponding to that receiver determination. There in left hand side you will see IS pipeline steps. There if you want to see message payload that is input to Mapping than see payload of any pipeline step before Request Message Mapping and test it in Design. If mapping fails you can see trace of the same step.
    Request Message Mapping ---> SOAP Header ---> Trace
    There you can see where your mapping failed.
    And as rohit replied you can also get message from RWB.
    For further clarification revert back to us.
    Regards
    Sami
    Reward points if helpful.

Maybe you are looking for

  • Kernel Panic Happened On Newly Brought 15-inch (i7 model) Macbook Pro

    Kernel panic happened twice since I using my newly brought Macbook Pro for a few days. I hope someone or apple staff can help. This is very annoying and I get stuck on my work because of this. I going thru several generation of macs already and I hop

  • How can I enable, disable and re-enable restrictions on an ipod without loosign all the settings?

    I purchased an ipod touch for my 10 year old, primarily so she could use the calendar and timers and such for school (we homeschool) and al;so so we could start learning some social media and electronic literacy. I enabled all the restrictions on the

  • Error while updating webcache

    Hi, When i tried to add a Listening Port (80) through the webcache admin URL.On submit it gives an error stating "Cannot open configuration output file". Any suggestion on that. Thanks in advance. Adarsh

  • TopLink design/optimization issues

    I've been developing a prototype using TopLink sporadically over the last few months, and I have 2 questions: 1. Is there a way in a ManyToManyMapping to optimize the DELETE SQL statements that are generated when a collection is modified? I have a la

  • OpenOffice and LC_*

    Today I was fiddling with the locale of my arch machine, I have set locale=pt_PT.UTF-8 in rc.conf and I've added /etc/profile.d/cust_locale.sh with export LC_MESSAGES=en_US.UTF-8 export LC_NUMERIC=en_US.UTF-8 because I want to see messages and applic