cancel
Showing results for 
Search instead for 
Did you mean: 

Program ID for RFC adapter

Former Member
0 Kudos

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...

but could not make out where to get this program id, and RFC server parameters,,,,

Pls help me..

Arnab.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Carlos

nice reply...but can u tell...on what basis will I put this program id.....I mean i cannot make a name, in random ..out of mind and put it there in sn59 of both r3 and xi.....it should be created some where and should have a meaning.....

Where Do I get the details of host and gate way host and Gateway service.

Regards,

Arnab

Former Member
0 Kudos

Oh dear,

you can use your name also,

IT must be unique and same at both SM59 and RFC -CC and that CC must be activate.

you can find the Gateway by tcode SMGW or ask basis person about it.

regards,

Former Member
0 Kudos

Hi Arnab,

Yes...Why not? you can type whatever you want as PROGRAM_ID parameter, like 'Netweaver expert' says, even your name.

It must be the same in R/3 RFC and in XI Communication Channel.

Regards,

Carlos

Former Member
0 Kudos

Thanks to Carlos and Netweaver Expert and all others....I got it....but now when I am trying to test remote connection, after putting correct Gate way host name and gateway services, and a program id , it is giving a error as Error when opening a RFC connection: Program ZRFCA not registered.

Experts .....your Comments pls!

Thnaks

Arnab

vadimklimov
Active Contributor
0 Kudos

Dear Arnab,

Please, ensure that program ID which you use in RFC-destination and XI communication channel is registered in Visual Administrator (this can be done in co-operation with your Basis team members).

For more information regarding registration of program ID's, please refer to XI and SLD installation and user guides - for example, have a look at:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b09fe69e-46be-2a10-9fb0-9c11aeaa...

My regards,

Vadim

Former Member
0 Kudos

Hi Arnab,

This is error is because yo have not registered your PROGRAM_ID. To do that you have to configure, save and the most important, ACTIVATE your Communication Channel before doing the test connection.

Regards

Carlos

Former Member
0 Kudos

I copied the Program Id of an existing TCP / IP where there is program ID.Now the connection test is OK...... Still gaving the problem in CC .

Sender channel 'CC_RFC_ADAPTER' for party '', service 'Test_BS_V' (internal name 'RfcServer[CC_RFC_ADAPTER]')

Server data: {jco.server.gwhost=isrdev, jco.server.progid=IGS.DTR, jco.server.gwserv=sapgw02, jco.server.unicode=0}

Repository data: {jco.client.lang=EN, jco.client.snc_mode=0, jco.client.client=010, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=retaildev, jco.client.sysnr=02, jco.client.ashost=172.26.5.8}

Current pool size: 1, maximum pool size : 1

Last error status:

com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Wed Sep 03 19:09:51 GMT+05:30 2008.

This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.

Could not start server: Connect to SAP gateway failed

Connect parameters: TPNAME=IGS.DTR GWHOST=isrdev GWSERV=sapgw02

ERROR hostname 'isrdev' unknown

Pls help..

Arnab

Edited by: Arnab Mondal on Sep 3, 2008 3:41 PMx

Former Member
0 Kudos

Ok...

Do the following...

pl

IN R\3

In SM59 create a new RFC connection type T (TCP/IP).

Technical settings:

Activation type: registered server program

PROGRAM_ID: test_program_id

Gateway options:

GAteway host: Host of your R\3 system

Gateway service: Gateway of your R\3 system

In XI

In your RFC Sender Communication Channel:

RFC Server Parameter:

Application Server: Host of your R\3 system

Appllication Server Service: Gateway of your R\3 system

PROGRAM ID: test_program_id

RFC Metadata Repository parameter

Message Serfer: Your R/3 host.

Message Server Service...

SystemmID...

Use a user with authorization to do RCF calls.

Client...

Languaje...

After you finish setting up your CC, save and Activate.

Now check the RFC in R/3

Regards,

Carlos

Former Member
0 Kudos

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!!!!

Answers (3)

Answers (3)

Former Member
0 Kudos

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 .

Former Member
0 Kudos

Hi Arnab

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

Thanks

Sai

Former Member
0 Kudos

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.

Thanks,

Bhargav.

Note: Award points if found useful.

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