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

Function SKTU_TEXT_TRANSLATION_CALL 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 'SKTU_TEXT_TRANSLATION_CALL'"Obsolete.
EXPORTING
* SEQUENTIAL = ' ' "Generic Type
* NO_SHORTTEXT = ' ' "Generic Type
* AUTHORITY_CHECK = ' ' "Generic Type
* ENQUEUE_CHECK = 'X' "Generic Type
* ADMINIST_MODE = '0' "Generic Type
* RECORDING_MODE = 'A' "Generic Type
IMPORTING
UCOMM = "ABAP System Field: PAI-Triggering Function Code
CHANGING
* REQUEST_HEADER = ' ' "
TABLES
TLWRKOBJ = "Object lists for worklists
TLWRKKEY = "Key for Worklists
EXCEPTIONS
CODEPAGE_ERROR = 1 TEXT_GET_ERROR = 2 TEXT_PRE_EDIT_ERROR = 3 TEXT_EDIT_ERROR = 4 TEXT_PUT_ERROR = 5 AUTHORITY_CHECK_ERROR = 6 ENQUEUE_ERROR = 7 RECURSION_ERROR = 8 RECORDING_ERROR = 9
IMPORTING Parameters details for SKTU_TEXT_TRANSLATION_CALL
SEQUENTIAL - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_SHORTTEXT - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUTHORITY_CHECK - Generic Type
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENQUEUE_CHECK - Generic Type
Data type: CDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ADMINIST_MODE - Generic Type
Data type: NDefault: '0'
Optional: Yes
Call by Reference: No ( called with pass by value option)
RECORDING_MODE - Generic Type
Data type: CDefault: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SKTU_TEXT_TRANSLATION_CALL
UCOMM - ABAP System Field: PAI-Triggering Function Code
Data type: SY-UCOMMOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for SKTU_TEXT_TRANSLATION_CALL
REQUEST_HEADER -
Data type: TRWBO_REQUEST_HEADERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SKTU_TEXT_TRANSLATION_CALL
TLWRKOBJ - Object lists for worklists
Data type: LWRKOBJOptional: No
Call by Reference: No ( called with pass by value option)
TLWRKKEY - Key for Worklists
Data type: LWRKKEYOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CODEPAGE_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_GET_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_PRE_EDIT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_EDIT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TEXT_PUT_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
AUTHORITY_CHECK_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ENQUEUE_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RECURSION_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RECORDING_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for SKTU_TEXT_TRANSLATION_CALL 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_ucomm | TYPE SY-UCOMM, " | |||
| lt_tlwrkobj | TYPE STANDARD TABLE OF LWRKOBJ, " | |||
| lv_sequential | TYPE C, " SPACE | |||
| lv_codepage_error | TYPE C, " | |||
| lv_request_header | TYPE TRWBO_REQUEST_HEADER, " SPACE | |||
| lt_tlwrkkey | TYPE STANDARD TABLE OF LWRKKEY, " | |||
| lv_no_shorttext | TYPE C, " SPACE | |||
| lv_text_get_error | TYPE C, " | |||
| lv_authority_check | TYPE C, " SPACE | |||
| lv_text_pre_edit_error | TYPE C, " | |||
| lv_enqueue_check | TYPE C, " 'X' | |||
| lv_text_edit_error | TYPE C, " | |||
| lv_administ_mode | TYPE N, " '0' | |||
| lv_text_put_error | TYPE N, " | |||
| lv_recording_mode | TYPE C, " 'A' | |||
| lv_authority_check_error | TYPE C, " | |||
| lv_enqueue_error | TYPE C, " | |||
| lv_recursion_error | TYPE C, " | |||
| lv_recording_error | TYPE C. " |
|   CALL FUNCTION 'SKTU_TEXT_TRANSLATION_CALL' "Obsolete |
| EXPORTING | ||
| SEQUENTIAL | = lv_sequential | |
| NO_SHORTTEXT | = lv_no_shorttext | |
| AUTHORITY_CHECK | = lv_authority_check | |
| ENQUEUE_CHECK | = lv_enqueue_check | |
| ADMINIST_MODE | = lv_administ_mode | |
| RECORDING_MODE | = lv_recording_mode | |
| IMPORTING | ||
| UCOMM | = lv_ucomm | |
| CHANGING | ||
| REQUEST_HEADER | = lv_request_header | |
| TABLES | ||
| TLWRKOBJ | = lt_tlwrkobj | |
| TLWRKKEY | = lt_tlwrkkey | |
| EXCEPTIONS | ||
| CODEPAGE_ERROR = 1 | ||
| TEXT_GET_ERROR = 2 | ||
| TEXT_PRE_EDIT_ERROR = 3 | ||
| TEXT_EDIT_ERROR = 4 | ||
| TEXT_PUT_ERROR = 5 | ||
| AUTHORITY_CHECK_ERROR = 6 | ||
| ENQUEUE_ERROR = 7 | ||
| RECURSION_ERROR = 8 | ||
| RECORDING_ERROR = 9 | ||
| . " SKTU_TEXT_TRANSLATION_CALL | ||
ABAP code using 7.40 inline data declarations to call FM SKTU_TEXT_TRANSLATION_CALL
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 UCOMM FROM SY INTO @DATA(ld_ucomm). | ||||
| DATA(ld_sequential) | = ' '. | |||
| DATA(ld_request_header) | = ' '. | |||
| DATA(ld_no_shorttext) | = ' '. | |||
| DATA(ld_authority_check) | = ' '. | |||
| DATA(ld_enqueue_check) | = 'X'. | |||
| DATA(ld_administ_mode) | = '0'. | |||
| DATA(ld_recording_mode) | = 'A'. | |||
Search for further information about these or an SAP related objects