SAP SOTR_F4_STRING_TEXTS_ALIAS Function Module for
SOTR_F4_STRING_TEXTS_ALIAS is a standard sotr f4 string texts alias SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 sotr f4 string texts alias FM, simply by entering the name SOTR_F4_STRING_TEXTS_ALIAS into the relevant SAP transaction such as SE37 or SE38.
Function Group: SOTR_F4_HELP_STRING
Program Name: SAPLSOTR_F4_HELP_STRING
Main Program: SAPLSOTR_F4_HELP_STRING
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SOTR_F4_STRING_TEXTS_ALIAS 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 'SOTR_F4_STRING_TEXTS_ALIAS'".
EXPORTING
* LANGUAGE = SY-LANGU "
SEARCH_ALIAS = "
PACKAGES = "
* START_ROW = '5' "
* START_COL = '5' "
IMPORTING
ENTRY_SELECTED = "Transfer Structure for OTR Hierarchy Display
TERM = "Transfer Structure for Texts at Runtime
TERM_STRING = "Transfer Structure for Texts at Runtime
PAKET_SELECTED = "Packages Allowed in the OTR
EXCEPTIONS
LANGU_MISSING = 1 NO_ENTRY_FOUND = 2
IMPORTING Parameters details for SOTR_F4_STRING_TEXTS_ALIAS
LANGUAGE -
Data type: SY-LANGUDefault: SY-LANGU
Optional: No
Call by Reference: No ( called with pass by value option)
SEARCH_ALIAS -
Data type: SOTR_ALIASOptional: No
Call by Reference: No ( called with pass by value option)
PACKAGES -
Data type: SOTRT_PACKSOptional: No
Call by Reference: Yes
START_ROW -
Data type: SY-CUROWDefault: '5'
Optional: Yes
Call by Reference: Yes
START_COL -
Data type: SY-CUCOLDefault: '5'
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for SOTR_F4_STRING_TEXTS_ALIAS
ENTRY_SELECTED - Transfer Structure for OTR Hierarchy Display
Data type: SOTR_KEYOptional: No
Call by Reference: Yes
TERM - Transfer Structure for Texts at Runtime
Data type: SOTR_TERMOptional: No
Call by Reference: Yes
TERM_STRING - Transfer Structure for Texts at Runtime
Data type: SOTR_STRNGOptional: No
Call by Reference: Yes
PAKET_SELECTED - Packages Allowed in the OTR
Data type: SOTR_PACKOptional: No
Call by Reference: Yes
EXCEPTIONS details
LANGU_MISSING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_ENTRY_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SOTR_F4_STRING_TEXTS_ALIAS 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: | ||||
| lv_language | TYPE SY-LANGU, " SY-LANGU | |||
| lv_langu_missing | TYPE SY, " | |||
| lv_entry_selected | TYPE SOTR_KEY, " | |||
| lv_term | TYPE SOTR_TERM, " | |||
| lv_search_alias | TYPE SOTR_ALIAS, " | |||
| lv_no_entry_found | TYPE SOTR_ALIAS, " | |||
| lv_packages | TYPE SOTRT_PACKS, " | |||
| lv_term_string | TYPE SOTR_STRNG, " | |||
| lv_start_row | TYPE SY-CUROW, " '5' | |||
| lv_paket_selected | TYPE SOTR_PACK, " | |||
| lv_start_col | TYPE SY-CUCOL. " '5' |
|   CALL FUNCTION 'SOTR_F4_STRING_TEXTS_ALIAS' " |
| EXPORTING | ||
| LANGUAGE | = lv_language | |
| SEARCH_ALIAS | = lv_search_alias | |
| PACKAGES | = lv_packages | |
| START_ROW | = lv_start_row | |
| START_COL | = lv_start_col | |
| IMPORTING | ||
| ENTRY_SELECTED | = lv_entry_selected | |
| TERM | = lv_term | |
| TERM_STRING | = lv_term_string | |
| PAKET_SELECTED | = lv_paket_selected | |
| EXCEPTIONS | ||
| LANGU_MISSING = 1 | ||
| NO_ENTRY_FOUND = 2 | ||
| . " SOTR_F4_STRING_TEXTS_ALIAS | ||
ABAP code using 7.40 inline data declarations to call FM SOTR_F4_STRING_TEXTS_ALIAS
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_language). | ||||
| DATA(ld_language) | = SY-LANGU. | |||
| "SELECT single CUROW FROM SY INTO @DATA(ld_start_row). | ||||
| DATA(ld_start_row) | = '5'. | |||
| "SELECT single CUCOL FROM SY INTO @DATA(ld_start_col). | ||||
| DATA(ld_start_col) | = '5'. | |||
Search for further information about these or an SAP related objects