Alert for BPM Transformation Step

Hi I am trying to think of a way to get the information from my alert transformation step into my Alert Message.
The scenario is a multiline container called XML_Collect mapping to XML_Output a single container with the XML messages merged.
If I encounter an error with mapping, currently I am raising an Alert with Process <Process ID> and Long Text Transformation Failure.
I have the Transform step in a Block and an exception branch for the Alert. I am going to instigate a Container Operation step to fill my Container variables with information about the error.
In the BPM Workflow Log I can see the Transformation1 Container Instance with variables such a MAPPING and MESSAGES_IN and _EXCEPTIONS in it.
Can I reference this container in my Container Operation.
Ideally I would like to know which XML message from the multiline container generated the mapping error. This would help in correcting.
I have read some information on a UDF calling Alerts but I am not sure if this is the method to use.
thanks,

It is MESSAGES_IN
We have
MAPPING MAPPING http://<company>.com/msghdr IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi-<...>-1-
TRACE <?xml version="1.0" encoding="utf-8" ?>
<MappingTrace><Trace level="1" type="T">Mapping-Namespace:http://company.com/msghdr </Trace>
<Trace level="1" type="T">Mapping-Name:IM_T_MSGHDR_V3_to_T_MSGHDR_V3_Multi </Trace>
<Trace level="1" type="T">Mapping- ...
This trace is what appears in the XML trace also
MESSAGES_IN MESSAGES_IN < 1 Entry >
  MESSAGES_IN[1] MESSAGES_IN[1] 0000000001-<...>
    NUMB Parameter ID 0000000001
    MESSAGES MESSAGES < 3 Entries >
XC     ZXI_PROXY_MI_MSGHDR_V3_0001     E0630F307D7B11DCA23700145E6916E5
XC     ZXI_PROXY_MI_MSGHDR_V3_0001     E035BDA07D7B11DCB90500145E6916E5
XC     ZXI_PROXY_MI_MSGHDR_V3_0001     BA2A92307D7511DCB09900145E6916E5
then the XML Header and Payload.
_EXCEPTIONS _EXCEPTIONS < 3 Entries >
_EXCEPTIONS[1] EXCEPTIONS[1] Component MAPPING has reported an error-The exception occurred (program: CLSW..
_EXCEPTIONS[2] EXCEPTIONS[2] com/sap/xi/tf/MM_T_MSGHDR_V3_to_T_MSGHDR_V3_Mult~com.sap.aii.utilxi.misc.api...
I have just tried the variable &_WORKITEM.WORKITEMID& and this gives the work item ID of the starting step for the Process.
My MESSAGE_ID variable that I am updating with the container variable straight after the Transformation step has the first message id from the multiline container but I know this isn't my incorrect message.

Similar Messages

  • 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

  • BPM - Transformation Step

    In one of our BPM scenarios, while defining
    <b>Transformation</b> step.
    I have defined the interface mapping in IR. After refering the interface mapping from IR, the source and target messages are read from the interface mapping.
    the values for both source and target messages are empty.
    Should the values be given here or are they read during runtime.
    -Naveen.

    Hi Julio,
    BPM understands only abstract interface. So you will have to define a abstract interface for each message going into BPM and inbound interface going out of BPM.
    Also you can only declare asynchronous abstarct interface as the container elements. So no synchronous abstract interfaces can be defined as container element.
    So in your case you will need following interfaces:
    In case your scenario is IDOC -->  XI  -->  RFC.
    You will need:
    1) IDOC_Outbound_Aysnc
    2) IDOC_Abstract_Aync
    3) RFC_Inbound_Sync
    4) RFC_Abstract_Sync (This for sunchronous send to RFC system)
    5) RFC_Abstract_Request (This is to be used as target message in Interface mapping step in BPM)
    6) RFC-Abstract_Response
    In your transformation step the mapping would be between IDOC_Abstract_Aync and RFC_Abstract_Request  as only abstract asynchronous messages can be used in the scenario. Then the send sync will send the message sync to rfc system and the response can again be used further in BPM only in abs_async mode.
    Hope this helps.
    Regards,
    Ashish

  • 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

  • BPM Transformation Step Failed

    Hi All,
    We have a scenerio-1 developed where we use the BPM. I have tranforted the Scenerio-1 from Development system to the QA system. The scenerio is based on FILE TO FILE using BPM. I have process the file after the transport and found that the scenerio works fine.
    Now, i have deleted one perticular MT/DT/ from scenerio-2  but this is used by the scenerio-1. Now i have reimport all the objects in Scenerio-2/Scenerio-1 and everything looks smiliar.
    Now when i am trying to process one file by Scenerio-1 the message process without performing the transformation steps.
    In BPM i have te following steps..
    1= Receive the messages.
    2= Loop to receive next message
    3= Append the messages in a container.
    4=Transform the message to three other messages.
        a. One with -ve items
        b. One with +ve items.
        c. one with control details.
    5= Send the messages through sends steps.
    Adding to the above condition, i have also cehcked the testing of MM at IR which is sucessful.
    NOW WHEN I AM TRYING TO PROCESS ONE FILE IT FAILED IN THE TRANSFORMATION STEP AND THE MESSAGE GET PROCESSED WITHOUT ANY BRANCHING..
    Can anyone guide me how can i check the exact error in the complete process.
    Thanks,
    Jay

    If your BPM is syntactically correct then you need to check the properties of each step in the flow properly.
    As you mentioned that you have copied  objects ,pls make sure the name spaces are mentioned correctly.
    check your configuration also
    refer toublesooting guide if it helps
    http://wiki.sdn.sap.com/wiki/display/BPMT/BPMTroubleshootingGuide
    Regards,
    Srinivas

  • To configure alert for BPM scenario.

    Hi Experts
    I have one BPM scenario(Asyn-Syn-Asy).
    I have created one alert category for this and defined 3 alert rules:
    first rule from SAP to BPM
    second from BPM to 3rd party which is synchronous
    and third from BPM to SAP.
    But when i create faulty message by mapping error, alert is not triggered.
    Can anyone tell me where I m going wrong??
    And what additional configuration is required to trigger alert??
    Thanks
    Edited by: danishahmed on Jan 18, 2012 2:06 PM

    Hi Danish,
    Control Step is required to capture exceptions. If there is any error in main branch then Integration Process looks for alternate branch to execute which in this case should be Control step.
    This control step will throw alert which should already be defined in Alert Category of IR.
    Steps -
    1. Drag a BLOCK from tools pellete and assign to your main flow. Now this block will be having 2 branches.
      One branch will contain main flow and other will contain control step.
    2. Right Click on Block and Insert -> Exception Branch
    3. Drag and Drop CONTROL inside exception branch
    Now you can configure Alert as in above mentioned my EL Netweaver blog post.
    - Mandeep Virk

  • BPM problem: mapping in a transformation step

    Hello,
    In my current BPM scenario....
    1)I created the interfaces below for the Receive step (receives MT_Request):
    -MI_async_BPM
    -MI_async_abstract
    2)Then I created the interface and mapping for the transformation step:
    -MI_JDBC_async_abstract
    MM(MT_Request to MT_Request2)
    IM(MI_async_abstract to MI_JDBC_async_abstract)
    3)Then I created the interface and mapping for the Send step:
    -MI_JDBC_async_in
    MM(MT_Request2 to MT_DB_Insert)
    IM(MI_JDBC_async_abstract to MI_JDBC_async_in)
    Problem:
    However, after I executed the scneario, it appeared the step 2) didn't go through correctly(error message:<b>NO_RECEIVER_CASE_ASYNC</b>).  Did I set up the configuration wrong in Integration Process?
    Also, I went back to ID to create a Receiver Determination for step 2) (thought this may clear the problem), but in the Sender tab of Integration Process object, MI_async_abstract was not in there.  Please give me a hand on this problem.  Thanks.
    Regards,
    Steve
    Message was edited by: steve peng
    Message was edited by: steve peng

    Hi Steve,
    Below is the explanation for correlation by Anand Torgal which i think will be helpful to u....
    To explain you the correlation in simple terms...take a simple example of BPM with a send step(async request) and receive step(async response). I am sending a PO request using the send step and waiting for a PO response using the recieve step. Assume that i have two instances of this BPM running i.e two PO request's going simultaneously. when i get the response back for these two requests , there will be two recieve steps waiting for the response since there are two instances of BPM running. the response need to be assigned the corresponding requests. This is where correlation comes into picture. I can use PO number as my correlation field. i.e I activate my correlation in the send step and use this correlation in receive step (this is configurable in BPM).
    Example: PO number needs to be part both request and the response message structure.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number1
    Receive step -> use correlation -> receive response message with PO Number 1.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number2
    Receive step -> use correlation -> receive response message with PO Number 2.
    There are many different scenario's whre you can use the correlation..this is one of them...The weblog shows another way of using correlation.
    Also Refer SAP help...
    Correlating Messages
    Use
    You use a correlation to assign messages that belong together to the same process instance. A correlation joins messages that have the same value for one or more XML elements. A correlation is therefore a loose coupling of messages: at design time, it enables you to define which message a receive step must wait for, without knowing the message ID.
    For example, in a process, receivestep_1receives the message purchaseorder, while receivestep_2receives the message salesorder. Receivestep_1creates a correlation that defines that the corresponding sales order must have the same purchase order number. Receivestep_2uses this correlation. This means that an instance of the process processes a purchase order and the corresponding sales order, which has the same purchase order number.
    If it satisfies the relevant correlations, a message can be processed in multiple processes. However, a message is only delivered once per process.
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm
    Regards,
    Abhy

  • ** Transformation step - 1:n mapping error - BPM

    Hi friends,
    In my BPM transformation step I am doing 1:n mapping. I created & tested the message mapping and Interface mapping for this. Its working fine there. But, while I put the payload, the message is not splitted. Instead only the first message is splitted.
    Source Payload
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:PurchaseOrder xmlns:ns0="http://www.XYZ.com/ABCD/SDFunctions">
    <row>
    <PONO>5005</PONO>
    <PODATE>2008-06-09</PODATE>
    <VENDOR_CODE>0000100614</VENDOR_CODE>
    <REFERENCE>PENA</REFERENCE>
    <MATERIAL_CODE>100-00</MATERIAL_CODE>
    <ORDER_QTY>1</ORDER_QTY>
    </row>
    <row>
    <PONO>5006</PONO>
    <PODATE>2008-06-09</PODATE>
    <VENDOR_CODE>0000100614</VENDOR_CODE>
    <REFERENCE>PENA-1</REFERENCE>
    <MATERIAL_CODE>100-100</MATERIAL_CODE>
    <ORDER_QTY>4</ORDER_QTY>
    </row>
    </ns0:PurchaseOrder>
    But, only the message is splitted comes in SXMB_MONI with the following error.
    HTTP response contains status code 500 with the description Timeout Error while sending by HTTP (error code: 500, error text: Timeout)</
    What could be the problem ? Why second message is not splitted. Is it required to add any Receiver Determination step in ID ?
    Kindly tell me, friends.
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi friends,
    I have corrected Message Mapping and Interface Mapping. If I send 2 message (source), I will get only 1 message in the target side. (after transformation)
    In my BPM design, after 'Transformation' step, one block is there, I set property Mode as 'For Each', and I set Multiline Element.
    Now, the 500 Internal Server problem has gone. But, why the 2nd message is not entered into block ?

  • 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

  • BPM: Send step bypassed at run time

    Hi,
    In BPM, there is a send step after a transformation step in a block.
    In the corresponding interface mapping for the transformation step, the name of the .xsl mapping name is incorrect in spelling.
    Now due to this a strange situation is happening.
    When I looked into the trace, the system is searching for the xsl mapping. But fails to find it.
    Still, the BPM proceeds without an error, bypassing all the other steps of the current block including the send step, and goes to the next step after the block. And the BPM is completed.
    Can anyone please explain this behaviour?
    Thanks,
    John

    HI,
    Please can you give the details about your Integration process. (Which steps you had used)
    Thanks
    Swarup

  • Error in transformation steps

    Hi
    I have a scenario where i need to send to source messages  to ont target message ,I am tring to do using BPM.
    I have used steps
    1)recive step to recive the file(I am giving here 1 msg type from two)
    2)Transformation step to transform two sources to 1 target
    3)Send file to pick the file.
    I am not doing any configuration for the transformation step...
    Error in bpm work flow technical details at mapping error..
    *****com/sap/xi/tf/_eadress_mm_com.sap.aii.utilxi.misc.
    api.BaseRuntimeExceptionRuntimeException in
    Message-Mapping transformatio~******
    I have tested messape mapping & interface mapping they where no errors..
    Can any please help me how to work with transformation or can any one please send sample weblogs which explains transformation step in detail...
    Thanks
    sriram

    Hi,
    <i>1)recive step to recive the file(I am giving here 1 msg type from two)</i>
    >> Do you mean, you are getting 2 files of same message type ? i.e multiple messages of same message type,then you need to collect it and send it one message ? So you need to execute N:1 mapping ?
    If so, you need to go for bpmCollectPatterns available in the SAP BSAIS Software comoponent in the Repository.
    Refer this part of SAP Help-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    If you  have 2 types(i.e 2 different Interfaces) of files then you can look into this Pattern-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    >>>the error looks like , mapping is not done properly.i.e did you test the mapping with the live data from the SXMB_MONI.
    Also check the Occurence levels of the messages in the mapping, if you are collecting the messages
    Hope this helps,
    Regards,
    Moorthy

  • IDOC in transformation step with multi mapping

    Hello,
    I have found this posting
    Splitting a message into multiple Idocs
    and now I am a little bit afraid that our planned process using BPM is not working:
    a) XI receives an IDOC
    b) XI continues with calling an external system sync.
    c) Sync message response and IDOC are used to be merged into one new message M using transformation step (2 messages into 1 new)
    d) send message M to receiver
    Now I have read (see link) that IDOCs cannot be used in such multimapping steps. Is this true?
    Can anybody give some information?
    Best regards
    Dirk

    Hi Michal,
    this answer gives hope!
    So I think there is a misunderstanding in using the "multimapping" term?
    Multimapping in a simple Interfacemapping for 1 sender to n receiver is different from the "multimapping" issue in a transformation step in BPM?
    The central assumption in the mentioned blog was:
    IDOC cannot be used in multimapping because IDOC adapter runs on ABAP engine.
    In BPM transform step we are on Java side and using XML payload! So this will set us apart from the IDOC adapter ABAP engine issue?
    That would be nice!
    Regards
    Dirk

  • Making correct use of Mappings: Transformation Step in BPE

    Hi everybody,
    in SAP Docu, I found the recommendation to use Transformation Step only for those kind of mappings that cannot be done in the Integration Engine (e.g. n:1 mappings)
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/be364296f1b26be10000000a155106/frameset.htm
    Can anybody give me the rationale behind this recommendation?
    regards,
    Peter

    Peter,
    That's because u have to use BPM for n:1 or 1:n type of mappings.It can't be done through normal map programs.Hence for the better design if u have normal map then u can perform mappings either before where BPM receive step will receive transformed message or after BPM where maps source message would be fetched from BPM.
    Technically BPM transform step is the part of the workflow and it communicates with Java stack for mappings.Thus I guess eliminating Transformation step in normal map would reduce this communication time and thus improves the performance of the interface.
    Regards
    Rajeev

  • Capture Error in transformation Step and send it by email without Alerts

    Hi all,
         I have a problem in my BPM.
         I need to capture an error in transformation Step and send it by email with a send step without alerts. 
    Is there a way to do this in BPM?

    Hi Mariano,
    Please check the standard pattern in IR under software component SAP BASIS ->Integration process
    -->BpmPatternReqRespAlert.Hope this will help you for building the scenario.
    In this process we define a deadline branch to monitor the deadline. If the deadline is missed, an alert is triggered and this can be sent to an email too.
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Hope this helps.
    Best regards,
    Sharath
    Edited by: sharath Girmaji on Dec 19, 2008 7:17 PM

  • 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

Maybe you are looking for