cancel
Showing results for 
Search instead for 
Did you mean: 

RFC adapter as a sender

Former Member
0 Kudos

Hi All,

I have gone through the weblog

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

in this weblog

CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ'

<b>destination 'Z_WEBSERVICE'</b>

EXPORTING FROMZIP = '12222' TOZIP = '22222' IMPORTING DISTANCE = lv_distance.write : 'Distance is : ' , lv_distance.

please let me know what/which program id need to be given for destination parameter

Regards,

Dhill

Accepted Solutions (1)

Accepted Solutions (1)

Shabarish_Nair
Active Contributor
0 Kudos

Ref:

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kumar,

Create a destination of type TCP/IP in your sender system.

the name of the destination will be Z_WEBSERVICE.

Inside the destination you will mention the program id. The same program id you will mention in the RFC Sender Adapter.

Regards,

Sumit

Former Member
0 Kudos

Hi,

I had given the same program in Communication channel and also in program parameter "destination" which I used in SM59 . But I got the eror like

"RFC destination "SHRRFC_SXI" does not exist."

Please let me know if there is any other settings need to be done

Regards,

Dhill

prateek
Active Contributor
0 Kudos

U need to register the Program ID

Refer SAP Note 730870

Search for Program ID

Regards,

Prateek

Former Member
0 Kudos

Hi All,

I have created the destination of type TCP/IP with the name Z_WEBSERVICE.

Step 1.

the same given in the program as

CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' destination 'Z_WEBSERVICE' EXPORTING FROMZIP = '12222' TOZIP = '22222' IMPORTING DISTANCE = lv_distance.write : 'Distance is : ' , lv_distance.

but now if I am executing my report in SAP HR system I am getting error as

"Function module "Z_WEBSERVICE_TEST_SHABZ" not found."

I used the same program id in destination and in RFC Sender Adapter.

I request you to kindly let me know where was the error. if this because of not registering the progrm id then please provide the step how to register the program.

thanks in advance

regards,

Dhill.

Former Member
0 Kudos

Hi,

Can anybody tell me wt was the problem with regards to the above question.

Regards,

Dhill

justin_santhanam
Active Contributor
0 Kudos

Dhil,

Have u created the function module 'Z_WEBSERVICE_TEST_SHABZ' ?

Best regards,

raj.

Former Member
0 Kudos

Hi Kumar,

That means the function module Z_WEBSERVICE_TEST_SHABZ is not found. Did you create the function module?

Incase you did .. Did you activate the same?

Regards,

Sumit

Former Member
0 Kudos

Hi Raj and Sumit,

thank you very much for your responce I have created the function module and also the report and try executing it.

Now one step ahead in my process the previous error is because I have not given connection as TCP/IP. but now I got the problem as below

Runtime Errors CALL_FUNCTION_REMOTE_ERROR

"Server repository could not create function template for

Error analysis

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "RFC_EXTERNAL_ABORT"

on the called page.

Can you let me know where I went wrong. appreciate your co-operation

Thank you

Regards,

dhill

prateek
Active Contributor
0 Kudos

Use this

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Regards,

Prateek