SAP ICLX_CHECK_LANGUAGE Function Module for Check Language Key
ICLX_CHECK_LANGUAGE is a standard iclx check language SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check Language Key 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 iclx check language FM, simply by entering the name ICLX_CHECK_LANGUAGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICLX_TOOLS_IN
Program Name: SAPLICLX_TOOLS_IN
Main Program: SAPLICLX_TOOLS_IN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICLX_CHECK_LANGUAGE 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 'ICLX_CHECK_LANGUAGE'"Check Language Key.
EXPORTING
IV_LANGUAGE_ISO = "Language According to ISO 639
IMPORTING
EV_LANGUAGE = "Language Key
EV_LANGUAGE_ISO = "Language According to ISO 639
EV_SUBRC = "Return Value from ABAP Statement
EV_EXCEPTION = "Exception
EV_MESSAGE_TYPE = "Message Type: S Success, E Error, W Warning, I Info
ET_RETURN = "Table for Error Structure BAPIRET2
ET_MESSAGE_PROTOCOL = "Table Type for Structure ICLX_MESSAGE_PROTOCOL_S_IN
IMPORTING Parameters details for ICLX_CHECK_LANGUAGE
IV_LANGUAGE_ISO - Language According to ISO 639
Data type: LAISOOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ICLX_CHECK_LANGUAGE
EV_LANGUAGE - Language Key
Data type: SPRASOptional: No
Call by Reference: Yes
EV_LANGUAGE_ISO - Language According to ISO 639
Data type: LAISOOptional: No
Call by Reference: Yes
EV_SUBRC - Return Value from ABAP Statement
Data type: SYSUBRCOptional: No
Call by Reference: Yes
EV_EXCEPTION - Exception
Data type: ICLX_EXCEPTION_DOptional: No
Call by Reference: Yes
EV_MESSAGE_TYPE - Message Type: S Success, E Error, W Warning, I Info
Data type: ICLX_MESSAGE_TYPE_DOptional: No
Call by Reference: Yes
ET_RETURN - Table for Error Structure BAPIRET2
Data type: ICL_BAPIRET2_TABOptional: No
Call by Reference: Yes
ET_MESSAGE_PROTOCOL - Table Type for Structure ICLX_MESSAGE_PROTOCOL_S_IN
Data type: ICLX_MESSAGE_PROTOCOL_T_INOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICLX_CHECK_LANGUAGE 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_ev_language | TYPE SPRAS, " | |||
| lv_iv_language_iso | TYPE LAISO, " | |||
| lv_ev_language_iso | TYPE LAISO, " | |||
| lv_ev_subrc | TYPE SYSUBRC, " | |||
| lv_ev_exception | TYPE ICLX_EXCEPTION_D, " | |||
| lv_ev_message_type | TYPE ICLX_MESSAGE_TYPE_D, " | |||
| lv_et_return | TYPE ICL_BAPIRET2_TAB, " | |||
| lv_et_message_protocol | TYPE ICLX_MESSAGE_PROTOCOL_T_IN. " |
|   CALL FUNCTION 'ICLX_CHECK_LANGUAGE' "Check Language Key |
| EXPORTING | ||
| IV_LANGUAGE_ISO | = lv_iv_language_iso | |
| IMPORTING | ||
| EV_LANGUAGE | = lv_ev_language | |
| EV_LANGUAGE_ISO | = lv_ev_language_iso | |
| EV_SUBRC | = lv_ev_subrc | |
| EV_EXCEPTION | = lv_ev_exception | |
| EV_MESSAGE_TYPE | = lv_ev_message_type | |
| ET_RETURN | = lv_et_return | |
| ET_MESSAGE_PROTOCOL | = lv_et_message_protocol | |
| . " ICLX_CHECK_LANGUAGE | ||
ABAP code using 7.40 inline data declarations to call FM ICLX_CHECK_LANGUAGE
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.Search for further information about these or an SAP related objects