SAP TERM_SEARCH_ADMIN_DEFINITION Function Module for NOTRANSL: Allgemeiner Query Baustein für die Terminologie









TERM_SEARCH_ADMIN_DEFINITION is a standard term search admin definition SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Allgemeiner Query Baustein für die Terminologie processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for term search admin definition FM, simply by entering the name TERM_SEARCH_ADMIN_DEFINITION into the relevant SAP transaction such as SE37 or SE38.

Function Group: STERM_DB
Program Name: SAPLSTERM_DB
Main Program: SAPLSTERM_DB
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function TERM_SEARCH_ADMIN_DEFINITION pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'TERM_SEARCH_ADMIN_DEFINITION'"NOTRANSL: Allgemeiner Query Baustein für die Terminologie
EXPORTING
* SOURCE_LANGU = SY-LANGU "ABAP System Field: Language Key of Text Environment

TABLES
* SEL_LANGU = "Reference Structure Range Table for Glossary
* SEL_ONLINE_CAT = "Reference Structure Range Table for Glossary
* SEL_OBJECT_TYP = "Reference Structure Range Table for Glossary
* SEL_COUNTRY = "Reference Structure Range Table for Glossary
* SEL_INDUSTRY = "Reference Structure Range Table for Glossary
* SEL_IND_REL = "Reference Structure Range Table for Glossary
* SEL_FIRST_REL = "Reference Structure Range Table for Glossary
* SEL_LAST_REL = "Reference Structure Range Table for Glossary
* SEL_GLOSSARY = "Reference Structure Range Table for Glossary
* SEL_GRAM_TYP = "Reference Structure Range Table for Glossary
* SEL_WORD_TYP = "Reference Structure Range Table for Glossary
* SEL_STATUS = "Reference Structure Range Table for Glossary
* SEL_GENDER = "Reference Structure Range Table for Glossary
* SEL_LINK = "Reference Structure Range Table for Glossary
* SEL_LONGTEXT = "Reference Structure Range Table for Glossary
* SEL_TERM_CAT = "Reference Structure Range Table for Glossary
* SEL_NON_TRA = "Reference Structure Range Table for Glossary
* SEL_LEGAL_R = "Reference Structure Range Table for Glossary
* SEL_PROP_R = "Reference Structure Range Table for Glossary
* SEL_USAGE_N = "Reference Structure Range Table for Glossary
* SEL_CREA_NAM_D = "Reference Structure Range Table for Glossary
* SEL_CREA_DAT_D = "Reference Structure Range Table for Glossary
* SEL_CREA_NAM = "Reference Structure Range Table for Glossary
* SEL_CHAN_NAM_D = "Reference Structure Range Table for Glossary
* SEL_CHAN_DAT_D = "Reference Structure Range Table for Glossary
* SEL_SOURCE = "Reference Structure Range Table for Glossary
* SEL_CHAN_NAM = "Reference Structure Range Table for Glossary
* SEL_CREA_DAT = "Reference Structure Range Table for Glossary
* SEL_CHAN_DAT = "Reference Structure Range Table for Glossary
* ENTRIES = "Transfer Structure for SAPterm
* SEL_COMPONENT = "Reference Structure Range Table for Glossary
* SEL_ONLINE_TXT = "Reference Structure Range Table for Glossary

EXCEPTIONS
NO_ENTRY_FOUND = 1
.



IMPORTING Parameters details for TERM_SEARCH_ADMIN_DEFINITION

SOURCE_LANGU - ABAP System Field: Language Key of Text Environment

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for TERM_SEARCH_ADMIN_DEFINITION

SEL_LANGU - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_ONLINE_CAT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_OBJECT_TYP - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_COUNTRY - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_INDUSTRY - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_IND_REL - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_FIRST_REL - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_LAST_REL - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_GLOSSARY - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_GRAM_TYP - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_WORD_TYP - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_STATUS - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_GENDER - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_LINK - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_LONGTEXT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_TERM_CAT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_NON_TRA - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_LEGAL_R - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_PROP_R - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_USAGE_N - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_CREA_NAM_D - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_CREA_DAT_D - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_CREA_NAM - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_CHAN_NAM_D - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_CHAN_DAT_D - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_SOURCE - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_CHAN_NAM - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_CREA_DAT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_CHAN_DAT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

ENTRIES - Transfer Structure for SAPterm

Data type: STERM_TERM
Optional: Yes
Call by Reference: No ( called with pass by value option)

SEL_COMPONENT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

SEL_ONLINE_TXT - Reference Structure Range Table for Glossary

Data type: STERM_SEL
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_ENTRY_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for TERM_SEARCH_ADMIN_DEFINITION Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lt_sel_langu  TYPE STANDARD TABLE OF STERM_SEL, "   
lv_source_langu  TYPE SY-LANGU, "   SY-LANGU
lv_no_entry_found  TYPE SY, "   
lt_sel_online_cat  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_object_typ  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_country  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_industry  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_ind_rel  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_first_rel  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_last_rel  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_glossary  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_gram_typ  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_word_typ  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_status  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_gender  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_link  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_longtext  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_term_cat  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_non_tra  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_legal_r  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_prop_r  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_usage_n  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_crea_nam_d  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_crea_dat_d  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_crea_nam  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_chan_nam_d  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_chan_dat_d  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_source  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_chan_nam  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_crea_dat  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_chan_dat  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_entries  TYPE STANDARD TABLE OF STERM_TERM, "   
lt_sel_component  TYPE STANDARD TABLE OF STERM_SEL, "   
lt_sel_online_txt  TYPE STANDARD TABLE OF STERM_SEL. "   

  CALL FUNCTION 'TERM_SEARCH_ADMIN_DEFINITION'  "NOTRANSL: Allgemeiner Query Baustein für die Terminologie
    EXPORTING
         SOURCE_LANGU = lv_source_langu
    TABLES
         SEL_LANGU = lt_sel_langu
         SEL_ONLINE_CAT = lt_sel_online_cat
         SEL_OBJECT_TYP = lt_sel_object_typ
         SEL_COUNTRY = lt_sel_country
         SEL_INDUSTRY = lt_sel_industry
         SEL_IND_REL = lt_sel_ind_rel
         SEL_FIRST_REL = lt_sel_first_rel
         SEL_LAST_REL = lt_sel_last_rel
         SEL_GLOSSARY = lt_sel_glossary
         SEL_GRAM_TYP = lt_sel_gram_typ
         SEL_WORD_TYP = lt_sel_word_typ
         SEL_STATUS = lt_sel_status
         SEL_GENDER = lt_sel_gender
         SEL_LINK = lt_sel_link
         SEL_LONGTEXT = lt_sel_longtext
         SEL_TERM_CAT = lt_sel_term_cat
         SEL_NON_TRA = lt_sel_non_tra
         SEL_LEGAL_R = lt_sel_legal_r
         SEL_PROP_R = lt_sel_prop_r
         SEL_USAGE_N = lt_sel_usage_n
         SEL_CREA_NAM_D = lt_sel_crea_nam_d
         SEL_CREA_DAT_D = lt_sel_crea_dat_d
         SEL_CREA_NAM = lt_sel_crea_nam
         SEL_CHAN_NAM_D = lt_sel_chan_nam_d
         SEL_CHAN_DAT_D = lt_sel_chan_dat_d
         SEL_SOURCE = lt_sel_source
         SEL_CHAN_NAM = lt_sel_chan_nam
         SEL_CREA_DAT = lt_sel_crea_dat
         SEL_CHAN_DAT = lt_sel_chan_dat
         ENTRIES = lt_entries
         SEL_COMPONENT = lt_sel_component
         SEL_ONLINE_TXT = lt_sel_online_txt
    EXCEPTIONS
        NO_ENTRY_FOUND = 1
. " TERM_SEARCH_ADMIN_DEFINITION




ABAP code using 7.40 inline data declarations to call FM TERM_SEARCH_ADMIN_DEFINITION

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single LANGU FROM SY INTO @DATA(ld_source_langu).
DATA(ld_source_langu) = SY-LANGU.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!