Creating a User Exit - trillium_quality - 17.2

Trillium Quality for SAP Reference Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Version
17.2
Language
English
Product name
Trillium Quality
Title
Trillium Quality for SAP Reference Guide
First publish date
2008
Last updated
2024-04-08
Published on
2024-04-08T11:11:33.467656

This section describes how to create a user exit within Trillium SAP BADI. The procedure uses the example of creating a user exit for the Before_Address_Check interface. The steps are similar for other user exits.

  1. Use transaction /nSE19 to display the BADI Builder: Initial Screens for Implementations.

  2. Select Classic BADI from the Create Implementation box and enter the relevant TS Connector user exit BADI (for example, /TRILLIUM/ADDRCHCKEX).

  3. Click .

    The Business Add-In Builder: Create Implementation window opens.

  4. Enter the customize implementation name that starts with Z.

  5. Enter the Trillium definition name, which in this example is /TRILLIUM/ADDRCHCKEX.

  6. Click  to continue.

    The Display Implementation window opens.

    Figure 1. Display Implementation Window Display Implementation Window

  7. Enter a description in the Implementation short text field.

  8. From the Interface tab, click the method you want to use for the user exit you are creating. For this example, click BEFORE_ADDRESS_CHECK.

    An empty shell window opens.

    Figure 2. User Exit Selected Method Empty ShellUser Exit Selected Method Empty Shell

  9. Add your custom source code. For this example, add source code that only checks certain customer account groups or customers within a certain postal code for processing.

    Figure 3. User Exit for the Selected Method withExample Source CodeUser Exit for the Selected Method withExample Source Code

  10. Check the custom source code for syntax errors by clicking .  

  11. Activate the user exit by clicking .

  12. Back out of the source code area.

You can now activate the new Implementation (user exit) name.