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: 

What are all the types of Function module?

Former Member
0 Kudos

Hi,

What are all the types of Function module.

Pls reply me.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Normal - Normal function module..Cannot be called remotely

Update - Update function module..Which can be called IN UPDATE TASK to group the updates in LUW

Remote enabled - Can be used to call the function modules from an external system

Thanks

Naren

3 REPLIES 3

Former Member
0 Kudos

Hi,

Function modules are one element. There are no types. However sometimes an RFC enabled function module is referred to as RFC Function module, but really it is just a function module. Also BAPIs are function modules, but are usually referred to as just BAPI as opposed to BAPI Function module.

There is no different function module types , but calling the function module will be different.

check this function calls syntax

1. Calls a function module:

- CALL FUNCTION func.

2. Call a function module in a different mode (asynchronous Remote Function Call):

- CALL FUNCTION func STARTING NEW TASK taskname.

3. Call a function module in the update task:

- CALL FUNCTION func IN UPDATE TASK.

4. Call a function module in a remote system (Remote Function Call, RFC 😞

- CALL FUNCTION func DESTINATION dest.

5. Asynchronous call to a function module with transactional processing (transactional Remote Function Call):

- CALL FUNCTION func IN BACKGROUND TASK.

qRFC with output queue

6. Call a function module that can be activated in the context of enhancements:

- CALL CUSTOMER-FUNCTION func.

plz go through the below links

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm

Thanks,

Reward If Helpful.

Former Member
0 Kudos

Hi,

Normal - Normal function module..Cannot be called remotely

Update - Update function module..Which can be called IN UPDATE TASK to group the updates in LUW

Remote enabled - Can be used to call the function modules from an external system

Thanks

Naren

Former Member
0 Kudos

hi,

in function modules are there are 3 types. these u can see in the attributes section of any function module [SE37]

1. normal function modules

for doing my operation these function modules are used. these can't be called remotely.

2. remote enabled function module

for accessing remote systems from our system. the fm's are used with the help of RFC.

3. update function module.

Which can be called IN UPDATE TASK to group the updates in LUW

if helpful reward some points.

with regards,

Suresh Aluri.