Skip to Content
avatar image
Former Member

Program ID for RFC adapter

Hi Experts,

I am working on a senerio.....R/3 to XI to FTP Server.I have made a se38 report program, to call a RFC, that loads an internl table and populates the 'TABLES' parameter'.I intend to send the data in the tables parameter to a FTP server through XI. .....As per instructions from SDN, we need to create a TCP/IP comection in R/3 [sm59] where we have to put a Program ID and then go to the Java Stack of XI and in the communication channel, we have to put the program ID, Application Server gateway, and application server Service.....

Friends , I was going through the material by Michael...

https://blogs.sap.com/?p=40167 but could not make out where to get this program id, and RFC server parameters,,,,

Pls help me..

Arnab.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 03, 2008 at 10:44 AM

    Just follow Michael´s blog.

    The program ID is whatever, I mean, what you want... For example: TABLES_TO_FTP.

    The only one thing you have to take into account is that the program ID must be the same in both: SM59 and in the communication Channel that you set up. This CC must be a SENDER RFC Adapter.

    RFC Server Parameter:

    Application Server: Your R3

    Gateway: your gateway.

    Program ID: TABLES_TO_FTP

    RFC Metadata Repository Parameter.

    Parameters to connect to your R3.

    You must activate you RFC adapter in order to the PROGRAM_ID is registered and works properly.

    REgards,

    Carlos

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Carlos...I must tell u...my RFC connection is perfectly ok with the program ID = IGS.DTR. The connection test is successful...but it is failing at the Communication Channel end. The error discussed above is in the RW - Communication Channel monitering.

      On application of your given program ID,, the RFC connection itself failed.

      I must must tell u.....the PROGRam ID name is not random....it is maintained there in the OS level. I must heighlight this poit to all. We can know more abt this in SLD configurations!!

      I donno how to correct this RFC adapter......the R3-XI rfc connection is perfect,,,i donnow, why it cannot detect the server in the communication channel!!!!

      😔

  • avatar image
    Former Member
    Sep 03, 2008 at 10:37 AM

    Hi Arnab,

    The program id can be anything.But you should have the same in both the RFC destination and your RFC adapter.

    Refer to the below Blog. This will answer your question.

    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 ***

    Thanks,

    Bhargav.

    Note: Award points if found useful.

    Edited by: Bhargav Srinadh Gundabolu on Sep 3, 2008 1:20 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 12:07 AM

    Hi Arnab

    Please verify RFC communication channel parameter host name (host name need to be entered twice) in Integration Directory.

    Thanks

    Sai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 05, 2008 at 07:28 AM

    The problem is solved.!!!...as I have discussed before...program Id cannot be taken in random. This has to be maintaind in OS level, So what i did was, made a copy of an existing TCP/IP connection in sm59 of sender system, , which has used Program Id...then put my server details at teh bottom, and then used the same details in Communication channel for RFC adapter. Transaction SMGW was used to collect the gate way host and gate way service details, however I replaced the gateway host name by IP address of R/3.

    I must say I copied the existing TCP/IP connection : GFW_ITS_RFC_DES and it's program ID : IGS.DTR in my custom TCP/IP connection,,and after completing the CC settings I tested the CONNECTION TEST in SM59 ,, and it worked perfect.....however when i tried to make up a program ID name randomly from my mind, and applied it in SM59 of sender R/3 and CC of XI,,,, it never worked in R/s Connection test ...and gave a lot mant no of errors in XI CC .

    Add comment
    10|10000 characters needed characters exceeded