Error in enhanced receiver determination

Hi Experts,
I am trying to implement a scenario in which  i have to get the receivers at run time by doing a  lookup to a file which stores the destinations.
i am getting the error that no receivers could be determined.
thanks,
Anika

hi,
you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
please find the link which deals with how to impliment lookup for file adapter.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
regards,
navneet.

Similar Messages

  • Intermittent JDBC error in Enhanced Receiver Determination

    Hi,
    I have an interface that use Enhanced Receiver Determination in PI 7.1 EHP1.
    The database is DB2 on i5/os 6.1
    Sometimes message ends in error :Error when determining the receiver: Problem while determining receivers using interface mapping: Runtime exception occurred during application mapping com/sap/xi/tf/_HI01_to_ReceiverDetermination_;
    But the same message with same values is successfull earlier.
    This is not a design problem; the interface is working well 95% of the time.
    I found some JDBC error in NWA java logs:
    Error in sax handler parsing request: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.
    Error when calling an adapter by using the communication channel CC_RECEIVER_JDBC_PIDB2 (Party: *, Service: INTEGRATION_SERVER_PX1, Object ID: cb7ea38fb2ac3a06b12d79f5ade2bcf7) XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    Thrown:
    com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'Error processing request in sax parser: Error when executing statement for table/stored proc. 'table' (structure 'statement'): java.sql.SQLException: [SQL0104] Token "BUSINESS_SYSTEM" was not valid. Valid tokens: FOR SKIP WITH FETCH ORDER UNION EXCEPT OPTIMIZE.'.
    at com.sap.aii.af.service.api.AdapterAccess.sendMsg(AdapterAccess.java:214)
    at com.sap.aii.af.service.api.AdapterAccess.execute(AdapterAccess.java:283)
    at com.sap.aii.ibrun.server.lookup.AdapterProxyLocal.execute(AdapterProxyLocal.java:119)
    at com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.execute(SystemAccessorInternal.java:76)
    at com.sap.aii.mapping.lookup.DataBaseAccessor.execute(DataBaseAccessor.java:74)
    at com.sap.aii.mappingtool.flib7.SelectSingle.selectSingle(SelectSingle.java:54)
    at sun.reflect.GeneratedMethodAccessor607.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:592)
    Any idea? Can high volume cause the JDBC Receiver to fail?
    Martin

    hi,
    you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
    please find the link which deals with how to impliment lookup for file adapter.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
    now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
    regards,
    navneet.

  • Error in Enhanced Receiver Determination - UDF

    We have a requirement to determine the receivers of the message dynamically at runtime. From one of the blog I i got the how to do material.
    I have created the receivers according to age.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Person xmlns:ns0="http://kj3.com">
       <Person>
          <Name>Kevin</Name>
          <Age>28</Age>
       </Person>
    <Person>
          <Name>Joseph</Name>
          <Age>29</Age>
       </Person>
    </ns0:MT_Person>
    this is the mapping program
    public void Service(String[] age, ResultList result, Container container) throws StreamTransformationException{
    int i;
    int a1=0;
    int a2=0;
    int b[] = new int[10];
    for(i=0;i<age.length;i++)
    if(age<i>.equals(ResultList.CC))
    b<i> = Integer.parseInt(age<i>);
    for(i=0; i<age.length; i++)
    if(b<i><=25 && a1==0)
    result.addValue("A1Service"); a1=1;
    if( b<i>>25 && a2==0)
    result.addValue("A2Service"); a2=1;
    the program compiled successfully
    but I am not able to see any thing in the receivers in the result window.
    Please advice me

    Hi Kevin,
    I may not fully understand what you need to do, but from what I can tell your UDF only needs the following:
    int a1=0;
    int a2=0;
    for(int i=0; i<age.length; i++) {
      int b = Integer.parseInt(age<i>);
      if(b<=25 && a1==0) {
           result.addValue("A1Service"); a1=1;
           result.addContextChange();
      } else if( b>25 && a2==0) {
           result.addValue("A2Service"); a2=1;
           result.addContextChange();
    You will need to use your UDF in two places:
    1) Age --> UDF --> removeContext --> Receiver 
    2) Age --> UDF --> Service
    Note: Set the context for Age to MT_Person for both of the above.
    -Russ

  • Enhanced Receiver determination - Fatal Error.

    Hi All,
    We are using Enhanced Receiver Determination.
    We are getting Fatal error in SXMB_MONI though our Intarface mapping is working correctly but when tried testing from runtime work bench we are getting error.
    The error message shows
    SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem when determining the receiver when using the Interface Mapping: During the application mapping com/sap/xi/tf/_Find_Receiver_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
    Please suggest any setting needs to be done.
    Thanks
    Regards,
    Ashwin

    Hi Ashwin,
    Just check if the condtion is correct. Also, look for some typo error as the name is case sensitive.
    Also, trigger a delta cache refresh for this receiver determination object after modifying the object.
    This should solve your problem.
    Regards, Gaurav.

  • 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

  • Problem with Enhanced Receiver Determination

    Hi Friends,
    I am doing the enhanced receiver determination scenario,  But it is giving the
    error in SXMB_MONI like this
    <?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 while determining receivers using interface mapping: Fehler beim Parsen der Empfänger-Liste.Länge des XML-Dokuments 264</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: Fehler beim Parsen der Empfänger-Liste.Länge des XML-Dokuments 264 Problem while determining receivers using interface mapping: Fehler beim Parsen der Empfänger-Liste.Länge des XML-Dokuments 264 Fehler beim Parsen der Empfänger-Liste.Länge des XML-Dokuments 264 System expected the element 'Receivers'</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    this is error is coming in the SXMB_MONI
    THE DATA type(Receivers) we create in basis component is comes automatically?
    are we have to create?
    in my scenario i creted manually,
    is it compulsory to specify the properties for the party and agency?
    is it compulsory to create 2 Receiver structures in msg structure?
    if yes what r those, actually i used from sap.help.com,
    Can any body should give me the solution for this, regarding mapping and configuration , if anybody experienced this scenario. Pls . give me  the guidelines to do.

    Hi,
    the mapping creating the receiver list is not producing the required element "Receivers" from Namespace "'http://sap.com/xi/XI/System". Look to the operation mapping given in the enhance Receiver Determination (IB Directory)  and detect the corresponding mapping program (ESR).  Copy the source payload from MONI, test the mapping program and correct it.
    Regards,
    Udo

  • Error in Extended Receiver Determination

    Hello Experts,
    We are working on a scenario where, we are using Extended Receiver Determination.
    In this reveiver determination mapping we are doing JDBC lookup and some receivers are determined on that basis.
    Also, we have a default receiver in mapping.
    We are using: SAP PO 7.4 SP 7
    We are getting below error while testing from WSnavigator/SOAP UI, but mapping works when we test it in ESR.
    Error:
    <s:SystemError xmlns:s='http://sap.com/xi/WebService/xi2.0'>
              <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: Error while executing receiver determination mapping.
    at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:773)
    at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:530)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
    Kindly help.

    hi,
    you r trying to impliment Lookup for the file adapter which is not synch in nature and hance u r not getting the responce back.
    please find the link which deals with how to impliment lookup for file adapter.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file%252blookup%252bin%252budf.
    now once u get rhe runtime receiver u can perform enhanced receiver determination (write a simple UDF)
    regards,
    navneet.

  • Enhanced Receiver Determination in PI7.1

    Hi,
    We have a requirement where in we have to use the Enhanced Receiver Determination for one of our scenarios for choosing the receiver.We are on PI7.1.
    As of now,we have mapped a constant rcvr(Test_Supplier) to the Service in the message mapping from our source to the target -Receivers, as we do for Enhanced Receiver determination.The rcvr determination choosing Extended and the correct Operation mapping has been configured.The coresponding Interface determination and Receiver agreements have also been configured.
    When trying to test this by posting a payload through RWB,we get the No_Receiver_Case_Async error.
    Is it necessary to map the party field also in the message mapping?Am I missing something here?Kindly advise.
    Thanks and Regards,
    Induja

    When trying to test this by posting a payload through RWB,we get the No_Receiver_Case_Async error.
    Is the Mapping which you developed to determine the receiver(s) able to give the appropriate output? Apart from cache problem, this can also be the issue when the mapping does not produce i.e. no proper service is populated in the corresponding node....the service must be actually present (and active) in ID
    Regards,
    Abhishek

  • 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

  • Enhanced Receiver Determination with RFC Lookup

    Hi All,
    I am building an interface with Enhanced Receiver Determination. Scenario would be that the Receiver Systems would be stored in a Z table in SAP ECC, and in PI Receiver Determination I am doing an RFC look up to find the systems, and using those.
    I built the mapping for Receiver Determination, and it tested fine in ESR. But while Creating the Receiver Determination in Integration Directory, After I specify the Receiver mapping name, and put the RFC channel name for the RFC parameter, it doesnt allow me to save the Receiver Agreement with a run time error message
    "Link from Receiver Determination  | <Sender>| <Interface>| * | * to object type "Channel" with role "122474913b1311deaadb42057dd8b002" is not permitted"
    My question is a) if the RFC lookup allowed in the mapping for Receiver Determination?
    B) if yes, am I missing someting or is it a system issue?

    i have seen Enhanced RD with lookups that work. Have to say it was not a RFC lookup used but rather a DB look in one of the implementations i had worked with. But still I really dont think a RFC lookup should be an issue.
    Troubleshoot the lookup mapping to be working other than in the enhanced RD (i.e independently) .
    if you head no where, i suggest opening a OSS note.

  • Enhanced Receiver Determination in Synchronous Scenario

    Hi,
    my synch scenario with standard Receiver determination is working fine.
    the service interfaces i used are SI_OutSynch_EmpInfo_Request and SI_InbSynch_EmpInfo_Provide.
    I am now trying to apply enhanced Receiver determination for the same synch scenario.
    For this, in ID, in my Receiver Determination object i selected the radio button Extended, then it is asking for an operation mapping. infact it is asking for an OM with sender Interface=SI_OutSynch_EmpInfo_Request (from my swcv) and Receiver Interface = ReceiverDetermination (from SAP BASIS swcv)..
    So I logged into ESR, and created an OM_test_EnhancedRD, with sourceInterface=SI_OutSynch_EmpInfo_Request (from my swcv) and TargetInterface = ReceiverDetermination (from SAP BASIS swcv)
    But when i tried to activate the OM_test_EnhancedRD, it is not getting activated, and giving below error:
    Interface modi are different. Source interface Operation SI_OutSynch_EmpInfo_Request | http://mycomp.com/myns is synchronous. Target interface Operation ReceiverDetermination | http://sap.com/xi/XI/System is asynchronous
    So my queries are:
    1. is for synch scenarios, if receiver information is part of the request payload, how can we apply the extended Receiver Determination, so that the Receiver is determined dynamically.
    2. or is there any synch version of ReceiverDetermination (from SAP BASIS swcv) available.
    thanks in advance.
    madhu.

    in this case, does SAP provide synch version of ReceiverDetermination SI, so that we can use that in OM for enhanced Receiver Determination.
    If you have a look at the blog-reference given by Ravi you will find a way on how to make the ReceiverDetermination Si synchronous or work with the same async SI.....for quick reference below is the way mentioned in the blog:
    From the blog:
    Option 1:
    A quick and easy way to allow for synchronous enhanced receiver determination setup is to circumvent the check that prevents
    a synchronous interface to be matched to an asynchronous interface in an interface mapping. This can be done simply by
    manually entering the name and namespace of the ReceiverDetermination interface object (e.g. 'ReceiverDetermination'
    and 'http://sap.com/xi/XI/System' respectively) for the target/receiver interface in the interface mapping, but leaving the value for
    the Software Component Version empty.
    Option 2:
    Select Modify and then change the mode to synchronous. Since a synchronous interface requires an input message as well, you
    can reuse the Receivers message type used in the output message - it doesn't really matter as long as some message type is
    used.
    Both of the above options are available under the Applying the Workarounds section of the blog
    Regards,
    Abhishek.

  • Enhanced receiver determination

    why we assign the abstract message interface ReceiverDetermination as the target interface.can we achieve enhanced receiver determination without this abstract interface.I have gone through sap help and some blocks of sdn also but still its not clear to me that whats the role of this abstract interface.

    Hi
    For receiver determination::- See
    http://help.sap.com/saphelp_nw04/helpdata/en/26/5ccd3bb4560f01e10000000a11402f/content.htm
    About
    Abstract Interface :
    The abstract interface work both inbound and outbound interface(Bi directional).
    BPM can process messages only through "abstract interfaces" al though Receive and Send steps can have interfaces other then "abstract interfaces"  all other intermediat steps of BPM needs "abstract interfaces"
    Hope it helps
    regards
    Piyush

  • PI 7.1 - Parameter in enhanced receiver determination

    Hello experts,
    I am working on PI 7.1.
    I defined a scenario where I am using an enhanced Receiver determination to determine the list of target services thanks to an operation mapping and its related message mapping. I'd like to pass a constant value from this receiver determination to use it in the message mapping.
    To do so, I set an import parameter in the operation mapping and the message mapping and made the needed binding.
    I can then see this parameter in the receiver determination, but I can not put a constant value in it and then activate my configuration..
    Do you know why ?

    Hi
    I have not used this feature yet, however I dont think that this is a bug.
    the Parameterized mapping feature is for ID->OM->MM & not for RD.
    more info
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/bbb7fd90f5332ee10000000a11466f/frameset.htm
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/909e33f0-738c-2a10-4f87-ce73398bcf08
    Regards
    Vishnu

  • Enhanced Receiver determination - for Integration Process

    Hi,
    Just wanted to confirm that if it is possible to have more than one Receivers, with Enhanced Receiver Determination and one of the Receiver happens to be Integration Process. I know with Enhanced Receiver Determinations you can find more than one Receivers at Run time, however the key question is, if in addition to normal Receiver Systems (like SAP R/3 or Web Services etc), if we can also kickoff Integration Process within Enhanced Receiver Determination.
    Thanking in advance.

    as said by Udo Martens
    Assumedly the different receivers are using different Inbound Interfaces (a BP is using an Abstract Interface). Therefore you would need for each different receiver a own Interface Determination referring a own mapping.
    refer this wiki  http://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=131760630&version=5 to Know how to  configure Enhanced receiver determination  and Interface determination for each receiver .
    In your case one of the receiver will be Integration process

  • Can I Using Enhance Receiver Determination?

    Hi,
    Can I used Enhanced Receiver Determination to push data to Receiver 2 , based on the response coming from Receiver 1 ( a BPM that that has a synchronous send step and fetches response from SAP through a proxy) ? If yes, how ?
    thanks & regards,
    XA

    We can have just a send step and for that send step we can configure a condition based receiver Determination right?
    yeah correct
    > and Can you throw some light on how to deal with queues, in case if the response doesnt come from SAP to PI due to some reason, which can happen in real time?
    it will thhrow time out exception or message expired exception, if you want to do exception handling do it accrodingly using Control step.
    Regards,
    Raj

Maybe you are looking for

  • Tecra S1 video out does not work

    Hi, I tried to connect my TS1 via cinch to a beamer. Unfortunately because of other reasons I can not use VGA. However I do not get any signal at all. I tried nearly everything. I installed Windows XP with Toshiba Recovery CDs again, but it does not

  • Every time I try and add a Title to my movie project, iMovie crashes!

    Every time I try and add a title to my movie project, iMovie crashes!  I am running Snow Leopard and iMovie '09 (version 8.0.6).  I haven't used iMovie in a couple of months,  but can't imagine why that would make a difference.  This issue happens wi

  • PDF problem: copy and paste results in squares

    hello all, I have problem with my PDF's. I'm afraid the problem maybe is not related to the distiller, but I hope someone here can guide me in the right direction. I don't know exactly what the right starting point is for this case. The problem is th

  • Low Broadband speed = line fault?

    Hi, We have had a very slow download speed since the high winds started last week (live in a rural area about 1 mile from exchange). I have run through the BT Broadband speed wizard & not improved the speed. ADSL Speedtest results are: Download speed

  • Apple id has been disabled when i want to make a purchase, what the **** does that mean

    apple id has been disable when i want to make a purchase, what the **** does that mean and how can that be rectified