SAP RKE_SEND_SELECTION_SCREEN Function Module for Send window for selection of entries from internal table









RKE_SEND_SELECTION_SCREEN is a standard rke send selection screen SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Send window for selection of entries from internal table 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 rke send selection screen FM, simply by entering the name RKE_SEND_SELECTION_SCREEN into the relevant SAP transaction such as SE37 or SE38.

Function Group: KEC1
Program Name: SAPLKEC1
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RKE_SEND_SELECTION_SCREEN 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_SEND_SELECTION_SCREEN'"Send window for selection of entries from internal table
EXPORTING
* DETAIL = ' ' "'X' Display additional information
* WINDOW_TITLE = ' ' "128 character
* WINDOW_WIDTH = 50 "Natural number
* AEQUI_DIST = ' ' "X display of SEL_LINE equidistant
* MARK_ALL = ' ' "Single-character flag
* EXECUTE = ' ' "X execute popup CO-PA display
* DISPLAY_MODUS = '1' "'1' - Change, '2' - Display
* D_FORM_NAME = ' ' "Procedure name for additional information
* D_PROGRAM_NAME = ' ' "Program name for additional information
* EINF_MEHRF = 'M' "Simple-(E)/multiple (M at least 1/N any)/K none
* START_COLUMN = 6 "Natural number
* START_ROW = 4 "Natural number
* TEXT_LENGTH = 40 "Length of entries
* WINDOW_LENGTH = 12 "Natural number

TABLES
SEL_TABLE = "Internal table for selection of entries

EXCEPTIONS
ABNORMAL_LEAVE = 1 CRITERIA_NOT_FOUND = 2 USER_ABEND = 3
.



IMPORTING Parameters details for RKE_SEND_SELECTION_SCREEN

DETAIL - 'X' Display additional information

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINDOW_TITLE - 128 character

Data type: SYTITLE
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINDOW_WIDTH - Natural number

Data type: INT4
Default: 50
Optional: Yes
Call by Reference: No ( called with pass by value option)

AEQUI_DIST - X display of SEL_LINE equidistant

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

MARK_ALL - Single-character flag

Data type: CHAR1
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXECUTE - X execute popup CO-PA display

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

DISPLAY_MODUS - '1' - Change, '2' - Display

Data type: N
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

D_FORM_NAME - Procedure name for additional information

Data type: DD27V-EFORM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

D_PROGRAM_NAME - Program name for additional information

Data type: RS38M-PROGRAMM
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EINF_MEHRF - Simple-(E)/multiple (M at least 1/N any)/K none

Data type: CHAR1
Default: 'M'
Optional: Yes
Call by Reference: No ( called with pass by value option)

START_COLUMN - Natural number

Data type: INT4
Default: 6
Optional: Yes
Call by Reference: No ( called with pass by value option)

START_ROW - Natural number

Data type: INT4
Default: 4
Optional: Yes
Call by Reference: No ( called with pass by value option)

TEXT_LENGTH - Length of entries

Data type: INT4
Default: 40
Optional: Yes
Call by Reference: No ( called with pass by value option)

WINDOW_LENGTH - Natural number

Data type: INT4
Default: 12
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RKE_SEND_SELECTION_SCREEN

SEL_TABLE - Internal table for selection of entries

Data type: CEC01
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ABNORMAL_LEAVE - User selected 'Cancel'

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

CRITERIA_NOT_FOUND - Transferred characteristic does not exist in operating concern

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

USER_ABEND - User selected 'Cancel' in module EXIT

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RKE_SEND_SELECTION_SCREEN 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_detail  TYPE CHAR1, "   SPACE
lt_sel_table  TYPE STANDARD TABLE OF CEC01, "   
lv_abnormal_leave  TYPE CEC01, "   
lv_window_title  TYPE SYTITLE, "   ' '
lv_window_width  TYPE INT4, "   50
lv_aequi_dist  TYPE CHAR1, "   ' '
lv_mark_all  TYPE CHAR1, "   ' '
lv_execute  TYPE CHAR1, "   SPACE
lv_display_modus  TYPE N, "   '1'
lv_criteria_not_found  TYPE N, "   
lv_user_abend  TYPE N, "   
lv_d_form_name  TYPE DD27V-EFORM, "   SPACE
lv_d_program_name  TYPE RS38M-PROGRAMM, "   SPACE
lv_einf_mehrf  TYPE CHAR1, "   'M'
lv_start_column  TYPE INT4, "   6
lv_start_row  TYPE INT4, "   4
lv_text_length  TYPE INT4, "   40
lv_window_length  TYPE INT4. "   12

  CALL FUNCTION 'RKE_SEND_SELECTION_SCREEN'  "Send window for selection of entries from internal table
    EXPORTING
         DETAIL = lv_detail
         WINDOW_TITLE = lv_window_title
         WINDOW_WIDTH = lv_window_width
         AEQUI_DIST = lv_aequi_dist
         MARK_ALL = lv_mark_all
         EXECUTE = lv_execute
         DISPLAY_MODUS = lv_display_modus
         D_FORM_NAME = lv_d_form_name
         D_PROGRAM_NAME = lv_d_program_name
         EINF_MEHRF = lv_einf_mehrf
         START_COLUMN = lv_start_column
         START_ROW = lv_start_row
         TEXT_LENGTH = lv_text_length
         WINDOW_LENGTH = lv_window_length
    TABLES
         SEL_TABLE = lt_sel_table
    EXCEPTIONS
        ABNORMAL_LEAVE = 1
        CRITERIA_NOT_FOUND = 2
        USER_ABEND = 3
. " RKE_SEND_SELECTION_SCREEN




ABAP code using 7.40 inline data declarations to call FM RKE_SEND_SELECTION_SCREEN

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.

DATA(ld_detail) = ' '.
 
 
 
DATA(ld_window_title) = ' '.
 
DATA(ld_window_width) = 50.
 
DATA(ld_aequi_dist) = ' '.
 
DATA(ld_mark_all) = ' '.
 
DATA(ld_execute) = ' '.
 
DATA(ld_display_modus) = '1'.
 
 
 
"SELECT single EFORM FROM DD27V INTO @DATA(ld_d_form_name).
DATA(ld_d_form_name) = ' '.
 
"SELECT single PROGRAMM FROM RS38M INTO @DATA(ld_d_program_name).
DATA(ld_d_program_name) = ' '.
 
DATA(ld_einf_mehrf) = 'M'.
 
DATA(ld_start_column) = 6.
 
DATA(ld_start_row) = 4.
 
DATA(ld_text_length) = 40.
 
DATA(ld_window_length) = 12.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!