Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SM59 RFC TCP/IP Function

Former Member
1,854

hi

I am working on SM59 TCP/IP RFC what button should i select for connecting to the external server from sap?

what should i give in Program ID .

I have file in csv format i have to get into the SAP Server

Plz kindly share ur suggestions.

Thanks in Advance

4 REPLIES 4
Read only

Former Member
0 Likes
994

Hi Hema,

You need to select the START ON EXPLICIT HOST . You need to code a program which contains a Function Module of type RFC. This function module should be responsible for the storing of the CSV format file into the target SAP System.

This Z program name should be mentioned under Program ID and mention the Target HOST.

The program should get executed once it reaches the Destination.

Regards,

-Syed.

Edited by: wahid hussain syed on May 28, 2009 7:40 AM

Read only

Former Member
0 Likes
994

Hi,

1.1 Create RFC destination:

To create the RFC go to TCODE: SM59

Create new destination of type T (TCP/IP)

Make sure you select Registered Server Program option before writing your program ID

Write your program ID (remember it's case-sensitive)

In the gateway host and gateway service write the values of your "Application system" - business system (R/3 System)

Make sure the Program id specified here(Target System) and the Program id specified in the RFC destination created above are same.

Please check the below link, you will get some idea.

http://www.kmsec.de/documents/FILETRANSFER.pdf

http://support.sas.com/documentation/onlinedoc/srm/sapimplmentation.pdf

Regards

Pugazhenthi.P

Satyam Computer Services Ltd.

Read only

Former Member
0 Likes
994

solved by self

Read only

0 Likes
994

Hi Hema,

Your problem has resolved. will you please share .

In SM59 which program id name we have to give. Or we can give any name? actually I want to connect to JAVA server from SAP. I want to access some data from JAVA system In SAP. So how to create RFC connection in SM59. What program ID I have to Give.. Please Reply

Regards,

Pradip Pawar