Searches are the central modules of the search framework.
A search uses search criteria to produce a hit list. You configure the possible searches in Customizing for Claims Management
under .
You can start all searches of the search framework by calling function module IGN_SEARCH_START
. To create, display or change searches, you use function module IGN_SEARCH_MAINTAIN
.
To give you flexibility in integrating searches in the application or a business process, the application must provide a suitable search integration. The Claims Management system provides search events for this purpose. You assign searches of the search framework to search events in Customizing (path: ).
Usually the application places certain conditions on the hit list of a search, so that the hit list can be processed sensibly. For example, it might be the case that the hit list must be a certain table type or must contain certain fields.
You need different attributes to configure a search.
You must differentiate between the following different attributes of the search:
General attributes, in other words, these attributes are relevant for all searches
Attributes that depend on the search category
General Attributes
General attributes include the following:
Textual description (long text) of the search
Settings for the search criteria of the search
You can make the following settings for search criteria:
Specify search criteria
You specify which search criteria a search should consider.
Degree of necessity of the search criterion
You specify whether a search criterion is optional or necessary.
Behavior of the search framework if required search criteria are missing
Here you can specify:
Skip search for which search criteria are missing
Trigger an exception
The caller (the application) is given control with this setting. The application then decides what the reaction should be.
Attributes that Depend on the Search Category
Search category Search Using Function Module
Make the following setting here:
Enter the name of the search function module.
Search function modules must have an interface that has been predefined by SAP. For more information, see the documentation of data element Search Function Module
(IGN_SEARCH_FUNCTION_MODULE
).
Search category Search Using Query
Make the following settings here:
Enter the user group.
Enter the name of the query.
Search category: Search Using BDT Application Object
Make the following settings here:
Enter the key of the application object.
Make settings for the display fields of the hit list.
It also makes sense to specify the following:
Maximum number of hits in the search
Maximum runtime of the search in seconds
This way, you can avoid unnecessary waiting time.
Search category Search Sequence
Make the following settings here:
Enter the table type of the hit list.
Enter the comparison fields for integration of the hit list.
Define the individual searches in the required sequence.
Enter a logical linking operation for the individual searches, and possibly a BRFplus expression for the termination condition.
Each search of the search framework is uniquely assigned to a search category and a search application.
You have an incoming hospital invoice in hand and want to search for the associated admission notification on the basis of the external case number.