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

How to call external programs stored on the Server using RFC

Hi All,

Can anyone point me to the link defining the exact process for setting up and placing calls to external programs not on Local machine using RFC?

I have looked briefly at the ERFC Function Group but still am not sure where to start from.

Regards,

Madhur

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 06:13 AM

    if you want to call RFC on remote sever, you should add Destination XXX when call function, link as following:

    http://help.sap.com/saphelp_nw04/helpdata/en/e7/07fd68ff3211d386ea0000e82011b8/frameset.htm

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 06:15 AM

    use SM59 to create one link with that remote system,

    under logon/security give required detail.

    give connection type = 3 if R/3 server.

    give desc.

    i am not sure if target host is required or not.

    regards

    then you have to create one 'remote enabled' FM

    Message was edited by: Surpreet Singh Bal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 10:20 AM

    throu this FM you can call that program , by giving DESTINATION after CALL FUNCT.....

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 11:21 AM

    Hi Chopra,

    Try this function module. It enables You to call an

    external server.

    A connection must exist as posted!

    (TA: SM59)

    CALL FUNCTION 'SXPG_CALL_SYSTEM'

    EXPORTING

    commandname = 'blabla.exe'

    additional_parameters = 'blabla'

    IMPORTING

    • status =

    exitcode = ls_exit

    TABLES

    exec_protocol = lt_proto

    EXCEPTIONS

    BR

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 11:21 AM

    Hi Chopra,

    Try this function module. It enables You to call an

    external server.

    A connection must exist as posted!

    (TA: SM59)

    CALL FUNCTION 'SXPG_CALL_SYSTEM'

    EXPORTING

    commandname = 'blabla.exe'

    additional_parameters = 'blabla'

    IMPORTING

    • status =

    exitcode = ls_exit

    TABLES

    exec_protocol = lt_proto

    EXCEPTIONS

    BR

    Michael

    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.