Skip to Content
author's profile photo Former Member
Former Member

update type function module

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 10:02 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 10:08 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 10:11 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 23, 2008 at 10: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 11:13 AM

    Hi,

    check this link it would be helpful to you

    http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4daa79e11d1950f0000e82de14a/content.htm

    cheers,

    sowjanya.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.