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.
cancel
Showing results for 
Search instead for 
Did you mean: 

hi gurus what is the difference between normal FM & REMOTE ENABLED FM

Former Member
0 Kudos
128

hi gurus what is the difference between normal FM & REMOTE ENABLED FM

4 REPLIES 4

Former Member
0 Kudos
78

Function modules are procedures that are defined in function groups (special ABAP programs with type F) and can be called from any ABAP program. Function groups act as containers for function modules that logically belong together,Function modules allow you to encapsulate and reuse global functions in the R/3 System. They are stored in a central library,Unlike subroutines, you do not define function modules in the source code of your program.

3 types.

1)normal function module

2)remote function module

Difference between FM and subroutines

3)update function module

Reward points if it is useful..

Former Member
0 Kudos
78

Hi,

Normal function module is used to excute in the exiting server.

But remote function module is used to execute in other server other than existing server.

Generally normal function module contains excepetions.

But remote function module contains messages in the return table.

Generally after executing normal funciton module commit work is not required.

But for remote funciton module you have to call the commit work expicitly.

Thanks and regars,

shyla

Former Member
0 Kudos
78

Hi,

Normal function if executed can impact on the same server only .

But Remote Enabled FM can be executed in different server and can have a impact on diff server.

Regards

Sandipan

former_member226203
Active Contributor
0 Kudos
78

Hi,

RFC is also a functional module but it is remote enabled that is from one system you can execute the RFC in another system. For this the radio button RFC in attributes column of the FM should be enabled.

In RFC parameters are only pass by value and there is no pass by reference parameter in RFC.

Function modules are routines with a defined interface. They support optional parameters intended to perform specific tasks encouraging re-use.

If u have a FM which is not RFC enabled, then u can copy this function module into your own ZFM and make it RFC enabled.

Hope this is helpful.

Reward points if useful.

Thanks.