‎2008 Apr 02 8:35 PM
Hi,
We are using a customised function module which we are calling in a user exit. We would like to call this function module in update task in the user exit to populate data in a custom table.
We have given the following parameters to the function module
Import Parameters
ITAB LIKE ZPRUNDAT
Export Parameters
l_subrc TYPE sy-subrc
On the attributes tab of the function module, Update Module has been selected under processing type.
When we try to activate this function module we get the following message
EXPORTING parameters are not allowed in the update task.
and the function module does not get activated. What should we change to get the function module activated?
Mick
‎2008 Apr 02 8:53 PM
‎2008 Apr 02 8:54 PM
You can't also use exceptions.
Just put the sy-subrc in a return table, and problem solved
‎2008 Apr 03 6:01 AM
Hi,
Please try this....
In function module
In tables Section add this...
RETURN TYPE BAPIRET2 and then activate.
if its useful reward points