SAP EPS_FTP_MPUT Function Module for









EPS_FTP_MPUT is a standard eps ftp mput 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 ftp mput FM, simply by entering the name EPS_FTP_MPUT 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): Normal Function Module
Update:



Function EPS_FTP_MPUT 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_FTP_MPUT'"
EXPORTING
RFC_DESTINATION = "
* MONITOR_TEXT1 = "
* MONITOR_TEXT2 = "
* PROGRESS_TEXT = "
* FILE_MASK = ' ' "
* LOCAL_DIRECTORY = ' ' "
* REMOTE_DIRECTORY = ' ' "
* OVERWRITE_MODE = ' ' "
* TEXT_MODE = ' ' "
* TRANSMISSION_MONITOR = 'X' "
* RECORDS_PER_TRANSFER = 10 "
* MONITOR_TITLE = "

IMPORTING
LOCAL_DIRECTORY = "
REMOTE_DIRECTORY = "
LOCAL_SYSTEM_INFO = "
REMOTE_SYSTEM_INFO = "

TABLES
* FILE_LIST = "

EXCEPTIONS
CONNECTION_FAILED = 1 INVALID_VERSION = 2 INVALID_ARGUMENTS = 3 GET_DIR_LIST_FAILED = 4 FILE_TRANSFER_FAILED = 5 STOPPED_BY_USER = 6
.



IMPORTING Parameters details for EPS_FTP_MPUT

RFC_DESTINATION -

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

MONITOR_TEXT1 -

Data type: EPSF-EPSTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

MONITOR_TEXT2 -

Data type: EPSF-EPSTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

PROGRESS_TEXT -

Data type: EPSF-EPSTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FILE_MASK -

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

LOCAL_DIRECTORY -

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

REMOTE_DIRECTORY -

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

OVERWRITE_MODE -

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

TEXT_MODE -

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

TRANSMISSION_MONITOR -

Data type: EPSF-EPSTRAMON
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RECORDS_PER_TRANSFER -

Data type: EPSF-EPSRECTRA
Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)

MONITOR_TITLE -

Data type: EPSF-EPSTEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for EPS_FTP_MPUT

LOCAL_DIRECTORY -

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

REMOTE_DIRECTORY -

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

LOCAL_SYSTEM_INFO -

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

REMOTE_SYSTEM_INFO -

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

TABLES Parameters details for EPS_FTP_MPUT

FILE_LIST -

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

EXCEPTIONS details

CONNECTION_FAILED -

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

INVALID_VERSION -

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

INVALID_ARGUMENTS -

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

GET_DIR_LIST_FAILED -

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

FILE_TRANSFER_FAILED -

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

STOPPED_BY_USER -

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

Copy and paste ABAP code example for EPS_FTP_MPUT 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_file_list  TYPE STANDARD TABLE OF EPSFILI, "   
lv_local_directory  TYPE EPSF-EPSDIRNAM, "   
lv_rfc_destination  TYPE RFCDES-RFCDEST, "   
lv_connection_failed  TYPE RFCDES, "   
lv_monitor_text1  TYPE EPSF-EPSTEXT, "   
lv_monitor_text2  TYPE EPSF-EPSTEXT, "   
lv_progress_text  TYPE EPSF-EPSTEXT, "   
lv_file_mask  TYPE EPSF-EPSFILNAM, "   SPACE
lv_invalid_version  TYPE EPSF, "   
lv_remote_directory  TYPE EPSF-EPSDIRNAM, "   
lv_local_directory  TYPE EPSF-EPSDIRNAM, "   SPACE
lv_invalid_arguments  TYPE EPSF, "   
lv_local_system_info  TYPE EPSFTPSI, "   
lv_remote_directory  TYPE EPSF-EPSDIRNAM, "   SPACE
lv_remote_system_info  TYPE EPSFTPSI, "   
lv_get_dir_list_failed  TYPE EPSFTPSI, "   
lv_overwrite_mode  TYPE EPSF-EPSOVRWRI, "   SPACE
lv_file_transfer_failed  TYPE EPSF, "   
lv_text_mode  TYPE EPSF-EPSTXTMOD, "   SPACE
lv_stopped_by_user  TYPE EPSF, "   
lv_transmission_monitor  TYPE EPSF-EPSTRAMON, "   'X'
lv_records_per_transfer  TYPE EPSF-EPSRECTRA, "   10
lv_monitor_title  TYPE EPSF-EPSTEXT. "   

  CALL FUNCTION 'EPS_FTP_MPUT'  "
    EXPORTING
         RFC_DESTINATION = lv_rfc_destination
         MONITOR_TEXT1 = lv_monitor_text1
         MONITOR_TEXT2 = lv_monitor_text2
         PROGRESS_TEXT = lv_progress_text
         FILE_MASK = lv_file_mask
         LOCAL_DIRECTORY = lv_local_directory
         REMOTE_DIRECTORY = lv_remote_directory
         OVERWRITE_MODE = lv_overwrite_mode
         TEXT_MODE = lv_text_mode
         TRANSMISSION_MONITOR = lv_transmission_monitor
         RECORDS_PER_TRANSFER = lv_records_per_transfer
         MONITOR_TITLE = lv_monitor_title
    IMPORTING
         LOCAL_DIRECTORY = lv_local_directory
         REMOTE_DIRECTORY = lv_remote_directory
         LOCAL_SYSTEM_INFO = lv_local_system_info
         REMOTE_SYSTEM_INFO = lv_remote_system_info
    TABLES
         FILE_LIST = lt_file_list
    EXCEPTIONS
        CONNECTION_FAILED = 1
        INVALID_VERSION = 2
        INVALID_ARGUMENTS = 3
        GET_DIR_LIST_FAILED = 4
        FILE_TRANSFER_FAILED = 5
        STOPPED_BY_USER = 6
. " EPS_FTP_MPUT




ABAP code using 7.40 inline data declarations to call FM EPS_FTP_MPUT

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 EPSDIRNAM FROM EPSF INTO @DATA(ld_local_directory).
 
"SELECT single RFCDEST FROM RFCDES INTO @DATA(ld_rfc_destination).
 
 
"SELECT single EPSTEXT FROM EPSF INTO @DATA(ld_monitor_text1).
 
"SELECT single EPSTEXT FROM EPSF INTO @DATA(ld_monitor_text2).
 
"SELECT single EPSTEXT FROM EPSF INTO @DATA(ld_progress_text).
 
"SELECT single EPSFILNAM FROM EPSF INTO @DATA(ld_file_mask).
DATA(ld_file_mask) = ' '.
 
 
"SELECT single EPSDIRNAM FROM EPSF INTO @DATA(ld_remote_directory).
 
"SELECT single EPSDIRNAM FROM EPSF INTO @DATA(ld_local_directory).
DATA(ld_local_directory) = ' '.
 
 
 
"SELECT single EPSDIRNAM FROM EPSF INTO @DATA(ld_remote_directory).
DATA(ld_remote_directory) = ' '.
 
 
 
"SELECT single EPSOVRWRI FROM EPSF INTO @DATA(ld_overwrite_mode).
DATA(ld_overwrite_mode) = ' '.
 
 
"SELECT single EPSTXTMOD FROM EPSF INTO @DATA(ld_text_mode).
DATA(ld_text_mode) = ' '.
 
 
"SELECT single EPSTRAMON FROM EPSF INTO @DATA(ld_transmission_monitor).
DATA(ld_transmission_monitor) = 'X'.
 
"SELECT single EPSRECTRA FROM EPSF INTO @DATA(ld_records_per_transfer).
DATA(ld_records_per_transfer) = 10.
 
"SELECT single EPSTEXT FROM EPSF INTO @DATA(ld_monitor_title).
 


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!