09-10-2007 8:36 AM
09-10-2007 9:12 AM
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.
Regards
09-10-2007 8:40 AM
Hi,
There are three types of function modules
1>Normal
2>Remote enabled
3>Update
plz go through the below links
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
Regards,
Nagaraj
09-10-2007 9:03 AM
09-10-2007 9:12 AM
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.
Regards
09-10-2007 9:43 AM
Hi,
1) Normal Function Modules (sap standard)
2) Custom Function modules ( either Z or Y)
3) RFC Function Modules
4) BAPI
5) Custom BAPI
6) RFC BAPI
Regards,
Satish
09-10-2007 10:03 AM
Hi Sachin.
Open any FM in SE37.
Select the Attributes Tab:
in The Processing Type you can see the Types of FMs
1.Normal FM - Can be called within the Same SAP System
CALL FUNCTION '<NAME>'
2. Remote Enable FM : Can be called from External (SAP or NON SAP) system.
CALL FUNCTION '<NAME>' DESTINATION '<RFC DESTINATION>'
3. Update Module: Only for Updating database tables . processed in Update work process.
CALL FUNCTION '<FM>' IN UPDATE TASK.
<b>reward if Helpful</b>