cancel
Showing results for 
Search instead for 
Did you mean: 

Sender RFC problem

Former Member
0 Kudos

Hi,

I defined a Sender RFC to build RFC-XI-Others scenario, accoring to the document here, I create a sender RFC communication channel with the host and service(sapgw00) of R/3 system, and specified a program ID, then I created a TCP/IP destination in R/3 with the sames host, server, and program id, but when I did the test with SM59, it says: program RFCTEST not registered / CPI-C error CM_ALLOCATE_FAILURE_RETRY.

What's wrong with my setting?

Thanks a lot!

Best Regards

Yuedong

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member181955
Contributor
0 Kudos

Hi

The program id <b>RFCTEST</b>should be registered in SAP-XI system. That means in sender communication channel you need to provide this program id <b>RFCTEST</b>. Once you have created sender comm channel ( don't forget to activate) automatically your problem will be closed.

So you can proceed further even it is giving error.Once you create sender comm channel go and check you can see success.

thanks

N.Prasad Babu

iGATE Global Solutions Hyderabad 098490 65377

Former Member
0 Kudos

Hi Prasad,

Should i give the gateway host and service as that of the R/3 or that of XI?

kindly clarify.

Regards,

Sudharshan

former_member181955
Contributor
0 Kudos

Hi sudarshan,

You need to provide them

gateway host : hostname of SAP R/3

service : 3600 + system instance no SAP R/3

( ex: if your system instance no is : 10

then service = 3600 + 10 = 3610 )

any concern please let me know

thanks

N.Prasad Babu

iGATE Global Solutions Hyderabad 098490 65377

Former Member
0 Kudos

Thanks Prasad.

Sudharshan

Former Member
0 Kudos

What I did:

1. Create Sender RFC in XI with:

host name of R/3

sapgw00

RFCTEST

2. Activate it

3. Create TCP/IP destination in R/3 with SM59

With the sames information

Then I got the problem, I wonder whether we need do additional setting:

1) SLD? (I defined a business system for R/3)

2) J2EE Admin?

Thanks and Best regards

Yuedong

former_member181955
Contributor
0 Kudos

Hi Sudarshan

service is not 3600, it is 3300 sory for the mistake.

thanks

N.P.Babu

former_member181955
Contributor
0 Kudos

Hi Chen

RFC destination in xi is not required..

Please check these following steps.

In SAP R/3

1.Tcode SM59

2.Provide destination Name , choose the option <b>Registered server program</b> and provide Program id.

Gatewayhost : hostname of SAP R/3

Service : 3300 + system instance no of SAP R/3

or

sapgwxx(xx is system instance no of SAP R/3 ).

whatever the program id you have given here should be given in sender comm channel, then you can check this destination in sap then it won't give any error..

thanks

N.Prasad Babu

iGATE Global Solutions Hyderabad 098490 65377

FlLunding
Explorer
0 Kudos

Hi Chen,

I would suggest that you verify whether it actually register itself in the GW using the SMGW transaction and select Goto and choose logged on clients. If not use the Adapter monitor in the Runtime Workbench to see whether there is an error on the sender channel i question.

Regards,

Flemming

Former Member
0 Kudos

Dear All,

Thanks for your replies, I solved the problem!

Next, I got the following error in R/3

call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:

In XI, I saw the error as:

HTTP response contains status code 401 with the description Unauthorized Error when sending by HTTP (error code: 401, error text: Unauthorized)

And I also has the problem:

Unable to notify integration runtime (ABAP) of data changes

http connection to "http://gdsapxi:8000/sap/xi/cache?sap-client=000" returns the status code "401" in response

They seems more difficult for me, could you please provide me the comments.

Thanks a lot!!!

Best Regards

Yuedong

Former Member
0 Kudos

Hi,

By the way what was the problem and how you solved, if you could please update the thread.

Anirban.

Former Member
0 Kudos

Hi Yuedong,

The problem seems to be with the URL. The client is given as 000 to which we dont have access. So change the client to ur appropriate client..

Regards,

Sudharshan

Former Member
0 Kudos

Before I used host name as 'gdr3dev'. I changed it to IP address, then it works

Former Member
0 Kudos

Hi,

You may try this for 401 error,

1. Goto su01 and reset the password and retry.

2.else go to exchange profile, http://gdsapxi:50000/exchangeProfile/index.html

and runtime workbench and then to com.sap.aii.rwb.serviceuser.name

and see the user id and password, save and retest.

Regards,

Anirban.

Former Member
0 Kudos

Could you please tell me where I can changed the client from 000 to 555.

Now I have many problems related to it but I have no idea of how solving it.

Thanks!

Former Member
0 Kudos

Hi,

check in SXMB_adm whether the correct client is configured as Integration server. check it in the SLD too.

Regards,

Sudharshan

Former Member
0 Kudos

Hi,

I am not sure but thought of sharing this thread,

see the last reply,

so,

"The value for gateway host should be the IP of your XI system.

And also the value of program id should be,RFCTEST"

Just thought about sharing this.

Regards,

Anirban