12-03-2007 7:56 AM
Hi Experts,
I have some doubt in FUN.MODULE. In this fun.module have diff. type of Processing Type like NORMAL,REMOTE AND UPDATE FUN.MOD.
Can explain the wht is the functionality of UPDATED FUN.MOD
Thanks,
Srinadh
12-03-2007 8:00 AM
12-03-2007 8:02 AM
1. Update FM - The main purpose of such FM is to update
some database tables, in a consitent manner.
2. It means that, when we call such update FM,
it does not update the tables immediately.
3. Instead
4. It stores the information (such as table to be update, data to be update etc),
and later on,
indepenently updates the tables.
5. If any error occurs, it notifies using inbox/workplace.
12-03-2007 12:02 PM
Hi srinadh,
see the following document.
To be able to call a function module in an update work process, you must flag it in the Function Builder. When you create the function module, set the Process Type attribute to one of the following values:
Update with immediate start
Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions can be restarted by the update task in case of errors.
Update w. imm. start, no restart
Set this option for high priority ("V1") functions that run in a shared (SAP LUW). These functions may not be restarted by the update task.
Update with delayed start
Set this option for low priority ("V2") functions that run in their own update transactions. These functions can be restarted by the update task in case of errors.
thanks
Narasimha
12-03-2007 12:05 PM
Hi Dasari..
Update FM: it is used to perform the Updation of database tables using Update Work process (V1 and V2).
You have to call this FM using
CALL FUNCTION '<FM>' IN UPDATE TASK
These FMs are only executed when the program has COMMIT WORK statement.