The structures used with SAP Address Management are called ADRC_STRUC, ADRC_QU1, ADRC_QU2 and ADRC_QU3. They are subsets of the table ADRC which stores address information for customers, plants, vendors and business partners.
These structures carry the required address elements, omitting all other elements such as name, telephone, email address, etc., to Trillium Quality for postal validation. The ADRC_STRUC is for real-time processing and ADRC_QU2 is for batch (Quarterly Adjustment) processing. However, Trillium for SAP has allowed for some flexibility in the structure; it enables you to customize the application to carry non-address elements to Trillium Quality for processing.
The new structures are called /TRILLIUM/ADRC_STRUC and /TRILLIUM/ADRC_QU2. They are copies of the ADRC_STRUC and ADRC_QU2 but are extendable by users. The same functionality has been added to the structure used for duplicate check error-tolerant search (/TRILLIUM/SEARCH_FIELDS) and/TRILLIUM/BATCH_MATCH_FIELDS.
To use this functionality, determine whether the field you want is in the standard process. If it is not, you must perform the following customization steps:
-
Perform Append Structure to include the new field to the structure.
-
In TrilSAP.cfg [SAP<connector component>] Section, map the extended newly created field to TS Connector field (for example, Name1 = BusinessName).
-
Include custom source code in an SAP Customer Maintenance user exit to export the newly created field to the memory buffer.
-
Include custom source code in a Trillium user exit to read from the memory buffer into the customized structure.
-
Include custom source code in a Trillium user exit to export the cleansed data into the memory buffer.
-
Include custom source code in an SAP Customer Maintenance user exit to import the data to the allocated field.
The following section describes the procedures for appending a structure, using /TRILLIUM/ADRC_STRUC as an example. The same procedures apply to all other structures.
For information on user exits, see Chapter 9.
To append the structure
-
Access the required structure via transaction /nSE11.
The ABAP Dictionary Initial Screen opens.
Enter the structure name in the Data Type field, then click the Display button.
The Dictionary Display Structure window opens.
Figure 1. ABAP Dictionary Initial ScreenFigure 2. Dictionary: Display StructureOn the Dictionary Display Structure window, click Append Structure.
The Append for table /TRILLIUM/ADRC_STRUC window opens, with a pre-loaded name for the append structure that begins with “ZA.”
Figure 3. Append for Table /TRILLIUM/ADRC_STRUC Window-
(Optional) Enter a new name for the append.
Click to continue.
The new append structure is added and the Dictionary Maintain Append Structure window opens.
Figure 4. Dictionary: Maintain Append Structure-
Enter a short description, then include the new field in the Component column and data element in the Component Type column.
-
Click to save your customization.
-
Create the Change Request as required by standard SAP.
-
Click the Activation button to activate your newly created customization.
-
When a warning window opens, click Yes to display the activation log or No to continue without displaying the log.
-
Click to display the newly created field.
-
Click to complete the process.