Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Send Data to a Filesystem

dmi
Participant
0 Likes
461

I have to send a File (ASCII) from SAP to an other network. There is no SAP.

How can I send data to the other filesystem?

Is there a BAPI or with RFC?

I have to send a File (ASCII) from SAP to an other network. There is no SAP.

How can I send data to the other filesystem?

Is there a BAPI or with RFC?

2 REPLIES 2
Read only

Former Member
0 Likes
411

Hi Daniel,

You can use FTP to send data file.

Please check this standard program.

RSEPSFTP

RSFTP002

RSFTP007

Hope this will help.

Regards,

Ferry Lianto

Read only

0 Likes
411

Daniel,

Use Func Module:

CALL FUNCTION 'EPS_FTP_PUT'

EXPORTING

RFC_DESTINATION = rfc_dest

LOCAL_FILE = loc_file

LOCAL_DIRECTORY = loc_dir

REMOTE_FILE = rem_file

REMOTE_DIRECTORY = rem_dir

OVERWRITE_MODE = over

TEXT_MODE = text

TRANSMISSION_MONITOR = moni

RECORDS_PER_TRANSFER = rpt

MONITOR_TITLE = gv_monitor_title

PROGRESS_TEXT = gv_progress_text

OBJECT_NAME = loc_file

IMPORTING

LOCAL_DIRECTORY = gv_local_dir

LOCAL_PATH = gv_local_path

REMOTE_DIRECTORY = gv_remote_dir

REMOTE_PATH = gv_remote_path

FILE_SIZE = gv_file_size

LOCAL_SYSTEM_INFO = gs_local_info

REMOTE_SYSTEM_INFO = gs_remote_info

EXCEPTIONS

OTHERS = 99.