cancel
Showing results for 
Search instead for 
Did you mean: 

What is Registered server Program?

Former Member
0 Kudos

Hi Experts,

I want to know What is Registered server Program in context with the RFC sender adapter?

How to register the RFC and how to get the Program ID?

Thanks in Advance.

--Pramod.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thank you siva and Arpit for your valuable guidance.

Thanks to Dirk and Sudhir also.

Former Member
0 Kudos

Thank you very much to all.

The problem with the hostname is solved.Thanks to Arpit.

Now when i click on the 'Test Connection' button, it says :

'program rfcsendersvr not registered / CPI-C error CM_ALLOCATE_FAILURE_RETRY.'

Where i am wrong??

Former Member
0 Kudos

Ya tht is bcoz this <b>Program ID is not given in ur RFC Sender channel</b>.Once u give this Program ID thr in ur Sender RFC Channel it will work.But remeber the Program ID shd be exactly same.

Give all the parameters in Sender channel like Gateway Host,Gateway Service and ProgramID exactly same.

Regards

Arpit Seth

Former Member
0 Kudos

Hi,

U will get this error if u have incorrect <b>parameters in RFC sender Adapter</b> . ( The PROGRAM ID in RFC sender adapter should be same what has been mentioened in SAP R/3 system).

Kindly go thru the weblog by michal, <b>Configuring the Sender RFC Adapter - step by step</b>/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Cheers,

Siva Maranani.

Former Member
0 Kudos

Hi,

this error comes up when ID is different to that in

Int. Dir.

the ProgID must be added in the sender channel of Sender in XI Directory.

The Name is case sensitive!

Did you activate your sender entry in Int. Dir.?

Is the communication data in the sender comm.channel ok?

Poss. you made a mistake here. The RFC sender parameter and RFC Metadata parameter are identical to that in SM59 for sender system. Don´t forget to add a login user for the sender system.

So in RFC server parameter add identical entries to that in Sm59 in sender system.

In Metadata parameter add:

applica. system data as above in RFC server parameter and ONLY the system number in next line.

Language for login user is short name like en for english!

Hope this will fix it!

regards

Dirk

Former Member
0 Kudos

Ya Sudhir i have given the host name of the<b> R/3.

I have run SM59 on R/3.Should i run it on EXI?

Former Member
0 Kudos

<b>>>I have run SM59 on R/3.Should i run it on EXI?</b>

NO .Run it only on R/3 if it runs well without any error then the connection is established successfully between R/3 and XI.

Former Member
0 Kudos

Thanks Dirk,

I have done all the setting in the R/3 RFC Destination,

but when i hit the test connection button, it gives me error : hostname 'xxxx' unknown.

What should i do?

Please reply soon.

Former Member
0 Kudos

Hi,

hostname unknown should only come up if the address for the host is wrong (not existing!).

Some mistyping?

And.... you add this entry in SM59 on sender system using the address data for the sender system, not for XI!

To check:

I have added the application server name for the sender system from the login in SAP GUI!

regards

Dirk

Message was edited by: Dirk Meinhard

Former Member
0 Kudos

And one more thing Sudhir,

In the Gateway host is it the IP of the R/3?

And what should we put in the Gateway service?

Former Member
0 Kudos

Hi,

gateway host and service are parameter from sender system.

In host you have to name the full qualified application server address for the sender system.

In service you need the service name for the service system (includ. system number, our system e.g. is service sapgw57 with syst.number 57)

Regards

Dirk

Former Member
0 Kudos

Hi

<i><b>>>How to register the RFC and how to get the Program ID?</b></i>

1)A RfcAdapter sender channel registers itself with this Program ID as a RFC-Server at the SAP Gateway. The sending system uses the same Program ID to identify the RFC-Server at the SAP Gateway. If the sending system is a SAP system, this Program ID has to be maintained in the RFC destination (transaction SM59).

During the sending system sends some RFC calls, the SAP Gateway will search its registration list for the Program ID supplied by the sending system

2)The Program ID is case Sensitive.

3)The same Program ID should be given in RFC Sender Channel.

<b><i>>>And what should we put in the Gateway service?</i></b>

This value has to be the name of the service port which is running the gateway. Normally this will be a name like sapgwXX, where XX is the system number of the particular system. This value also can be looked up in the gateway monitor. Open transaction SMGW and choose Goto -> Parameters -> Display. Beneath Attributes there will be the entries 'gateway hostname' and 'gateway service'

Hope it helps.

Regards

Arpit Seth

Former Member
0 Kudos

Hi Sudhir,

Thanks for your fast reply.

But what is the program id?

Is it just any string or some specific generated string?

Former Member
0 Kudos

Hi,

doesn t matter.

Use any name you like. But it has to be written identical in sender adapter comm.channel and in Sm59 TCP/IP connection! Else it is not working!

regards

Dirk