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

Function RESET_INPUT 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 'RESET_INPUT'".
EXPORTING
EDIT_CONTROL = "
KOMPRMODE = "
EXTEND_MOD = "
STATUS_FLAG = "
* C_HANDLE = "
* LINE_NAME = 'RSTXP-TDLINE' "
* FIRST_NAME = 'RSTXP-TDFIRST' "
* LAST_NAME = 'RSTXP-TDLAST' "
* TOTAL_NAME = 'RSTXP-TDTOTAL' "
* MARK_NAME = 'RSTXP-TDMARK' "
* MARK1_NAME = 'RSTXP-TDMARK1' "
* COMMLINE_NAME = 'RSTXP-TDCOMMLINE' "
* LINECOM_NAME = 'RSTXP-TDLINECOM' "
CHANGING
CURSOR_I = "
FLAG_AUTO_SCROLL = "
FLAG_LINECOM_RESET = "
LINECOM_CONTENT_DISPLAY = "
CONTENT_DISPLAY_NEW = "
F1_FLAG = "
HELP_FLAG = "
OVERFLOW_AREA = "
MSG = "
INCL = "
ROW = "
CONTENT_DISPLAY = "
COL = "
WRD = "
SCANNED = "
* C_EDITOR = "
IN_LINENUMBER_FIELD = "
FCODE_I = "
LAST_CONTENT_DISPLAY = "
SUPPRESS_DIALOG_FLAG = "
FCODE_SAVE = "
TDMSG1LINE = "EDIC: Message lines
TDMSG2LINE = "EDIC: Message lines
TABLES
STEP = "
* CONTENT = "ABAP Source Line
* CONTENT_C = "ABAP Source Line
* LINEINDEX = "
* PAGE = "ABAP Source Line
* LINENUM = "
* TK = "Extended String Description of Token in ABAP Source Analysis
* STM = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLLOCAL_EDT1_001 User Exit for Editor (Dynamic Pattern)
EXIT_SAPLLOCAL_EDT1_002 User's Own Function Code in ABAP Editor
IMPORTING Parameters details for RESET_INPUT
EDIT_CONTROL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KOMPRMODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXTEND_MOD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STATUS_FLAG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
C_HANDLE -
Data type: CL_WB_EDITOROptional: Yes
Call by Reference: No ( called with pass by value option)
LINE_NAME -
Data type:Default: 'RSTXP-TDLINE'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FIRST_NAME -
Data type:Default: 'RSTXP-TDFIRST'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LAST_NAME -
Data type:Default: 'RSTXP-TDLAST'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TOTAL_NAME -
Data type:Default: 'RSTXP-TDTOTAL'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MARK_NAME -
Data type:Default: 'RSTXP-TDMARK'
Optional: Yes
Call by Reference: No ( called with pass by value option)
MARK1_NAME -
Data type:Default: 'RSTXP-TDMARK1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMMLINE_NAME -
Data type:Default: 'RSTXP-TDCOMMLINE'
Optional: Yes
Call by Reference: No ( called with pass by value option)
LINECOM_NAME -
Data type:Default: 'RSTXP-TDLINECOM'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for RESET_INPUT
CURSOR_I -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FLAG_AUTO_SCROLL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FLAG_LINECOM_RESET -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
LINECOM_CONTENT_DISPLAY -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
CONTENT_DISPLAY_NEW -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
F1_FLAG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
HELP_FLAG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OVERFLOW_AREA -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MSG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INCL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ROW -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CONTENT_DISPLAY -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
COL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SCANNED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
C_EDITOR -
Data type: OBJECTOptional: Yes
Call by Reference: No ( called with pass by value option)
IN_LINENUMBER_FIELD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FCODE_I -
Data type: TSE02-PROGFUNOptional: No
Call by Reference: No ( called with pass by value option)
LAST_CONTENT_DISPLAY -
Data type: SY-INDEXOptional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_DIALOG_FLAG -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FCODE_SAVE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TDMSG1LINE - EDIC: Message lines
Data type: RSTXP-TDMSG1LINEOptional: No
Call by Reference: No ( called with pass by value option)
TDMSG2LINE - EDIC: Message lines
Data type: RSTXP-TDMSG2LINEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RESET_INPUT
STEP -
Data type: EDSTEPOptional: No
Call by Reference: No ( called with pass by value option)
CONTENT - ABAP Source Line
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
CONTENT_C - ABAP Source Line
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
LINEINDEX -
Data type: EDLINEINDXOptional: Yes
Call by Reference: No ( called with pass by value option)
PAGE - ABAP Source Line
Data type: RSWSOURCETOptional: Yes
Call by Reference: Yes
LINENUM -
Data type: EDLINENUMOptional: Yes
Call by Reference: No ( called with pass by value option)
TK - Extended String Description of Token in ABAP Source Analysis
Data type: SEDI_TKOptional: Yes
Call by Reference: Yes
STM -
Data type: SSTMNTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RESET_INPUT 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: | ||||
| lt_step | TYPE STANDARD TABLE OF EDSTEP, " | |||
| lv_cursor_i | TYPE EDSTEP, " | |||
| lv_edit_control | TYPE EDSTEP, " | |||
| lv_komprmode | TYPE EDSTEP, " | |||
| lv_flag_auto_scroll | TYPE EDSTEP, " | |||
| lv_extend_mod | TYPE EDSTEP, " | |||
| lv_flag_linecom_reset | TYPE EDSTEP, " | |||
| lv_status_flag | TYPE EDSTEP, " | |||
| lv_linecom_content_display | TYPE SY-INDEX, " | |||
| lv_c_handle | TYPE CL_WB_EDITOR, " | |||
| lv_content_display_new | TYPE SY-INDEX, " | |||
| lv_f1_flag | TYPE SY, " | |||
| lv_help_flag | TYPE SY, " | |||
| lv_overflow_area | TYPE SY, " | |||
| lv_msg | TYPE SY, " | |||
| lv_incl | TYPE SY, " | |||
| lv_row | TYPE SY, " | |||
| lt_content | TYPE STANDARD TABLE OF RSWSOURCET, " | |||
| lv_line_name | TYPE RSWSOURCET, " 'RSTXP-TDLINE' | |||
| lv_content_display | TYPE SY-INDEX, " | |||
| lv_col | TYPE SY, " | |||
| lv_wrd | TYPE SY, " | |||
| lv_scanned | TYPE SY, " | |||
| lv_c_editor | TYPE OBJECT, " | |||
| lt_content_c | TYPE STANDARD TABLE OF RSWSOURCET, " | |||
| lv_first_name | TYPE RSWSOURCET, " 'RSTXP-TDFIRST' | |||
| lv_in_linenumber_field | TYPE RSWSOURCET, " | |||
| lv_fcode_i | TYPE TSE02-PROGFUN, " | |||
| lv_last_name | TYPE TSE02, " 'RSTXP-TDLAST' | |||
| lt_lineindex | TYPE STANDARD TABLE OF EDLINEINDX, " | |||
| lt_page | TYPE STANDARD TABLE OF RSWSOURCET, " | |||
| lv_total_name | TYPE RSWSOURCET, " 'RSTXP-TDTOTAL' | |||
| lv_last_content_display | TYPE SY-INDEX, " | |||
| lt_linenum | TYPE STANDARD TABLE OF EDLINENUM, " | |||
| lv_mark_name | TYPE EDLINENUM, " 'RSTXP-TDMARK' | |||
| lv_suppress_dialog_flag | TYPE EDLINENUM, " | |||
| lt_tk | TYPE STANDARD TABLE OF SEDI_TK, " | |||
| lv_fcode_save | TYPE SEDI_TK, " | |||
| lv_mark1_name | TYPE SEDI_TK, " 'RSTXP-TDMARK1' | |||
| lt_stm | TYPE STANDARD TABLE OF SSTMNT, " | |||
| lv_tdmsg1line | TYPE RSTXP-TDMSG1LINE, " | |||
| lv_commline_name | TYPE RSTXP, " 'RSTXP-TDCOMMLINE' | |||
| lv_tdmsg2line | TYPE RSTXP-TDMSG2LINE, " | |||
| lv_linecom_name | TYPE RSTXP. " 'RSTXP-TDLINECOM' |
|   CALL FUNCTION 'RESET_INPUT' " |
| EXPORTING | ||
| EDIT_CONTROL | = lv_edit_control | |
| KOMPRMODE | = lv_komprmode | |
| EXTEND_MOD | = lv_extend_mod | |
| STATUS_FLAG | = lv_status_flag | |
| C_HANDLE | = lv_c_handle | |
| LINE_NAME | = lv_line_name | |
| FIRST_NAME | = lv_first_name | |
| LAST_NAME | = lv_last_name | |
| TOTAL_NAME | = lv_total_name | |
| MARK_NAME | = lv_mark_name | |
| MARK1_NAME | = lv_mark1_name | |
| COMMLINE_NAME | = lv_commline_name | |
| LINECOM_NAME | = lv_linecom_name | |
| CHANGING | ||
| CURSOR_I | = lv_cursor_i | |
| FLAG_AUTO_SCROLL | = lv_flag_auto_scroll | |
| FLAG_LINECOM_RESET | = lv_flag_linecom_reset | |
| LINECOM_CONTENT_DISPLAY | = lv_linecom_content_display | |
| CONTENT_DISPLAY_NEW | = lv_content_display_new | |
| F1_FLAG | = lv_f1_flag | |
| HELP_FLAG | = lv_help_flag | |
| OVERFLOW_AREA | = lv_overflow_area | |
| MSG | = lv_msg | |
| INCL | = lv_incl | |
| ROW | = lv_row | |
| CONTENT_DISPLAY | = lv_content_display | |
| COL | = lv_col | |
| WRD | = lv_wrd | |
| SCANNED | = lv_scanned | |
| C_EDITOR | = lv_c_editor | |
| IN_LINENUMBER_FIELD | = lv_in_linenumber_field | |
| FCODE_I | = lv_fcode_i | |
| LAST_CONTENT_DISPLAY | = lv_last_content_display | |
| SUPPRESS_DIALOG_FLAG | = lv_suppress_dialog_flag | |
| FCODE_SAVE | = lv_fcode_save | |
| TDMSG1LINE | = lv_tdmsg1line | |
| TDMSG2LINE | = lv_tdmsg2line | |
| TABLES | ||
| STEP | = lt_step | |
| CONTENT | = lt_content | |
| CONTENT_C | = lt_content_c | |
| LINEINDEX | = lt_lineindex | |
| PAGE | = lt_page | |
| LINENUM | = lt_linenum | |
| TK | = lt_tk | |
| STM | = lt_stm | |
| . " RESET_INPUT | ||
ABAP code using 7.40 inline data declarations to call FM RESET_INPUT
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 INDEX FROM SY INTO @DATA(ld_linecom_content_display). | ||||
| "SELECT single INDEX FROM SY INTO @DATA(ld_content_display_new). | ||||
| DATA(ld_line_name) | = 'RSTXP-TDLINE'. | |||
| "SELECT single INDEX FROM SY INTO @DATA(ld_content_display). | ||||
| DATA(ld_first_name) | = 'RSTXP-TDFIRST'. | |||
| "SELECT single PROGFUN FROM TSE02 INTO @DATA(ld_fcode_i). | ||||
| DATA(ld_last_name) | = 'RSTXP-TDLAST'. | |||
| DATA(ld_total_name) | = 'RSTXP-TDTOTAL'. | |||
| "SELECT single INDEX FROM SY INTO @DATA(ld_last_content_display). | ||||
| DATA(ld_mark_name) | = 'RSTXP-TDMARK'. | |||
| DATA(ld_mark1_name) | = 'RSTXP-TDMARK1'. | |||
| "SELECT single TDMSG1LINE FROM RSTXP INTO @DATA(ld_tdmsg1line). | ||||
| DATA(ld_commline_name) | = 'RSTXP-TDCOMMLINE'. | |||
| "SELECT single TDMSG2LINE FROM RSTXP INTO @DATA(ld_tdmsg2line). | ||||
| DATA(ld_linecom_name) | = 'RSTXP-TDLINECOM'. | |||
Search for further information about these or an SAP related objects