2008 Mar 24 3:24 AM
hi gurus what is the difference between normal FM & REMOTE ENABLED FM
2008 Mar 24 3:27 AM
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..
2008 Mar 24 3:28 AM
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
2008 Mar 24 3:59 AM
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
2008 Mar 24 5:46 AM
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.