Doubt with Receiver Determination

Hi,
Is it possible in Receiver Determination to suppress few data from the input xml and send out rest of the input data into mapping?
Example:
Input xml:
<EmployeeData> (1..1)
<Record> (1..unbounded)
<EmployeeData>
<Record>
  <Name>Employee1</Name>
  <ID>111</ID>
  <Unit>AA</Unit>
</Record>
<Record>
  <Name>Employee3</Name>
  <ID>333</ID>
  <Unit>BB</Unit>
</Record>
<Record>
  <Name>Employee2</Name>
  <ID>222</ID>
  <Unit>CC</Unit>
</Record>
<Record>
  <Name>Employee4</Name>
  <ID>444</ID>
  <Unit>DD</Unit>
</Record>
</EmployeeData>
In this case, Records with Unit as BB or CC should be ignored, rest of the Records has to be sent into the mapping.
Is this possible in Standard Receiver Determination?

Thanks Shiladitya, Bhaskar for your replies.
Now my question is if I have an input xml with all the Records having Unit as either BB or CC, in this case i should not determine the receiver and cancel the message processing.
another case would be like with above sample xml, which has both valid and invalid(BB,CC) values. Since there is at least one valid record, I should determine the receiver and in mapping i will suppress the invalid records.
Can you please suggest me if this is possible in Standard Receiver Determination?
I know this can be handled in message mapping/Extended Receiver Determination
My objective is to stop processing the message using Standard Receiver Determination if entire input is invalid.

Similar Messages

  • Doubt with receiver determination in configuration.

    HI All,
                   I have following scenario.
    SENDER>XI>RECEIVER , both sender and receiver are Synchronous, in this case how many receiver determenations do i need. will one receiver determination will do as the routing logic is already known to the system.
    Regards,
    Raj

    Hi,
    No you will need two receiver determination,if your sender is receiver after getting acknowledgement.
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.

  • Doubt in receiver determination

    Hi all,
    I have a SAP Business system that is configured in XI and an IDoc that comes from the SAP Business System.
    Already there is a scenario with the SAP BS and IDoc. Now I want a new scenario with the same BS and IDoc but a different receiver system. But it is not allowing me to create the receiver determination once again.
    Is there a way to configure the new scenario without altering the existing receiver determination. This is required because even though the IDoc is the same, the two processes are entirely independent and uncorrelated.
    Thanks.
    Regards,
    Sudharshan N A

    Hi,
    if you create a second RD with the same BS and IDoc -> how should the PI knows which scenario is related if an IDoc arrives?
    So you can use only one RD for this case...
    But you can add a second receiver service in the RD and work with conditions.
    Regards
    Patrick

  • Problems with Receiver Determination

    Hi everybody.
    I have started as XI developer 2 weeks ago.
    I'm trying to replicate de tbit40 exercises in our company system. when i try to make the 'Receiver Determination' somethings happen. It doesn't appear the part to write the system receiver.
    This is my scenario : file->XI->IDOC.
    I've defined in the SLD the hardware, including one PC, the XI server and the SAP 4.6c server.
    This is only a test in order to check the connectivity between the PC and SAP R3. I haven't configured yet the part of the IDOC in the R3 system. Is this necesary to view the 'subwindow' of system receiver?
    Thanks.

    Hi everybody,
    I'm having some problems with the sender agreement and the receiver determination, let me explain you the scenario: i'm trying to translate inbound plain text files to XML to a outbound interface for MDM.
    An XI consultant (expertise) has successfully created the inbound - outbound interface mappings for vendors catalog, it has worked good since he set it up, but now that i'm trying to create the materials mapping according to the manuals step by step, and when i try to create the receiver determination settings, i can't find my interface mappings, the pop-up window return 0 objects for interface mappings (that i have already created and linked with msg types).
    So what can i do? Do you have any idea?
    Regards.
    Gerardo.

  • Receiver Determination doubt

    Hi folks,
    I’ve a scenario file to IDoc and/or ABAP Proxy. Well, depends of the source file content, an example to clarify: if field01 is equal to ‘37’ goes to IDoc, else if field01 is equal to ‘38’ goes to ABAP proxy. I’m trying to do it without BPM, using the Receiver Determination editor condition, but I’m getting unable to do it, I’m always receiving both contents (37 and 38) for both IDoc and ABAP proxy, it seams that no routing conditions was applied.
    Is it possible to do this kind of content split without BPM? With Receiver Determination?
    Thanks in advance,
    Ricardo.

    Hi all,
    Thanks for the help! I already fixed the issue
    Guru, the Enhanced Receiver Determination didn’t work because it works only at msg level like standard Receiver Determination do. But, thanks for the tip, I tested this feature and it’s really useful when you want do determine your receivers at the runtime with substrings, doing arithmetic operations and so on.
    Dreamcatcher, I didn’t need adapter modules and BPM, my issue wasn’t so complex like your example. Well, as I have two different mappings I used some standard functions like equalsS to check if my field01 is equal to “37” and the createIf function to generate an IDoc node in case of true. For the other mapping program I applied the same logic, comparing field01 with value “38” and generate a node in case of true. At the end I got 2 msgs, one with all “37” records and another one with all “38”.
    Once again, thank you all and points rewarded
    Ricardo.

  • Receiver Determination Step For Synchrnous Send  in BPM

    Hi,
    How to use BPM Receiver Determination step for a synchronous send step?
    My scenario is to send a request to multiple receivers synchronously and get the response.How can i achieve this using Receiver Determination step in BPM.
    Regards
    Divia

    Hi Sreedivia,
    As far as use of synchronous message is concern with receiver determination step, it wont allow you to use Abstract Synchronous message interface in it.
    Even you cannot give multiple receivers without specifying any condition while creating Receiver determination  in integration directory.
    Regards,
    Sami.

  • Receiver Determination Question

    Dear all,
    I have to determine the receiver based on one input field.
    If Status is PICKUP or DELIVERY OR READY TO DELIVER, i have to send it to ECC, else i have to send to Error folder.
    I did with Receiver determination X-path, and working fine.The issue is if i give "PICKUP" in lower case like "pickup" it is going to error folder.
    Means this is case sensitive, How to handle this. In mapping we can transform to Upper case but how in x-path editor to handle this?
    Regards

    Hi Bhavana,
                        Best way, as you already suggested is that in the message mapping where you are putting values into the field Status, convert characters to upper case.Like this UDF below will convert all character to upper case thus receiver determination will work properly. The name of the UDF is changeCase. I have always used upper case for receiver determination.
    INPUT to the UDF=" PIckup"
    OUTPUT string=  "PICKUP"
    public class UpperCase {
    @param args
         public static String changeCase(String s)
              String a="";
              try
                   int i,l;
                   l=s.length();
                   for(i=0;i<l;++i)
                        if(s.charAt(i)>='a' && s.charAt(i)<='z')
                             a+=(char)((int)s.charAt(i)- ('a'-'A'));
                        else
                             a+=s.charAt(i);
              catch(Exception e)
                   e.printStackTrace();
              return a;
         public static void main(String[] args) {
              // TODO Auto-generated method stub
              String s="pickupa";
              System.out.println(changeCase(s));
    regards
    Anupam
    Edited by: anupamsap on Feb 27, 2011 4:31 AM
    Edited by: anupamsap on Feb 27, 2011 4:43 AM

  • Receiver Determination with Synchrnous Send step in BPM

    Hi,
       Is there any way to use BPM Receiver Determination step type with Synchronous send step ?
    Is it possible to send a request to multiple receivers synchronously and capture the response?
    Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Use malticasting, check out these blogs
    Multicasting using Receiver Determination Step in BPM
    and pattern number 6 in BPM with Patterns explained Part-2
    Thanks!

  • Receiver Determination step in BPM along with acknowledgement

    Hi All,
    We are planing to implement an  idoc to soap scenario .
    There are 2 receiver systems, A and B.
    The Idoc needs to be sent to either System A or System B based on the value of one of the fields in Idoc . Once the Idoc is sent to the receiver system ,the receiver system will be sending an acknowledgement back to the PI system. We are using BPM for this purpose.
    So,we need help in the receiver Determination step of the BPM and how to configure the acknowledgement back to the PI system
    Thanks & Regards,
    Rohit

    So,we need help in the receiver Determination step of the BPM and how to configure the acknowledgement back to the
    PI system
    I have seen the use of Receiver Determination step inside a BPM in case when you want to send multiple messages to one target system and then keep on receiving the response messages.
    In your case can you not use the Switch Block to help you decide the subsequent steps (once you know the value in the field from IDOC which tells you the receiver)....then in the corresponding branch of the Switch include Send and receive step. If you provide more details on what your BPM is expected to do then somebody can help you with the design.

  • 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

  • Content based receiver determination with Seeburger AS2 adapter

    We are planning to use the Seeburger AS2 adapter on our XI 3.0 installation to post custom XML documents to XI from external business partners.  The problem we have is to do the receiver and interface determination based on the xml message type that is submitted.  How can we identify what is the name of the root xml node (which is representing the message type that was submitted to us) during the receiver determination and specify conditions for the receiver determination based on this?  We can not use the Seeburger Classifier module here as this is only determining the mapping name to be used for an EDI conversion but can not handle any type of XML message.

    Rudy,
    I think the easiest way would still be the ReceiverDetermination and creating an XSD that contains the main important TAGs from the different messages.
    That should allow you to test for the existing of certain important TAGs or check the value of some TAGS.
    I don´t know about aedaptive-adapters, but I don´t think that they are Drummond-Certified. Check out...
    http://www.drummondgroup.com/html-v2/as2-companies.html
    Without this certification, a lot of your partners might not allow you to use this adapter if you wanna make AS2 with them.
    Greetings
    Stefan

  • ACK for receiver determination with 2 interface determination

    Hi Forum,
    I have a XI scenario, with a BPM, where i have a Send step,
    this send step corrsponds to a receiver determination in Configuration,  and this receiver determination has 2 interface determination,
    because the send step is like,
    BPM to Receiver1, through sender message interface MI_Sender1, but there are 2 different receiver message interface namely MI_receiver1, and MI_receiver2,
    .......hence 2 interface determination and 2 interface mappings accordingly,
    and now when in BPM, i choose "transport acknowledgement" for this send step, my BPM stucks while waiting for the acknowledgement, but...in MONI, i am receivng both the acknowledgement, but in PE, workflow descrition, it waits for acknowledgement and finally fails,
    what's the reason,

    check the workitems of both sender/receiver (ack) in moni (problem might be in BPM config).

  • Receiver determination - Xpath expression problem with count

    I am working with a scenario where I pick up records from a JDBC connection and if the number of records I pick up is less than a certain number I want to call a webservice.  If it is greater than the number I want to write out a file to be processed by a different process on the receiving end.  I have created the receiver determination condition with the following conditions:
    (/p1:MT_HOG_Data/row[count(row) > 3] EX)
    (/p1:MT_HOG_Data/row[count(row) <= 3] EX)
    The integration is always processing the second condition no matter how many records come in.  I have tried with and without the multiline option.  Can anyone help with this?
    I have searched through the forum and checked the following links without any resolution:
    http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/ab/13bf7191e73a4fb3560e767a2525fd/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    I can't find any examples where a count of records is checked in the expression editor.  Thanks in advance for any help.

    You can not use the EX operator in that case, because that is used only for node existence checks, not for value checks.
    Do you have a row number in your structure ? Then you could write the xpath expression with that counter tag and value
    Example: you want to send to receiver A if count > 3, else to B:
    you set  /rowNumber EQUAL 4 for sender A
    and /rowNumber NOT EQUAL 4 for sender B
    The condition is applied to the whole document. If one of the node/values are true for that condition, then the whole condition is set to true.
    Problem with that is that the second condition also will be true because nodes for that condition will be found
    better would be to have a rowcount tag in the structure. If that is not possible, you can use the "Enhanced Receiver determination" where you can define a mapping which determines the receivers. There you can do anything complicated you want.
    CSY

  • Receiver determination issue with PI Directory API

    Hi Guys,
    I was trying to use the PI Directory webservice API to automatically build Integration Directory Objects. I found an issue when creating Receiver Determination Object. Here are the details:
    My scenario is one to many, one Interface with several receiver Parties/Business Components. so I created a Receiver Determination with one party as the receiver using regular Integration Builder Tool and  I was trying to add more receiver by Directory API for the remaining receivers to the one which I manually. But I did not a way or option to add more to the receivers list, when I tried that it was simply overwriting the existing one when I used the Change Operation but when I try to use create Operation it complains that the Object already exists..
    Do you have any idea what is the better way use the API to add more receivers to the list.
    Thanks,
    Laxman

    There is no delta changes allowed through Dir API. We had to read the RD and change with additional receivers.
    Thanks,
    Laxman

  • INTERFACE DETERMINATION AND RECEIVER DETERMINATION DOUBTS???

    Hi Team
    I am having doubts regarding the Interafce Determination and the receiver determination. In pur landscape in our objects, some times i am seeing a Condition is being defined in the Interafce Determination  and sometimes  am seeing a Condition is being defined in the receiver determination . could you please let me know the differences between the above two.
    thanx in advance.

    Hi Nabhinav,
    Condtions in receiver determination - These conditions are evaluated and executed to determine the receivers for this incoming message.
    Condtions in Interface determination - These conditions are evaluated and ececuted to determine the Interface mapping to be called in order to map the source message to the target message.
    Please take a loot at these links for more details:
    http://help.sap.com/saphelp_srm50/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a8e3a8e5430e10000000a42189b/content.htm
    Also, search the SDN before posting you query.
    Regards, Gaurav.

Maybe you are looking for

  • MS Access and Date

    I have a MS Access table which contains a Date tag on each record. I want to retrieve records based on: Today - 1 month or Today - 2 weeks etc. Can anyone tell me the syntax? Thanks

  • Thief is still on my apple account, can I do anything to track him?

    Hi guys, I know there have been many existing discussions about retrieval of stolen ipads, but I'm one of the unfortunate ones who did not on Find My iPad (or it was turned off). However, after searching online, I found that photo stream is a method.

  • Adding/taking out spaces

    How do I add or take out a space on a document that I've already converted to a PDF?

  • JComboBox - Hide/Show Arrow Button

    hello all, im stuck. i want a jcombobox to have its arrow button hidden unless the mouse is over it rite now i have the jcombobox implenting the mouselistener . but i have no idea how to get the object to show/hide the arrow button. i read something

  • OBI LDAP SSL

    Hi all, I'm trying to to log in OBI by a LDAP using SSL.We can log using LDAP, we configure everything in Administration Tool and it works fine. But when we mark the SSL option it doesn't work. the error is: image . How can i solve this error? Where