Multiline Check in Receiver Determination

Hi All,
Can anyone explain me the exact functionality of the multiline checkbox in receiver determination.
Lets say I have the following input message
<node1>
       <value>21</value>
</node1>
<node1>
       <value>22</value>
</node1>
<node1>
       <value>23</value>
</node1>
I want the receiver to be determined only if the value is 23, does multiline has anything to do with this.
Regards,
Varun.

Hi,
In conditional receiver determination when you check multiline that signifies that you are expecting
1. the values of the field to be multiple and selecting multiline you consider the bunch of the values to be in one array of string.
2.And when you put the condition to check for a specific value it checks in the whole array whether ant element of the array matches with the condition.Like the condition(23) IN the array or not.
So your query is similar.You can do with this.
cheers,
Abhishek.

Similar Messages

  • Receiver Determination error -  IDOC TO FILE

    Hi ,
        Scenario :  IDOC TO File
         Error generated while iam doing this scenario. Please help me.
          <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Venubabu.

    Hi
    Check for  sender details . Sender interface must be the IDOC.
    Open SXMB_MONI and check your msg fro the sender system details. They match exactly the details in Receiver Determination.
    Check the Receiver Determination is configured correctly. i.e R/3
    Verify all the configurations like SM59, Partner Profile/Logical systems. etc. Also check in SM58 of R/3 system.Make sure that All the objects are activated in the Directory.Refresh the cache.Verify is the business system is pointing to correct R/3 system . Go to Business system/Service->Menu->Adapter specific identifiers in the directory
    You can test your configuration with sample
    payload.
    In ID goto to TOOLS -
    > Test Configuration for testing.
    Hope in this way you can still find at which point the interface goes wrong

  • Error while creating Enhanced Receiver Determination

    Hi,
    My Scenario is File to File and in my scenario i am using Extended Receiver Determination as  per requirement.
    In  Receiver Determination(Extended) even though i am entering Operation Mapping ..an error occured
    Checking advanced receiver determination...
      Enter a mapping
    I thought it is because of Cache refresh ..and i have done it ..But no use..Gettig the same  error...
    Can anyone please tell me where i went wrong??and How to fix this issue??

    I thought it is because of Cache refresh ..and i have done it ..But no use..Gettig the same error...
    did you perform a full cache refresh also? If you have Operation Mapping defined with receiverDetermination as target and if it is activated then there should not be any problem in selecting the same in Receiver Determination?

  • Enh receiver determination

    Experts,
    is it possible to restrict empty messages from being processing in PI, i.e the target system should not receive these messages at all?
    I am using a enhanced interface determination.
    my requireement is if there is no target message generated PI has to stop this message.
    I checked in SOAP receiver channel, i dint see any useful help there.
    I dont think I can achieve this using Enhanced Receiver determination.... or can I?
    I also checked in Receiver determination condition too.. I dont think we can do it over there as well..
    any one faced this with Reciever SOAP please let me know.
    Thanks,
    Venkat.

    if your target system is file you have the option
    Select the Handling of Empty Messages:
    u25CB       Write Empty File
    An empty file (length 0 bytes) is put in the target directory.
    u25CB       Ignore
    No file is put in the target directory.
    more @ http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm

  • 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

  • Multiline in receiver determination

    Dear all,
    my payload is like this:
    <item>
          <WERK>PLANT_A</WERK>
          <RCODE>99</RCODE>
        </item>
        <item>
          <WERK>PLANT_A</WERK>
          <RCODE>0</RCODE>
        </item>
        <item>
          <WERK>PLANT_A</WERK>
          <RCODE>0</RCODE>
        </item>
    Only if WERK is like PLANT_A  AND RCODE is 99 then he should send
    the message else he should ignore it automatically.
    So in this message are three recipes in one message to the same plant,
    but only one got an error.
    I also marked multiline in XPath editor, but he does not send a message, but
    stop the complete message.
    My conditions
    /rfc:PROCESS_MESS_GET_RETURN_CODE/MSHD/item/WERK = PLANT_A   AND
    /rfc:PROCESS_MESS_GET_RETURN_CODE/MSHD/item/RCODE <> 0
    I also tried:
    /rfc:PROCESS_MESS_GET_RETURN_CODE/MSHD/item[WERK='PLANT_A']/RCODE='0'
    with operatro EX, but it also doesn't work.
    Is it possible with a normal receiver determination or do I have to use the extended version?
    Thanks
    Regards
    Chris

    Thanks for your replies.
    I finally made it like this:
    /rfc:PROCESS_MESS_GET_RETURN_CODE/MSHD/item[RCODE>0]  EX
    AND
    /rfc:PROCESS_MESS_GET_RETURN_CODE/MSHD/item/WERK =  "PLANT_ID"
    This seems to work even with multiline payloads
    Regards
    Chris

  • Condition check (based on sender file name) at receiver determination step

    Hi,
    My scenario is File to AS2 (Sender side file adapter and receiver side AS2 adapter)
    We have 5 customers, but the source location is same to pick the files, Here we are not using any ESR objects.
    Based on the source file name PI need to determine to whoom this file need to send at receiver determination step
    Craeted objects
    1 Sender CC,
    1 Sender agreement,
    1 Receiver determination
    5 Interface determinations
    5 Receiver agreements
    5 Receiver CCs.
    Could you please provide me your valuable inputs.
    Thanks
    Ramesh

    Hi Venkataramesh,
    I understand your scenario as, picking files (different file naming standard for different target customer) from one source folder. Based on file name, that payload should be sent to corresponding target customer. You have mentioned u201CHere we are not using any ESR objectsu201D. I can see two reasons for this decision
    1. PI is used to route the messages, i.e., no need to transform the payload. OR
    2. Files can binary files like PDF, ZIP, JPG, GIFu2026
    Now I can see two possible solutions
    1.     Simple solution, as proposed by u201CPrabhu Rajesh Janardananu201D, make it into 5 different scenarios  (5 sender channels).
    2.     Bit complex solution, only one sender channel, using extended receiver determination
    Step 1:- In Sender File channel check u201CAdapter u2013 Specific Message Adapteru201D in Advanced tab. File Name should be checked.
    Step 2:- In Receiver Determination, Select Type of Receiver Determination as u201CExtendedu201D. http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce2a423a8e5430e10000000a42189b/frameset.htm
    Step 3:- Do a Graphical Mapping (use it Operation Mapping in Receiver Determination).
    Step 4:-
    Source and target of graphical mapping will be same (below), because you donu2019t want to access input payload (it can be XML, flat file, JGP, GIF and you donu2019t have its structure).
    <Receivers>
       <Receiver>
          <Party agency="" scheme=""></Party>
          <Service></Service>
       </Receiver>
    </Receivers>
    Step 5:- Write a UDF in Graphical mapping as below. http://help.sap.com/saphelp_nwpi71/helpdata/EN/43/03612cdecc6e76e10000000a422035/frameset.htm Pay attention to method declaration
    public String Determine_Receiver( Container container) throws StreamTransformationException
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(u201Chttp://sap.com/xi/XI/System/Fileu201D,u201CFileNameu201D);
    String valueOld = conf.get(key);
    //Put your logic here
    if (valueOld.equal(u201Cuser1u201D)) {
    return u201Cuser1u201D;}
    if (valueOld.equal(u201Cuser2u201D)) {
    return u201Cuser2u201D;}
    if (valueOld.equal(u201Cuser3u201D)) {
    return u201Cuser3u201D;}
    Step 6: Now use this UDF to map to u201CReceiveru201D and u201C Serviceu201D.
    This solution need more fine tuning.
    Regards,
    Raghu_Vamsee
    Edited by: Raghu Vamsee on Jan 8, 2011 5:56 PM

  • "receiver-determination" step and multiline container

    i have made a file2file scenario where:
    there is a BPM,
    the BPM 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

    Receiver Determination step will return all receivers that are configured in Integration Directory, for that particular message interface, having the BPM as the sender service.
    So, more than one receiver may return. Hence you need to define the receiver container as a multiline container.
    Here you go with explanations- for Receiver Determinations in BPM-
    http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm

  • XPath in receiver determination: Check content of elements that exist 0..n

    Hi all,
    I have a simple requirement in a receiver determination. In the structure of the XML message, there is a node "STATUS" with an element STATUS_CODE. This STATUS node can appear 0 or  9999 times.
    I want to check if there is ANY STATUS with STATUS_CODE = "0", and if so, the message should be sent to a certain receiver. How to to that?
    Will that be the solution: (//STATUS/STATUS_CODE = 0)?
    Thanks,
    CHRIS

    > So it seems to me that the operator != can't be used to check a 1...n element? What might be the reason for this?
    I am not sure how != works, it is not documented well.
    I suppose NE means: does not exist.
    So if any node STATUS_CODE with value 1 exists, then the result is false.
    If you want an existence check if this, you should apply this:
    //STATUS [STATUS_CODE != "1"]  EX
    See also:
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/ab/13bf7191e73a4fb3560e767a2525fd/frameset.htm
    (scroll to the bottom)
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination

  • 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

  • No receiver found in Receiver Determination

    Hello Experts,
    Sub: Calling integration process (which in software component1) from sender service interface_Out (which is in another software component2) in Receiver Determination Fails.
           There are two software components, S/W C1,  S/W C2,
            In  S/W C1,->
            Integration process (IP1)created in S/W C1, with name space NS1,
            Service interface1(abstract) SI1 with message type MT
            In S/W C2,->
            Sender service interface2 SI2(outbound) with message type MT with namespace: NS2
    (MT message type, in both service interface holding the same,
    used SI1 In receive step in IP1.
    Interface Determination from BS2,SI2,NS2<->   IP1,SI1(No mapping).)
    In Receiver Determination,
    Business system BS2;
    Sender Service Interface: SI2;
    Name space: NS2, 
    In Receivers  :  IP1
    Problem is :  do not find this receiver.
    I have to call this process, like this.  Please help on this.
    Use case is:
    single Soap request is coming, many application are using the same using common Receiver determination( which in S/W C2), 
    Now i have to use the same receiver determination to send this message in IP1 which is in SW C1;  
    -> any alternative solutions for this                      
    Thanks,
    Deviprasad.

    hi,
    when you use Integration Process the configuration in the ID must be
    Receiver Determination 1:
    Sender System: XXX
    Enterprice Services (outbound)
    Namespaces
    Target System: Integration Processes
    No Mapping requiered in Interface Determination
    Line:
    Receiver Determination 2::
    Sender System: Integration Process
    Enterprice Services (Abstract)
    Namespace
    Target System: YYYY
    No Mapping requiered in Interface Determination
    Sender Agreement=1
    Receiver Agreement=2
    Interface Determination=2
    Communication Channels=2
    Take in mind that in the Interface determination you have to define as receiver structure the Service Interface (Enterprice Service in PI7.1) type Abstract. if you cant select it delete all filter in the popup qhen you have to select the Inteface in the reciver structure.
    Check the Integration PRocess if you define the SI_XXX_abs in the reciver step.
    check all changes in the ESR were activated
    Check this out and let me know
    Edited by: Rodrigo Alejandro Pertierra on Sep 3, 2010 2:42 PM

  • BPM step Receiver Determination

    Hello Friends,
    the operator "Receiver Determination" - how can be used in BPM? Is there any weblog or example for that?
    Best Regards,
    F.K.

    check this link
    Receiver Determination in BPM
    Use of Receiver determination step in BPM

  • 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 error in Xpath

    In   receiver determination step,  I am specifying two condition check.
    The problem is that XI server is checking the second condition ahead of the first condition.
    Eg:
    I have a structure like Record in the input file:
    Record:
       Field1
       Field2
       Field3
    In specifying condition, I have a condition like this:
    If   field1 =  XY AND  field2 = AB
    Then   (do..)
    But the XI server is reading field2 first and not field1 . Why is this so?
    Thanks a lot.
    Shaily

    Check the "AND" condition properly make sure it is not a "OR" condition in xPath.
    Refresh the cache by tcode sxi_cache and try again.

  • How does Receiver Determination Step in BPM work?

    Hi,
    I'm still in trouble with the Receiver determination step in the BPM...
    Normally, when you use the send step, it sends the message in the flow context. Am I right, when I suppose, that when you put the receiver determination step before this send step, the send step sends the message in the context of the receiver determination - that means: if in the Integration Directory, there is receiver determination (with some conditions) and these are matched with the message in the send step, the send step sends it into the receiver, that is defined for the condition and not in the flow context... Right?
    Please, write me just your experiences and not links to the documentation. I read it all, but... :O(
    Thanx 4 your help, Peter

    Hi Peter,
    The receiver determination step is used to get a list of receivers for a subsequent send step.It makes a call to the receiver determination you configured in the Integration Directory and returns the receiver list.
    Here you specify the send context and the multiline container element for the receiver list.
    The send context is a string.The send context can have any string value and depending upon the condition in recvr determination you can route to multiple receivers.
    Regards
    Priyanka

Maybe you are looking for

  • How do I get rid of text in the browser fill area after site publication?

    I want to thank all ot the folks who have helped me here in the Adobe Community. I'm new at this thing and have done fairly well with the exception of a few problems between the monitor and the chair. I have published my site on the business catalyst

  • Setup of Lis. extractor

    Hi ! Can I get a material of the process of setup and automatic uploading of Lis. extractor ( 2LIS_13_VDITM, 2LIS_03_BX - compress process etc. ) . Thanks Moshe

  • Starting/Stopping 9iAS Infrastructures with batch files

    I created the following two batch files to start and stop my iAS Infrastructure. I found that if I used the services settings of automatic, all did not go well. start.bat: @ECHO OFF cls ECHO About to start the listener net start Oracle9ias_InfraTNSLi

  • Steps to create  rfc destination

    hi, what are the steps to create rfc destination

  • Problems installing Safari in Windows 7

    Windows 7 Intel Q6600 4 GB DDR2 Avira AntiVir Personal I am logged on as an Administrator. I downloaded the Windows version of Safari 4. When I try to install it partway through it stops with this error message: "The installer has insufficient privil