SAP RKE_TIMER Function Module for
RKE_TIMER is a standard rke timer 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 rke timer FM, simply by entering the name RKE_TIMER into the relevant SAP transaction such as SE37 or SE38.
Function Group: KEA3
Program Name: SAPLKEA3
Main Program: SAPLKEA3
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RKE_TIMER 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 'RKE_TIMER'".
EXPORTING
* I_EVENT = "
* I_TESTRUN = "
* I_ERKRS = "
* I_START = "
* I_STOP = "
* I_RESET = "
* I_COUNTER1 = "
* I_COUNTER2 = "
* I_WRITE_2_DB = "
* I_TCODE = "
* I_VARIANTE = "
IMPORTING
ES_TIMER = "
TABLES
* ET_TIMER_DETAIL = "
IMPORTING Parameters details for RKE_TIMER
I_EVENT -
Data type: TKE_TIMER_DETAIL-EVENTOptional: Yes
Call by Reference: Yes
I_TESTRUN -
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_ERKRS -
Data type: TKE_TIMER-ERKRSOptional: Yes
Call by Reference: Yes
I_START -
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_STOP -
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_RESET -
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_COUNTER1 -
Data type:Optional: Yes
Call by Reference: Yes
I_COUNTER2 -
Data type:Optional: Yes
Call by Reference: Yes
I_WRITE_2_DB -
Data type: FLAGOptional: Yes
Call by Reference: Yes
I_TCODE -
Data type: TKE_TIMER-TCODEOptional: Yes
Call by Reference: Yes
I_VARIANTE -
Data type: TKE_TIMER-VARIANTEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RKE_TIMER
ES_TIMER -
Data type: TKE_TIMEROptional: No
Call by Reference: Yes
TABLES Parameters details for RKE_TIMER
ET_TIMER_DETAIL -
Data type: TKE_TIMER_DETAILOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for RKE_TIMER 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_i_event | TYPE TKE_TIMER_DETAIL-EVENT, " | |||
| lv_es_timer | TYPE TKE_TIMER, " | |||
| lt_et_timer_detail | TYPE STANDARD TABLE OF TKE_TIMER_DETAIL, " | |||
| lv_i_testrun | TYPE FLAG, " | |||
| lv_i_erkrs | TYPE TKE_TIMER-ERKRS, " | |||
| lv_i_start | TYPE FLAG, " | |||
| lv_i_stop | TYPE FLAG, " | |||
| lv_i_reset | TYPE FLAG, " | |||
| lv_i_counter1 | TYPE FLAG, " | |||
| lv_i_counter2 | TYPE FLAG, " | |||
| lv_i_write_2_db | TYPE FLAG, " | |||
| lv_i_tcode | TYPE TKE_TIMER-TCODE, " | |||
| lv_i_variante | TYPE TKE_TIMER-VARIANTE. " |
|   CALL FUNCTION 'RKE_TIMER' " |
| EXPORTING | ||
| I_EVENT | = lv_i_event | |
| I_TESTRUN | = lv_i_testrun | |
| I_ERKRS | = lv_i_erkrs | |
| I_START | = lv_i_start | |
| I_STOP | = lv_i_stop | |
| I_RESET | = lv_i_reset | |
| I_COUNTER1 | = lv_i_counter1 | |
| I_COUNTER2 | = lv_i_counter2 | |
| I_WRITE_2_DB | = lv_i_write_2_db | |
| I_TCODE | = lv_i_tcode | |
| I_VARIANTE | = lv_i_variante | |
| IMPORTING | ||
| ES_TIMER | = lv_es_timer | |
| TABLES | ||
| ET_TIMER_DETAIL | = lt_et_timer_detail | |
| . " RKE_TIMER | ||
ABAP code using 7.40 inline data declarations to call FM RKE_TIMER
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 EVENT FROM TKE_TIMER_DETAIL INTO @DATA(ld_i_event). | ||||
| "SELECT single ERKRS FROM TKE_TIMER INTO @DATA(ld_i_erkrs). | ||||
| "SELECT single TCODE FROM TKE_TIMER INTO @DATA(ld_i_tcode). | ||||
| "SELECT single VARIANTE FROM TKE_TIMER INTO @DATA(ld_i_variante). | ||||
Search for further information about these or an SAP related objects