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

Function EPS_SEEK_INPUT_FILE 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 'EPS_SEEK_INPUT_FILE'".
EXPORTING
PATTERN = "
RECORDS_TO_SKIP = "
FILE_PATH = "
* RECORDS_PER_TRANSFER = 10 "
EXCEPTIONS
READ_FAILURE = 1 WRITE_FAILURE = 2 END_OF_FILE = 3 PATTERN_NOT_FOUND = 4
IMPORTING Parameters details for EPS_SEEK_INPUT_FILE
PATTERN -
Data type: TBL8000-LINEOptional: No
Call by Reference: No ( called with pass by value option)
RECORDS_TO_SKIP -
Data type: EPSF-EPSRECTRAOptional: No
Call by Reference: No ( called with pass by value option)
FILE_PATH -
Data type: EPSF-EPSPATHOptional: No
Call by Reference: No ( called with pass by value option)
RECORDS_PER_TRANSFER -
Data type: EPSF-EPSRECTRADefault: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
READ_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRITE_FAILURE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
END_OF_FILE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PATTERN_NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EPS_SEEK_INPUT_FILE 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_pattern | TYPE TBL8000-LINE, " | |||
| lv_read_failure | TYPE TBL8000, " | |||
| lv_write_failure | TYPE TBL8000, " | |||
| lv_records_to_skip | TYPE EPSF-EPSRECTRA, " | |||
| lv_file_path | TYPE EPSF-EPSPATH, " | |||
| lv_end_of_file | TYPE EPSF, " | |||
| lv_pattern_not_found | TYPE EPSF, " | |||
| lv_records_per_transfer | TYPE EPSF-EPSRECTRA. " 10 |
|   CALL FUNCTION 'EPS_SEEK_INPUT_FILE' " |
| EXPORTING | ||
| PATTERN | = lv_pattern | |
| RECORDS_TO_SKIP | = lv_records_to_skip | |
| FILE_PATH | = lv_file_path | |
| RECORDS_PER_TRANSFER | = lv_records_per_transfer | |
| EXCEPTIONS | ||
| READ_FAILURE = 1 | ||
| WRITE_FAILURE = 2 | ||
| END_OF_FILE = 3 | ||
| PATTERN_NOT_FOUND = 4 | ||
| . " EPS_SEEK_INPUT_FILE | ||
ABAP code using 7.40 inline data declarations to call FM EPS_SEEK_INPUT_FILE
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 LINE FROM TBL8000 INTO @DATA(ld_pattern). | ||||
| "SELECT single EPSRECTRA FROM EPSF INTO @DATA(ld_records_to_skip). | ||||
| "SELECT single EPSPATH FROM EPSF INTO @DATA(ld_file_path). | ||||
| "SELECT single EPSRECTRA FROM EPSF INTO @DATA(ld_records_per_transfer). | ||||
| DATA(ld_records_per_transfer) | = 10. | |||
Search for further information about these or an SAP related objects