Changing Columns in the Potential Duplicates Screen - 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

The Potential Duplicates pop-up displays a standard, pre-defined set of columns. You can change the columns to be displayed by creating a new ALV Display Variant.

Note: The following illustrates the procedure for SAP ERP Customer Master. The procedure for ERP Vendors, ERP Business Partners, CRM Business Partners and the Web Client will vary from this example.

To change displayed columns

  1. Create an append structure on structure /TRILLIUM/SEARCH_FIELDS.
    1. Create the append structure in the customer namespace (Z* or Y*).

    2. Add the fields that you want to display in the pop-up. You can add any fields that you want to display (i.e., from KNA1 and/or from Z tables).

  2. Create a BADI implementation for BADI /TRILLIUM/ADDRSRCHEX.
    1. Create the BADI implementation in the customer namespace (Z* or Y*).

    2. Implement the code required to retrieve and populate the additional fields in method BEFORE_MATCHER_CALL.Loop through table parameter CH_T_ADDRESS_MATCHES.

      • The customer numbers are available in field CH_T_ADDRESS_MATCHES -KUNNR.

      • Select additional data from KNA1 and/or any required Z* tables.

      • Set the values for the additional fields in parameter CH_T_ADDRESS_MATCHES.

  3. Create a new ALV Display Variant that includes the additional fields.
    1. Display the duplicate pop-up window.

    2. Click Change Layout.
      Figure 1. Click Change Layout
      Click Change Layout
    3. Modify the layout as desired and then save it with a name, such as/ZCUSTOMER.
      Figure 2. Save the Layout
      Save the Layout
  4. Set your new ALV Display Variant as the default view for Customers.
    1. Go to the Trillium section of the IMG and open node “Maintain dis­play variants for duplicate lists.”
      Figure 3. Open Node Maintain Display Variants
      Open Node Maintain Display Variants
    2. Set the layout value for the row with keys KNA1 ADRDR (LFA1 ADRNR for ERP Vendors) to your new ALV Display Variant.
      Figure 4. Set the Layout Value
      Set the Layout Value