To create a function module, you first need to start the Function Builder. To do this, choose ABAP Workbench Tools.
. You can find more information on how to create function modules in the appropriate documentationTo 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:
Set this option for high priority ("V1") functions that run in a shared SAP LUW. These functions can be restarted by the update task if any errors occur.
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.
Set this option for low priority ("V2") functions that run in their own update transactions. These functions can be restarted by the update task if any errors occur.
To get to the attributes screen in the Function Builder, choose
.Defining the Interface
Function modules that run in the update task have a restricted interface: