Skip to Content
author's profile photo Former Member
Former Member

SM59 RFC Help required.

Hi,

I want to save the file to my local machine when the output is issued. I want to use EDI.

Please help me in configuration.

I have configured the partner profile in WE20. I have created the File Port and specified the directory path as d drive.

I am not able to create the RFC connection in SM69 usint TCP/IP : connection type T.

Can anyone help me out?

point will be rewarded for help.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 06:04 AM

    Experts please help..

    Add a comment
    10|10000 characters needed characters exceeded

    • hi

      Type T destinations are connections to external programs that use the RFC API to receive 'Remote Function Calls'. You must specify the host name and the pathname of the program to be started. The communication method depends on how you select the program location:

      'Explicit' selection

      In this case, the program is started either by the standard gateway program for the system or by the explicitly specified gateway (gwrd) via 'remote shell'.

      Ensure that the computer with the gateway process can access the specified computer by entering '/etc/ping <host name>'.

      In order to be able to start a program on another computer using 'remote shell', the target system must fulfil certain conditions. The user ID of the gateway process must exist and a file called .rhosts must also be present in the user's home diretory. The file .rhosts must contain the name of the calling computer. To check this, logon to the computer containing the gateway process with the appropriate user ID and enter the command 'remsh <host name> <program name>'. The <host name> and <program name> must be the same as in SM59. (If you call an RFC server program without any parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL) and the program terminates at once.)

      'Server'

      By entering the 'server', you start the program from the SAP application server.

      First, ensure that the program can be accessed from the SAP application server and that the SAP application server has the authorization to start the program.

      To check this, logon with the user ID of the SAP application server (e.g. c11adm). If possible, go into the 'work' directory of the SAP application server ('/usr/sap/.../D.../work') and try to start the RFC server program manually from there. (As in the above case, if you call an RFC server program without parameters, the RfcAccept call always returns an error code (RFC_HANDLE_NULL) and the program terminates at once.)

      'User'

      By entering the 'user', the program is started by 'SAPGUI', i.e. under the user's ID and environment.

      Ensure that you can access the program with 'SAPGUI'/'SAPTEMU'.

      Ensure that 'SAPGUI' has the authorization to start the program.

      To check this, simply call the RFC server program in your environment.

      The function call can also be asynchronous (CALL FUNCTION ... IN BACKGROUND TASK DESTINATION ...).

      reward if u find use ful

      regards

  • Posted on Sep 11, 2007 at 06:12 AM

    Hi Pranu..

    We need not to Create an RFC Destination incase of File port. It will generate the file without any RFC Destination.

    RFC Destination(type T) is needed if you want to Start any program at the Operating system level in this case.<b></b>

    But still if u need to Create it Contact the Basis Admin to fix the Error in SM59.

    reward if helpful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 06:24 AM

    hi,

    In sm59 select the Front-end workstation in Starton the RFC destination you have created and mention the name of program which will be use for file transfer.

    try testing connection first in SM59 by clicking test connection on application toolbar.

    Enjoy SAP.

    Pankaj Singh.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.