User Exit Conversion Type If the functions offered by the
Constant
and
Table Value
conversion types do not meet your requirements, the Interface Toolbox allows you to use your own, user-defined conversion program. The
User Exit
conversion type creates the link to the customer conversion program.
The following conditions must be met before you can define the field object conversion for the
User Exit
conversion type in the interface format:
You have generated a user-defined program for the conversion of a field object.
The name of the user-defined program matches the program name in the
Program
field.
The routine specified in the
Form Routine
field is specified in your user-defined program.
The SAP System checks that the specified form routine exists in your user program.
The Interface Toolbox provides you with a default value for the length of the field object to be converted. You can modify this length to suit your requirements at any time.
The
User Exit
conversion is carried out for each table line in the selected table object (for example, WPBP) in the input data stream. Define the form routine in your user-defined program with two parameters:
Parameters |
Meaning |
Parameter 1 |
Current line of the table object in which the field object is contained (input parameter) |
Parameter 2 |
Result of conversion (return value) The return value is interpreted as a character field type. |
See also: