User Exit Conversion Type 

Use

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.

Prerequisites

The following conditions must be met before you can define the field object conversion for the User Exit conversion type in the interface format:

The name of the user-defined program matches the program name in the Program field.

The SAP System checks that the specified form routine exists in your user program.

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:

Example: User Exit with Form Routine