cancel
Showing results for 
Search instead for 
Did you mean: 

Need help on RFC Dest

Former Member
0 Kudos

Dear Experts,

     I have a RFC to JDBC Scenario.


    I have created a Rfc Dest of T type in Sender ECC


    My question is do i need to put the Sender Ecc Details in GATEWAY HOST and  GATEWAY SERVICE field?

Regards,

Anirban

Accepted Solutions (0)

Answers (4)

Answers (4)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Anirban,

According to Michal's blog, the answer is yes

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

Hope this helps,

Mark

gagandeep_batra
Active Contributor
0 Kudos

Hi Anirban,

did you check the following doc

http://saptechnical.com/Tutorials/XI/RFC2JDBC/Index.htm

Regards

gAGan

Former Member
0 Kudos

Hi,

I have checked the RFC CC in RWB, its working fine.(PI 7.0)

but while testing the RFC Dest in Sender Ecc Getting following error:

Connections error

Error opening RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc

ERROR: program <PID> not registered

LOCATION: SAP-Gateway on host <HOST> / <SERVICE>

DETAIL: TP <PID> not registered

COMPONENT : SAP Gateway

COUNTER: 12346

MODULE: gwr3cpic.c

LINE: 1789

RETURN CODE: 679

SUBRC: 0

RELEASE: <RELEASE>

TIME: Tues Oct 20 12:42:55 2011

VERSION: 2



Former Member
0 Kudos

Hi Anirban

Can you please share the screen shot of your RFC destination and communication channel configuration.

iaki_vila
Active Contributor
0 Kudos

Hi Anirban,

Have you activated your sender communication channel?

Regards

Sriram2009
Active Contributor
0 Kudos

Hi Das

Kindly refer the SAP Note for register RFC

353597  - Registering RFC server programs

Regards

Sriram

Former Member
0 Kudos

Hi Indra,

   I have checked the program id and rfc dest in ecc and PI RFC CC

  

   If i put PI  Gateway host and service in RFC dest in Sender Ecc then its working.

  

    if i put Sender ecc Gateway host and service then getting the same error.

  According to various blogs and threads i have to put sender Ecc host name and Service only     and then my scenario (RFC 2 JDBC) will work only.......

  please suggest me

Regards,

Anirban Das

Former Member
0 Kudos

    hi,

    yes, sender rfc cc is activated.

Former Member
0 Kudos

Dear Anirban

Thats why I have mentiond that you need to create the channel in PI with paramters mentioned. Then you need to activate the channel in PI.

Then you will be able to test the connection in SM59 or else it will not work.

Former Member
0 Kudos

Hi,

  I have created a sender Rfc Channel in pi and put the same program id.

  but the  while testing giving connection error.

   in the sender cc in the log on tab i put the sender ecc log on details and client.

Former Member
0 Kudos

Hi Anirban

Check the communication channel in RWB. See what error message it is giving.

If you are not able to understand please provide me the screen shot. When the channel is configured correctly and is green in RWB, u will be able to test the connection successfully.

Former Member
0 Kudos

Hi Anirban

In the RFC destination you created in SM59 , use the following paramters

1. Program id

2.  GATEWAY HOST and GATEWAY SERVICE of ECC system. You can find the same using transaction SMGW in ECC.

Use this same combination in the RFC adapter in PI. Once activated the channel you can test the connection in sm59.

Former Member
0 Kudos

  Dear Indra,

   Thanks for ur reply.

    you mean to say sender ecc host and service?

    I have not created the sender rfc channel .

   but in sender ecc while testing the rfc dest getting error like; program id not registered.

0 Kudos

you have to check whether you have specified same program id in both communication channel and rfc destination.?