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

Similar Messages

  • 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

  • On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being directions from here, the right click does work on Google map when using Safari

    On a Mac v10.6.6 Firefox v3.6.13 Right click on Google Map does not bring up the drop down box, with the first item being "directions from here", the right click does work on Google map when using Safari

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • How to do not insert the message content in the Message Inbox when use MFMessageComposeViewController control

    Dear all.
    In my app use the MFMessageComposeViewController control to send SMS message.The message content will be inserted to Message Inbox of iPhone.
    How to do not insert the message content in the Message Inbox when use this control?Because my message content has been encrypted. I don't want user can see them.
    Thanks

    I can't remember the steps, but if i'm not wrong, there are many "next" to click, and at the last windows, there is one dialog box with "do not show this message again".Maybe something to do with the registry, to enable to view this dialog box again. Date: Thu, 2 Feb 2012 06:38:24 -0700
    From: [email protected]
    To: [email protected]
    Subject: How to enable  the option "do not show this message again" in dreamweaver cs5
        Re: How to enable  the option "do not show this message again" in dreamweaver cs5
        created by Murray ACP in Dreamweaver - View the full discussion
    So, you open Site manager, click New, and then what?  I'm trying to understand which dialog you dismissed.  Can you help me?
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4180872#4180872
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4180872#4180872. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Two Message Mappings in one Interface Mapping without using BPM

    Hello Experts,
    I have this scenario, please help me
    I have to execute two mappings of which one is a java mapping and then the other is a message mapping sequentially.
    The mapping is something like below
    Message1  -> (java Mapping) -> Message2
    Message2
    Message1 -> (Message Mapping) -> Message3
    Based on the value in Message2 I have to map Message1 to Message3
    I am not an expert in java so please give me options that doesn't involve changing of java code.
    The above 2 mappings have to be implemented in only one interface mapping.
    Suggestions please.

    Hi Ravi!
    You say message2 dependes on message1 and message3 is mapped from message1 but using also values from message2? But this means, that whole mapping dependes only on message1!
    So change your mapping and use the one not based on message2, but message1. Put these as a condition in interface determination and based on these values use the correct mapping.
    Peter
    p.s. I'm not sure, if I got your requirement correctly, but your target message dependes only on message1 (since message2 dependes on it too), so this whole mapping can be done as 1. Unfortunately, you'll probably have to change your java part. Bur definetely, Raj is right.
    Edited by: Peter Jarunek on Feb 20, 2008 5:36 PM

  • Message Mapping Error in BPM

    when message mapping, if the length of source field is longer than specified length, I need to output these kinds of messages. what is the solution?

    Hi,
            try using a user defined function written in java where u can check for the condition and raise a exception.
               if(sourcefield.length()>16)
    S.O.P("The Invoice Number is greater than 16 characters");
    or
       using a BPM where u can check whether Invoice number is greater than 16 characters and if it is true then raise an exception and send the message through BPM.
    regards
    jithesh

  • Multi-map without using BPM

    Hello
    I am trying to create a multimap without using BPM as we are on SP15. I did the respective configuration in Message and Interface mapping as mentioned in the weblog.
    I am expecting multiple files to get generated in the target directory and i hope file adapter supports this.
    For that I did extended interface determination where I selected the respective interface mapping.
    When I am trying to execute this interface it throws error in SXMB_MONI saying "<b>No messages created from split mapping</b>".
    One more doubt, with what names it will generate multiple files?
    Thanks in advance.
    Regards
    Rajeev

    Hello
    I tested my mappings in the Test tab of Interface Mapping where it runs absolutely fine.
    Here is source and target messages
    ***************************Source**********************************
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>12</DELIVERY_NUMBER>
      <TRACKING_NUMBER>3</TRACKING_NUMBER>
      <SHIP_DATE>3</SHIP_DATE>
      <USER_ID>33</USER_ID>
      <SHIP_VIA>3</SHIP_VIA>
      <ITMNO>3</ITMNO>
      <MATNR>3</MATNR>
      <QUANTITY>3</QUANTITY>
      </DELIVERY>
    - <DELIVERY>
      <DELIVERY_NUMBER>121</DELIVERY_NUMBER>
      <TRACKING_NUMBER>3</TRACKING_NUMBER>
      <SHIP_DATE>3</SHIP_DATE>
      <USER_ID>33</USER_ID>
      <SHIP_VIA>3</SHIP_VIA>
      <ITMNO>3</ITMNO>
      <MATNR>3</MATNR>
      <QUANTITY>3</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
      </ns0:Message1>
      </ns0:Messages></b>
    *************************End Source*****************************
    This is the one message which is required to be split into two separate Delivery files
    ***************************************Target Message*******************************
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>4</DELIVERY_NUMBER>
      <TRACKING_NUMBER>5</TRACKING_NUMBER>
      <SHIP_DATE>5</SHIP_DATE>
      <USER_ID>5</USER_ID>
      <SHIP_VIA>5</SHIP_VIA>
      <ITMNO>5</ITMNO>
      <MATNR>5</MATNR>
      <QUANTITY>5</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>46</DELIVERY_NUMBER>
      <TRACKING_NUMBER>5</TRACKING_NUMBER>
      <SHIP_DATE>5</SHIP_DATE>
      <USER_ID>5</USER_ID>
      <SHIP_VIA>5</SHIP_VIA>
      <ITMNO>5</ITMNO>
      <MATNR>5</MATNR>
      <QUANTITY>5</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
      </ns0:Message1>
      </ns0:Messages></b>
    *************************************End Target****************************************
    According to interface map I guess the adapter should split the messages but at runtime it gives error.
    Thanks and Regards
    Rajeev

  • 1:N mapping without using BPM -- IDOC to multiple files

    Hi all,
    I am facing a problem while sending multiple files,
    I need to send files ( File1, File2 or FIle3) ...
    I was able to successfully send the first 2 files and along with it the 3rd file is being created without any data... How to stop this file( either file2 or file 3 should be created) in creating..
    I have done the sceanrio like this, )ALL the source and target files are XSD's imported)
    In the Message Mapping <b>Messages Tab</b>
    <b>Source is AFS_DELVRY03   occurence is 1,
    Target files
    rootI8 occurence is 1,
    rootI9 occurence is 0...1,
    rootIB occurence is 0...1</b>
    I have done all the maping part , problem is all 3 files are being created(eventhough 2nd or 3rd has no data) , I need rootIB, either rootI9 or rootIB based on condition,
    So any one has done the similar scenario, If please suggest me how to hadnle so that only 2nd or 3rd file should be created,
    In Interface Determination i have selected the extended option also...
    Should i do any specific handling in the Configuration part or should i create more than one mapping?..
    U r suggestions are welcome and will be rewarded with points,
    Regards,
    sridhar

    Venu,
    Using a BPM, you can do the mapping / Split as needed and then send the files individually, using a Sens Step as needed. There are multiple ways in which this can be done with a BPM.
    But, for a solution without a BPM, as the requirement is such that only 2 of the 3 target messages need to be created, multimapping would not work and the need for conditional routing occurs.So, this would require additional mappings.
    The solution is either use a BPM or  do the logic using Conditional Routing. Ofcourse the second solution requires 3 mapping programs , but you are avoiding a BPM which can cause a perfromance bottle neck.
    If perfromance cannot become a bottle neck, then using BPM would make much more sense , but again it all boils down to the exact requirements and the feasibilty of the solutions!
    Regards,
    Bhavesh

  • How to map when using mail adapter

    Hi:
    I'm doing a test with mail adapter in XI. The scenario is I put an XML representation content based on the outbound interface used by sender mail adapter directly in inbox mail content and send it. At the other side, I want to using receiver file adapter sotre the content as a file in file system. But some mapping is needed.
    What I have already done is to define one outbound interface(<b>IF_Mail</b>) which is used by sender mail adapter.IF_Mail using the structure like
    <MT_Mail>
    <mail> 
    </mail>
    </MT_Mail>
    I also defined an inbound interface(<b>IF_File</b>). IF_File is using the structure like
    <MT_File>
    <file> 
    </file>
    </MT_File>
    I want to map the value of <mail> in mail to <file> in file. I did structure mapping between two message types in IR and all of the configuration in XI.
    I put the below content
    <MT_Mail>
    <a> test
    </a>
    </MT_Mail>
    as inbox mail content and send it. But when I monitor the XI message. It always says something is wrong with mapping.
    what am I doing wrong?  Thanks.

    Hi Oscar,
    copy the payload of incoming message (SXMB_MONI) to your desctop and test the mapping inside the IB Repository (Test Modus of IF-Mapping or Message Mapping), switch the trace to "all".
    Regards,
    Udo

  • 1:N mapping without using BPM , based on segment conditions

    Hi All,
    I have to send 3 different files from source based on some conditions
    1) for the first file to be sent is okay
    2) But for second file and third file i need to check some conditions
    the conditions are
    If E1EDL44 case detail fields exists   i should generate second file and i should not create any third file  (it's one or the other, not both).
    If E1EDL44 case details doesnot exist i should generate third file and not second file...
    So My confusion is how to send either second or third file (any one only)
    If i do mapping  is it sufficient or also should i use condition editor in Receiver Determination...
    Please suggest u r valuable help..
    Thanks and Regards,
    sridhar

    Hi Sridhar,
    Make ur second interface Occurence as Optional 0:1 in ur Interfaec Mapping.
    In ur Multi-mapping (Message Mapping) also make ur  message type corresponding to ur second file as Optional.
    In ur mapping check the condition and if doesnot satisfy dont populate the second message type. Check this option.
    Regards,
    Sudharshan

  • How to get the filename in mapping when using sender File adapter?

    hi Experts,
       I have scenario where XI reads the input file using Sender file adapter.
       The file name is configured in the communication channel.
       In my message mapping it is possible to read this file name?
    Thanks
    gopal

    Hi Gpoal,
    Use Dynamic Configuration - /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Geetha

  • Message Spiltting Without Using BPM in XI-7.0

    We are using XI-7.0.
    We need to spilt the message from 1 to many without using BPM based on following conditions.
    We need to spilt the one message in many messages depending on the segment records of ZORDER3 and ZORDER2.
    If IDOC message do not have segment ZORDER3 then message needs to be spilt based on the segment records of ZORDER2.
    In the following example, one IDOC message would come from SAP system and that message needs to spilt into 7 messages for the vendor's system.
    Any help will be appreciated.
    <u>Source message: IDOC-ZORDER</u>
    <i>Segment:ZORDER1(Max occ-1)
    PO:4600000010
    LineItem:00010
    Plant:5000
               Segment:ZORDER2(Max occ-999)
               ServiceCode-100000
                              Segment:ZORDER3(Max occ-99)
                              CostCenter:CC123456789
                              CostDesc:CCTest1
                              CocstCenter:CC23456795
                              CostDesc:CCTest2
                               WBSElement:WBS45698712
                               CostDesc:WBSTest1
                               WOrderNo:WO56987412
                               CostDesc:WOTest1
              ServiceCode-200000
                              Segment:ZORDER3(Max occ-99)
                              CocstCenter:CC78956795
                              CostDesc:CCTest7
                               WBSElement:WBS492871
                               CostDesc:WBSTest5
                               WOrderNo:WO98757412
                               CostDesc:WOTest6
    <u>Target Message Structure</u>
    POData(1:1)
              Level1(1:1)
              PO&LineItemNo:460000001000010
              Plant:5000
              ServiceCode-100000
              Level2(1:1)
              costobjectID:CC123456789
              costobjectDesc:CCTest1</i>Thanks in advance!
    MP

    Mrudula,
    If you give the target structure and occurrences of it , then it will be more helpful. Also please quote on wht basis the message needs to be splitted, coz the condition is not clear, Please give the condition too.
    Best regards,
    raj.

  • File to file with out message mapping and using variable substitution

    Hi,
    Can any one send me a scenario where we can have file to file scenario with out message mapping and where i can use variable substitution.
    As of now i am using integrate configurations where i cant use variable substitution as the message does not reflect in integration engine. I need to populate time stamp between <filename><timestamp>.txt.pgp
    I am as of now using configuration scenario.
    The time stamp always writes before the last file extension.
    Let me know your thoughts?
    Thanks,
    Chandra.

    Hi Chandra,
    u can use the Variable substitution even without IR contents also(Mapping....).
    in the receiver communication channel just specify the path u want to access for a value...
    eg: filename                             payload:mt_name,1,records,1,name,1
    and in th file name give it as %filename%.txt... or vt ever ur requirement
    Babu

  • Missing node in Message Mapping when test mapping??

    Experts,
    I have the following Mapping Structures:
    Sender:
    <Recordset> 1-1
       <Records> 1:unbounded
            <field1>1:1
            <field2>1:1
    Receiver:
    <Recordset> 1-1
        <Header> 1-1
         <Records> 0-unbounded
               <field1>
               < field2>
         <Trailer> 1-1
    Mapping is completed for  all fields here.But one thing I notice is on Receiver side : all nodes are Green exept Records - it is Gray with some red smal dot in the gray..
    1.Question: What this means?Shouldn't all nodes turn green after mapping is done??
    2.When click on TEST on Message MApping I dont even see the Receiver Records node appearing on right(receiver side) But I was able to see Header and Trailer...Why the Records is missing??
    On the other hand the result from the test is successfull which is even more confusing ,How come it can be succesful since Records is not there...
    I can provide screenshots if needed for more clarity ..Any help is appreciated asap..Thanks much to all!
    J...

    Hi John,
       It is very simple and there is no complexity with this problem.
      <b> 1.Question: What this means?Shouldn't all nodes turn green after mapping is done??</b>
            If you mapped the source field to the correspoding target field..all the target fields get turn to green color. If you didn't mapp any target field that filed should appear with gray color..comming to the small circle in the recordset field...it is indicates that ..that field is "Unbounded".
       For resolving the above issue...do the mapping like this.
       <Recordset>---><Recordset>
       <Records>-------><Records>
       <field1>----><field1>
       <field2>-----> <field2>1
    Keep the empty constant value for the target field Header...
       empty constatnt---->Header.
    So once you done this check the mappping it will execute fine and even you able to see the recods node in the target structure.
      Please let me know if you have any queries...!
    Thanks and Regards,
    Chandu.

Maybe you are looking for

  • BT Infinity evening and weekend speed drops

    Hi, I have a BT Business Hub 5 and Infinity package. My connection during the working week in the day is usually around:  27.95MB/s down, 4.63Mb/s up and a ping of around 20ms. Often in the evenings and on weekends the speed drops to around: 1.5MB/s

  • How to include Group of Org Structure Views in DropDown - Reminder of Dates

    Hi I need to include a drop down at the top of the Reminder of Dates iView so that I the managers can select whether to see Directly Reporting Employees / All Employees. Could someone please show me how I can do this? Thanks in advance Anton Kruse

  • Tom Wolsky book?

    Tom Wolsky's book on Final Cut Express 3.5 really helped me out a few years ago. Now I'm trying to learn FCP X (10.1.4). Final Cut Pro X Beyond the Basics, Advanced Techniques for Editors, looks to be beyond my skill level. Final Cut Pro X for iMovie

  • Load Balancing and Clustring in Essbase ?

    Hi All, can anyone let me know if "LOAD BALANCING & CLUSTRING" is avaliable in Hyperion Essbase 11.1.1.3? if it is possible , please explain me how it can be done. Please help me out from this doubt. Regards

  • Acrobat DC SO HORRIBLE it's making me want to cry.

    I can't find anywhere to file a complaint or submit feedback, so here it is. Acrobat DC is horrible. I feel like it wasn't made for professionals at all and makes it much more difficult to navigate a simple document. My custom toolbar at the top? Gon