Implementing Enhancement Level 3 – BP_HEAD_SEARCH - 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 procedure in this section describes implementing enhancement Level 3 - Component BP_Head_Search.

  • BP_HEAD_SEARCH/MainSearch

  • BP_HEAD_SEARCH/MainSearchResult

  • BP_HEAD_SEARCH/SearchHelp

  • BP_HEAD_SEARCH/SearchHelpResult

To implement enhancement level 3 - BP_HEAD_SEARCH

  1. Use the BSP WD Workbench to enhance the component BP_HEAD_SEARCH and customize the business partner search views.

    1. Start transaction BSP_WD_CMPWB.

    2. Enter component BP_HEAD_SEARCH and the name of your enhancement set from view BSPWDV_EHSET_ASG.

    3. Click Display.

  2. Right-click the Custom Controllers node and choose Create.  Respond to the prompts, as illustrated in the following figures.

    Figure 1. Create Custom Controller Create Custom Controller
    Figure 2. Define Custom Controller Description
    Define Custom Controller Description
    Figure 3. Add Model Node Add Model Node
    Figure 4. Add Value Node Add Value Node
    Figure 5. Add Model Attributes Add Model Attributes
    Figure 6. Add Value Attributes Add Value Attributes
    Figure 7. Value Attributes Added Value Attributes Added
    Figure 8. Link Context Node Link Context Node
    Figure 9. Summary Summary

    Scroll down to see the rest of the Summary information:

    Figure 10. Summary (continued) Summary (continued)
  3. Open the Views node and click node BP_HEAD_SEARCH/MainSearch.
    1. If the view has not already been enhanced, enhance the view.
    2. Create a new context node named UICONTROL and bind it to the custom controller context node that was created in Step 2.
      Figure 11. Define Context Node Define Context Node
      Figure 12. Add Value Attributes Add Value Attributes
      Figure 13. Link Context Node Link Context Node
      Figure 14. Summary Summary
    3. CRM 7.0 Ehp1, Ehp2, Ehp3 and Ehp4 users: skip toStep e on page 103. For CRM releases lower than CRM 7.0 Ehp1, locate the view controller class for view BP_HEAD_SEARCH/MainSearch.

      Figure 15. Locate View Controller Class Locate View Controller Class
    4. Double-click on the class name to navigate to the Class Builder.  Click on the Attributes tab and create the new class attribute GV_CATEGORY with type BU_TYPE.

      Figure 16. Navigate to the Class Builder Navigate to the Class Builder
    5. Navigate to Event Handler and redefine event handler method EH_ONSEARCH.

      Figure 17. Navigate to Event Handler Navigate to Event Handler
    6. Enter the following code in the redefined method:

      method EH_ONSEARCH.
       include /TRILLIUM/MSRH_EH_ONSEARCH.
      endmethod.
    7. Navigate to Request Processing and redefine method DO_CONFIG_DETERMINATION.

      Figure 18. Navigate to Request Processing