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: 

Regarding...Fun.Module

Former Member
0 Kudos

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

4 REPLIES 4

former_member188829
Active Contributor
0 Kudos

Hi,Check this thread..

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

varma_narayana
Active Contributor
0 Kudos

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.