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.
Use transaction /nSE19 to display the BADI Builder: Initial Screens for Implementations.
Select Classic BADI from the Create Implementation box and enter the relevant TS Connector user exit BADI (for example, /TRILLIUM/ADDRCHCKEX).
Click .
The Business Add-In Builder: Create Implementation window opens.
Enter the customize implementation name that starts with Z.
Enter the Trillium definition name, which in this example is /TRILLIUM/ADDRCHCKEX.
Click to continue.
The Display Implementation window opens.
Figure 1. Display Implementation WindowEnter a description in the Implementation short text field.
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 ShellAdd 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 CodeCheck the custom source code for syntax errors by clicking .
Activate the user exit by clicking .
Back out of the source code area.
You can now activate the new Implementation (user exit) name.