RFC Lookup's in message mapping fail with RuntimeException for no reason

Hi guys,
We have developed interfaces that execute a lot of RFC's from Message Mapping, by making use of RFC Lookup API.
In ID, in the corresponding RFC Receiver Communication Channel we have set the number of maximum connections to 100.
However, when a big number of Idocs with lots of items is sent to XI some messages fail in XI because mapping fails with a runtime exception that is not correct, since there is a return value found from the execution of the RFC function. And when I am testing the mapping in Test mode of XI IR, the mapping is executed successfully.
Do you think that by increasing the maximum number of connections in Communication Channel, it will take effect?
Evaggelos

Hi Evaggelos,
DECREASE, may be til 10.
Regards,
Udo

Similar Messages

  • Canon LiDE 120 Error message: "Cannot communicate with scanner for these reasons:"

     I've tried troubleshooting multiple times: - Uninstalled and reinstalled drivers- Returned and bought same model scanner- Tried different drivers- Tried different USB ports My computer build is:Intel i7 4770k16GB 1866MHz RAM Asus Maximus Impact VInVidia GTX 780Corsair RM550Windows 8.1 64bit  I don't know what I'm doing wrong. Anyone else get this? It's making me quite livid just trouble shooting it. I've read a lot of reviews on this on Amazon and other websites that says that this is plug and play for the most part. What am I doing wrong??

    I have CanoScan Lide 120, which was working perfectly fine on Win7, now that I have upgraded to Win10 it does not work anymore. I get an error 2,156,167. Have tried to uninstall the driver, found new one on official website, but it didn't help.Scanner makes noise, like it's going to start scaning, but then nothing happens. When I use the preview function, it actually starts scanning, but stops somewhere in the middle (at 7%, 18%, ...) My specs:OS Name Microsoft Windows 10 Pro
    Version 10.0.10240 Build 10240
    Other OS Description Not Available
    OS Manufacturer Microsoft Corporation
    System Name NEW-PC
    System Manufacturer ASUS
    System Model All Series
    System Type x64-based PC
    System SKU All
    Processor Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz, 3400 Mhz, 2 Core(s), 4 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. 0803, 7.1.2014
    SMBIOS Version 2.7
    Embedded Controller Version 255.255
    BIOS Mode Legacy
    BaseBoard Manufacturer ASUSTeK COMPUTER INC.
    BaseBoard Model Not Available
    BaseBoard Name Base Board
    Platform Role Desktop
    Secure Boot State Unsupported
    PCR7 Configuration Binding Not Possible
    Windows Directory C:\WINDOWS
    System Directory C:\WINDOWS\system32
    Boot Device \Device\HarddiskVolume1
    Locale Slovenija
    Hardware Abstraction Layer Version = "10.0.10240.16392"
    User Name NEW-PC\Gašper
    Time Zone Central Europe Daylight Time
    Installed Physical Memory (RAM) 8,00 GB
    Total Physical Memory 7,68 GB
    Available Physical Memory 4,73 GB
    Total Virtual Memory 15,4 GB
    Available Virtual Memory 12,1 GB
    Page File Space 7,75 GB
    Page File C:\pagefile.sys
    Hyper-V - VM Monitor Mode Extensions Yes
    Hyper-V - Second Level Address Translation Extensions Yes
    Hyper-V - Virtualization Enabled in Firmware No
    Hyper-V - Data Execution Protection Yes

  • Error status code 400 with the description Message mapping failed

    Hi,
    I tried to build RFID outbound scenario using ECC 5.0, XI and AII 2.1.
    When I send IDOC message:AIDOPMSG.AIDOP01 from ecc 5.0 to XI(ouput message type is OperationalIn and message mapping is OperationalInTo), i get following error:
    <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>400</SAP:P1>
      <SAP:P2>Message mapping failed</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>Message mapping failed</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 400 with the description Message mapping failed Boundary SAP_57D7D47469E09543A1EA0002CBDA0492_END could not be found</SAP:Stack>
    I am using standard AUTO-ID 2.1 XI contents. If any of you have encountered such error message, then could you please help me understand the meaning and how to fix it.
    thanks in advance,
    Ashit

    hi Ashit,
    take a look at my weblog on how to test your mapping:
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    maybe with this you'll be able to find out the error
    Regards,
    michal

  • Handling PI 7.1 RFC Lookup Exception in Graphical Mapping

    Dear Experts,
              I would like to know the better way of handling PI 7.1 - RFC Lookup Exception in Graphical Mapping without using  BPM. Say I perform a RFC Lookup from PI 7.1 Graphical Mapping and it fails due to RFC server down. In this case I suppose the RFC exception would be returned as response to the mapping? But, am really not sure how this response (RFC Exception) could be effectively used. Please clarify.
    Thanks,
    Hussain.
    Edited by: HussainShaik on Oct 26, 2009 8:24 AM

    Hi Hussain,
    I am not sure if I understood you query completely.
    IF the RFC look up raised some exception then how this is going to impact your interface will depend your mapping (which you did in ESR)
    (the following is adopted from help.sap,com)
    If you handled exceptions  by selecting Use Exceptions checkbox in the function properties of the standard function, the mapping editor adds an additional parameter in red (the bottommost return parameter) to the standard function in the data-flow editor. If you do not assign a target field to this return parameter, ignore the RFC exceptions (the message mapping is not terminated at runtime). Otherwise the mapping runtime transfers the exception as an XML structure and it can then be evaluated in a user-defined function, for example. If there is no exception, the mapping runtime transfers an empty context.
    If you have not selected the Use Exceptions checkbox, the mapping runtime terminates the message mapping if an exception occurs during the RFC lookup.
    Is this you are looking here?
    Also check this thread and help.sap site
    Re: SAP-PI - RFC call to SAP backend system
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/content.htm
    Regards
    Suraj

  • Message Mapping Problem with UTF-16LE Encoded XML

    Hello,
    we have the following scenario:
    IDoc > BPM > HTTP Sync Call > BPM > IDoc
    Resonse message of the HTTP call is a XML file with UTF-16LE processing instruction. This response should then be mapped to a SYSTAT IDoc. However the message mapping fails "...XML Parser: No data allowed here ...".
    So obviously the XML is not considered as well-formed.
    When taking a look at SXMB_MONI the following message appears: "Switch from current encoding to specific encoding not supported.....".
    Strange thing however is if I save the response file as XML and use the same XML file in the test tab message mapping is executed successfully.
    I also tried to use a Java Mapping to switch encodings before executing message mapping, but the error remains.
    Could the problem be, that the codepage UTF-16LE is not installed on the PI system ? Any idea on that ?
    Thank you!
    Edited by: Florian Guppenberger on Feb 2, 2010 2:29 PM
    Edited by: Florian Guppenberger on Feb 2, 2010 2:29 PM

    Hi,
    thank your for your answer.
    This is what I have tried to achieve. I apply the java conversion mapping when receiving the response message - i tried to convert the response to UTF-16, UTF-8 but none of them has helped to solve the problem.
    I guess that using adapter modules is not an option either as it would modify the request message, but not the response, right?

  • How to know if Message mapping failed?

    Hi gurus,
    do anyone know how to determine in clean up method if a message mapping failed? i just want to know the status of the message mapping to put it in the trace.
    Regards

    Thanks for your reply Abhishek,
    but this is not exactly what i need.
    Suppose following Graphical message mapping: two number  A and B need to be divided, A/B. If B equal 0 (zero), this will throw Runtime Exception. In some point of my mapping (maybe at the end of it) i need to catch this Exception, or at least i need to know exception happened. I need to know it to update a table with message mapping status, eg succesfully executed, runtime error, etc.
    Regards.

  • Request message mapping failed in QAS server

    Hi ,
    I've transported the Developed  objects from DEV Server to QAS Server using CTS method , now when i m making any changes in the development system and re transporting it back to quality server , its showing one or the other error ,
    In one case it shows "Request message mapping failed"  just we added one filed and mapped it. The filed can be seen in the repository but in the moni it says this filed is missing  even though it is working fine in development, but in quality , i dont know why this problem is coming
    The scenario is jdbc -
    > xi ---> proxy,
    this problem is only is quality , in dev its working fine
    pl help  , i running short of time , 
    rgds
    mojib

    Ravi,
    In test tab , both in message mapping and configuration , its successful but still this error..
    rgds
    mojib

  • I need help re-installing itunes.  I get the error message: Install failed run preupgrade for Apple Mobile Device Support.  Any solutions?

    I've been trying to upgrade to/install Itunes 10.  When trying to do so, I get the error message: Install failed run preupgrade for Apple Mobile Device Support.
    Per what I saw as a response to someone else who had a similar issue, I thought a fix might be to uninstall my existing Itunes, then try to re-install the Itunes 10.  I tried that.  However, I still get the same error message.  Now, I have no Itunes.   
    I tried to email Apple, and they have not replied.
    Anyone offer any solutions? 

    me too did you get any help?

  • MG3250 Printer throws up error message - Scangear cannot communicate with scanner for these reasons

    Hi
    I have an MG 3250 printer running off an HP Pavilion Laptop using Windows 8.1. Every time I try to scan  I get an error message that 'cannot  communicate with scanner for these reasons...........etc'. The only way I can get the printer / scanner to work is by going through the Control Panel / Hardware & Printers route. This seems terribly slow and time consuming. What is wrong and what needs to be done to correct the problem?
    Thanks

    I have the exact same problem as you with my new Canon LiDE 120. The errors I get are: 2, 156, 182, 55 and sometimes 77 when using it on my Windows 8.1 (64 Bit) desktop PC. I have tried installing and uninstalling the drivers multiple times, used different ports and still nothing. It does however work properly on a Windows 7 device.
    My PC's specification is as follows:
    Windows 8.1 (64 Bit) - With latest updates
    Avast Premier
    Malwarebytes
    ASUS z87 Pro
    Intel 4770k
    ASUS GTX 670 (4GB)
    8GB 1600MHz Kingston RAM
    Things I have done
    Tried different ports (USB 2.0 and 3.0)
    Installed all software & driver from CD
    Installed all software & driver from Canon Website
    Installed only the latest driver from Canon Website (April 2015)
    Tried to use Windows Fax & Scan, Scan, IJ Scan Utility, Scangear and Vuescan.
    What happens
    The physical buttons on the device are unresponsive
    The computer says it is warming up, but nothing happens
    It starts to scan for a few seconds and then comes to an abrupt end - this can happen at 10% of the scan or even at 91%.
    Surely the problem cannot be with Windows 8.1 since the device was only released last year. What could be the issue? I called their support line and was advised to clear the drivers of previous scanners used by my system, I did this and there still is no change. Could somebody please help me! 

  • System message:Procurement of material&blocked for quality reasons(0006 883

    Hi Greetings!
    I have the following issue.
    I need to make the message "Procurement of material & blocked for quality reasons" as Error message . Message number - 00 06 883.
    This will not allow to create PO , if the "Blocking Function" - 02 "Block Request and Purchase order " is set in the QM info record.
    Even though i ahve set this message as "Error" in the configuration ( Materials Management --> Purchasing --> Define Attributes of System Messages), i am getting only warning message during PO creation.
    Can you please let me know if am missing any setting.
    Gobinathan G

    Dear sir,
    GO to material master of that item go to .. PURCHASING VIEW there is a Plant specific material status chk if that is 01- blocked for production 02- blocked for BOM chk and change it then system will allow you to purchase the parts.
    Kaustubh

  • Message Mapping fails because of RFC

    Guys,
    1) I have some messages failed in SXMB_MONI because message mapping for those interfaces was not executed successfully. In trace I can see the following:
    "com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=121.12.2.15 SYSNR=02 GWHOST=121.12.2.15 GWSERV=sapgw02 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner not reached (host ?, service ?) TIME Wed Jul 11 07:20:27 2007 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 COUNTER 1024</Trace>"
    I realize it is a network connection problem, but..
    Any ideas?
    2) Actually, in my mapping programs I have to perform many RFC's to both XI and target/source SAP systems, in order to get some information. The techique that I am using for RFC's is through Java's com.sap.mw.jco.* package. And I connect to systems by giving the IP address, system number, username and password of the systems and then I execute the remote enabled function modules.
    However. when I have many RFC's some of them fail, maybe because the maximum number is reached. And then I have to manually restart them from SXMB_MONI and they are successfully processed.
    Any ideas?

    But you said you call many RFCs inside XI, right?
    The proper way of doing it is not using JCo directly, but using Mapping Lookup API instead. In this way, you won't need to maintain the connection details inside the code, but in the communication channels.
    Check this out: https://help.sap.com/javadocs/NW04S/current/pi/index.html (lookup api).
    There are some code examples within the classes (for example, RfcAcessor).
    I think there is also a SDN documentation by Michal Krawczyk regarding RFC Lookups.
    Just search for it.
    Regards,
    Henrique.

  • How to Alert RFC connection failure via message mapping? Kindly Help!

    Hi Experts,
        I have a JMS - XI - RFC scenario.
    JMS receives the Rosattenet PIP contents and sends it to RFC function module in remote SAP R/3 system.
       I have a requirement where I have to monitor RFC connection failure because of the remote R/3 system being down. I have to send a email alert where the subject contains the PIP number to understand for which PIP the connection failed.
      The PIP number exists in the PIP content at the interface.
      If I use the Alert configuration in the runtime workbench for monitoring then I cannot dynamically pass the PIP number.
      Only way I think of triggering alert is in the message mapping via a Java UDF.
      But I am not sure how can I do this? How do I check in the UDF if RFC connection has failed? Is this the correct approach?
      How to acheive my requirement? Note that my email subject content is dynamic bacause if PIP number.
    Please help!
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

    Hi Gopal,
    what version/sps of XI are u running?
    The easiest way to do what u want inside a UDF is to
    1. use JCo to try estabilish a connection to the remote SAP System
    2. if that fails, use JavaMail to send an email message
    Let your UDF work on the PIP number, accepting it as input, and (maybe) returning it as output if everything goes ok. Otherwise break the mapping execution as described by Michal in one of his last weblog (using Dynamic Configuration).
    Note that the above method doesn't guarantee that the message will be actually delivered, as some seconds could last between your check and the real RFC delivery operated by the Adapter Engine...
    I am evaluating a way to do the same with Alert Framework. I will let you know the result!
    Cheers,
    Alex

  • Is is possibel to do an RFC Lookup from The Graphical Mapping?

    Greetings,
    While doing a message mapping I need to get the value from R3 system using an RFC, is it is possible ?

    Hi
    we can do by using rfc look ups
    Lookup in mapping is the feature provided by SAP to lookup the data in the target R/3 or DB systems with the API provided.
    You need to write UDF in order to implement the API's provided by SAP.Consider the below example
    VendorNumber-UDF--CURR
    The scenario is legacy to SAP. The legacy system doesn't provide the currency details. But the target field need's to be populated with currency value.
    "The business rules says there are values maintained in SAP Table where if you pass VendorNumber it will return thr currency to you"
    So what you can do? You can write UDF implementing SAP Provided API's and do a lookup in the SAP System and get back the currency value and populate them in CURR field.
    I hope it clears a bit.
    Please find the below blogs
    DB Lookup: /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    RFC Lookup:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    There are three types of look ups u can do
    RFC look up
    SOAP look up
    JDBC look up
    What is Lookup and why we need:
    Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
    In the error handling topic we have seen the different validations which need to be performed on file. This can be done through Lookup.
    Some use cases:
    • Look up material number from table MARA.
    • Look up cost center budget.
    • Look up employee information.
    • Look up unit-of-measure (UOM) information from table t006a.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    This is a form of value transformation.
    The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Lookup method from GUI mapping can be called using any of the following ways.
    • RFC lookup using JCO (without communication channel)
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    • RFC lookup with communication channel.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    • Lookup using JDBC adapter.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    • CSV file lookup.
    /people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    You can refer to these links.
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer Absolute stealer.
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    For Java APIs and also here you can map that how many types of lookups are possible in XI.
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/lookup/package-summary.html

  • SAP PI 7.3 AEX Multi mapping: Mapping failed with exception

    Hi
    I am encountering an issue with the multi mapping in SAP PI 7.3 AEX system.
    Requirement for my interface is to pull a single file which has multiple records from the file directory.
    Interface need to split the single file to multiple files.
    For this I have implemented multi mapping in SAP PI 7.3(Stand alone Java) to split the single file to multiple files just like the way it is done in SAP PI 7.1. Tried this interface in SAP PI 7.1 system and works fine end to end.
    I have done the testing in mapping(Test tab) in operational mapping, I could see response is getting generated successfully.
    But when testing end to end,
    I could see message is getting failed during mapping with the exception "failed to execute: ArrayIndexOutOfBoundsException: 1” .
    Note:
    Occurrence has been changed to 0..unbounded in the Signature tab of the message mapping & same interface works fine in SAP PI 7.1
    Our system is currently on SAP PI 7.31 (AEX) SP05 Patch "0".
    Kindly let me know if someone has any idea on this particular exception in SAP PI 7.31 multi mapping Interface.
    Thanks & Regards
    Ram

    Hi Jegathees,
    Thanks for your reply.
    In PI 7.31:
    As we are doing 1:n mapping, I have maintained the source side occurrence as "1" and target side occurrence as "0..unbounded" in the signature tab of message mapping.
    Even in PI 7.11 Occurrences were maintained in the same way.
    Can you please give me more details of how exactly multimapping in PI 7.31 is different with respect to PI 7.1
    Thanks & Regards
    Ram

  • Message Mapping Issue with data without namespace

    Hi,
    I have a common xsd imported which has its own target namespace into my SWC namespace. Based on this xsd I have generated a Message Interface and webservice and given the wsdl to third party system for invoking my webservice.
    The problem is I have done the message mapping based on xsd which has namespace but whereas the third party system which is consuming my webservice is sending the xml data without any namespace and because of which my mapping is failing (target structure is not getting generated as expected). I have tested the mapping with namespace and without namespace from IR already. I have explained this below with example.
    I cannot change the xsd as it is a common and even cannot ask the end system to change the data format they are sending as they are sending the same data to some other systems also, which are not complaining.
    How to resolve this issue in XI?
    Actual xml data generated from my imported xsd (with namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Root xmlns:ns0="http://employee/types">
       <ns0:EmployeeDetails>
          <ns0:EmployeeId>12</ns0:EmployeeId>
            <ns0:EmployeeName>XYZ</ns0:EmployeeName>
    </ns0:EmployeeDetails>
    </ns0:Root>
    Actual Data coming from third party system (without namespace)
    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
       <EmployeeDetails>
          <EmployeeId>12</EmployeeId>
            <EmployeeName>XYZ</EmployeeName>
    </EmployeeDetails>
    </Root>
    Thanks
    Amit

    Just  wild guess:)
    I am not 100% sure but i guess XSLT mapping does not checks the incoming payload against the sender message type.Within XSLT mapping you can add/remove namespace as you would like,use this XSLT mapping before your actual message mapping in interface mapping.
    I am saying this coz recently i was able to generate XSLT mapping(in altova Map Transform) without even specifying any sender or receiver Message type and it worked just fine.
    Thanx
    Aamir

Maybe you are looking for