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.

Similar Messages

  • Q? Receiver determination error ????

    Hi all.
    I wana transfer from R3 IDOC to XML with FTP service.
    Although I think configuration completely was finished, happens error.
    How can i correct?
    It's results from test configuration.
        Receiver Determination  <Not found>
           Internal Error
           HTTP connection to ABAP Runtime failed.
           Error: 403 Forbidden
           URL: http://R3:8000/sap/xi/simulation?sap-client=
           User: XIDIRUSER Check
    =======================================================
    Scenario : R3 IDOC -> FTP XML (import Ext Definition DTD)
    1) create Business Service System     : R3, FTP
    2) create Message Interface about FTP : MI_FTP_in
    3) create Interface Mapping R3 & FTP  : IM_R3_to_FTP
    4) import business system about FTP server : FTP
    5) create Receiver Determination : |R3|IDOC_inf
         sender : R3
               - interface : IDOC interface
         configured Receivers
               - Service   : FTP
               - Receiver  : FTP
               - interface : MI_FTP_in
               - Mapping   : IM_R3_to_FTP
               - Receiver Agreement: FTP_file_adapter
    6) create Interface Determination: |R3|IDOC_inf||FTP
         Sender   : R3
               - interface : IDOC interface
         receiver : FTP
         Configured Inbound Interface
               - Inbound interface  : MI_FTP_in
               - interface Mapping  : IM_R3_to_FTP
    7) create Receiver  Agreement : |R3|IDOC_inf|MI_FTP_in
         Sender   : R3
         Receiver : FTP
               - interface : MI_FTP_in
               - Receiver Channel : FTP_File_Adapter
    ========================================================

    Hi,
      Please can you check you Cache is updated or not.If cache is succesfull then check the Port & RFC Destination and Partner profiles  R/3 side and XI side.
    R u testing this scenario using WE19.
    If using we 19 then check the your sender information and receiver information (I mean to say Port,Parner...with outbound parameters )
    Regards,
    Venu.

  • 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

  • Receiver Determination Condition and XPATH

    Hi Everyone,
    I have a receiver determination with conditions and can not figure out why one thing is working, and the other isn't.
    As suggested in the following forum post, XPATH and RECEIVER DETERMINATION, I had to do the following to my XPATH expression to make it work.  The full xpath expression is this:
    (/p1:RenExtract_MT/Detail/CompanyCode = 9740)
    where
    p1 = http://company.com/xi/fin/
    but whenever I put in a condition it could not find a receiver.
    Hoewver, when I did this:
    //CompanyCode
    it worked.
    I did everything through the condition editor, many times, and didn't type anything in myself.  Is there a length limitation or something (I removed some data in here, the expression is really longer!).
    Any ideas?
    Peter

    Hi Peter,
    I do not have an explanation for this wired behaviour.
    But I can assure your, that your working solution, the //something expression is a good one and not inferior to a solution using an explicit, absolute path.
    Why is that: I can remember some benchmarks, where the //something expression always outperformed the other one.
    Regards
    Gregor

  • IDoc2FIle:Receiver Determination Error

    Hi all,
    I have done idoc2 file scenario and i got the status as receiver could not be determined in SXMB_MONI.
    Please Can anyone solve this issue?
    Thanks,
    Radhika

    Hi,
    I think you are not configured the receiver determination properly,
    Check you Xi Configuration in ID with the help of this Blog
    Test Your XI Configuration With The New Test Tool
    Regards
    Seshagiri

  • Receiver determination Condition. XPATH suggestion

    Hi All,
    I got a condition to put in receiver determination like..
    Condition 1 --> System_A
    //ZORDER03/IDOC/E1EDKA1(PARVW='LF')/ILNNR = SA       AND
    //ZORDER03/IDOC/E1EDKA1(PARVW='LF')/PARTN = 0000050570      AND
    //ZORDER03/IDOC/E1EDKA1(PARVW='WE')/LIFNR = 1433            AND.
    It it satisfies above condition, message should goto System_A
    Condition 2 --> System_B
    //ZORDER03/IDOC/E1EDKA1(PARVW='LF')/PARTN # 0000050570      AND
    //ZORDER03/IDOC/E1EDKA1(PARVW='WE')/LIFNR # 1433           
    The values will be coming differently for E1EDKA1(PARVW='LF')/ILNNR like XMl,KNF,DHD,File etc apart from 'SA'.
    It is working correctly only for 'SA', not working for remaining values.
    Is there any simple way to insert this conditions? Kindly suggest.
    Thanks
    Deepthi.

    Hello,
    Kindly check the below condition, assuming PARVW, ILNNR, PARTN are under same parent node i.e. E1EDKA1:
    For System A:
    //ZORDER03/IDOC/E1EDKA1[( (PARVW = 'LF') and ((ILNNR = 'SA') or (PARTN = '0000050570'))) or ((PARVW = 'WE') and  (LIFNR = '1433'))]  EX
    For System B:
    //ZORDER03/IDOC/E1EDKA1[not (((PARVW = 'LF') and ((PARTN = '0000050570'))) or ((PARVW = 'WE') and  (LIFNR = '1433')))] EX
    -Rahul

  • Webservices receiver determination error

    Hi...
        i am doing webservices to file scenario. In that i have done everything fine. But i am getting the error category as
    RCVR_DETERMINATION.
    I have checked in Tools------>Test Configuration.
    In that it is showing Interface mapping problem.It is displayinf as
    Runtime error
    Interface mapping Object ID 7C4A2690D561349FB04484680A71CBE3 Software Component F6D2A9E0E2B811D7C59AECB40A1145A5 does not exist in runtime cache
    Please kindly help in this  issue

    testing Config in ID but no Interface mapping found!
    Interface mapping Object does not exist in runtime cache
    What is Cache refreshing in XI ? Why and when we will do that ?

  • Receiver determination error

    we have sap proxy -> pi scenario.
    the interface was working fine, recently we had a client refresh ( test systems) and now when the message reaches xi it reaches with  sernder service name as 'ABTCLNT100' which is logical dest name , but the business system in sld is defined as 'ABT100' preveiously before the refresh it was coming as ABT100 but now it comes as ABTCLNT100 which fails the message once it reaches XI. Any ideas where can I look in backend system ?

    In TA SCC4, for the specific client you can change the logical system name.

  • Reg:Xpath in receiver determination

    Hello,
    My message strcture looks like below.
    Record
    Level1
    item
    field1
    Level2
    item
    field2
    Level3
    item
    field3
    There can be multiple items for each level.
    Here goes my condition.
    I have to send the message to the receiver system "A" only when filed2 value is same across all items under level2 i.e. if there are three items under level2, then field2 should have the same value  across the items.
    Can you please let me know how do we impliment this in the reciver determination step using xpath?
    Regards,
    Rahul

    Rahul,
    Your scenario can be achieved using Enhanced Receiver Determination. Using Xpath in Receiver Determination might become complex for your condition.
    Refer below links for Enhanced Receiver Determination.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3343
    Regards,
    Geetha

  • Receiver Determination Internal error

    When I try to test a Configuration that I just created, I get the following Receiver Determination error:
    HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL: http://rommi:8000/sap/xi/simulation?sap-client=001 User: PIDIRUSER
    Can someody please tell me what the issue is here and how to resolve it?
    I have currently two or three posts running here concurrently which may be reated to the same problems; it is  a new system install, and there are clearly a few niggling issues still with it.
    Kind Regards,
    Tony.

    Did you check this blog
    <a href="/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi Errors</a>

  • Receiver Determination conditions

    Hi All
    We have a scenario where a IDOC is trigerd in the ecc system and multiple IDOC is send to the XI system. Only when a certain field is 3  char or 5 char or 7char long should the file be dumped on the server. Is is possible to have a condition in the receiver determination to say if the field is between 100 and 999 or between 10000 or 99999 or between 1000000 and 9999999 to only create the files?
    Any help will be appreciated.

    hi,
    Its quite easy to achieve this requirement.
    You can edit the xpath in the Recv. Determination and then in combination with xpath standard functions achieve this.
    have a lo0k at my blog - Customise your 'XPATH' Expressions in Receiver Determination
    Also for xpath functions ref: http://www.w3schools.com/Xpath/xpath_functions.asp

  • ABAP PROXY CLIENT - NO RECEIVER DETERMINATION

    Hi,
    I am working in the following senario: ABAP PROXY -> XI -> RFC 
    I also created Receiver Agreement, Interface Determination and Receiver Determination. All the 3 are associated to a party. 
    When I execute the abap program the following message appears:
    <?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="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</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>N</SAP:Retry>
      </SAP:Error>
    I appreciate all of inputs

    Hi,
    <i><SAP:Stack>No receiver could be determined</SAP:Stack></i> is the problem when the receiver Determinaiton is not mentioned properly.
    By the way u have mentioned that all the three are associated to a party. So when u were defining Business system (For the system from whihc proxies are being sent), directly under <b>"Service without Party"</b> or under <b>"party"</b>.
    If u ahve mentioned your System from whihc proxies are being triggered in "Service without Party", then that should have been causing receiver determination errors.

  • XPath Error in Receiver Determination

    Hi All,
    I hav an outbound message coming out of ERP (Non IDoc). I have to route the message based on the field DESTINATION in the message. The payload in the SXMB_MONI is as follows.
    <?xml version="1.0" encoding="utf-8" ?>
    <nr1:OLabelling_OB xmlns:nr1="http://cpe.com/cpe_ftp_wms/Labelling/OL">
    <Label>
      <b><DESTINATION>XXXX</DESTINATION></b>
      <PRPRORD>0001005683</PRPRORD>
    </Label>
    </nr1:OLabelling_OB>
    In the receiver determination, I hav chosen the XPath button and given the following value
    <b>/nr1:OLabelling_OB/Label/DESTINATION</b>.
    This doesn't work. i had also tried giving the namespace and the prefix as
    <b>nr1</b> <b>http://cpe.com/cpe_ftp_wms/Labelling/OL</b>. but that dint help either.
    If i remove the condition, then it is working fine.
    Any help in this regard?
    Thnx in Advance.
    Anil

    I had activated and checked......it was not getting displayed.......
    But i checked the xpath rules and used a work around solution for this. as per the xpath rules if i enter xpath as //DESTINATION, it picks up the DESTINATION field from anywhere in the document. and that worked.
    Thnx for ur help so far...
    anil

  • Error evaluation condition in receiver determination

    Hi,
    In XI 3.0 stack 11, for the incoming file, the receivers are determined based on the content of the input data.
    In the receiver determination the conditions were given for each receiver and it was working fine.
    Now, all of a sudden, its giving error as 'error in evaluating the condition in receiver determination' with some program name as CL_SAI_SWF_RULE_ENGINE (CX_RD_PLSRV).
    Could any one help me resolving this issue? Let me know if you need any more details w.r.t the issue.
    Thanks in advance!!
    Regards,
    Sasikumar

    Hi,
    I'm experiencing the same problem.  See message below. Also running SP11.  What might be wrong with the xpath expression?  I have removed all namespaces from the xpath and the input xml message.  Any suggestion is more than welcome!
    Kind regards, Guy Crets
    <?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">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem evaluating a condition: The exception occurred (program: CL_SWF_RLS_CONDITION==========CP, include CL_SWF_RLS_CONDITION==========CM00Q, line: 160)</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the receiver: Problem evaluating a condition: The exception occurred (program: CL_SWF_RLS_CONDITION==========CP, include CL_SWF_RLS_CONDITION==========CM00Q, line: 160)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Using substring in the XPATH expression for Receiver Determination

    Hello, I need a little help please.  In my receiver determination, I have a condition and I need to do a "not like" check.   Basically, if the first three positions of the source field does not start with a specific code, then I need to execute the condition.   The condition editor does not support a "not like" operand, so I went to the XPATH expression editor.  I tried to used the XPATH substring function to get the first three characters and then do a "not equal" operand, but it doesn't appear to work.  There are not any runtime errors, but the condition is not executing.  Any ideas on this?  Does the XPATH expression support the substring function?

    Hi Jesse,
    Can you please explain what is the meaning of http:// in the statement
    /p1:PRODUCT/MATNRhttp://not(substring(.,string-length(.) - 2) = '123')
    Please explein, I am having same issue. It is not working here.In My case it is
    /p1:ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNR[http://not(starts-with(.,\"D\"))]
    also tried with
    /p1:ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNR[http://not(starts-with(.,'D'))]
    Thanks in advance!

Maybe you are looking for

  • Objects in master slide disappear

    Hi, I got a problem with my master slides. I don't know why, but in some projects (not all), at some point, some objects (not all) in the master slide disappear. They are in the timeline, but we cannot see them in the document window display nor in t

  • CS5 Master Collection error: Installer failed to initialize, help?

    When I first opened the CS5 installer, it worked perfectly, except my computer crash halfway through the installation. Now whenever I try to install an application, when I open the Adobe Installer, once it finishes Initializing the installer, I immed

  • How to install Plugins for Photoshop Elements 11

    I want to install a Photoshop Plug In Were I get them? How to install them? My OS: Win 7 I´ve PSE11 Greets from Germany

  • Toshiba laptop hardware NO SOUND issue - I've tried everything!!! PLS help!

    I have a Toshiba Satellite tablet laptop Model R25-S3513 model... the sound initially started acting weird, sounding funny like skipping, or fluttering (?) eventually laptop internal speakers stopped working all together. I bought some head phones, t

  • Scalability (number of connections)

    I am developing a client-server distributed application that will potentially have a large number of clients. I am wondering what the limits are as far as the number of simultaneous connections. With JDK 1.4.x I know that this number goes up drastica