Receiver determination for Split Message - Bulk message handling

All,
I have a scenario where MATMAS message is split to multiple receivers via multi mapping 1:n; the split is based on plant specific data, all works fine the mapping splits the message perfectly.
The problem I have is in configuring the receiver determiniation. I have put conditions based on plant specific data the message should be distributed to the appropriate receiver. At runtime the MATMAS message received is treated as a bulk message and it produces mutiple sub-documents however in my case if the MATMAS has 3 plant specific data the data is send to all the 3 receivers instead of sending just one message per plant to the appropriate receiver.
Its IDOC to File scenario on XI 3.0, SP20.
Receiver Determination:
/MATMAS05/IDOC/E1MARAM/E1MARCM/WERKS = 'xxxx' -> send to XXXX_receiver
/MATMAS05/IDOC/E1MARAM/E1MARCM/WERKS = 'yyyy' -> send to YYYY_receiver
Though the receiver determiniation splits the message by plant it could be that a material is maintained for both xxxx and yyyy plants and in this case both should receive the message but the contents would be different. The problem I have is both messages are delivered to both receivers.
I appreciate those who have taken the time to read the thread and thank you all in advance supporting with advices.
/ Saj

Please find attached the source xml before transormation used for the xpath that I have indicated in my original message. From the below message E1MARCM-BESKZ differs on each plant and also has a corresponding warehouse view E1MLGNM where for example LHMG1 value differs for each warehouse.
  <?xml version="1.0" encoding="UTF-8" ?>
- <MATMAS05>
- <IDOC BEGIN="1">
- <E1MARAM SEGMENT="1">
  <MSGFN>005</MSGFN>
  <MATNR>000000000001002201</MATNR>
  <MTART>ZFGS</MTART>
  <MATKL>1111003</MATKL>
- <E1MAKTM SEGMENT="1">
  <MSGFN>005</MSGFN>
  <SPRAS>E</SPRAS>
  <MAKTX>AA Ni-MH Rechargeable Batteries</MAKTX>
  </E1MAKTM>
- <E1MARCM SEGMENT="1">
  <WERKS>4911</WERKS>
  <BESKZ>F</BESKZ>
  </E1MARCM>
- <E1MARCM SEGMENT="1">
  <WERKS>4912</WERKS>
  <BESKZ>X</BESKZ>
  </E1MARCM>
- <E1MARCM SEGMENT="1">
  <WERKS>5020</WERKS>
  <BESKZ>E</BESKZ>
  </E1MARCM>
- <E1MARMM SEGMENT="1">
  <MEINH>CS</MEINH>
  </E1MARMM>
- <E1MLGNM SEGMENT="1">
  <LGNUM>020</LGNUM>
  <LHMG1>2020.000</LHMG1>
  <LETY1>E2</LETY1>
  </E1MLGNM>
- <E1MLGNM SEGMENT="1">
  <LGNUM>023</LGNUM>
  <LHMG1>2323.000</LHMG1>
  <LETY1>E2</LETY1>
  </E1MLGNM>
- <E1MLGNM SEGMENT="1">
  <LGNUM>024</LGNUM>
  <LHMG1>2424.000</LHMG1>
  <LETY1>E2</LETY1>
  </E1MLGNM>
- <E1MVKEM SEGMENT="1">
  <VKORG>4900</VKORG>
  <PRAT1>X</PRAT1>
  </E1MVKEM>
- <E1MVKEM SEGMENT="1">
  <VKORG>5000</VKORG>
  <PRAT1>/</PRAT1>
  </E1MVKEM>
  </E1MARAM>
  </IDOC>
  </MATMAS05>
so in this example above:
Receiver 4911 (WERKS) should receive:
F + 2020 (BESKZ + LHMG1)
Receiver 4912 (WERKS) should receive:
F + 2323 (BESKZ + LHMG1)
Receiver 5020 (WERKS) should receive:
F + 2424 (BESKZ + LHMG1)
The problem is all these 3 messages are delivered to all the 3 plants thus making it 9 messages delivered in total as against 3.
/ Saj

Similar Messages

  • 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

  • I don't receive notifications for voice message on my iphone5 any help?

    I don't receive notifications for voice message on my iphone5 any help?

    have you checked what is set up in settings, notifications, phone?

  • Enhanced Receiver Determination for synchronous interface.

    Hello!
    Was anyone faced with the Enhanced Receiver Determination? When I try to create
    the definition of the Interface Mapping, I get the error:
    "Interface modi are different. Source interface Message Interface MI_My_sync_iface | urn:my is synchronous. Target interface Message Interface ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous"
    Thank you.

    Hi ,
    U can go through below limks  :
    Illustration of Enhanced Receiver Determination - SP16
    SAP NetWeaver Process Integration: Enhanced Receiver Determination for Synchronous Scenarios
    Enhanced Receiver Determination in SAP XI - Exchange Infrastructure - Wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/enhanced%2breceiver%2bdetermination%2bin%2bsap%2bxi
    Thanks

  • Receiver Determination for Integration Process - R/3

    Hi,
    While creating the receiver determination for the BAPI, how to specify the BAPI name in the Receiver (Partner) Service .
    I found an example in SDN Blog, however, it did not clear my doubt.
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Kindly, reply me.
    Regards,
    dinesh.

    >
    Dinesh Kumar wrote:
    > Hi,
    >
    > While creating the receiver determination for the BAPI, how to specify the BAPI name in the Receiver (Partner) Service .
    >
    > I found an example in SDN Blog, however, it did not clear my doubt.
    >
    > /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    >
    > Kindly, reply me.
    >
    >
    > Regards,
    >
    > dinesh.
    did you import the BAPI?
    Your receiver system will be the SAP BS. when you use the f4 help option for the interface it will list the BAPI and u can select it

  • Dynamic receiver determination for synchron interface

    Hello everybody,
    I want to use dynamic receiver determination for a synchron scenario.
    The problem is, that the interface 'ReceiverDetermination' (http://sap.com/xi/XI/System SAP BASIS 7.00) is a asynchron interface.
    This leads to an error when activating the Interface-Mapping (synch source Interface -> asynch destination Interface ReceiverDetermination)
    Is there a way to use the dynamic receiver determination for synchron interface?
    Thanks a lot,
    Thomas

    Hi Thomas,
    I guess your scenario is not possible ASIS, since XI doesn't support 1:n for sync interfaces (and even if your mapping condition reduces it to 1:1, actually it is still 1:n, since your receiver list is unbounded).
    Theoretically, you could make it work with BPM, though.
    But I've never worked with a Receiver Determination Step reading from an enhanced receiver determination in ID (though there should be no problems).
    Use sync async bridge, then use receiver determination step to obtain the receiver from an enhanced Receiver Determination. Pay attention that this enhanced receiver determination is a dummy one, using a mapping from your async abstract interface to the ReceiverDetermination interface. Once your mapping has determined the receiver, the enhanced receiver determination will return that receiver to the Receiver Determination step in the BPM. Then use this receiver in the sync send step (in mode receiver from receiver list, not from context).
    The receiver determination of the actual sync send step may be a standard one, with the several receivers there (even if there are several there, at the moment of the sending, only one will be used).
    Maybe it will work, maybe not.
    Just try it.
    Regards,
    Henrique.

  • Receiver File adapter - 'Empty Message Handling' option to ignore not worki

    Hi,
      I am trying to create the Files in receiver based on condition.But I am gettiung error in communication channel when there is no payload. Receiver I am usuing FCC and processing tab I selected -'Empty Message Handling' option to ignore .
    one source -> Target 1 (0..1 occurance in signature tab changed, message mapping and operation mapping)
                 and Target 2 (0..1 occurance in signature tab changed)
    and I put the message type level condition. While creating first message If did not create the Message type in my maaping still my Receiver File communication channel is giving error. even thow I my receiver interface occurance is 0..1
    Right now I am in PI7.1 and SP7 is the bug for support pack do I am missing any thing. and do I need to upgrade any nwe patch. appreciate your help.
    Regards,
    Venu.

    Hi,
    here is the my requirment one source -> two target interfacess (0..1)
    If u have 2 target interfaces,then this is not suffice..... u should make it as 0..unbounded both in operation mapping and message mapping.
    But based on ur requirements posted above i guess u have only one inbound interface at a time based on some conditions....
    But,
    <messages>
    <messages1>
    based on condition first message type not created in mapping.
    <messgaes2>
    The error u r getting is because.... u want only one interface in target at a time....
    Then u should not generate Message1 also in the target.
    So avoid mapping to message1 if u want only message2.
    If both message1 and message2 are created in target means... it is triggering for two interfaces.... so avoid one message1 or message2... based on some conditions u have..
    Still nt solved do post...
    Babu

  • Receiver AS2 Adapter : Empty Message Handling

    Hello Experts ,
    We are trying to work on following requirement .
    File -> PI -> AS2 ( File) ( We are using Pranke to drop our message to the receiver system) (MDN ack too is in place )
    There are times when none of the source records are valid and we have an empty payload post mapping.
    In AS2 adapter we are using StrictXML2Plain.
    Scenario works fine for all target messages which have data and a file is created at the receiver end. MDN ACK works fine too.
    Problem is when we have empty target payloads , We get following error in communication Channel monitoring.
    Information
    SEEBURGER/AttribMapper: Finished succesfully, 1 properties set or deleted
    Information
    MP: processing local module localejbs/ModuleProcessorExitBean
    Information
    Message entered AF MP exit bean and will be passed to the JCA adapter now.
    Information
    SEEBURGER/AS2: Received order from system.
    Error
    Message could not be forwarded to the JCA adapter. Reason: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
    Error
    MP: exception caught with cause javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
    Error
    Adapter Framework caught exception: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # , SEEBURGER AS2: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond #
    Has anyone handled such situation ? Is there any workaround at the SAP end to handle this issue ?
    Or is this to be handled at the Pranke end ?
    Attaching the Seeburger AS2 monitor error as well for empty messages ,
    State
    Error on send, will be retried
    Status Description
    Could not deliver as2 message to partner: org.apache.commons.httpclient.NoHttpResponseException: The server as2gw.pranke.com failed to respond # null
    Little urgent and your expertise is appreciated PI geeks
    Sayalee

    Hi,
    here is the my requirment one source -> two target interfacess (0..1)
    If u have 2 target interfaces,then this is not suffice..... u should make it as 0..unbounded both in operation mapping and message mapping.
    But based on ur requirements posted above i guess u have only one inbound interface at a time based on some conditions....
    But,
    <messages>
    <messages1>
    based on condition first message type not created in mapping.
    <messgaes2>
    The error u r getting is because.... u want only one interface in target at a time....
    Then u should not generate Message1 also in the target.
    So avoid mapping to message1 if u want only message2.
    If both message1 and message2 are created in target means... it is triggering for two interfaces.... so avoid one message1 or message2... based on some conditions u have..
    Still nt solved do post...
    Babu

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

  • Service contract determination for support messages

    Hi Gurus,
        I have the requirement for automatic determination of service contract for support messages created.
    Which rule i should use for automatic determination of sales and service organization for the support messages
    Please help me
    regards
    Naveen

    Hello Solman Gurus
       Please help for my issue,,, if anyone could...
    Full points will be rewarded
    regards
    Naveen kumar

  • Receiver determination for a proxy

    I have a sender proxy and I want to configure two receivers for this proxy. But I would like to use a condition. If I now open the condition editor then I do not see the message  in the condition editor. Does anybody has experience with sender proxies and conditions for receiver determination ?

    Hi Frank,
    the interface and the business system are connected in SLD over the product/softwarecomponent which you put in techn/business system. But that does NOT avoid any functionality. It is only useful for help windows in IB directory.
    The "message" you got was only a "information", not an error. Just ignore it. The condition editor should open anyway. You can either "click" there to value of your message or put manually a X-Path expression. If your field is distinct just use the double slash like //myfield to ask for the searched value. The parser will read first element called "myfield" which is found.
    Regards,
    Udo

  • Using Xpath in Receiver Determination for greater than 500

    Hi,
    I am trying to use Xpath in the receiver Determination step and I want to check a field which is at item level and comes multiple times(0-unbounded) greater than 500.I tried with different options per SDN blogs,Xpath functions,but still I couldn't able to get what i am trying.I want to process the message when "quantity" is greater than 500,else I want to ignore the message with no errors.
    I gave like this    /p1: /LIST/item[quantity>499]     EX
    item loop is 0-unbounded and I need to check for every quantity.I selected the check box multi line as well.
    I played around different options,but still did not get what I am looking for.
    please suggest in this regard ,how I need to give the expression.
    Thank you,
    Sri

    Hi,
    For validating that the item field is occuring more than 500 times you need to choose the
    2.The exact XPath would be in your case *(/p1: /LIST/itemquantity[499]EX)*
    This means if the 500 th occurance of the item exists then the condition satisfies that is always true for 500 and above occurance of the item.
    Please revert if the suggestion proves to be helpful.
    cheers,
    Abhishek.
    Edited by: Abhishek  Paul on May 6, 2010 10:55 PM
    Edited by: Abhishek  Paul on May 6, 2010 11:02 PM
    Edited by: Abhishek  Paul on May 6, 2010 11:08 PM

  • Receiver Determination for differnet recordsets

    hi
    i 'm reading some files into the xi with the file adapter and content conversion. the result is a incoming message with some recordsets looking like this:
    MY_MT
      Record
        Row
          FieldA
          FieldB
        /Row
        Row
          FieldA
          FieldB
        /Row
      /Record
    /MY_MT
    my data is in fieldA and a flag for the receiver in fieldB (fieldB = 1 then send row to receiver 1, fieldB = 2 -> receiver 2).
    at configuration i created a receiver determination where i setup 2 different receiver services and then created a condition:
    MY_MT/Record/Row/fieldB = 1 for receiver 1
    MY_MT/Record/Row/fieldB = 2 for receiver 2
    a message like below is send to both receivers, but i just want to send all Rows with fieldB = 1 to receiver 1.
    MY_MT
      Record
        Row
          DATA
          1
        /Row
        Row
          DATA
          2
        /Row
      /Record
    MY_MT
    Is this possible?
    greets
    J.

    Hi
    As par current configuration settings, your choosing a reciver on the basis of flag.
    But same input is given to both recivers.
    What you want is hust separate the content based on flag.
    Two options:
    Conditional reciver:-
    Use two different mapping program for the same.
    In first mapping choose all DAta whose flag is one,
    and in another mapping
    Choose all the data whose flag is two.
    and wonder you will get two different outputs depending on your flag.
    Use multimapping:
    Instead of going for two mapping programs, just go for single mapping program, and just go through the blog
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Go for message instance level mapping, It is easy and one time work.....
    and wonder you will get output as
    MY_MT
    Record 
      Row   
      DATA    
    1
       /Row 
    /RecordMY_MT
    MY_MT
    Record
      Row   
      DATA    
    2  
    /Row 
    /RecordMY_MT
    Cheers
    Regards
    Piyush

  • Receiver determination for ALEAUD??

    Hi,
        I have configured my ALEAUD for a (B2B partner) R3 -> PI (B2b) - > PI (local) - >  R3 (local) scenario... I have requested the partner PI system to map their systems to my business systems in their Receiver determination step - header mapping.... But the reverse step of sending back AleAUD is falling in our partners system because of the changed business system names...
    I am not able map the ALEAUD back to the original Business sytems used by the partners....Although  I have created a receiver aggrement the std Aleaud does not pick it up.
    I would like to avoid using the ALEAUD as a seperate message approach.
    Regards,
    Arvind R

    Hi Arvind,
    Refer this links. Hope it will help you.
    Custom processing for ALEAUD01 messages ??
    Re: XML Incoming Invoices - Send response to Vendor for Failed Messages in XI
    Thanks.

  • Dynamic receiver Determination for Sync Scenario??

    Hello Experts,
      I have a SOAP -> Xi -> R3 sync scenario i,e, R3 to send back response to SOAP client.
    Also I need the Dynamic receiver determination.
    When I try to create the Interface Mapping, I get the error:
    "Interface modi are different. "
    Source interface MI_My_sync_iface is synchronous.
    Target interface  ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous
    I coud find few threads on forum related to this but i think there is no clear solution provided.
    I do not wanna use BPM.
    Please suggest.
    Thanks in Advance!
    Appropriate point will be awarded.

    > So when I try to define a interface Mapping using a Sync interface as Source and Async interface as target, XI does not allow me to do so.
    You are getting this error because in Interface mapping when you use sync source then it generates request and response tab so if at target side if you put anync interface then definetly it will go into error. You have to make both the interfaces as sync.
    BTW, after getting the message in R3, how are processing the message? Are you using sync proxy??
    You can solve the problem by creating one additional message interface of type inbound-asyn. Use this additional Message interfce in your Interface Determination. And create additional Receiver Agreement to deliver the message to it's destination.
    Note: When you careate additional Interface Determination then you have to chose the response message interface (Sync message interface which returns the response from R3) as a source.
    Regards,
    Sarvesh

Maybe you are looking for

  • Decode UTF-8 to ISO-8859-1

    I am using the Google Maps API, it return in utf-8, so for some countries, caracters are wrong, My server is ISO-8859-1 So, how to convert the result from utf-8 to iso-8859-1 ? I tried : <cfprocessingdirective pageEncoding="UTF-8"> <cfcontent type="t

  • The screen is dark and i can barely see the icons.

    it seems like the brightness is all the way down but it is not. i've reset the ipod several times to no avail. can it be easily repaired at a good price or should i get another one?

  • Mass Clearing

    Hello sap guru's, I need one information ,Ant t-code for clearing other than F.13 , F.44. If any program is there for this, to clear mass clearing. there  are 3000 line item which need to be cleared. Here system accicept only 999 line iteams.But i ne

  • Importing the SAPDBA role (sapdba_role.sql)

    Hi Experts, i am Importing the SAPDBA role (sapdba_role.sql) in my system before 12 hours still it is runninig , i want to know how much time it wil take. Thanks in Advance! Rgds, Vishal Borisa

  • Customer return , Inspection lot stock tab

    hi , i am doing customer return senario , and as per requirment of client i activate inspection type 05  cause they want inspection lot stack tab in UD , but when i am doing customer return inspection lot is generated with reference to sales order an