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

How to make a Normal function module to RFC fm.

Former Member
0 Kudos

Hai All,

I have developed some Custom Function Modules for making DML operations on Ztables. Now My requirement is to make them RFC enabled so that they can be accessed through Java( as one of my collegue wants to access R/3 Database through Java).

Can you list all the requirements?

Some I know are

1. parameter reference to be made to dictionary types only

2. parameters to be passed by value only

is there any other requirements?

Thank you in advance



Former Member
0 Kudos

Change the attributes from normal function module to remote enabled function module and maintain destination in SM59 In order to show destination

Reward Points if it is helpful



Message was edited by:

Seshu Maramreddy

0 Kudos

Dear Seshu!

Thank you for your reply.

But I need the requirements like i told as parameters must be referenced with dictionary types as at runtime abap types not available( I read some where) I want the list of all requirements is there any other link available?

Kindly give a link if you know any



Former Member
0 Kudos


As you have mentioned, 2 requirements are sufficients with changing the attributes of function module to RFC enabled which you can get on attributes tab of function module.

Nothing else needs to be done.



Former Member
0 Kudos


steps to make normal function module as remote function module.

1) Select(enaable) the <b>remote enabled radio button</b> in attribute of the function module.

2) maintain destination parameters to the remote function module, for that one we use SM59.

in SM59 , we provide the values to DESTINATION parameter-s.

<b>CONNECTION TYPE</b>------> each destination has a connection type field it tell's the kind of system connectio.

<b>few connection types</b> are------>R/2 connections(TYPE 2), R3 connections(TYPE 3).TYPE I(internal connects), TYPE L(logical destination), TYPE X(connections via ABAP drivers), TYPE T(TCP/IP connections).

TARGET HOST-------> here specifies the server host of the target system.

SYSTEM NUMBER------> communication service used with target system.

LANGUAGE----> system language to be used

CLIENT------> client code

USER-------> user name used for the remote logon, it differ from the current user.

PASSWORD----> user password

follow this link for further clarifications.