RFC adapter with load balacing

Hi Guys,
I have configured RFC adapter for load balancing and i am getting the following error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIAdapterFramework</SAP:Category>
  <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
  <SAP:P1 />
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sapdev02 GROUP=PUBLIC R3NAME=EDV MSSERV=sapmsEDV PCS=1 ERROR service 'sapmsEDV' unknown TIME Mon Jun 4 17:11:55 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE niuxi.c LINE 1725 DETAIL NiPGetServByName2: service 'sapmsEDV' not found SYSTEM CALL getservbyname_r COUNTER 1</SAP:AdditionalText>
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack />
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
any help would be appreciated
Thanks,
srini

Hi,
check out these:
1) SM59 - test connection
2) look all the parameters of Receiver RFC adapter configuration
    Proper authentication details etc
3) Save the RFC adapter channel and activate the same
4) Refresh the cache for the Adapter metadata. Go to Integration BuilderAdmin>Cache Overview-->Directory -->Adapter Metadata
5) Probably the problem may be becuase of RFC Adapter is not active. Restarting the RFC adapter at J2EE admin level may solve your problem
Hope this helps,
Regards,
Moorthy

Similar Messages

  • How does RFC adapter with EO/EOIO work? Kindly help!

    Hi Experts,
            How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    In my Async RFC - XI scenario sometimes XI is able to receive the messages but sometimes it doesnot even though the sender system is UP and running.
    I cannot see any messages in SXMB_MONI even though the sender has sent the messade.
    Why RFC adapter is behaving like this? What could be the issue?
    Kindly help!

    EOIO: How does this queueing work? Does it use FIFO logic?
    >> yes it uses FIFO logic in EOIO.
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    >>>noof rfc connections we are using for connecting to XI to RFC minmum is 1 maximum is 50 bydefault. you increase this value by changing the default setting.
    How does RFC adapter with EO/EOIO work? Kindly help!
    Posted: Mar 21, 2007 4:15 AM 
    Hi Experts,
    How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    Why RFC adapter is behaving like this? What could be the issue?
    >>check ur sender RFC adapter. chekc whether data is sent from RFC . see logs in R/3.

  • Looking for alternate method for RFC adapter with BAPI

    Hello Friends
    Right now I have a scenario as follows
    An External   ==>  SOAP        ==>  XI    ==>   RFC          ==>  SAP TABLE
    Application  
    I have an external application that is sending some DATA to XI via SOAP adapter and in turn XI using a ZBAPI  via RFC updates the table.
    However, the problem is that BAPI's doesn't support STRINGS anymore.
    SO MY QUESTION IS: Is there any other way (any other adapter) without using BAPI that I can update the table with this data.
    Your feedback will be greatly appreciated.
    Thanks
    Ram
    Edited by: Ram Prasad on Mar 20, 2008 2:16 PM

    Hi Prateek
    Thanks for your response.
    To be honest with you, I have not used Proxy in my job here so far, even though I studied during the courses I took to get certified in XI. I have to go back and look at my notes :).
    The data that I am having problems with is of 'STRING' Type, which is a blob data or a CUD string (XML string) of variable length.
    If you have any hints or steps for creating ABAP proxy, please let me know. I would appreciate it.
    Thanks
    Ram

  • RFC Adapter not Call

    Hello Friends,
    I am working on XI 2.0
    My Scenario is
    IDOC --> XI --> RFC Adapter --> R/3 System
    I am configuring the RFC adapter for the SAP system.
    But when I am able to try to call using the Integration Engine it’s not call the RFC adapter.
    I define the end point as
    RFC Adapter
    (X) Load Balancing Deactivated
           Application Server -- <host name>
           System Number      -- 00
    When I run the scenario it show me in the <b>sm58</b> transaction as
    <b>Connection Close (no Data)</b>
    And in the SXMB_MONI Transaction it shows
    <b>A. Status</b> as <b>Green Flag</b> means <b>Message schedule on outbound side</b>.
    So can you please identify and suggest me the solution or what else configuration is required.
    Thanks & Regards,
    Gaurav Jain

    try to register all queues in SXMB_ADM -> Manage queues.
    I think that should help you solve the issue.

  • Sender RFC Adapter only processes first message

    Hi there,
    we have a R/3 - XI - 3rd party scenario, where the R/3 - XI communication will be established through a RFC.
    The RFC destination was properly configured in SM59 in R/3 and also was the XI's sender RFC adapter, with the same program ID.
    We called the RFC in R/3 Abap code and the message succesfully arrived at XI (it could be found in SXMB_MONI). However, any other call from R/3 would not result in a message arriving at XI (no new entry in SXMB_MONI nor in Message Monitoring, at RWB). New messages only appear again if we set the status of the adapter to inactive and then active again. Then the message arrives, but again, only the first one.
    Can anyone help with this?
    Is there any misconfiguration in XI or RFC Destination?
    Or is it the abap calling that should be processed in another way?
    Thanks in advance,
    Henrique.

    Hi,
    >>>Or is it the abap calling that should be processed in another way?
    the important thing is the commit work
    which must be done after call function
    and you can only have one call function
    before the commit work
    do you see any other errors in SM58?
    >>>Is there any misconfiguration in XI or RFC Destination?
    Or is it the abap calling that should be processed in another way?
    one or the other - no doubt about that
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • RFC adapter in XI 3.0 not working properly with BAPI in R/3 4.6C

    Here is the scenario.
    An XML file is received from our customer. This file contains purchase order information that is used to create a sales order in our SAP 4.6C system. Once the sales order is created an acknowledgement is generated and this is returned back to our customer in an XML format.  This scenario is working perfectly fine in our XI 2.0 system but is not working properly in our XI 3.0 test environment. Our custom function module in R/3 is a wrapper function that uses a standard SAP BAPI to create the sales order. Part of the function module does use the statement
    call function 'BAPI_TRANSACTION_COMMIT'
    The last thing the BAPI does is call another function module that using an RFC destination that will return and order acknowledgement.
    Here is what happens within XI and our SAP system.
    The XML file is received and mapped to our imported RFC. The RFC adapter is called and the information is passed onto SAP where our customer function module executed. The sales order is created within SAP without any problems and the second function module is called which references an RFC destination assigned to our XI 3.0 system. The information is sent back to XI and an appropriate file is created for our customer.  All seems to be working properly except that when the original RFC is sent from XI to SAP,  SAP creates a short dump stating
    "call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:" Then it is put back into the que where 5 minutes later it executes again and trys to recreate the sales order in SAP. (again, this same function module executing from XI 2.0 works fine)
    I believe I have everything configured properly because the SAP side is being executed and I am successfully passing information back from SAP to XI. However the original function module in SAP is failing with the above error message. It appears that the original function module cannot communicate back with XI. I have had SAP looking at this issue and they have not been successful yet in solving this problem.
    Any ideas.
    Thanks,
    Jim d'Hulst

    Hi,
    I think the problem is with the send back of acknowledgement to XI. Does the DeliveryException state something about the sender agreement? I guess you are using a statement like below:
    CALL FUNCTION 'ZABCD'
    destination <tcp/ip destination>
    exporting
    input = ack.
    In that case, check whether the TCP/IP destination is working fine. Also, to be able to exchange message, the structure of the Function Module ZABCD needs to be identified as the sender in XI Configuration (Integration Directory).
    Also, check your config with the blog mentioned below:
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit</a>
    Regards,
    Amitabha

  • Attachments with RFC adapter ?

    Dear Experts,
               I have a SOAP 2 RFC Synchronous Interface in my project, from sender side i.e from SOAP i am receiving data of 20 fields and also the attachment(the format of the file can be JPEG, EXCEL, WORD DOC or VIDEO Files) and these needs to be transferred to SAP R/3 System using RFC Adapter.
    1. can RFC adapter able receive and send these format of attachments to r/3 server ? can you please suggest me on this...

    Hi Raj,
    Thanks..
             The attachment will not go to the file system in ECC, as i stated that sender is sending the Data & attachments, at the ECC system a INCIDENT(SAP HSE) will be created by using the RFC, when you open the Incident in ECC system you should able to see the data in the Incident along with the attachment attached.
    Regards,
    Ravi

  • Problem with sender RFC adapter

    Hi All
    I have created one RFC adapter for which i have created wrong business system and all then i have deleted that and i have created on more RFC adapter but when i am testing my scenario its taking the old one which i have deleted from the Integration directory. I have refreshed the cache using sxi_cache and also in RWB. But still i m getting the same error...
    Could you please tell  me how to resolve this error

    Hi
    Yes i have configured RFC as sender communication channel. I have deleted the old one including the business system. but still in adapter monitoring i m getting the error "com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/<b>'Whirlpool_BS1'/</b><b>'RFC_Source_CC'</b>, lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'QN9#800' returned party/service of ''/'QN9')"
    but i have deleted the whirlpool_bs1 business system.
    Why still i m getting this error.
    Thanks & Regards
    SUN

  • Problem with RFC adapter (JCO Exception RFC logon failure)

    Hi ,
    I have SOAP to RFC scenario.
    Scenario with same configuration (RFC adapter) is working in QA system.but when I have transported to PRODUCTION system
    it is showing
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE:
    I have gievn max conn=10 ;Refresh the cache also
    and checked Roles and authorization also but still I am getting the same error.
    Regards

    Hi ,
    I have created all the objects manually. and it is working.
    now it is showing other error when I am sending the messages from SOAP side it is showing
    MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID DF2C6D6E40E935CB970DEE3A71049BF9 Software Component C3D5E1D1C75311DDB94DE33C0A1E01B6</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Interface mapping Object ID DF2C6D6E40E935CB970DEE3A71049BF9 Software Component C3D5E1D1C75311DDB94DE33C0A1E01B6 does not exist in runtime cache</SAP:Stack>
    for this I checked the Interface determination step and receiver determination ,mapping program all looks correct.
    I have refershed cache also both Complete and SLD.
    but nothing is wroking
    Please advice.
    Regards

  • Is this possible: SAP Java Connector - XI - R3 with XI RFC Adapter?

    Hi,
    I try to call a RFC on a remote R/3 System over the XI Server in a Java Application with SAP Java Connector.
    I have configured a RFC Sender Adapter in XI. I get the
    following Exception:
    "lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'SenderChannel_RFC"!
    Is this scenario possible? Or do the connection from
    a SAP Java Connector App to the XI RFC Adapter not work?
    You can't set the Client and System ID of a Third-Party or
    Standalone Java system in the SLD.
    Thanks for any help!
    Regards
    Wolfgang

    Hi,
    We use a JCO for directly connecting to sap systems.
    In that case we need not use any XI also.
    But if you want to use RFC adapter and java application the best way is to use java proxies as sender and reciever as RFC adapter.
    I donot think there is any  architectural significance in using rfc adapter of XI while using JCO.
    Let me know if I mis-understood the context.

  • Problems with RFC Adapter, utf-8 encoding and special characters

    Hi,
    How can I change my enconding UTF-8 for ISO-8859-1 in my RFC ADAPTER SENDER?
    Regards,
    Sérgio

    Hi,
    To change encoding of xml you can either use this piesce of xslt after your mapping as a next step
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" encoding="ISO-8859-1"/>
    <xsl:template match="/">
    <xsl:copy-of select="*" />
    </xsl:template>
    </xsl:stylesheet>
    or use adapter module but now I can't remember name of it.
    Best regards,
    Wojciech

  • RFC error with SAPOSS (test connection)

    Hello All,
    RFC error with SAPOSS Test connection
    Language:EN
    Client      :001
    User        :OSS_RFC
    Target system settings:
    Balace load = Yes
    RFC error is below:
                              Connection test SAPOSS
    Connection type:    R/3 connection
    Connection error        Error opening an RFC connection.
    ERROR                  partner not reached (host 209.94.207.139, service sapdp99)
    LOCATION              SAP-Server orionbw_QBW_00 on host orionbw2 (wp 0)
    DETAIL                   NiPConnect
    CALL                      connect
    COMPONENT         NI (network interface)
    COUNTER               9
    ERROR TEXT           Network is unreachable
    ERROR NUMBER    101
    MODULE                 nixxi.cpp
    LINE                        8628
    RETURN CODE       -10
    SUBRC                   0
    RELEASE               640
    TIME                      Wed Jul 30 10:06:05 2008
    VERSION               37
    Please let me know how to proceed.
    Thanks in advance.
    Best Regards,
    Pratyusha

    Hi Markus,
    I went to OSS1 transaction  Menu ---> Parameter --> Settings -
    > SAP Routers at Customer Site ---> SAP Router 1
    i have Added Name and IP address and instance No.
    Now its throwing another error:
    =============================================
    ERROR                   rgcwebsrv: route permission denied (orionbw2.rgc.corp to 147.204.2.5,
    LOCATION                SAProuter 37.11 on rgcwebsrv
    COMPONENT            NI (network interface)
    COUNTER                 5580
    MODULE
    LINE
    RETURN CODE          -94
    SUBRC                       0
    RELEASE                   640
    TIME                           Wed Jul 30 10:41:28 2008
    VERSION                     37
    =============================================
    We are struck here.
    Thanks in advance
    Best Regards,
    Pratyusha

  • RFC Adaptive Model,JCO destinations error

    HI,
    I created the tutorial application to get Flight List using RFC adaptive model.
    I created the JCO destinations in web dynpro content administrator after configuring the SLD (after many problems though ).
    Our Server is Web AS 6.4 ABAP + JAVA ,but no R/3 modules installed.
    WD_FLIGHTLIST_MODELDATA_DEST-type application--single server connection
    WD_FLIGHTLIST_RFC_METADATA_DEST-type Dictionary-load balanced
    The JCo destinations status shows green.
    The test for WD_FLIGHTLIST_MODELDATA_DEST is succesful but the test for WD_FLIGHTLIST_RFC_METADATA_DEST fails with the error:[code]
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=nwserver GROUP=PUBLIC R3NAME=NWS MSSERV=sapmsNWS PCS=1 LOCATION    CPIC (TCP/IP) on local host with Unicode ERROR       Group PUBLIC not found TIME        Thu Nov 10 18:24:23 2005 RELEASE     640 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        3515 DETAIL      LgIGroup COUNTER     2 [/code]
    The ping fails and if i test it again,i get another error
    [code]com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=nwserver GROUP=PUBLIC R3NAME=NWS MSSERV=sapmsNWS PCS=1 ERROR       Group PUBLIC not found TIME        Thu Nov 10 18:29:13 2005 RELEASE     640 COMPONENT   LG VERSION     5 RC          -6 MODULE      lgxx.c LINE        3515 DETAIL      LgIGroup COUNTER     1 [/code]
    What is wrong?Any more steps required?
    If i try to edit it,the type is still the same-Application with single connection.
    How can i change it?Do i need to change it to type Dictionary in the first place? How to proceed.
    Please guide.
    Regards,
    Siddhartha
    Message was edited by: Siddhartha Jain
    Message was edited by: Siddhartha Jain

    hi Siddhartha,
    You have to configure PUBLIC group using SMLG transaction
    check these links out
    http://help.sap.com/saphelp_nw04/helpdata/en/28/1c623c44696069e10000000a11405a/content.htm
    hope this helps you
    Regards
    Rohit

  • RFC adapter receive queue performance

    We currently using XI 3.0 on NetWeaver 6.40 with a lot of asynchronous interfaces from JDBC <-> RFC.
    After some load we experience that message received in RFC adapter queue are processed after a long time. The messages has status "To Be Delivered" and XI is processing other messages the same time.
    2010-01-07 15:25:28     Success     Message successfully received by messaging system. Profile: XI URL: http://mlrxiprod:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2010-01-07 15:25:28     Success     Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2010-01-07 15:25:28     Success     Message successfully put into the queue.
    after 1 1/2 hour  ...
    2010-01-07 17:01:10     Success     The message was successfully retrieved from the receive queue.
    2010-01-07 17:01:10     Success     The message status set to DLNG.
    2010-01-07 17:01:10     Success     Delivering to channel: NAV_FICANCEL_RFC_RECEIVER
    2010-01-07 17:01:10     Success     RFC adapter received an asynchronous message. Attempting to send tRFC for ZXI_FI_CANCEL_WRAP with TID XIps}UGFk94TwD}G0O}ZGR2m
    2010-01-07 17:02:32     Success     The message was successfully delivered to the application using connection RFC_http://sap.com/xi/XI/System.
    2010-01-07 17:02:32     Success     The message status set to DLVD.
    Can you explain why it takes so long the message to picked up and processed from the queue. All messages will be processed but the performance is unacceptable. No errors are found in SMQ2.

    Hi,
    It looks like msgs take very long time to be picked up from the queue(s) ! Is there enough threads allocated (according to SAP recommendations, which I can't remember) ?
    How many system & application threads have been allocated ?
    Rgds
    Chris

  • FILE-RFC ADAPTER problem

    Hi all,
    I am trying file->xi->rfc adapter scenario.
    My scenario is employee information is written to flat file n  will be kept on ftp server.THe file adapter will pickup the file and sends it to rfc adapter through pipeline service.
    This is going well. The problem is the data is not being updated into receiving sap system.
    in SXMB_MONI transaction the messages are successully processed . But there are no messges in rfc adapter when i gone through idx5 transaction???
    Any one have idea??
    Thanks in advance.
    Rgds,
    Ram Sri

    sxmb_moni only shows the status of the integration engine's processing, not the result of what happened in the rfc call.  First, you can check if the adapter framework successfully passed the message to the destination system (not on moni, thru RWB)
    as far as did the rfc succeed - it's as difficult as always with internal processing.  We did a lot of testing by debugging modules on the destination side (manually putting in the data as the adapter would've to step thru & see where the message is "lost") - have not yet found a better way, sorry.  It's not so much a problem with XI, just in general the difficulty to debug rfc's

Maybe you are looking for

  • External monitor flashes on and off randomly after wake from sleep

    I have a Mid-2009 13" MacBook Pro 2.26GHz hooked up to a Samsung SyncMaster 2033 External monitor via the MiniDisplayPort-DVI connector. After waking from sleep, the external monitor will go blank for a fraction of a second at random intervals (displ

  • Sourcesystem Not Found

    Hi , The error is coming while trying to import insources from BW Development system to BW Quality system. Diagnosis Source system BW1CLNT100 is not known. System Response The imported data for DataSource 8ZLDO_002 was deleted again because the refer

  • Mail does not see accounts after shutdown but are in Mail Folder

    Several days ago upgradeD an iMac from Mac OS 10.5.8 to 10.6.1. After the initial update Mail did not recognize any mail accounts that were in the Mail folder in user/Library. Solved my replacing user folder with one backed up up several days before

  • Numbers Custom Template updates

    If I make an update to my custom template, is there a way to make the update show up in a file which is using the template? thanks!

  • Invoices for Cost Center

    Hi, IS there some FM or another posibility to set get sum of all invoces of one month for selectes Cost Center?   regarda, Joanna