cancel
Showing results for 
Search instead for 
Did you mean: 

RFC to SOAP.....configuring RFC sender channel and RFC destination in SM59

Former Member
0 Kudos

Dear Fiends,

I am making one scenario in SAP PI 7.0 which is RFC to SOAP for web service consuming. I am confused in few things. I will be much appreciative if some one helps me to clarify some concepts.

1) In SAP PI, When we configure RFC sender channel, there are three fields  Application servery (Gateway), Application Server service (Gateway) and Program ID. In the fields of Application servery (Gateway) and Application Server service (Gateway), what i need to put? Shall i put the gateway and service gateway of PI system or ECC system? I am confuse on this. Shall i put data of PI systems in these fields or ECC system? Also is there any specific naming convention of Program ID?

2) My 2nd question is regarding configuring RFC destination TCP/IPi in SM59. When we make RFC destination of type T, we need to put program ID in service registered program. Whatever i put in this field, do i need to register it somewhere? is there any naming convention we need to follow in this field?

Also, kindly tell me, in fields of gateway host and gateway service, which system information i will put? PI or ECC?

3) In PI, aim defining RFC sender communication channel under Business system and SOAP receiver channel under Business service. Am i doing this right?

Actually i am new to PI so getting right answer of these question will be a lot helpful.

Thanks very much

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Imran,

Please check this blog:

http://scn.sap.com/community/pi-and-soa-middleware/blog/2005/03/29/configuring-the-sender-rfc-adapte...

1. It will be ECC system's Gateway

2. You can put anything in program id but you need to give same value in RFC sender channel. Please note that it is case sensitive.

3. Yes, that's correct

Regards,

Beena

Former Member
0 Kudos

Beena, here i am confused.In one book they say that you have to enter PI systems gateway in configuring RFC sender channel. read this

"

In the Application Server field, enter the host name of the PI system,

and in the Application Server Service field, enter the gateway service

of the PI system according to the scheme sapgwXX, where XX represents

the instance number. The Program ID follows the scheme SystemA_

Sender-## and, like the two values mentioned earlier, exactly matches

the values entered in the corresponding RFC connection in system A.

"

kindly tell me exactly, is it either PI or ECC gateway information that we need to put in RFC sender channel. Also, beena, tell me that the programID name that we put in register server program in SM59, do we need any other configuration anywhere else?? if we make any T type connection in ECC, do we need to make it in Pi as well?

Thanks

Former Member
0 Kudos

Hi Imran,

Its ECC server gateway. In RFC channel parameters, it clearly says Application server Gateway and not PI server.

There is no other configutation required apart from registered server program option and program id in SM59.

We need not create any RFC destination for RFC sender scenario in PI.

Former Member
0 Kudos

Thanks Beena,

i have made one connection in sm59 exactly as mentioned in the link, the one you sent. But when i test it ,it gives this error

kindly help

Regards

Imran

Former Member
0 Kudos

Hi Imran,

Did you activate RFC channel in PI?

Activate it once again and try.

Regards,

Beena

Former Member
0 Kudos

Dear Beena,

how can i reactivate this? when i right click on it or see it in change list, it is already activated dear. It does not give any option of re-activation? shall i delete it and make the new one? And what do you think, the screen shot i sent u of RFC connection error, is it problem of RFC sender channel in PI or is it kind of problem in ECC?

Regards

Imran

Former Member
0 Kudos

You can change the status of RFC channel as inactive then save the channel and activate it.

Then again change the status to active and activate the channel.

Former Member
0 Kudos

Dear Beena,

I want to ask one thing. In Soap to RFC scenario, when i test it with XML spy and send request to server, it asks for username and password. Can you please tell me how can i fix this user name and password in SOAP sender channel? Because when other user test this web service  using XML spy etc, authentication will be required. But i cannot provide user name or password to them. How can i f hard code this password in SOAp sender channel?

Kindly let me know

Thanks

Regards

Imran

Answers (1)

Answers (1)

smavachee
Active Contributor
0 Kudos

Have a look at these two threads for better understanding..

Step-by-Step RFC Sender Scenario

Hope it helps.!

Regards,

Sunil