Implementing Enhancement Level 3 - BP_ADDR - trillium_quality - 17.1

Trillium Quality for SAP Reference Guide

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Version
17.1
Language
English
Product name
Trillium Quality
Title
Trillium Quality for SAP Reference Guide
Topic type
Overview
Administration
Configuration
Installation
Reference
How Do I
First publish date
2008

This section contains the procedure for implementing the component BP_ADDR.

To implement BP_ADDR

  1. Use the BSP WD Workbench to enhance the component BP_ADDR and customize the Address decision pop-up window.
    1. Start transaction BSP_WD_CMPWB.

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

    3. Click Display.

    4. Open the Views node and click node BP_ADDR/AddrDecision.

      Figure 1. Enhance Component BP_ADDREnhance Component BP_ADDR
  2. Navigate to the context node folder. Right-click and select Create.

    Figure 2. Context Node FolderContext Node Folder
  3. Enter name NEWADDRESS and click Continue.

    Figure 3. NEWADDRESSNEWADDRESS
  4. Click Add ABAP dictionary types .  

  5. Enter DDIC Structure /TRILLIUM/ADRC_STRUC and click Enter.

  6. Click Select all and then click Continue.

    Figure 4. Add Dictionary TypesAdd Dictionary Types
  7. Repeat Step 2 through Step 6, creating a second context node named ORIGADDRESS. This context node will have all of the same attributes as NEWADDRESS.

  8. Double click on the view controller implementation class Z*_IMPL.  This will bring you to the Class Builder.

    Figure 5. Class BuilderClass Builder
  9. Switch to change mode . Locate the method DO_PREPARE_OUTPUT.

  10. Click once on the method name and click the Redefine button .The color of the method name changes from blue to black to indicate that it has been redefined.

  11. Click the Code button  to edit the ABAP code.  

  12. In a separate session, start transaction SE24 and display class/TRILLIUM/_ADDRDECISION_IMPL.

  13. Replace all of the code in your method DO_PREPARE_OUTPUT with the code from class /TRILLIUM/_ADDRDECISION_IMPL method DO_PREPARE_OUTPUT. Be sure to save and activate your method.

  14. Perform Step 8 through Step 13 again for method EH_ONACCEPT.

  15. Perform Step 8 through Step 13 again for method DO_HANDLE_EVENT.

  16. In your view controller implementation class Z*_IMPL, create a new method named EH_ONACCEPTORIG. Copy the code from class/TRILLIUM/_ADDRDECISION_IMPL as above.

  17. Copy the imported view configuration from the /TRILLIUM/ role configuration key to the role configuration key that is assigned to your business roles. Follow the instructions on page 82, Step 3, for Enhancement Level 1.

  18. Re-start the BSP WD Workbench (transaction BSP_WD_CMPWB) by  navigating to Views>BP_ADDR/AddrDecision and double clicking the view name. The view structure opens.

    Figure 6. View StructureView Structure
  19. Click the Configuration tab to customize the view layout. You may be required to login again at this point.

    Figure 7. Configuration TabConfiguration Tab
  20. Click Choose Configuration and select the entry with your role configuration key. This will display the newly copied view configuration.

    Figure 8. New Configuration DisplayedNew Configuration Displayed
  21. Use the view configuration tool to add the desired fields to the view.  Trillium suggests that you configure a 16 column / 2 panel view, similar to the figure below.

    Figure 9. Add Fields to the ViewAdd Fields to the View
  22. Switch to change mode  and click Show Available Fields to begin adding fields from the context nodes ORIGADDRESS and NEWADDRESS to the view layout.

  23. Use the Add Caption function to put the labels Original Address and Corrected Address into the view layout.

    Figure 10. Add CaptionsAdd Captions
  24. Optionally, for CRM 7.0 Ehp1, Ehp2, Ehp3 and Ehp4, remove the message text from the address check pop-up view configuration for roles other than the IC WebClient role.