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 update functional modules ?

Former Member
0 Kudos

What are update function modules ??

4 REPLIES 4

Former Member
0 Kudos

update function modules are used whe u want to perform the updates all at once. for e.g u have a sequence of screens on which user will enter data. on each screen if u save the data directly to a table then if there is some problem before completing the transaction, system will have incomplete and inconsistent data.

for this u will use

call function 'FUNCTION_MODULE_NAME' in UPDATE TASK.

and pass it the data.

when u will trigger the COMMIT WORK command system will execute all the function modules with UPDATE TASK and update the database then only,

<removed_by_moderator_together_with_points>

Edited by: Julius Bussche on Jul 14, 2008 11:43 AM

Former Member
0 Kudos

Hi,

Go to the Tcode SE37 and select the find button from the menu and type update in the description and execute.

you will get the number of Function Modules that are available in SAP for Update.

Hope this helps you.

Thanks & Regards,

Y.R.Prem Kumar

Former Member
0 Kudos

Hi,

We bundle all our Open SQL statments for database changes in an update function module. The function module is called with addition IN UPDATE TASK. The function module is executed using an update work process when the program reaches the COMMIT WORK statement.

A typical use is to release locks using update function modules.

To choose from synchronous and asynchronous updates is at your disposal. You have to specifiy that when you create and update function module.

Regards,

Prosenjit.