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

what are the steps we have to follow to develop RFC function module

hi

what are the steps we have to follow to develop RFC function module

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 05:08 AM

    I will tell you simple example within r/3 systems..

    source system - A (SAP R/3 )

    Destination System B (SAP R/3).

    First create RFC Destination in SM59 - in A System.

    Createing RFC Destination - GOTO SM59 Transaction and click R/3 System .

    it will go second screen and give ur RFC Name ,IP Address and log on details.

    click on test concetion and remote logon.

    now create RFC Function module in B System.

    goto se37 - create fm with starting with Z* or Y*.

    maintain all data like

    attribute should be remote enabled

    importing is v_matnr

    exporting is v_maktx.

    write the simple code - select single maktx from makt into v_maktx

    where matnr = v_matnr.

    Call this fm in report program in se38 in B sytem and copy the FM.

    paste this code A System

    use ur logic and destination 'RFC Name'.

    Reward Points if it is helpful

    Thanks

    Seshu

    Message was edited by:

    Seshu Maramreddy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 05:03 AM

    No difference much between normal function module and RFC

    create Function module in SE37.

    iN Attributes tab,select radio button Remote enabled function ....

    it will become RFC.

    if you want to call this RFC in another server,then in sm59 you need to configure.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 05:03 AM

    After developing a FM, to make it RFC enabled you have to take care of the following things:

    1. In attributes click the radiobutton 'REMOTE ENABLED' .

    2. Pass all the parameters by 'Pass By Value' .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 05:04 AM

    Hi,

    it is developed as normal FM only , but the main difference is , in the attributes u have to check the RADIO BUTTON -- REMOTE ENABLED FUNCTION MODULE..

    create a function group.

    go to se37, create a function module .. and assign the FM to function group.

    in attributes , select the radio button..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 28, 2007 at 05:11 AM

    Hi,

    Goto SE37 --> Write Function Module name --> Create --> go to Attribute Tab --> Select "Remote Enabled Module" --> Give Import Parameters --> Click on Optional and Pass Values --> Give Export Parameters --> Click on Pass Value --> Write code accordingly.

    Regards,

    Sandeep kaushik

    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.