About receiver determination. a message contains multiple records

there is  a message which contains multiple records.
how to make receiver determination for the scenario.
like:
<root>
<orders>
     <order>
           <id>1<id/>
            <adress>A<adress/>
     <order/>
     <order>
            <id>2<id/>
            <adress>B<adress/>
     <order/>
    <order>
            <id>3<id/>
            <adress>C<adress/>
     <order/>
     <order>
            <id>4<id/>
            <adress>D<adress/>
     <order/>
    <order>
            <id>5<id/>
            <adress>E<adress/>
     <order/>
<orders>
<items>
     <item>
            <orderID>1<orderID>
           <productName>car<productName>
     <item/>
      <item>
            <orderID>1<orderID>
           <productName>computer<productName>
     <item/>
    <item>
            <orderID>2<orderID>
           <productName>apple<productName>
     <item/>
     <item>
            <orderID>3<orderID>
           <productName>shoe<productName>
     <item/>
     <item>
            <orderID>4<orderID>
           <productName>cup<productName>
     <item/>
    <item>
            <orderID>4<orderID>
           <productName>car<productName>
     <item/>
    <item>
            <orderID>5<orderID>
           <productName>book<productName>
     <item/>
    <item>
            <orderID>5<orderID>
           <productName>pen<productName>
     <item/>
<items>
<root/>
i wanna make receiver determination.
if  <adress> is A, forwards corresponding order which includes both <order> and <item> to receiver A.
if  <adress> is B, forwards corresponding order which includes both <order> and <item> to receiver B.
i don't know how to make receiver determination?
Edited by: joy zheng on Aug 29, 2009 6:03 AM

I think what you can do is, just create different mappings based on number of receivers and accordingly create different Interface mappings for your corresponding message mappings. While doing your mapping use the conditions to map only desired data. Now in your configuration do your RD and add all your receivers without any condition. Remember your Interface Determination should contain the corresponding interface mappings.
if do that as you described.
identic message need to be sent multiple times.
that is not my expectation.
it is only way to use bpm.
Edited by: joy zheng on Aug 31, 2009 5:14 AM

Similar Messages

  • Question about Receiver Determination step in BPM

    Hello all,
    I have a BPM process similar to Multicat BPM Pattern.
    I have some questions regarding how the Receiver Determination works:
    1. Does it have to have interface determination in the Integration Directory?
    2. Does that interface determination (including the mapping) takes place when sending a message to a receiver from that Receiver Determination step,
    or should I perform a Mapping step explicitly in the process?
    Thanks ahead,
    Yoav.

    Yoav,
    Am not sure if I understood your requirement compltely.
    <b>Case A:</b>If you are using a send step without a Transformation Step.
    Then <b>Send will have message A</b> being sent out from BPm and then , during Interface Determiantion this will be transformed into Message B by Mapping in Interface Determination and this message B will be received by receiver
    <b>Case B:</b>If you have a transform and then a Send
    In this case, the mapping has been done, so you have the message B with you and so, <b>them message sent from the BPM will be message B</b>Hope this clarifies,
    Regards,
    Bhavesh
    Message was edited by: Bhavesh Kantilal

  • Another question about receiver determination

    Hi friends
    Can we add a new receiver to the list of receivers in the  receiver determination , based in some condition only for this new receiver.
    Let us say we have the message 1 sent to receiver_1 and receiver_2 no matter what , but the message 1 should only be sent to receiver_3 according to some conditions.
    my question if I can only put condition for the receiver_3 receiver determination , or do i have to write a UDF for mapping of the receiveres.
    Thanks

    Can we add a new receiver to the list of receivers in the receiver determination , based in some condition only for this new receiver.
    yes you can add list of the receivers in the receiver determination , based on  some condition .
    my question if I can only put condition for the receiver_3 receiver determination , or do i have to write a UDF for mapping of the receiveres.
    dont need to write any UDF's . u have to use Context Object/X-Path for REC3 in rec.det
    for ex: field1 = 1000 -> rec3
       field1 =900 ->rec1
    Edited by: bhavanisankar.solasu on Feb 10, 2012 3:48 PM

  • Correlation for files containing multiple records

    I was learning correlation from a nice blog below.
    /people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm
    I have one question though. In the case where the correlation is done on  a key field say PsNo.
    Now if two files have multiple records, will the correlation compare the PsNo of each record or is the comparison just on the first PsNo of each file record.
    Thanks,
    Minhaj.

    Hi Minhaj,
    1) Suppose if you want to merge 2 files into a single file based on a keyfield (PsNo), You are opting Correlation in BPM.
    In your Correlation Editor, You should mention the XPATH Expression for Keyfield(PsNO) for the involved messages.
    2) Only if both the values of keyfied(PsNo) in 2 files are equal then Only you can merge all those 2 files into single file.
    So first PsNo of each file record is going to compared with another file.

  • About receiver determination step.

    how does the receiver determination step in bpm knows to calls which receiver determination in ID?
    which parameter determines this?

    >> is there receiver determination info in your header info?
    the receiver for a particular msg is always determined from the sebder info in a msg : sender service, interface.namespace.
    >>where to view header info?
    u can see the msg in various stages at it passes thru integration engine in SXMB_MONI. u can see various pipeline steps...and see the msg as it leaves each pipeline step.
    >>where do we should view the content of variables?
    to monitor ur process and each step of it go to worklog's tech view and look for each step u want to monitor in detail .
    regards,
    latika.
    [dont forget to mark helpful answers]

  • Validate message multiple records in Business Rule

    I have Order message as below:
    <Orders>
    <Order>
    <Header>
    <BillToID>001</BillToID>
    <ShipToID>002</ShipToID>
    <Id>Order001</Id>
    </Header>
    <OrderLine>
    <Id>Line001</Id>
    <Date>2015-01-01T00:00:00</Date>
    <Qty>10</Qty>
    <Status></Status>
    </OrderLine>
    <OrderLine>
    <Id>Line002</Id>
    <Date>2015-01-01T00:00:00</Date>
    <Qty>15</Qty>
    <Status></Status>
    </OrderLine>
    </Order>
    <Order>
    <Header>
    <BillToID>002</BillToID>
    <ShipToID>003</ShipToID>
    <Id>Order002</Id>
    </Header>
    <OrderLine>
    <Id>Line003</Id>
    <Date>2015-01-01T00:00:00</Date>
    <Qty>5</Qty>
    <Status></Status>
    </OrderLine>
    <OrderLine>
    <Id>Line004</Id>
    <Date>2015-01-01T00:00:00</Date>
    <Qty>65</Qty>
    <Status></Status>
    </OrderLine>
    </Order
    </Orders>
    I want to use Business rule to check Quantity value and update status for the order line, that if quantity < 10 set the status to Approved, if quantity between 10 to 50 then set status to Pending, if quantity > 50 need to set the status to Reject.
    The business is simple, if the Order message just have one record, but when the Order message that contain multiple record the business rule just get the first quantity and set the status value. 
    Anyone have any idea to implement with that requirement?
    Thanks in advance!

    Have a look into the below articles and let us know if you face any further issue.
    They are addressing a similar issue
    http://www.neudesic.com/blog/apply-bre-rules-looping-data-dynamic-policy-execution/
    How to construct BRE "Condition" on multiple repeating record
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • Condition "not containing" expression  in Receiver Determination

    Hi guys,
    I have one interface which processes files with lines compossed by two fields, an identificator, and a data field.
    Inside the data field, i have a row of characters and I want to create this condition in the receiver determination:
    If Data contains text "e6212" then, receiver is X
    If Data does not contain text "e6212" then, receiver is Y.
    I know how to create the first condition, but not the second. Could anybody help me? Thanks in advance!

    Hi,
    The condition editor contains 'Contains Pattern (CP)':
    You use this operator to query a string with a pattern. You can use the following characters for this:
    ·        + for any single character
    ·        * for any string
    *mploymenttaxdeclarat+on annualemploymenttaxdeclaration.
    please read more here:
    http://help.sap.com/saphelp_nw04/helpdata/en/67/49767669963545a071a190b77a9a23/content.htm
    regards
    Vijaya

  • Receiver determination / Monitoring the messages.

    Hi.
    I'm trying to set up simplest File to File scenario.
    Sending channel generates messages and I can see them through Integration monitoring workbench. But I do not see the messages from SXMB_MONI.
    Is it supposed to be this way ?
    My problem is that even I specified  receiver determination the messages hang there with status "Waiting" and empty field "Reciever".
    Test tools fails at receiver determination even I have enabled the service in SICF transaction.
    Do I miss something very obvious here  ?
    Sincerely,
    Evgeny.

    Hi,
    What do u see in Integration monitoring-->RWB..?
    <i>The message was successfully transmitted to endpoint http://<hostname>:8000/sap/xi/engine?type=entry using connection AFW.</i>
    or anythign else.
    If the message is successfully transferred using pipeline URL then u should see ur messge in sxmb_moni.
    else check if ur pipepline URL si properluy mentioned or not... it should be,..
    <b>http://<hostname>:8000/sap/xi/engine?type=entry</b>
    Cheers,
    Siva Maranani.

  • Plant as a condition to determine output messages in PO

    Hi All:
    I configure condition table  for PO with the fields: Doc Type, Purch Org, Vendor and Plant (all the previous fields at header level except for the plant ) this table is assigned to an access that also contain the condition table: Doc Type, Purch Org. and Vendor (all the fields at header level) but when I create a condition record for the condition table that contain the plant it does not determine any message, the condition record seems to be not taking into consideration at all, however when I create a condition record for the condition table that does not contain the plant the system determine correctly the messsage in the PO. My requirement is to have the plant as a condition to determine the output message in the PO. Do you know if can get this without a user exit or enhancement, only customizing settings?
    Thanks for your help
    Best Regards

    OSS Note 457497 - FAQ: Message processing in purchasing
    Is message determination possible at item level too?
    Answer:
    No. During message determination, the system does not access the data of the purchasing document's individual items (for example, table EKPO or EKET)  because the values in the item-related table fields (for example, EKPO-WERKS) may be different from item to item.

  • Multiple records in BPM using Switch

    Hi Frnds,
                  I was doing File to RFC to Webservice sceanrio using multiple records.
    For that i have used
    ReceiveTransformation-Block(ForEach)-Send Sync-ContainerEndBlock-TransformationSendTransformation(Multimapping)-Block-switch-sendsync-containerendblock-Transformation---send.
    In switch, i was checking the condition like, if the material is present, then it got the first branch or else it should go to next branch.
    In switch i was facing the problem, if i give multiple records with the same value, i am getting the output. If i give different values like for one record, material is present and the other record material is not present, then i am not getting the output.
    Could you please help in this issue.

    In switch i was facing the problem, if i give multiple records with the same value, i am getting the output
    The standard behaviour of Switch is that in case of multiple records, the Last Record value is taken and checked with the switch condition.
    U break all the records into individual records usinf "Recordset per message = 1" or transform one message with multiple records into multiple records, save it into multiline container variable and then use Block with mode ForEach.
    Regards,
    Prateek

  • Merging multiple records onto one page

    I have two questions for successfully setting up a mail merge:
    1.  I have a .csv file that contains multiple records.  All but one column contains one line of text.  I have one column in the record that contains several paragraphs of text.
    Problem:  The merge sees the paragraph returns (or line breaks) as an indicator to go to the next record.  What's the work-around for this?
    2.  I need the records to flow one after another.
    Problem:  It's merging one record per page.
    Background that may help (maybe merge is not the feature I should be using):
    I'm designing a newspaper that contains about 150 book reviews.  The reviews stem from a database that I'm exporting as a csv.  Rather than converting/formatting the reviews from the database by hand (like I have been doing), I thought InDesign must have some automated way of handling this.
    This is an example of what one record looks like:
    Italian For Beginners
    By Kristen Hammel
    Random House, $12.95, 53 pages
    Don’t be fooled by the //Italian for Beginners// cover photo of an Audrey Hepburn look-alike on the back on an Italian motorcycle with her arms around a handsome man. This novel is stronger and meatier than another  “American falls in love in Italy” love story.  Yes, the protagonist Cat Connelly escapes to Italy to find herself after tiring of being the center of everyone’s dismay as an unmarried 34-year-old overly-responsible sister, daughter, and granddaughter.
    And yes, there is romance, but it comes with a twist.  The best part of the novel is watching Cat shed her carefully constructed identity and past.  Harmel’s character discovers an authentic Rome from a family, insider’s perspective. The Italizan zest for life and her own connection to Italy allows her to throw off her accountant-style persona and take risks.  As Cat examines her deep-seated fears and biases,  she also discovers those things that give her true peace, joy and satisfaction.
    Will Cat fall in love with a handsome Italian? Or will she fall in love with her own long-suppressed Italian heritage and natural gifts? Read the novel to find out, and you’ll also find a bonus at the end of the novel: five authentic  recipes inspired by Italian for Beginners.  Mangi, mangi, buon appetito!
    Reviewed by John Smith
    Can anyone help?

    First the easy part. To get multiple records per page, create only one placeholder in the upper left position. ID duplicates EVERYTHING on the page as many times as it can using your spacing selections. If you have one element at the top of the page and another at the bottom, for example, ID will not be able to put additional records on that page because there is no space.
    Text frames should be no larger than necessary to hold the data. They won't grow or shrink to fit during the merge, so you'll have gaps if the length of the text varies from record to record.
    Now, for how to fix the line-break problem. In the data file substitute a character, or group of characters you won't be using anywhre else for each return. After the merge use Find/Change to replace the substituted cahracters with real breaks.
    Peter

  • SCD issue when multiple records in the source dataset have same natural key

    When I load a dataset into a slowly changing dimension, sometimes the dataset contains multiple records for the same natural key. The rows are different by the column last_update_date (among other possible differences).
    The behavior I want is this: if during an ODI job run, the source dataset contains multiple records for one natural key, all records will load into the dimension, but only the record with the greatest last_update_date gets marked as the current record in the dimension. Right now, ODI is marking all of the incoming rows for the natural key as current. Any ideas? Thanks!

    Last_update_date is on the source but is not being sent to the target. Thus, it doesn't have an SCD behavior. I think my solution will be to pre-process the incoming records so I don't attempt to load multiple rows per natural key. I was just hoping someone here knew of an easier solution.
    If it helps, except for the SK, NK, Current Flag, and Effective Date fields, all SCD behaviors are "add row on change".

  • Update Multiple Records by Using Package..

    Hi All,
    I have designed OA page which contains multiple records in a tabular format and few fields are editable. Now I want to update few records by using package. Bcoz page view object is too much complex. So it is impossible to create view object from EO. That’s why I want to update some value by using package.
    Please help me…
    Thanks in advance..
    Thanks
    --Subhas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Use plsql record type for this type of requirement.
    Refer folllowing steps:
    1) Create a plsql record type in the database ,
    2) create a plsql procedure/package and use above record type as parameter in the procedure.
    3) call this procedure from OAF side.
    Thanks,
    Kumar

  • Trying to set up a group email "RAM" that will contain multiple email addresses.  Receive error messages "check SMTP settings" or "Invalid email address" when I try to send a message to the group.

    I am trying to set up the group email "RAM" that will contain multiple email addresses.  I have inputted the name "RAM" as a corporation.  In the section labeled "Email" I have inputed multiple email addreses so that when I want to send an email to the group "RAM" I just have to input the name "RAM" in the section labeled "To" , input the Subject in the Subject box & the email will be sent to the multiple addresses, yet when I do I receive either one of two error messages being "Invalid Email Address" or "Check SMTP settings" each of which allows me the option of with cancelling the email or send it anyway.

    Bump. I'd like to know, too. I even have some synched Groups from my Apple Address Book I email to using Apple Mail on the Powerbook, but I can't see how to do a group mailing on the Touch either.
    In normal Mail, I just start typing the name of the group, and it autocompletes, I hit return, and it fills in all addresses in the Group.

  • Configuring receiver determination with multiple messages in BPM

    I am configuring a BPM scenario which uses 3 abstract interfaces, one for receiving, 2 for sending. I need 2 abstract interfaces while sending because they use different message types. I have created a Receiver Determination for the 1st interface, but the problem is that when I try to create the second Receiver Determination the 2nd abstract interface is not listed after I select the Integration Process. Just the 1st interface is listed under the Integration Process. What might be the problem?

    Did you try to delete and reimport the BPM with the same name ?
    SKM

Maybe you are looking for

  • Can you somehow use Lightroom to rename RAW files?

    Okay let's say in one folder on my hard drive I have three RAW files: _DSC0001.NEF and _DSC0002.NEF and _DSC0003.NEF. Now let's say I have reformatted my memory card so my camera will once again start labeling new images with _DSC0001.NEF. So let's s

  • Pages 5.1 (1769) is failing to render text blocks on printing as .pdf, what can I do?

    Sometimes all blocks are rendered properly and sometimes text blocks and images are missing. It appears to be random. It's happening when I open a document and when I print documents out to be saved as a pdf. Has anyone had this problem? How is it so

  • How to use accumulate in file functinality for Essbase adapter

    Hi Folks, I need to load Head count file to a Planning application via FDM. In which for a specific location i need to use "Accumulate in File" while loading data, which is not available for Essbase adapter. Please some one help me to implement the f

  • Date in Module pool !!

    Hi, I want to show a date field in Module pool Screen. I need this date field should have Search help and Auto Validation. Should i declare date field in Module pool as data: v_date(10). OR data: v_date like sy-datum.

  • IPad+iMessage 'error occured during activation'

    hi there. i'm trying to connect my ipad to my imessage account which i have on my iphone. I've researched the problem and i have updated onto the latest iOS 7 update, reset network setting back to factory, put time to auto (everything short of wiping