Configuring user exits

Configure user exits to run custom processing during transaction event handling. User exits invoke services or Java classes to perform actions during transaction processing.

About this task

User exits define custom processing logic for a transaction. Configure user exits to invoke a service or Java class when a transaction event occurs.

Before you configure user exits, create a transaction or open an existing transaction. For more information, see Creating transactions and Modifying transactions.

Procedure

  1. Open a transaction.
  2. Select the Event conditions tab.
  3. Select the User exits tab.
  4. Select the user exit that you want to configure.
  5. Click Add services.
  6. From the Document type list, select a document type.
  7. Configure one of the following implementation methods.
    • To use a service, select Implement as a service, and then enter the service name.
    • To use a Java class, select Implement as a Java class, and then enter the Java class name.
  8. Optional: To limit concurrent processing, select Restrict number of calls, and then specify the following values:
    • Pool size
    • Maximum queue length
    • Wait time
  9. Optional: In the User exit implementation notes field, enter implementation notes.
  10. Click Save.
    Note: You must specify either a service name or a Java class name before you can save the user exit.

Results

The user exit is configured for the selected transaction. The configured service or Java class runs during transaction processing.

What to do next

  • Configure transaction completion criteria to determine when the transaction is complete.
  • Associate the transaction with the required process steps.