Message type: E = Error
Message class: FL - Function Builder messages
Message number: 372
Message text: Reference parameters are not allowed in the update task
You have defined a reference parameter for an update function module.
However, only value parameters are allowed in update function modules.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Change the reference parameter to a value parameter.
Error message extract from SAP system. Copyright SAP SE.
FL372
- Reference parameters are not allowed in the update task ?The SAP error message FL372, which states "Reference parameters are not allowed in the update task," typically occurs in the context of ABAP programming, particularly when dealing with update function modules. This error indicates that a reference parameter is being used in a context where it is not permitted, specifically within an update task.
Cause: Reference Parameters in Update Tasks: In ABAP, reference parameters (using the REF TO syntax) cannot be used in update function modules. Update function modules are designed to be executed in a separate update task, and reference parameters cannot be passed in this context due to the way the update task handles data. Incorrect Function Module Definition: If a function module is defined with reference parameters and is intended to be called in an update task, it will trigger this error.
Solution: Change Parameter Types: Modify the function module to use value parameters instead of reference parameters. This means changing the
Get instant SAP help. Sign up for our Free Essentials Plan.
FL371
CHANGING parameters are not allowed in the update task
What causes this issue? You have defined CHANGING parameters for an update function module.System Response The system issues an error message and wi...
FL370
EXPORTING parameters are not allowed in the update task
What causes this issue? You defined export parameters for an update function module, but this is not allowed.System Response The system issues an er...
FL373
All parameters require a reference field or a type
What causes this issue? You have defined a parameter without either reference field or type in an update function module. This is not supported.Syste...
FL374
Generic typing is not possible with update modules
What causes this issue? You tried to give a parameter belonging to an update module a generic data type (e.g. type C). However, this is not possible ...
Click on this link to search all SAP messages.