SAP Function Modules

TERM_SEARCH_NOT_TRANSLATED SAP Function module







TERM_SEARCH_NOT_TRANSLATED 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 TERM_SEARCH_NOT_TRANSLATED into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: STERM_DB
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM TERM_SEARCH_NOT_TRANSLATED - TERM SEARCH NOT TRANSLATED





CALL FUNCTION 'TERM_SEARCH_NOT_TRANSLATED' "
  EXPORTING
    tlang =                     " sy-langu
    slang =                     " sy-langu
    p_term =                    " sterm_text-text
    max_result =                " i
  TABLES
    gl_sel_component =          " sterm_sel
    gl_sel_online_txt =         " sterm_sel
    gl_sel_country =            " sterm_sel
    gl_sel_industry =           " sterm_sel
    gl_sel_first_rel =          " sterm_sel
    gl_sel_ind_rel =            " sterm_sel
    gl_sel_last_rel =           " sterm_sel
    gl_sel_crea_nam =           " sterm_sel
    gl_sel_chan_nam =           " sterm_sel
    gl_sel_glossary =           " sterm_sel
    gl_sel_crea_dat =           " sterm_sel
    gl_sel_chan_dat =           " sterm_sel
    gl_sel_status =             " sterm_sel
    gl_sel_object_typ =         " sterm_sel
    gl_sel_online_cat =         " sterm_sel
    gl_sel_gram_typ =           " sterm_sel
    gl_sel_word_typ =           " sterm_sel
    gl_sel_gender =             " sterm_sel
    gl_sel_longtext =           " sterm_sel
    gl_sel_link =               " sterm_sel
    p_term_entries =            " sterm_term
    gl_sel_status_trans =       " sterm_sel
    gl_sel_status_source =      " sterm_sel
    gl_sel_non_tra =            " sterm_sel
    .  "  TERM_SEARCH_NOT_TRANSLATED

ABAP code example for Function Module TERM_SEARCH_NOT_TRANSLATED





The ABAP code below is a full code listing to execute function module TERM_SEARCH_NOT_TRANSLATED 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).

DATA:
it_gl_sel_component  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_component  LIKE LINE OF it_gl_sel_component ,
it_gl_sel_online_txt  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_online_txt  LIKE LINE OF it_gl_sel_online_txt ,
it_gl_sel_country  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_country  LIKE LINE OF it_gl_sel_country ,
it_gl_sel_industry  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_industry  LIKE LINE OF it_gl_sel_industry ,
it_gl_sel_first_rel  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_first_rel  LIKE LINE OF it_gl_sel_first_rel ,
it_gl_sel_ind_rel  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_ind_rel  LIKE LINE OF it_gl_sel_ind_rel ,
it_gl_sel_last_rel  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_last_rel  LIKE LINE OF it_gl_sel_last_rel ,
it_gl_sel_crea_nam  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_crea_nam  LIKE LINE OF it_gl_sel_crea_nam ,
it_gl_sel_chan_nam  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_chan_nam  LIKE LINE OF it_gl_sel_chan_nam ,
it_gl_sel_glossary  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_glossary  LIKE LINE OF it_gl_sel_glossary ,
it_gl_sel_crea_dat  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_crea_dat  LIKE LINE OF it_gl_sel_crea_dat ,
it_gl_sel_chan_dat  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_chan_dat  LIKE LINE OF it_gl_sel_chan_dat ,
it_gl_sel_status  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_status  LIKE LINE OF it_gl_sel_status ,
it_gl_sel_object_typ  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_object_typ  LIKE LINE OF it_gl_sel_object_typ ,
it_gl_sel_online_cat  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_online_cat  LIKE LINE OF it_gl_sel_online_cat ,
it_gl_sel_gram_typ  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_gram_typ  LIKE LINE OF it_gl_sel_gram_typ ,
it_gl_sel_word_typ  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_word_typ  LIKE LINE OF it_gl_sel_word_typ ,
it_gl_sel_gender  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_gender  LIKE LINE OF it_gl_sel_gender ,
it_gl_sel_longtext  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_longtext  LIKE LINE OF it_gl_sel_longtext ,
it_gl_sel_link  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_link  LIKE LINE OF it_gl_sel_link ,
it_p_term_entries  TYPE STANDARD TABLE OF STERM_TERM,"TABLES PARAM
wa_p_term_entries  LIKE LINE OF it_p_term_entries ,
it_gl_sel_status_trans  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_status_trans  LIKE LINE OF it_gl_sel_status_trans ,
it_gl_sel_status_source  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_status_source  LIKE LINE OF it_gl_sel_status_source ,
it_gl_sel_non_tra  TYPE STANDARD TABLE OF STERM_SEL,"TABLES PARAM
wa_gl_sel_non_tra  LIKE LINE OF it_gl_sel_non_tra .

DATA(ld_tlang) = 'Check type of data required'.
DATA(ld_slang) = 'Check type of data required'.

SELECT single TEXT
FROM STERM_TEXT
INTO @DATA(ld_p_term).

DATA(ld_max_result) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_gl_sel_component to it_gl_sel_component.

"populate fields of struture and append to itab
append wa_gl_sel_online_txt to it_gl_sel_online_txt.

"populate fields of struture and append to itab
append wa_gl_sel_country to it_gl_sel_country.

"populate fields of struture and append to itab
append wa_gl_sel_industry to it_gl_sel_industry.

"populate fields of struture and append to itab
append wa_gl_sel_first_rel to it_gl_sel_first_rel.

"populate fields of struture and append to itab
append wa_gl_sel_ind_rel to it_gl_sel_ind_rel.

"populate fields of struture and append to itab
append wa_gl_sel_last_rel to it_gl_sel_last_rel.

"populate fields of struture and append to itab
append wa_gl_sel_crea_nam to it_gl_sel_crea_nam.

"populate fields of struture and append to itab
append wa_gl_sel_chan_nam to it_gl_sel_chan_nam.

"populate fields of struture and append to itab
append wa_gl_sel_glossary to it_gl_sel_glossary.

"populate fields of struture and append to itab
append wa_gl_sel_crea_dat to it_gl_sel_crea_dat.

"populate fields of struture and append to itab
append wa_gl_sel_chan_dat to it_gl_sel_chan_dat.

"populate fields of struture and append to itab
append wa_gl_sel_status to it_gl_sel_status.

"populate fields of struture and append to itab
append wa_gl_sel_object_typ to it_gl_sel_object_typ.

"populate fields of struture and append to itab
append wa_gl_sel_online_cat to it_gl_sel_online_cat.

"populate fields of struture and append to itab
append wa_gl_sel_gram_typ to it_gl_sel_gram_typ.

"populate fields of struture and append to itab
append wa_gl_sel_word_typ to it_gl_sel_word_typ.

"populate fields of struture and append to itab
append wa_gl_sel_gender to it_gl_sel_gender.

"populate fields of struture and append to itab
append wa_gl_sel_longtext to it_gl_sel_longtext.

"populate fields of struture and append to itab
append wa_gl_sel_link to it_gl_sel_link.

"populate fields of struture and append to itab
append wa_p_term_entries to it_p_term_entries.

"populate fields of struture and append to itab
append wa_gl_sel_status_trans to it_gl_sel_status_trans.

"populate fields of struture and append to itab
append wa_gl_sel_status_source to it_gl_sel_status_source.

"populate fields of struture and append to itab
append wa_gl_sel_non_tra to it_gl_sel_non_tra. . CALL FUNCTION 'TERM_SEARCH_NOT_TRANSLATED' EXPORTING tlang = ld_tlang slang = ld_slang p_term = ld_p_term max_result = ld_max_result TABLES gl_sel_component = it_gl_sel_component gl_sel_online_txt = it_gl_sel_online_txt gl_sel_country = it_gl_sel_country gl_sel_industry = it_gl_sel_industry gl_sel_first_rel = it_gl_sel_first_rel gl_sel_ind_rel = it_gl_sel_ind_rel gl_sel_last_rel = it_gl_sel_last_rel gl_sel_crea_nam = it_gl_sel_crea_nam gl_sel_chan_nam = it_gl_sel_chan_nam gl_sel_glossary = it_gl_sel_glossary gl_sel_crea_dat = it_gl_sel_crea_dat gl_sel_chan_dat = it_gl_sel_chan_dat gl_sel_status = it_gl_sel_status gl_sel_object_typ = it_gl_sel_object_typ gl_sel_online_cat = it_gl_sel_online_cat gl_sel_gram_typ = it_gl_sel_gram_typ gl_sel_word_typ = it_gl_sel_word_typ gl_sel_gender = it_gl_sel_gender gl_sel_longtext = it_gl_sel_longtext gl_sel_link = it_gl_sel_link p_term_entries = it_p_term_entries gl_sel_status_trans = it_gl_sel_status_trans gl_sel_status_source = it_gl_sel_status_source gl_sel_non_tra = it_gl_sel_non_tra . " TERM_SEARCH_NOT_TRANSLATED
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_tlang  TYPE SY-LANGU ,
it_gl_sel_component  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_component  LIKE LINE OF it_gl_sel_component,
ld_slang  TYPE SY-LANGU ,
it_gl_sel_online_txt  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_online_txt  LIKE LINE OF it_gl_sel_online_txt,
ld_p_term  TYPE STERM_TEXT-TEXT ,
it_gl_sel_country  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_country  LIKE LINE OF it_gl_sel_country,
ld_max_result  TYPE I ,
it_gl_sel_industry  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_industry  LIKE LINE OF it_gl_sel_industry,
it_gl_sel_first_rel  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_first_rel  LIKE LINE OF it_gl_sel_first_rel,
it_gl_sel_ind_rel  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_ind_rel  LIKE LINE OF it_gl_sel_ind_rel,
it_gl_sel_last_rel  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_last_rel  LIKE LINE OF it_gl_sel_last_rel,
it_gl_sel_crea_nam  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_crea_nam  LIKE LINE OF it_gl_sel_crea_nam,
it_gl_sel_chan_nam  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_chan_nam  LIKE LINE OF it_gl_sel_chan_nam,
it_gl_sel_glossary  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_glossary  LIKE LINE OF it_gl_sel_glossary,
it_gl_sel_crea_dat  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_crea_dat  LIKE LINE OF it_gl_sel_crea_dat,
it_gl_sel_chan_dat  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_chan_dat  LIKE LINE OF it_gl_sel_chan_dat,
it_gl_sel_status  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_status  LIKE LINE OF it_gl_sel_status,
it_gl_sel_object_typ  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_object_typ  LIKE LINE OF it_gl_sel_object_typ,
it_gl_sel_online_cat  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_online_cat  LIKE LINE OF it_gl_sel_online_cat,
it_gl_sel_gram_typ  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_gram_typ  LIKE LINE OF it_gl_sel_gram_typ,
it_gl_sel_word_typ  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_word_typ  LIKE LINE OF it_gl_sel_word_typ,
it_gl_sel_gender  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_gender  LIKE LINE OF it_gl_sel_gender,
it_gl_sel_longtext  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_longtext  LIKE LINE OF it_gl_sel_longtext,
it_gl_sel_link  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_link  LIKE LINE OF it_gl_sel_link,
it_p_term_entries  TYPE STANDARD TABLE OF STERM_TERM ,
wa_p_term_entries  LIKE LINE OF it_p_term_entries,
it_gl_sel_status_trans  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_status_trans  LIKE LINE OF it_gl_sel_status_trans,
it_gl_sel_status_source  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_status_source  LIKE LINE OF it_gl_sel_status_source,
it_gl_sel_non_tra  TYPE STANDARD TABLE OF STERM_SEL ,
wa_gl_sel_non_tra  LIKE LINE OF it_gl_sel_non_tra.

ld_tlang = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_gl_sel_component to it_gl_sel_component.
ld_slang = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_gl_sel_online_txt to it_gl_sel_online_txt.

SELECT single TEXT
FROM STERM_TEXT
INTO ld_p_term.


"populate fields of struture and append to itab
append wa_gl_sel_country to it_gl_sel_country.
ld_max_result = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_gl_sel_industry to it_gl_sel_industry.

"populate fields of struture and append to itab
append wa_gl_sel_first_rel to it_gl_sel_first_rel.

"populate fields of struture and append to itab
append wa_gl_sel_ind_rel to it_gl_sel_ind_rel.

"populate fields of struture and append to itab
append wa_gl_sel_last_rel to it_gl_sel_last_rel.

"populate fields of struture and append to itab
append wa_gl_sel_crea_nam to it_gl_sel_crea_nam.

"populate fields of struture and append to itab
append wa_gl_sel_chan_nam to it_gl_sel_chan_nam.

"populate fields of struture and append to itab
append wa_gl_sel_glossary to it_gl_sel_glossary.

"populate fields of struture and append to itab
append wa_gl_sel_crea_dat to it_gl_sel_crea_dat.

"populate fields of struture and append to itab
append wa_gl_sel_chan_dat to it_gl_sel_chan_dat.

"populate fields of struture and append to itab
append wa_gl_sel_status to it_gl_sel_status.

"populate fields of struture and append to itab
append wa_gl_sel_object_typ to it_gl_sel_object_typ.

"populate fields of struture and append to itab
append wa_gl_sel_online_cat to it_gl_sel_online_cat.

"populate fields of struture and append to itab
append wa_gl_sel_gram_typ to it_gl_sel_gram_typ.

"populate fields of struture and append to itab
append wa_gl_sel_word_typ to it_gl_sel_word_typ.

"populate fields of struture and append to itab
append wa_gl_sel_gender to it_gl_sel_gender.

"populate fields of struture and append to itab
append wa_gl_sel_longtext to it_gl_sel_longtext.

"populate fields of struture and append to itab
append wa_gl_sel_link to it_gl_sel_link.

"populate fields of struture and append to itab
append wa_p_term_entries to it_p_term_entries.

"populate fields of struture and append to itab
append wa_gl_sel_status_trans to it_gl_sel_status_trans.

"populate fields of struture and append to itab
append wa_gl_sel_status_source to it_gl_sel_status_source.

"populate fields of struture and append to itab
append wa_gl_sel_non_tra to it_gl_sel_non_tra.

Contribute (Add Comments)

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 TERM_SEARCH_NOT_TRANSLATED or its description.