
FUN
Use
FUN ( <function module>, <command interface> ).
FUN ( <function module>, <command interface> , <target system> ).
The FUN command executes a function module.
The values for EXPORTING, IMPORTING, TABLES, CHANGING, and EXCEPTIONS, are passed by means of the command interface.
If a function module raises an exception, the name of the exception is logged.
Normally, a function module raising an exception is marked in the log as having an error. To prevent this, enter
'X' in the exception's Value field.Procedure
The command interface appears in the structure editor.
Notes
UI-oriented value conversions (such as conversion exits) or value formatting, are not performed in the FUN interface.
If, after evaluation of the command interface, a TABLES parameter results in a single table line in which every field of the table structure is initial according to its type, a table with no line is supplied to the function module.