Address Screening Filter: Implementation Details

This topic describes how to implement the address screening filter, which you can use to filter out or reduce the number of hits returned during address screening.

To use an address screening filter, you must create an ABAP class that contains the filter logic. You must create the class in the same package as the address views of the detection object type. (Otherwise, it will not be offered in the Detection Strategies app.) You must also ensure the fields that you want to be checked in the filter are provided in the address view. The available filter fields are described in topic Address Screening Filter Fields.

Also, you must implement the interface IF_FRA_ADDR_SCR_FILTER into the class. This interface includes the AMDP marker interface if_amdp_marker_hdb, thus it turns the class into an AMDP class.

The newly created class now owns an interface method called FILTER_ADDR_SCREENING_RESULTS, where you can implement the filter logic.

The following parameters are offered in the method:
  1. Import parameter IT_SCREENING_RESULT, which contains:

    • The keys of the screened addresses and their corresponding detection objects that are part of the intermediate address screening results.

    • The generated address key (GEN_ADDRESS_KEY), which is an identifier for the combination of the detection object IDs and the address key fields (ADDRESS_ID, ADDRESS_VARIANT, VALID_FROM).

    • The entity key (ENTITY_KEY), which is an identifier of the address screening list entity that matched with address data.

    • Additional filter fields from the customer address screening view or the online detection interface, respectively. Those additional fields can be used to filter against the address screening list. (See topic Address Screening Filter Fields).

  2. Export parameter ET_RESULT_KEYS_TO_KEEP, which should contain:
    The keys of the address screening results, which should be kept in the final results, have to be returned by the filter. A single result contains the following information:
    • GEN_ADDRESS_KEY: See above

    • ENTITY_KEY: See above

    • FILTER_RESULT: The filter result can contain any type of string. We strongly recommend using the combination of business partner information and entity information, which you will use for the additional check. The Filter Result field impacts the “Alert Lifecycle” and the "Intelligent Screening”.

    The generated address screening key and entity key must be part of the intermediate screening results given in IT_SCREENING_RESULT. A new combination of generated address key and entity key as filter result is not supported.
  3. Export parameter ET_TEXT_TO_ADD

    Additional detection method texts, which should be added. This is optional information that provides information for the investigator.

    You can add multiple lines of text for your finding. The order of your text can be defined via column “GROUP_ORDER”. You can use the column “TEXT”, but we recommend using T100 messages because this information can be translated and displayed in the log on language. Maintain the following fields:

    • MSGID: The message class of the T100 message in transaction SE91

    • MSGNO: The message number.

    • MSGV1, MSGV2, MSGV3, MSGV4: Optional – the values for up to four possible variables that may be inserted into a T100 message text.

    • MSGV1_FC, MSGV2_FC, MSGV3_FC, MSGV4_FC: Optional – the names of fields in Customizing (see above) that serve as templates for formatting numbers, amounts, or dates and times in the MSGVn message variables.

    • Note that the source domain of the fields is set implicitly since it is inherited from the investigation object type of the detection method. The fields that you name here must therefore be present in the source domain of the investigation object type.

    Your text will be appended to the standard text for every address and entity hit.