R/3 - XI - R/3 RFC connection problem

hello friends,
I have a scenario which is R/3 -> XI -> R/3.
Since i do not have another R/3 system i am trying to configure sender and reciever on the same system with different clients.
The sender configuration is working fine. Please tell me the setting for the reciever configuration.
Current settings that i have done are --
Message server           - <host name>
Message server service   - 3600
System Id                - <system id>
Logon group              - public
When i try to execute the BAPI_USER_GET_DETAIL BAPI it gives me the following error --
<b>"lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS"</b>
thanks in advance,
Abhi

<i>Please can you tell me how to access these Notes. I have never been able to find any such notes :(</i>
For this you need to have SAP service MArket Place id.
Go to https://websmp108.sap-ag.de/notes  then give the ,give mentioned SAP Note number-
Anyway the content of the note wrt this problem is  here- from SAP Note- 730870
<i>Q 19: While sending a RFC call to the RfcAdapter I get a error message like "com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of binding via CPA-cache failed..." or "com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed...". What is missing?
               A: The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
Sender Interface: The name of the RFC function module.
Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
Receiver Party/Receiver Service: These fields are empty. This will match the wildcard '*'.</i>
BTW, did you recheck your RFC adapter configuration. And activate it.
Regards,
Moorthy

Similar Messages

  • Recurring RFC connection problems

    Hi!
    I really need some help. We have been experiencing RFC problems for a few months now and our basis team have no clue as to what the problem might be. The problem is that on a daily basis we experience RFC connection problems. It usually happens at about 7am in the morning and lasts for an hour. After that the problem clears itself and for the rest of the day runs smoothly.
    We clearly see this problem on our RFC connection to the IBM MQ message server which handles all our incoming and outgoing IDOCS. This is however not the only RFC problem as we have also had RFC connection failures when switching between instances in SM51. This suggests to us that it is probably not a network issue, although the MQ server is housed in a different data center than the SAP servers.
    We are running ECC6 and our environment looks like this:
    4 hosts running 5 instances: 3 hosts with one instance and 1 host with 2 instances.
    While this problem is occurring you can do a connection test in SM59 to MQ which is usually successful. In SMGW we have picked up that it is trying to establish multiple connections to MQ, some connects successfully and some cannot connect. In ST11 in the RFC trace files the error message says that the MQ connection times out.
    While monitoring the MQ server we cannot pick up any problems. The MQ server itself seems to run without errors. The only problem is that it cannot connect to SAP to send IDOCS and SAP cannot connect to MQ. The load on the MQ server while this error occurs is minimal compared to the rest of the day.
    Does anyone have any ideas as to what the problem might be? Are there any other places other than the ones mentioned in this mail where we can check for errors?
    Thank you in advance!
    Iwan

    Hi Marcelo,
    In SM59, just select the RFC and above in same screen you can see the options
    RFC----- Display Trace (Shift + F8)
    Check the trace file and see if there is any connection problem between the two system.
    Regards,
    Ravi

  • RFC connection problem

    Hello All,
    We are setting up communication between R/3 4.7 and SCM 5.0 system for EWM (Extended warehouse management) with RFC connection and using IDocs to transfer data from one box to another box.
    IDoc from R/3 to SCM system is working fine, we are able to complete the transactions in SCM system and after successful completion all transaction in SCM it should trigger Idoc for R/3 which is not happening.
    It throws error as <b>"An RFC destination could not be specified for the logical system XXXCLNT123"</b>
    We have checked SM59 (RFC connection), WE20 (Partner profile), WE21 ( IDoc port connection) it seems fine.
    Interesting thing is we are able to get information about stock from R/3 system in SCM system which are correct information.
    Can anyone give some idea if we are missing something to check?
    Thanks & regards
    Arif Mansuri

    Hi Team,
    We have the same problem , which was mentioned above. Please let us know, which Message type need to be used for sending the stock information to ERP after Delivery completion
    The following Process we followed
    PO Creation---ERP
    Inbound delivery-ERP
    Inbound Delivery Process-EWM
    WareHouse Task-EWM
    Unloading-EWM
    WareHouse Task/WareHouse Order Confirmation-EWM
    Once the WT/WO is confirmed , Goods receipt status is updated automatically and "Post Processing Framwork (PPF) status shows with RED and error message says."An RFC destination could not be specified for the logical system E6SCLNT900"
    Here I have one doubt, We have maintained client names as A0000039 (for EWM,but original client name is SC7CLNT100 ) and E6SCLNT900 ( for ERP , original client name also E6SCLNT900)
    Will there be any issue with A0000039?(because we did not maintained as per the original client name ie SC7CLNT100)
    Thank you for your help
    Thank you

  • Trusted RFC connection Problem

    Hello,
    Trusted RFC connection between two systems when the results are negative. The error we get is "You Are Not authorized to logon to the target system (error code 1)." But everything looks smooth (kernel, logfiles, etc.).. S_rfc users and has s_rfcacl objects. Where do you think could be problem?
    RFC trace log files;
    dev_rfc0
    Trace file opened at 20100503 232709 GTB Daylight Time, SAP-REL 700,0,236 R
    ======> You are not authorized to logon to the target system (error code 1).
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    Called function module: RFCPING
    User: P0326 (Client: 100)
    Destination: RFC001 (handle: 2, 21766343, {3CF256DF-FE74-F105-BF85-000C29E0B2F6}
    dev_rfc1
    Trace file opened at 20100503 233011 GTB Daylight Time, SAP-REL 700,0,236 R
    ======> No authorization to logon as trusted system (Trusted RC=1).
    ABAP Programm: SAPLSYST (Transaction: SM59)
    Called function module: ABAP4_LEAVE_TO_TRANSACTION
    User: P0326 (Client: 100)
    Destination: RFC001 (handle: 2, 21951359, {A7F256DF-F7BE-F119-BF85-000C29E0B2F6}
    Trace file opened at 20100503 233115 GTB Daylight Time, SAP-REL 700,0,236 R
    ======> Name or password is incorrect (repeat logon)
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    Called function module: RFCPING
    User: P0326 (Client: 100)
    Destination: RFC001 (handle: 2, 22021687, {D1F256DF-90D2-F15E-BF85-000C29E0B2F6}
    Trace file opened at 20100503 233127 GTB Daylight Time, SAP-REL 700,0,236 R
    ======> You are not authorized to logon to the target system (error code 1).
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    Called function module: RFCPING
    User: P0326 (Client: 100)
    Destination: RFC001 (handle: 2, 22034437, {D8F256DF-78D3-F1BE-BF85-000C29E0B2F6}
    Regards
    ismail

    Hi,
    In addition to the auth object, First make the entry in SMT1 with the normal RFC here the rfc should not be enabled as trusted.
    Then create an entry in the target system as well, one the entries are made in tcode SMT1 in both the systems, then enable both the RFC's as trusted RFC it will work fine then.
    Regards,
    Vamshi.

  • RFC Connection Problem between Production Server & Solution Manager

    Hi,
    I want to make a RFC Connection between Production Server & Solution Manager.
    But when go through Tcode- SM59 and click on Remote Logon from Production to connect Solution Manager it showing me a  Client/Userid/Password window and when i connect go through Solution Manger to Production Server it connects normally. I already done the same process in both the clients, as i already mentioned Logon details in the Logon/Security tab but why it is showing me Client/Userid/Password pad when i am login through Production to SolMan?
    +Tell me where the actual problem is! In my Solution Manager end or in my Production Server end +
    I want to access Solution Manager from Production Server on just clicking once on Remote Logon from Tcode- SM59.
    Thank you.
    Edited by: varun@pcl on Jul 31, 2010 4:40 PM

    Hi
    Mention which Client u login and valid username and password from both PROD Server and Solman .
    https://websmp201.sap-ag.de/support under Solman manager .
    https://websmp201.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000633637&
    Regards

  • GTS RFC Connection problem

    Hi,
    I am not able to transfer data from R/3 to GTS. Getting message "No RFC destination is defined for GTS".
    i have defined and assigned the GTS logical system, maintained RFC calls, method calls and ALE distribution model. Still getting same message.
    RFC connection test is working fine.
    Can somebody please help on this?
    Thanks
    Bob

    > I am not able to transfer data from R/3 to GTS. Getting message "No RFC destination is defined for GTS".
    Where do you get that error message?
    Markus

  • RFC connection problem in ECC 4.7 and ECC 6.0

    Hello friends,
    Created RFC connection in 4.7 version of SAP and used it in a java program.  (STFC_connection) was the function module used.
    it all worked fine. Later when i tried the same thing in ECC 6.0 it failed and throws communication_failure exception .
    please guide me in this issue.

    Hi...
    Check the Unicode/Non unicode status in MDMP&UNICODE  tab present in transaction SM59 while chking the connection.
    if your ECC6.0 is unicode system then you need to check the radio button present for Unicode in  MDMP&UNICODE   tab.
    Regards,
    Lokeswari.

  • RFC connection problem during SRM - R/3 integration

    Hi,
    Our environment is SRM 5.5 server with 2 R/3 backend systems. One of the R/3 systems is in another country. We happen to have RFC problems during the communication between the SRM and R/3 server.
    Below you can find the SM21 log related to an operation on SRM server. What might be the reason for this problem? Does anyone know the solution?
    Many thanks
    Details Page 2 Line 26 System Log: Local Analysis of sapsrmt                  1
    Time
    Type
    Nr
    Clt
    User
    TCode
    Grp
    N
    Text
    10:24:58
    DIA
    000
    013
    EMREK
    R4
    9
    Communication error, CPIC return code 020, SAP return code 223
    Communication error, CPIC return code 020, SAP return code 223
    Details
    Recording at local and central time........................ 07.12.2006 10:24:58
    Task......
    Process
    User......
    Terminal
    Session
    TCode
    Program
    Cl
    Problem cl
    Package
    91342
    Dialog work process No. 000
    EMREK
    XXXXXXXX
    2
    K
    SAP Web AS Problem
    STSK
    Further details for this message type
    Module nam
    Line
    Error text
    Caller....
    Reason/cal
    thxxhead
    7192
    020223
    ThRecei
    CPIC-Er
    Documentation for system log message R4 9 :
    A CPIC function has failed.  The conversation ID and CPIC function are
    specified in the system log entries.  Use the conversion ID to find more
    detailed information about the error in the system log for the SAP
    gateway.
    Meaning of the SAP return codes:
    1) Gateway errors:
    221,,Error in CPIC-SS
    222,,Storage bottleneck
    223,,Network read error
    224,,Network write error
    225,,Invalid request
    226,,No connection yet
    227,,Gateway process terminated
    228,,Shared-Memory problem(read)
    229,,Shared Memory problem(write)
    230,,No free LU
    231,,No free gateway process
    232,,Error when starting gateway proc.
    233,,Incorrect communication type
    234,,Connection setup failed
    235,,Error in comm. table
    236,,No connection to gateway
    237,,Connection to gateway closed
    238,,Error in GW command (write)
    239,,Error in GW comm.   (read)
    240,,Invalid length
    241,,Invalid environment
    242,,Timeout
    243,,Error setting up SAP connection
    244,,Partner has closed connection
    245,,Storage overflow
    246,,Incorrect APPC header version
    247,,APPC server not started
    248,,Error accessing TXCOM
    249,,Comm. table is full
    630,,Invalid mode no. received
    631,,Max.no. of gateways reached
    632,,No LU specified
    633,,Max.no. of clients reached
    634,,Invalid TP name
    635,,fork failed
    636,,Invalid NI handle
    637,,rexec failed
    638,,TP start failed
    639,,NiDgSend failed
    640,,Internal error
    664,,Gateway host is unknown
    665,,Gateway service unknown
    666,,NI error
    667,,exec failed
    668,,R/2 restarted
    669,,Symb. destination too long
    670,,No more side-info entries
    672 ,,Logon to NetWeaver failed
    673 ,,IMS Error Purging
    674 ,,Timeout for registered programs
    676 ,,TP not registered
    677 ,,Timeout for registered programs
    678 ,,TP is registered
    679 ,,TP is not registered
    720 ,,Security breach of registered programs
    721 ,,SNC deactivated
    722 ,,SNC required
    723 ,,SNC name not defined
    724 ,,Default SNC name not permitted
    725 ,,Protocol does not support SNC
    726 ,,No local SAP System
    727 ,,SNC required
    728 ,,Conversation ID not found
    729 ,,SNS must do the communication
    730 ,,Start of external programs deactivated
    731 ,,Gateway shut down
    732 ,,No external programs
    733 ,,Conversation ID does not match
    734 ,,Net conversation error
    735 ,,Monitor is not active
    736 ,,Conv-ID is not unique
    Errors in the CPIC Interface:
    450 ,,No storage
    451,,No side-info entry
    452,,TP-START failed
    453,,No initialization
    454,,"getlu" failed
    455,,"signal" failed
    456,,Timeout during conn. setup
    457,,CMALLC failed
    458,,CMSEND failed
    459,,Prepare-To-Receive failed
    460,,"mc_flush" failed
    461,,CMRCV failed
    462,,Argument missing
    463,,"get_allocate" failed
    464,,CMDEAL failed
    465,,TP-END failed
    466,,Max.no.of conv. reached
    467,,"snaopen" failed
    468,,"snactl" failed
    469,,No flush in IBM environment
    470,,"snaclse" failed
    471,,Status error
    472,,No side-info entry
    473,,No conversation
    474,,Connection closed manually
    475,,Connection closed automatically
    476,,No partner found
    477,,Confirm failed
    478,,Confirmed failed
    479,,GWHOST not in side-info entry
    480,,GWSERV not in side-info e.
    481,,PROTOCOL not in side-info entry
    482,,LU not in side-info e.
    483,,TP not in side-info entry
    484,,No conn.to gateway
    485,,gethostname failed
    486,,SAP_CMACCP not executed
    487,,Program not in argument list
    488,,Host not in argument list
    489,,Service not in argument list
    490,,Conv-ID not in argument list
    491,,Invalid parameter
    492,,LU62CVCT failed
    493,,LU62ATTCH failed
    494,,No CONV table
    495,,Incorrect conv.table
    496,,Invalid conv modification
    497,,NiHostToAddr failed
    498,,NiAddrToHost failed
    499,,Read operation tab.THOST failed
    500 ,,No side info file exists
    501 ,,CMRCV failed
    Technical details
    File
    Offset
    RecFm
    System log type
    Grp
    N
    variable message data
    6
    245700
    m
    Error (Function,Module,Row)
    R4
    9
    020223                                ThReceiCPIC-Erthxxhead7192

    Hi,
    It will be very difficult to solve without being on the customer site and having all information.
    Right now, the error code is network error...
    Kind regards,
    Yann

  • RFC connection problem BW3.5

    Hi all,
    we are trying to configure the connection between a BW3.5 and a CRM4.0 box.
    Neither the automatic source system creation nor the SM59 setup is working.
    When testing the connection, we get a 'Gateway' error message.
    The BW system is already talking to a R/3 box and the CRM box as well.
    Any ideas?
    Thanks & Best Regards,
    Eric

    The Basis guys reviewed the technical settings of the BW system and figured out that some services were not properly defined.
    Sorry, I dont have further details on hand.

  • RFC Receiver adpater Connection problem , Help us to solve ?

    Hi  Friends ,
                          Our scenarilo is Mail to RFC. It was running fine. In RFC Receiver adapter i have given <b>Maximium connection property to 1</b> .
                      While multiple set data passed to rfc will connection problem will come ?
                     Most data not uploaded . I am getting the following error.
                     <b>   If i set max connection to 5 . It is 5 times or more than that it is pusing the data .</b>
                    i am getting the following error <b>while i set the Max   connection to 1 .</b> . <b>Any other place i need to change configuration ?</b>
                   <i><b> - Error: 2007-09-24 10:51:22 GMT-05:30: Message processed for interface YRFC_EXT_WARR: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: resource error: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool RfcClient[CC_EXTE_WAREN_2W_RFC_RECEIVER]e7fa21f86ec535e883636c0beffc0f0c is exhausted. The current pool size limit (max connections) is 1 connections.</b></i>
                            Please give the description . I have referred many likns . Help us to solve this problem .
    Regards.,
    V.Rangarajan<b></b>
    Message was edited by:
            ranga rajan

    Hi,
    Have a look at this.This will help you.
    1.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f3f93ee7-0c01-0010-2593-d7c28b5377c2
    2. https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar

  • Problem with RFC connection - tp program not registered

    Hello everyone
    recently there  has appeared a problem with the RFC connection on our system - we received the following set of messages:
    Trace file opened at 20101221 130738 Central European Standard Time, SAP-RE
    ======> CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Tp program is not registered.
    ABAP Programm: RSRFCPIN (Transaction: SM59)
    User: xxx(Client: 100)
    Destination: SIDRFC_IFSAPHRCZPKCP (handle: 2, , )
    Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 1501
    CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679
    Program transakcji nie jest zarejestrowany
    DEST =SIDRFC_IFSAPHRCZPKCP
    HOST =%%RFCSERVER%%
    PROG =IFCZPKCP
    GWHOST =ssapprod
    GWSERV =sapgw21
    I tried to register program with a command:
    rfcexec -aIFCZPKCP -gssapprod -xsapgw21
    but with no success - the program didn't appear on the list of logged clients on the system in gateway monitor. Frankly speaking we do not know now what else we can do - please help!
    We have ECC 6.0 (SAP_BASIS 700 SP18) on Windows Server 2003 R2 x64.
    Thanks in advance for any help.
    Regards
    Peter

    Hi Salim
    thanks for your reply.
    ./rfcexec -a(PROG_ID) -gssapprod -xsapgw21 &
    The syntax you're providing refers to UNIX systems, but I did similar thing on our Windows system - I tried all of the following methods (unfortunatelly without success):
    rfcexec -a(PROG_ID) -gssapprod -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod -xsapgw21
    rfcexec -a(PROG_ID) -gssapprod.domain -xsapgw21
    full_path_to_rfcexec.exe -a(PROG_ID) -gssapprod.domain -xsapgw21
    Can you advise me what to do now?
    Thanks
    Piotr

  • Facing problem with RFC connections

    In the Maintenace View for RFC connections, when I press the 'Apply' button I am getting the message"You have no authorization to display the destinationu201D for all the 4 destination IDs"
    Can somebody suggest on how to overcome this problem?
    Thanks,
    Mohammed Tauseef Ahmed

    Hi
    The message over here means the user with which you are logged into the control system and the CPIC user that you may be using to create RFC destinations to the other systems in the landscape do not have the right authorizations.
    It is recommended that all the users have the role TDMS_USER (atleast) or TDMS_MASTER assigned to it.
    Once the role is assigned it will work fine.
    Regards
    Pankaj.

  • Error RFC Connection

    Hi Gurus,
    I have a problem when i try to do a RFC connection Between SAP and Windows, this's the error message log Tx, sm59..
    EntrSist.     Error de conexión
    Det.error     / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=17 thRc=236 SAP gateway connection failed. I
    Det.error     ERROR: SAP gateway connection failed. Is SAP gateway started?
    Det.error     LOCATION: SAP-Server devinc_ICT_02 on host devinc (wp 1)
    Det.error     COMPONENT: CPIC
    Det.error     COUNTER: 6
    Det.error     MODULO:
    Det.error     LINE:
    Det.error     CÓD.RETORNO: 236
    Det.error     SUBRC: 0
    Det.error     RELEASE: 700
    Det.error     TMP.: Tue Aug 31 11:13:57 2010
    Det.error     VERSIÓN:

    Anup,
    the entry sapmsDEV is missing in your "services"-file on the computer that hosts your SLD-Server/J2EE WAS. Windows locates it at %WINDIR%/system32/drivers/etc, unix usually at /etc/.
    make an entry like that:
    sapmsDEV   3600/tcp (in case, your Systemnumber is 00, otherwise replace the "00" with your actual systemnumber)
    kind rtegards, achim

  • RFC connection error for PS_ACCESS_1 and PS_ACCESS_2

    dear all,
    i have created the RFC destination PS_ACCESS_1 and PS_ACCESS_2 with TCP/IP. i also installed WDPS* files in *sapgui\ps\access folder. now i m checking for 'TEST CONNECTION' in sm59 for PS_ACCESS_1 and PS_ACCESS_2 but it is giving  'Error when opening an RFC connection' this error. pls suggest the solution for this problem.
    am i missing any other settings? i m using SAP ECC 6.0. is it comfortable with this? is it required any configuration from basis side?
    regards,
    vicky.

    HI,
    please check the RFC Trace File at SM59 -> RFC -> Show trace file.
    For better tracing delete the Trace File first and recheck the RFC Dest.
    Regards,
    Gordon

  • RFC connection Error

    Dear All,
        when i connect our BI System to R/3 system via RFC in SM59 ,i am getting following error in BI system and also The problem occur  in particular instance .(Other instance working fine in BI system)
    Logon     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: timeout during allocate
    Error Details     LOCATION: SAP-Gateway on host chwslp05 / sapgw01
    Error Details     DETAIL: no connect of TP sapdp15 from host sapp3b.eame.syngenta.org after 20 s
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 162003
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1973
    Error Details     RETURN CODE: 242
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Mon Apr 27 14:29:33 2009
    Error Details     VERSION: 2
    Any one please suggest.
    Thanks,
    Thirumoorthy.

    mostly your gateway servicve is not working check smgw tcode on that instance
    you can do this goto sm59->select the instace execute tcode smgw
    easy way is restart the instance
    it will start working
    Samrat

Maybe you are looking for