Drop messages in Receiver Determination?

Hello,
we are using SAP XI 3.0 and have a simple File-to-IDoc-Scenario.
Now, the files coming from a new supplier (specific ID) should be dropped on the XI.
I've tried a solution at the Receiver Determination with XPath condition, but I would need to configure a dummy receiver, right?
The option "If No Receiver is Found,... End Message Procesing Without Error" is not suitable for us, too.
Does anyone know an easy way to simply drop messages with a specific condition?
Thanks in advance!
Juergen

Hi Grallert,
You can create a module and then check the supplier and put this module in sender file communication channel before the file adapter is converted. Then if it not that supplier then it gives to file adapter else dont process the file. Then it will not process, but your file still will be there in the location. So copy it to a different location.
Once if you read the file and if it is in xi then you may not do anythign except if no receiver found end message processing without errors or dummy reciever, which you dont want.
Regards,
---Satish

Similar Messages

  • Unable to find the Message Interface Receiver Determination

    Hi Everyone,
    I am unable to find the Message Interface Receiver Determination in the SAP BASIS 7.0 --> http://sap.com/xi/XI/System. in IR.
    I am using P.I 7.0 SP 15
    Could anyone let me know what could be the problem.
    Regards,
    Varun

    Hi Sridhar,
    I cant find the Message Interface Receiver Determination in IR under the standard SWCV SAP BASIS 7.0 and under the namespace http://sap.com/xi/XI/System. in IR.This Message Interface will be useful while configuring in enhanced Receiver Determination.
    http://help.sap.com/saphelp_nw2004s/helpdata/EN/84/e8763c997fda50e10000000a11405a/frameset.htm
    Regards,
    Varun

  • Issue with message in receiver determination

    hello,
    I have sent a IDOC message in PI and has reached in PI and can see it with IDX5.The message fails though with error no reciver found.
    When I am in Receiver determination I do a test in the overview and seem there is no error seen.
    So I am not sure where the error is coming from.
    Thanks for the help.

    Hi,
    1.If you created the Business System in the SLD, check whether it is having the Logical Name and it should be the in ID Business System --> Adapter Specific Identifiers.
    If it matches with that value, then activate and do the full cache refresh by using the url
    http://host:port/CPACache/refresh?mode=full
    2. Make some dummy changes to your existing receiver Determination --> Save --> Activate --> Check if cache updated properly.
    The above error normally occurs in case:
          1) Incorrect receiver name is maintained in RD
          2) Cache is not updated.....this is the most common reason
          3) Condition (if any in Receiver Determination) is not satisfied.
    Please go through below thread,
    No receiver could be determined
    regards,
    ganesh.

  • Regarding using context object in Receiver determination.

    Hi All,
    I want to  implement a scenario where with following requirnment .
    i have one sender and multiple receivers.
    i have to retrive some feild value and based on the its value i have to route the message in receiver determination step by writing the condition.
    for this i have a source structure , from that i read one feild , based on that feild i do lookup.(the value of destination which i am getting is at intermidiate stage not in request message)
    If i define Xpath or context object it shows the request message in the contion editor , but i dnt  have the destination in request message.
    is there any way i can  assign the Xpath for the intermidiate MT which i have created to store the destination value.
    Please dont give me the link which point to help.sap page ..i have gone through it and it says that request msg only can be assigned context object.
    Thanks

    Hi,
    In your case Enhanced receiver determination will work.A typical usage case is if you do not yet know the names of the receivers at configuration time. In this case, you can define a mapping program, for example, which reads a list of receivers from a table or from the payload of the message at runtime.
    For configuration check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
    Thanks!

  • Problem while determining receivers in enhanced receiver determination

    i am doing scenario FILE-TO-FILE (with one sender and 2 receivers, dynamic receiver identification based on mapping)using enhanced receiver determination,
    it is giving following error in MONI,
    <b>Problem while determining receivers using interface mapping
    System expected the element 'Receivers'</b>
    pls. help me if anybody experienced this scenario,
    i am doing  this scenario based on the below blog.
    /people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16

    Have u properly followed the weblog,
    Integration Repository Step No 2 and Step No 5
    <i>2. </i><i>In order to use the enhanced receiver determination, create a message mapping which has the target message as “Receiver Determination” in the SAP BASIS --> http://sap.com/xi/XI/System.</i>
    <i>5. Create the Interface Mapping </i>
    U must have checked that ur Xi is on SP 16 or above )
    Regards,
    Prateek

  • 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

  • Error: com.sap.engine.interfaces.messaging.api.exception.RetryControlException: Receiver Determination did not find any receivers at all

    Hello,
    I have an issue configuring a simple File Adapter Content Conversion, it will be great to give me some support as I'am new in the PO Environment.
    Iam reading a flat file and trying to write into an XML in the same FTP server
    I have a 1 to 1 Mapping as follows
    And my Content Conversion at Sender side Looks like this
    After running the configuration Iam getting following error message
    Error: com.sap.engine.interfaces.messaging.api.exception.RetryControlException: Receiver Determination did not find any receivers at all
    My System is the SAP Netweaver Process Intgration 7.4 single Java stack
    Do you have any idea how to fix this issue?
    Many thanks in advance
    Khadim

    Hi evrybody
    I have enabled the tracing of ICO and have seen that my payload for the message mapping is ok,.
    <ns:hartgeldbest_ERP_KT xmlns:ns="http://xxxxxx.de">
    <Recordset>      
    <header> 
         <gesellschaft>03</gesellschaft> 
         <filiale>000</filiale>
         <satzart>11</satzart>
         <datum>00000000</datum>
         <kennzeichen>1</kennzeichen>
    </header>
    </Recordset>
    </ns:hartgeldbest_ERP_KT>
    The issue is on detrmining the RECEIVER in the Main-XML
    <sap:Main xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sap="http://sap.com/xi/XI/Message/30" versionMajor="3"versionMinor="1" SOAP:mustUnderstand="1">
    <sap:MessageClass>ApplicationMessage</sap:MessageClass> 
    <sap:ProcessingMode>asynchronous</sap:ProcessingMode>
    <sap:MessageId>ae41678e-da87-11e3-cd0f-0000006831a2</sap:MessageId>
    <sap:TimeSent>2014-05-13T10:16:43Z</sap:TimeSent>
    <sap:Sender> 
    <sap:Party agency="http://sap.com/xi/XI" scheme="XIParty"/> 
    <sap:Service>CC_Hartgeldbest_File2Idoc</sap:Service>
    </sap:Sender>
    <sap:Receiver> 
    <sap:Party agency="" scheme=""/> 
    <sap:Service/>
    </sap:Receiver>
    <sap:Interface namespace="http://xxxxx.de">hartgeldbest_KT_async_out</sap:Interface>
    </sap:Main>
    Is it possible that the receiver is overwritten due to the Content Conversion? Because if I set my Message Protocol to "File" the receiver determination will work.
    Any idea?
    Thx
    Khadim

  • Message Interface not found during Receiver determination

    Hi Folks,
    While doing Receiver determination i found this error
    “Problem Loading Schema Description: Message interface does not exist in any software components installed on this business system”
    i checked it in SLD also for Product assigned to Particular Business System. Even i tried with creating a new one and assigning the product and software component to it.
    When i imported the Business system from SLD, i m not able to see any inbound and outbound interface for particular business system.
    But it is working for another scenario where inbound interfaces are used.
    plz help me out
    Sachin

    Sachin,
    ><i>DEV and QA is having diff. SLD so i created the SWC and products in SLD again.</i>
    You should export the SWCV from your Old SLD and import in into your new SLD.
    and then import the same in Integration Respository.
    When you try to export SWCV from SLD, you will get a .CIM file which you need to save in your local desktop and then import this in the new environment.
    More in this article,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
    Regards
    Bhavesh

  • 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

  • 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

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

  • Message Interface wont show up in receiver determination

    Hi all,
    I created an message interface in the design and exported to config. I created a service and this interafce shows up, but when I'm trying to create the receiver determination, this wont show up in the interface list.
    Any solution? I appreciate your response.
    Thanks
    felix.

    Hi Felix,
    Having same problem. Not able to see the message interfaces for particular BS, while creating Receiver Determination.
    Can you tell me, how you solved this problem ?
    Thanks.
    Regards,
    Naveen

  • Receiver determination not found for one interface

    Hi,
    I am receiving the message via SOAP and then sending to SAP as IDOC.
    The communication is party o partyless communication.
    I have configured 2 receiver determination for the same sender and receiver but with 2 different interfaces.
    When i test the scenario via SOAP tool only one gets  executed and the second one neither throws an error nor getting executed.
    I think i have a error in the configuration that i did for the 2nd interface since i am using the 1st receiver determination which has been created already ?
    but in the Quick Test tool and Test tool in ID both the receiver determination is working fine.please provide the inputs
    Thanks in advance,
    Rgds,
    Vasanth.

    Hi All,
    Thanks for all of your replies.
    I have activated all the objects and checked it again once.
    As i said earlier the sender and receiver are same and that's why i have been pushed to create 2 receiver determinations for the same file(not IDOC as i said above) to be dropped in to two different locations.
    Also the configuration is party in sender to partyless in receiver.
    To give a clear explantion:
    All the objetcs are activated and works fine when i test in the test tool in ID by specifying the inetrface and namespace.
    Sender1 - Int1 - sap1.com - SA - RD - ID - RA -Receiver1  = working fine when tested by ID test tool
    Sender1 - Int2 - sap2.com -SA- RD - ID - RA Receiver2  = working fine  when tested by ID test tool
    RD = Receiver determination / SA = Sender Agreement
    It is not working when i send the same file thru SOAP client tool and only one receiver determination is working and another is not.
    Any idea ?
    Thanks,
    RGds,
    Vasanth.
    Message was edited by:
            Vasanthakumar Balasubramani
    Message was edited by:
            Vasanthakumar Balasubramani

  • Using conditions on CSV files in Receiver Determination

    Hi,
    We're reading EDI files from a directory and turning them into IDocs. We've got an ABAP class that converts the EDI to XML for us, we're calling that as the first step in the Operation Mapping.
    However, several different EDI files are dropped in the same directory, regardless the type and version. Luckily this can be found in the UNB segment in the EDI message. Now we want to make the split in the Interface Determination, but to do he'll need to read the EDI file's first line, determine what exactly it is, and then send it to the correct operation mapping.
    Is there a way to read a non-XML file using XPath in the Condition part of the Interface Determination?
    What I basically want to do is something like this:
    File content :
    UNB+93A:ORDERS:etc.
    UNH+347843243:etc.
    What I want to have my condition on is on the 93a and on ORDERS. So I'll need a double condition with AND (I know how to do that part) but on substrings of the data, which I don't know what to do. I only know that the UNB line will always be the first line.
    So IF pos 5-7 EQ '93a' AND pos 9-14 EQ 'ORDERS' THEN Operation Mapping, etc.
    Any ideas if this is possible, and how?
    Kind regards,
    Frederik-Jan.

    hi,
    >>>Is there a way to read a non-XML file using XPath in the Condition part of the Interface Determination?
    yes this is possible
    but it would be much easier if you'd just create an adapter module (especially if you have more complex conditions)
    that would check the content of the file (parsing it in java) and fill out any of the adapter specific attributes
    on the basis of which you could easily do the receiver determination
    I used this approach for VDA (also non XML files) and it worked very nicely
    Regards,
    Michal Krawczyk

  • Receiver determination step in the BPM and multiline container

    i have made a file2file scenario where:
    there is a BPM,
    the BPM has a send step which contains a receive step,
    a transformation that mapps the incomin message to two messages(Split-messgae case),
    and then a FORK step which sends the two messges to through 2 SEND steps to the intended receiver services.
    It didnt work......and i followed a blog->  /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure   ............... which suggested to have a
    "receiver-determination" step in the BPM before the SEND step.... it says that this
    "receiver-determination" step will put the message in a MULTILINE container..
    i m confused bout this step ........ can anybody explain.....
    please help

    HI,
    In receiver determination step selctthe multi line container element.in container editor create the one element with type as receiver and select the check box.
    A Receiver Determination step returns set of receivers configured for the output abs interfaces in the directory and puts it into receiver which is a multiline container receiver element
    Regards
    Chilla

Maybe you are looking for