LXE_T002_SELECT_LANGUAGE_OLD 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 LXE_T002_SELECT_LANGUAGE_OLD into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
LXE_T002
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'LXE_T002_SELECT_LANGUAGE_OLD' "
* EXPORTING
* flag_plus = '' " char1 Single-Character Flag
* flag_star = '' " char1 Single-Character Flag
* r3_lang_only = '' " char1 Single-Character Flag
* dynpprog = '' " syrepid ABAP Program: Current Main Program
* dynpnr = '' " sy-dynnr ABAP Program: Number of Current Screen
* dynpfield = '' " help_info-dynprofld Field Name
* dynpfield_x = '' " help_info-dynprofld Field Name
IMPORTING
language = " lxeisolang ISO Language ID
r3_lang = " spras Language Key
text = " string
EXCEPTIONS
PARAMETER_ERROR = 1 "
NO_VALUES_FOUND = 2 "
NO_SELECTION = 3 "
. " LXE_T002_SELECT_LANGUAGE_OLD
The ABAP code below is a full code listing to execute function module LXE_T002_SELECT_LANGUAGE_OLD 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).
| ld_language | TYPE LXEISOLANG , |
| ld_r3_lang | TYPE SPRAS , |
| ld_text | TYPE STRING . |
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_language | TYPE LXEISOLANG , |
| ld_flag_plus | TYPE CHAR1 , |
| ld_r3_lang | TYPE SPRAS , |
| ld_flag_star | TYPE CHAR1 , |
| ld_text | TYPE STRING , |
| ld_r3_lang_only | TYPE CHAR1 , |
| ld_dynpprog | TYPE SYREPID , |
| ld_dynpnr | TYPE SY-DYNNR , |
| ld_dynpfield | TYPE HELP_INFO-DYNPROFLD , |
| ld_dynpfield_x | TYPE HELP_INFO-DYNPROFLD . |
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 LXE_T002_SELECT_LANGUAGE_OLD or its description.