ISMA_SEARCH_QUERY is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISMA_SEARCH_QUERY into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ISMA
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISMA_SEARCH_QUERY' "SDB: Receive a query and send to the search engine
* EXPORTING
* input_corpus = '2001' " srtvcorpid
* input_langu = SY-LANGU " sy-langu
* input_query = " srtv_doc_text
* input_show_criteria = 'X' "
* input_show_dialog = 'X' "
* input_release_only = 'X' "
* input_max_hits = 0 "
* TABLES
* input_filter = " disquery
* result_symptom = " ditssm
* result_solution = " ditssl
* result_task = " disltk
EXCEPTIONS
SEARCH_QUERY_FAIL = 1 "
NO_HIT_FOUND = 2 "
CANCEL_PRESSED = 3 "
. " ISMA_SEARCH_QUERY
The ABAP code below is a full code listing to execute function module ISMA_SEARCH_QUERY including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_input_filter | TYPE STANDARD TABLE OF DISQUERY,"TABLES PARAM |
| wa_input_filter | LIKE LINE OF it_input_filter , |
| it_result_symptom | TYPE STANDARD TABLE OF DITSSM,"TABLES PARAM |
| wa_result_symptom | LIKE LINE OF it_result_symptom , |
| it_result_solution | TYPE STANDARD TABLE OF DITSSL,"TABLES PARAM |
| wa_result_solution | LIKE LINE OF it_result_solution , |
| it_result_task | TYPE STANDARD TABLE OF DISLTK,"TABLES PARAM |
| wa_result_task | LIKE LINE OF it_result_task . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_input_corpus | TYPE SRTVCORPID , |
| it_input_filter | TYPE STANDARD TABLE OF DISQUERY , |
| wa_input_filter | LIKE LINE OF it_input_filter, |
| ld_input_langu | TYPE SY-LANGU , |
| it_result_symptom | TYPE STANDARD TABLE OF DITSSM , |
| wa_result_symptom | LIKE LINE OF it_result_symptom, |
| ld_input_query | TYPE SRTV_DOC_TEXT , |
| it_result_solution | TYPE STANDARD TABLE OF DITSSL , |
| wa_result_solution | LIKE LINE OF it_result_solution, |
| ld_input_show_criteria | TYPE STRING , |
| it_result_task | TYPE STANDARD TABLE OF DISLTK , |
| wa_result_task | LIKE LINE OF it_result_task, |
| ld_input_show_dialog | TYPE STRING , |
| ld_input_release_only | TYPE STRING , |
| ld_input_max_hits | TYPE STRING . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISMA_SEARCH_QUERY or its description.
ISMA_SEARCH_QUERY - SDB: Receive a query and send to the search engine ISMA_INS_GET_SOLU_TASK - SDB: (RFC) Insert/get solution tasks ISMA_INS_GET_SOLU_ATTACHMENT - SDB: (RFC) Insert/get solution attachments ISMA_INS_GET_PROBLEM_LOCATION - SDB: (RFC) Insert/get problem locations ISMA_INS_GET_PROBLEM_DAMAGE - SDB: (RFC) Insert/get problem damages ISMA_INS_GET_PROBLEM_CAUSE - SDB: (RFC) Insert/get problem causes