07-23-2008 11:00 AM
Hi Everybody,
While creating function modules we get 3 processing types in attributes tab.
1.normal function module.
2.remote function module.
3.Update module.
My question is what the update module?
What r the scenarios where we use this type of FMs?
Thanks and Regards
Nazmul Azad
07-23-2008 11:02 AM
HI,
Check this link:
http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/content.htm
Thanks,
Sriram Ponna.
07-23-2008 11:08 AM
07-23-2008 11:11 AM
Hi,
Check this links:
http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/content.htm
Regards
Adil
07-23-2008 11:32 AM
HI,
Update FM option is used when u r calling this FM in UPDATE TASK mode.
If u call the FM in UPDATE TASK mode then this FM is executed in seperate work process called UPDATE work process.
eg: If u r calling any FM in an user exit and that FM has COMMIT WORK statement then u must call it in UPDATE TASK. Other wise u may get unexpected results. Because u r commiting the transaction in the middle it self. So when u call this FM in update task, All results of this FM will be stored in some memory area and later they will be executed.
CHANGING parameters and EXCEPTIONS are ignored in UPDATE FM.
Check F1 documentation for CALL FUNCTION IN UPDATE TASK.
Also u can't directly debug the UPDATE FM. Before calling this FM In debug mode goto MEnu>SettingsUpdate debugging.
Now even if u press F5 at this FM it will come out first. After executing every thing it will open one more window and goes to this FM. Make sure that u have max of 5 sessions opened as we can have MAX of 6 sessions in a log on(Since UPDATE debugging will open new window).
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 23, 2008 4:03 PM
07-23-2008 12:13 PM
Hi,
check this link it would be helpful to you
http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/content.htm
cheers,
sowjanya.