‎2009 May 28 6:18 AM
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
‎2009 May 28 6:39 AM
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
‎2009 May 28 7:54 AM
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.
‎2009 Jun 05 5:46 AM
‎2009 Jul 27 8:02 AM
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