In SAP Systems, the Plant is a field that quite often has a key status for searching messages as well as for finding the right person for the error handling.
When using a custom single index table and additional multi index tables, it's necessary to specify the location of the fields within the message that correspond to the entries in the index table. This is done by using the transaction /AIF/CUST and then Define Interface Specific Features → Define Key Fields for Multi Search
In the monitoring and error tool, it's possible to also search by fields of the single and muti index tables. To display the key fields as selection fields for the user, a selection screen is required. The selection screen has to be added to the interface.
You can do this in the Define Namespace-Specific Features activity in Application Interface Framework Customizing. You have to enter the selection screen in the Program Name field; you also have to fill the Screen Number field.
The selection screen program needs to be defined as module pool. The selection screen has to be defined as a subscreen containing the relevant fields as select options.
Steps necessary for using custom index table:
Identify relevant key fields from source and destination structure.
Create single and multi index tables.
Create an interface-specific selection screen.
Maintain key fields: Assign field from message structure, index table, and selection screen.
Note
The program you create for the additional selection screen has to be of type Module-Pool and the screen has to be programmed with the selection-screen commands instead of the screen painter. As the screen is added to the standard Error Handling Screen, you have to create it as a subscreen.