Skip to Content
author's profile photo Former Member
Former Member

RFC Destination Error

Dear All,

I am trying synchronous RFC to SOAP scenario. For this I have created a RFC destination in SAP system. but when i test the RFC connection it says ash_rfc (which is my Program ID) not registered (Connection Error).

Please advice.

Regards,

Ashish

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    Posted on Mar 01, 2007 at 07:35 AM

    Ashish,

    You should use the same Program Id which you use in your TCP IP connection in the Sender RFC adapter.

    Have you done this?

    Regards

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 07:29 AM

    Hi Ashish,

    this is easy:

    Create/modify you communication channel in ID. Take the same programm-id as you use in R/3.

    After saving and aktivating the communication channel you will see, that the connection works OK!

    Regards Mario

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 07:39 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2007 at 07:43 AM

    In your local machine look for SAP Folder usually located in the ‘Program files’ folder and open ‘SAP GUI’ folder. In that open ‘RFCSDK’ folder and copy ‘SAPRFC.INI’ file from the TEXT folder to the BIN Folder. Then open the SAPRFC.INI file in BIN folder and Register a RFC server program at a SAP Gateway.

    DEST= <SYSTEM id>_R

    TYPE= Always R in this case

    PROGID= ( Your Program ID name ).trfcexec

    GWHOST= < Host IP >

    GWSERV= < Gate Way Server >

    RFC_TRACE= ( Always 0 , for better Performance ) If you want Trace Put 1.

    In Deetails typed below.

    Here DEST = SystemID_R, in our case system ID is RTL. So we gave like RTL_R.

    TYPE = ‘R’, because we need to register a RFC server program at a SAP Gateway and wait for RFC calls by R/3 or R/2 System.

    PROGID = BC.CR1.LISTENER.rfcexec. Here BC.CR1.LISTENER is the name of Program ID we gave when we are creating RFC destination in SM59.

    GWHOST= this is your system I.P. address that we enter in Gateway options of RFC Destination.

    GWSERV= Gateway service name (This will be sapgw00, here 00 is your system no).

    RFC_TRACE = 0

    Save teh above said Details in SAPRFC.INI file in BIN Directory .

    After this you have Execute the Command Prompt with the Following Commands. ( To Register in Gateway)

    c:\Program Fiels\SAP\Frontend\SAPgui\rfcsdk\bin>rfcexec

    Follow with the below said details.

    –aBC.CR1.LISTENER<Program ID in RFC destination>

    -g<SAP Host> --> IP

    -x<Sap Service No> --> Gateway Service.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 01, 2007 at 08:06 AM

    frist your RFCadapter in XI then activate it and come R/3 then test ur RFC in R/3 . ur PI should be same and case senstitive in both places

    Regards

    Sreeram.G.reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2007 at 09:59 AM

    Hi Ashish,

    on your XI box add an entry for the R/3 sender gateway to the etc/services file

    <i>i.e.,</i>

    sapgw<instance number> 33<instance number>/tcp # SAP Gateway Port

    <i>e.g.,</i>

    where 99 is the instance number/system number of the R/3 sender system

    sapgw99 3399/tcp # SAP Gateway Port

    Regards

    Kenny

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Kenny,

      But could you tell me what is XI box and how do I enter it. Do i need special authorizations for that.

      for sap system here the system number is 00 so

      sapgw00 3300/tcp # SAP Gateway Port

      what is # SAP Gateway Port here?

      Appreciate your patience.

      Regards,

      Ashish

  • Posted on Mar 01, 2007 at 11:03 AM

    Hi Ashish,

    this entry should exist in the file

    <b>services</b>

    so that the XI system can find the gateway port for the R/3 sender system.

    You can find this file on a Unix system in the directory

    <b> /etc</b>

    and on a Windows system try -

    <b>C:\WINDOWS\system32\drivers\etc</b>

    Regards

    Kenny

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 01, 2007 at 10:21 AM

    Hi Ashish,

    by 'XI box' I mean the system that the XI Integration Server is installed on.

    If you have a Basis Administrator they will know how to add this entry.

    If the R/3 Sender system number is 00

    then the entry :-

    sapgw00 3300/tcp # SAP Gateway Port

    is correct.

    The

    1. SAP Gateway Port here?

    text is for documentation purposes only.

    Regards

    Kenny

    Regards,

    Ashish

    Add a comment
    10|10000 characters needed characters exceeded

    • Kenny,

      Is it absolutely necessary that this should be done?

      Because, every time I have wanted to use the Sender RFC, all I did was created the TCP IP connection on the SAP.

      Maybe my basis team would have made this entry on my integration server and so I did not worry about it, but I just wanted to know if this a prerequisite to have this entry in XI for every SAP system in the landscape?

      Regards

      Bhavesh

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.