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

Function KW_KEP_OPTIONS_GET 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 'KW_KEP_OPTIONS_GET'".
IMPORTING
CYCLE_TIME = "Cycle time in minutes
READY_BEFORE = "Ready time in hours
KEEP_AFTER = "Retention time in hours
SILENT_TIME = "Idle time before and after training in minutes
MIN_FREE_' ' = "Minimum number of free KB (1024 byte)
MIN_VERSION = "Version number (4th part) of a frontend component
EXPORTING Parameters details for KW_KEP_OPTIONS_GET
CYCLE_TIME - Cycle time in minutes
Data type: IWKEP-CYCLETIMEOptional: No
Call by Reference: Yes
READY_BEFORE - Ready time in hours
Data type: IWKEP-RDYBEFOREOptional: No
Call by Reference: Yes
KEEP_AFTER - Retention time in hours
Data type: IWKEP-KEEPAFTEROptional: No
Call by Reference: Yes
SILENT_TIME - Idle time before and after training in minutes
Data type: IWKEP-SILENTTIMEOptional: No
Call by Reference: Yes
MIN_FREE_SPACE - Minimum number of free KB (1024 byte)
Data type: IWBKEPDEST-FREESPCMINOptional: No
Call by Reference: Yes
MIN_VERSION - Version number (4th part) of a frontend component
Data type: IWBKEPDEST-VERSIONOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for KW_KEP_OPTIONS_GET 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_cycle_time | TYPE IWKEP-CYCLETIME, " | |||
| lv_ready_before | TYPE IWKEP-RDYBEFORE, " | |||
| lv_keep_after | TYPE IWKEP-KEEPAFTER, " | |||
| lv_silent_time | TYPE IWKEP-SILENTTIME, " | |||
| lv_min_free_space | TYPE IWBKEPDEST-FREESPCMIN, " | |||
| lv_min_version | TYPE IWBKEPDEST-VERSION. " |
|   CALL FUNCTION 'KW_KEP_OPTIONS_GET' " |
| IMPORTING | ||
| CYCLE_TIME | = lv_cycle_time | |
| READY_BEFORE | = lv_ready_before | |
| KEEP_AFTER | = lv_keep_after | |
| SILENT_TIME | = lv_silent_time | |
| MIN_FREE_SPACE | = lv_min_free_space | |
| MIN_VERSION | = lv_min_version | |
| . " KW_KEP_OPTIONS_GET | ||
ABAP code using 7.40 inline data declarations to call FM KW_KEP_OPTIONS_GET
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 CYCLETIME FROM IWKEP INTO @DATA(ld_cycle_time). | ||||
| "SELECT single RDYBEFORE FROM IWKEP INTO @DATA(ld_ready_before). | ||||
| "SELECT single KEEPAFTER FROM IWKEP INTO @DATA(ld_keep_after). | ||||
| "SELECT single SILENTTIME FROM IWKEP INTO @DATA(ld_silent_time). | ||||
| "SELECT single FREESPCMIN FROM IWBKEPDEST INTO @DATA(ld_min_free_space). | ||||
| "SELECT single VERSION FROM IWBKEPDEST INTO @DATA(ld_min_version). | ||||
Search for further information about these or an SAP related objects