Messsage Mapping 2:1 in BPM

Hello Expert
how to do following mapping
source message                          target message
message1                                     message 1
      node A               ->                     nodeA
      node B               ->                     node B
message 2                                       
      node C               ->                     node B(duplicate)
looking forward to your answer
thanks a lot
Kevin

Try a message mapping with two source messages.
This mapping can be called in BPM.
Also duplicate Node B in the traget messages and fill it with Node C from second source message.
Cheers,
André
Edited by: André Schillack on May 20, 2010 3:39 PM

Similar Messages

  • Mapping step failed in BPM: IllegalInstanceException

    Hi Experts,
    I have implemented a BPM scenario which includes a transformation step. This step refers to a operation mapping which involves two mapping programs (1st mapping pogram to convert from message type A -> message type B and second mapping program which converts message type B -> message type C this uses RFC lookup too). On exceuting BPM; the process is stuck at this mapping step and Step history details are as follows:
    com/sap/xi/tf/_MM_BPM_DEBMDM_ADRMAS_RFC_LOOKUP_DE~com.sap.aii.mappingtool.tf7.IllegalInstanceException
    detailed log:
    com/sap/xi/tf/_MM_BPM_DEBMDM_ADRMAS_RFC_LOOKUP_DE~com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ADRMAS03. Values missing in queue context. Target XSD requires a ~
    However this same operation mapping when used without BPM works.
    Kindly advice.
    Thanks and Regards,
    Elizabeth.

    Hi Sandeep,
    Already tried this using the actual payload. On observing the BPM logs -> Container variables I saw that the input message generated for the second level mapping is of incorrect messgae structure.
    The mapping should have generated ADRMAS03 message but somehow it is generating ADRMASBS message.
    The mapping program uses ADRMAS03 only as message type, but I cannot figure out why using BPM it is generating ADRMASBS (which is not even defined/creted in ESR).
    Pls advice,
    Thanks,
    Elizabeth

  • How to... fetch SeeBurger Mapping Variables from a BPM

    Hi,
    I am currently having a problem in fetching some values on the Seeburger Mapping Variables from an BPM. What I currently do is the normal way of fetching the value using an UDF in my message mapping: below is the sample code that I did on my function:
    import seeburger.functions.permstore.impl.;com.seeburger.functions.permstore.;
    try {
       VariableBeanServlet vbs;
       vbs = (VariableBeanServlet)VariableFactory.getVariableInstance(VariableFactory.PROPERTY_CLASSNAME_DEFAULT);
       return  vbs.getStringVariable(a);
    }catch(PermstoreException e){
       return "";
    did i missed something on my code?
    best regards,
    mike

    The values are written on the Seeburger --> MappingVariables under Variables section. These has been predefined by me beforehand. I've checked the code without passing thru the BPM and it works but when it was used with the BPM the values doesn't turn up..
    best regards,
    Mike

  • Catch mapping error message in BPM Exception branch

    Hi dudes,
    Does anyone know how to catch the mapping runtime error message into a BPM exception branch? I know how to create an exception branch and how to trigger it, but I wonder whether it's possible to pass the mapping error message as shown in SXI_MONITOR (i.e. 'Cannot create target element XXXXX. Values missing in queue context').
    Otherwise, everytime my BPM fails I will have to take the payload and run the mapping test in order to find out the reason of the error.
    Many thanks in advance!
    Paco

    Thanks,
    My problem is not about handling exception in BPM, but getting the mapping error description and then passing it to the exception branch.
    I can see in the workflow log that this info is contained into the Exception container EXCEPTIONS[2] / T100MSG:
    Message Class: SAI_MAPPING
    Message Number: 217
    Message Type: E
    Message Variable: com/sap/xi/tf/_<MM name>
    Message Variable: com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti
    Message Variable: on: Cannot create target element /ns1:<path/field>.Message Variable: Values~
    The text in bold is the one I am interested in to be get and mapped into the exception branch.

  • How to call the second mapping in the first mapping fails in the BPM

    Hi All,
    I have a scenario like this.
    There are two mappings. There is a one condition while genearying the root element of the first mapping. If this condition is not satisfies the first mapping will fail. If this mapping fails i want to trigger another mapping.
    How to achieve this functionality.
    If it is possible with BPM. how to call the second mapping in the BPM.

    Hi
    you can not create the containter for the synchronous interfaces.
    you have to craete the two asysnchronous abstact interfaces .
    thenusing those two abstract interfaces you have to define the containers in the BPM.
    and you also have to define the interface mapping b/w those two abstract interfaces.
    once you define the interface mapping you will be able to select the interface mapping using the transformation step in BPM.
    once you select the interface mapping in BPM then you will be able to selece the interfaces
    if you still face the problenm please reply me back.
    Thanks
    Rinku Gangwnau

  • Mapping error in the BPM!!

    Hi Fiends,
    I have a BPM ..where I have the steps defined like this..
    Transform -> send mail..
    In the transformation ..I have a simple mapping program(source & the target structures have got one field)..
    message type structures are like this..
    source& target
    Return key  ---> 1:1
       field1 --->1:1
    mapping is like this :
    Field1--->field1(when field1 is not empty)
    If field1 is empty then -> I am sending some constant to the target ...and in the mapping it is working fine...
    My mail is working perfectly when there is some value in field1..and I am getting a mail..
    and when there is no value in field1..I am getting mapping error.
    do you have any idea..how can I solve this issue..plz help me..
    Thanks..

    Raju,
    Try tracing the "transformation" step in BPM. Check the instance of the message in sxmb_moni and click 'PE' so you will be in 'workflow log' here you could see the data flow of your message inside BPE. Here you can trace were your message got exception. If it is in transformation step then click on 'list tech details' (left top corner) then click on 'show container' button corresponding to that 'transformation step'. Its similar to using trace area in sxmb_moni. here you will be aware of mapping error.
    Hope it will be helpfull.
    Regards,
    Yuva

  • Mapping activity step in BPM and related complex functions/conversions

    Hello Experts,
    a) I am trying to find out the complex conversions used in BPM process modelling activities such as mapping activity.
    What are the different complex conversions/functions which are very widely used/required in BPM projects?
    I am talking about custom functions and not the standard functions and rules provided by BPM mapping editor.
    b) How do we write a log function which can be used in mapping to log some attributes used in mapping to the java log.
    It is just additional logging feature on the top of standard BPM logs. But this additional log feature will be useful in reading logs for each step.
    c) I am getting only one document having 3 examples for EJB mapping function (concat, filter, and one good fair )-  can anyone provide any other functions and details around in this area?
    thx
    mike

    Hi Mike,
    Strongly suggest you close this discussion and create 3 new discussions - one for each separate question.  When you pile up multiple questions, often people aren't sure which one to answer, and the discussion stream tends to get very confused. 
    That's likely to be why no-one's responded in the last 5 days.
    Rgds,
    Jocelyn
    with my SCN Moderator hat on

  • Exception Handling (in Mapping) with out using BPM

    Hello All,
    We are on SP17. I have a simple flow involving XI
    JMS -> XI (Message Mapping -> XSL Mapping)  -> Mail
    I would like to send an email if there is an exception in any of the mapping. But I <b>don't want to use a BPM</b> for this exception handling. How can I do it?
    Thanks
    Abinash

    Hi Abinash,
    yes you can! See these..
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sap.user72/blog/2005/02/23/raising-exceptions-in-sap-xi-mapping
    All the best!
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Mapping activity step in BPM

    I am trying to find out the complex conversions used in BPM process modelling activities such as mapping activity.
    What are the different complex conversions/functions which are very widely used/required in BPM projects?
    I am talking about custom functions and not the standard functions and rules provided by BPM mapping editor.
    thx
    mike

    Hi Mike,
    Strongly suggest you close this discussion and create 3 new discussions - one for each separate question.  When you pile up multiple questions, often people aren't sure which one to answer, and the discussion stream tends to get very confused. 
    That's likely to be why no-one's responded in the last 5 days.
    Rgds,
    Jocelyn
    with my SCN Moderator hat on

  • Map File name in BPM to email response

    I have a scenario I am working:
    File FTP -> FTP -> RFC
    The file is deleted off initial server and pulled into our landscape to Processing server, then processed into SAP via RFC.  I wish for an email response to send on pass/fail of interface.
    This is all done and executing as expected with pass/fail message in body of email, received in inbox - no problem.
    However, one thing is missing....
    When the file is first processed, the File name is deleted and renamed with a time and date stamp (not ideal, but I got this working) is added when the file is created on receiving server.  I am using a BPM to do the file send mapping and email response.
    I wish to map the initial file name to the new file name, and then process then add time/date stamp when placed into Archive folder.  I would like the email to have the original name oif the file in the Subject line of the email, if possible....
    Has anyone done something similar?  Can you point me in the right direction?

    Hi,
    You can do this using Adapter specific identifiers in receiver CC. You can get the same filename as your source file.
    Blog: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Go thro this thread as well for more details: Target file of the same name as source file
    Then in BPM, add one more send step for a file receiver CC and place the file in the archive directory with timestamp.
    Regards,
    P.Venkat.
    Message was edited by:
            Venkataramanan

  • No mapping property with name - BPM error

    Hi all ,
    In our BPM scenario we are getting this error .. "No mapping property with name"
    when the message passed from Sender system to BPM
    RFC - BPM - File
    <Trace level="1" type="T">No mapping property with name sap.bc.bmt.wfm.xi.interface.synch.http://test.com/tp/pcs:MI_RecipeDownload_Abstract</Trace>
    <Trace level="1" type="T">MI_RecipeDownload_Abstract really used in process?</Trace>
    Few points:  MI_RecipeDownload_Abstract  is my first recv step in BPM
                       It is also the recv interface for RFC sneder - BPM
    Any clue will be very helpful...
    Kind regards
    Goutam

    Goutam,
    MI_RecipeDownload_Abstract is my first recv step in BPM
    It is also the recv interface for RFC sneder
    >> for rec interface for RFC sender it should be with out abstract. only steps inside BPM must be abstract.
    Regards
    Sreeram.G.Reddy

  • Mapping exisitng UIs to BPM tasks

    Hi
    We are trying to implement a BPM for procure to pay process in our organization.
    We already have a process and UI's foreach of the tasks involved.
    Some of the Ui's are standard ECC screens, some Ui's accessed in EP and some automated tasks(BAPIs)
    We understand that standard ABAp screens are not possible to be mapped to BPM tasks.
    Is it possible to map the UI's built in Java directly from EP instead of redeploying them to CE server.
    And do we have to make any changes to the UI's to make them compatible with the BPM model.
    Regards
    Lavanya

    Hi Lavanya,
    Please check the below link to enable a webDynpro component to embed into BPM process
    https://cw.sdn.sap.com/cw/docs/DOC-108252
    Do you have different instances for CE and EP ?
    As we can't use standard ABAP screens in BPM ,you have to create webDynpro Java DC and create the UI from scratch.Use Adaptive RFC models to interact with ECC ( through RFCs/BAPIs). You need to deploy the WD on CE instance
    Regards, Anil

  • Can we sort one field based on other field in messsage mapping !!

    Hi Folks,
    I have got source xml with couple of Vendors, Vendors has got promotions on different products with different dates. If I sort date field, product quantity is not sorting. How Can I sort both fields at the same time, if I sort Promotion date field in ascending order, the product quanitity has to sort respectively?
    Any one can help in this please , any links are examples etc..
    Kind Regards
    Thanks in advance.
    San

    Hi Folks,
    I have tried with this function SortbyKey, it always throuing exception. That's the reason I came to you guys. Please have a look following mapping
    ZY2K_DATE    ----> Remove Context -->
                                           Sortbykey  -----> Condition etc.,
    ZA02_QTY   -----> Remove Context -->
    if I try to see display queue on Sortbykey  I am getting ' Exception'
    Exception:[com.sap.aii.mappingtool.tf7.FunctionException: Queues have different lengths in function sortByKey] in class com.sap.aii.mappingtool.flib7.NodeFunctions method sortByKey[[Ljava.lang.String;@5be18f1d, [Ljava.lang.String;@357ae80b, SortComparator.CASE_SENSITIVE, SortOrder.ASCENDING, com.sap.aii.mappingtool.tf7.rt.ResultListImpl@1818459b,
    Source
    <ROOT>
    ...<OUTPUT>          - - - -       0..unbound
    .......<Group_LIN>    - - -        0..unbound
    ..........<Group_ZA>  - - -       0..unbound      
    ..............<D02_ZA>  - - -        0..unbound
    ..................<ZA01>QD</ZA01>
    ..................<ZA02>35.0</ZA02>
    ..................<ZA03>CT</ZA03>
    ..................<Z_Y2K_DATE>20100723</Z_Y2K_DATE>
    ..............</D02_ZA>
    ...........</Group_ZA>
    ........</Group_Lin>
    ....</OUTPUT>
    Target
    ProductDemandInfluencingEventNotification  0..unbound
    ...ProductDemandInfluencingEvent                 1..1
    .......Item                                                           1..unbound
    ..........OrderForecastTimeSeries                     0..1
    ..............Item                                                    1..unbound
    .................ValidityPeriod                                  1..1
    ......................StartDateTime                             0..1
    ......................EndDateTime                               0..1
    .................Quantity                                           1..1
    the above D02_ZA tag sometimes comes more than one QD with different dates. Same dates has to go under one tag with respective quantities!! This is the situation, can any solve this please?
    The target tag "ProductDemandInfluencingEventNotification" will generate based on number of promotions on particular date. Ex: if one vendor has 'n' number products promotions on 3 different dates, 3 "ProductDemandinfluenceevennotifications" has to generate, that three promotion dates and quantities has to respectively.
    That ZA02 (Qty) value has to go Quantity target field.
    Kind Regards
    San

  • Retrieve Specific Mapping Error Information Within BPM Flow.

    I have an Integration Process which executes a message mapping step prior to further processing. When the message mapping receives an error there is an exception branch
    within the process that will send an email using the Mail Receiver Adapter. The mail message prototcol is XIALL which sends the payload and soap envelope.
    However, I need to retrieve the actual error returned from the mapping step and forward that specific information to the originator of the failed message as an email.
    I know we can use the alert functions to send alerts, but my requirement is to send the actual error via email to our external vendors / customers.
    Has anyone had success doing this?

    Hi, have you got it done? Please share!
    Thanks,
    Karthik

  • Multi mapping with out BPM

    HI ALL ,
           I am trying to do multi mapping with out using BPM .I will get message from the sender and i need to send that to two different target system. I have defined the mapping in the IR . In ID i  have created the configuration scenario and i have created the receiver determination .In receiver determination i have selected "EXTENDED" and when i select input help for mapping name it says "NO Object found". What else should i do get the mapping program here .
    Regards,
    Tarun.

    Bhavesh,
    I'm sorry but if he needs 2 different receivers, then it's not the case of using Enhanced Interface Determination.
    sapuser,
    if you scenario is asynchronous, then it's easily implemented.
    But it won't be achieved with multimapping.
    You'll have 2 receivers in receiver determination (normal RD, not enhanced). For each of those, you'll have to create a separate simple mapping (that will generate the message expected at each receiver system) and refer that mapping in the interface determination of each receiver.
    For example, you have input_message containing data1 and data 2. You'll have 2 simple mappings (not a multimapping), 1 generating output_message_1 containing data1 and the other generating output_message_2 containing data2. Then refer those mappings in the proper interface determinations.
    Regards,
    Henrique.

Maybe you are looking for

  • Taglib problem : can't parse DTD ?

    Hi, I'm running Tomcat 4.0.1. I'm trying to use the custom tags, but the tomcat server outputs an XML parsing error : 'Element type "tlibversion" must be declared'. It looks like tomcat is unable to read the DTD of my tld file (if I change the DTD ur

  • Help!! CD/Dvd will not burn

    Can someone help? Satellite A135-S4527 will not burn either CD/DVD. I have installed  RmvFltrs Toshiba DVD Rom but it did not help. I'm running vista 32 bit. I can be emailed at [email protected] Thank you, Marty

  • How generate/acquire pulse andacquire image simultaneously?

    HI I have: PCI 6251M to acquire data PCI 1427 (to acquire image with camera uniq UF1000) Labview 8.00 Frame grabber BNC 2090 High power BI-Phase Current Simulator to generate external trigger. (ASI 701B) In my program i need to do different things in

  • How can I restored the trace pad input for Chinese Language?

    I am using Chinese language for my MacBook Pro. I usually use the trace pad to input the Chinese?But, after I install OS lion, the trace pad seems working, but all the words can not input into the Applications(Safari...). And I tried to unselect the

  • HT201077 Can't see photos on icloud (no photos icon)

    Followed t'shooting steps and checked my iPhone (iOS7 on 4S) settings and cannot see my photos uploaded to iCloud.  Link below is screenshot of what I see when I log into iCloud.  No Photos icon.    I even tried sharing the selected photos from my iP