Application Development 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: 

OUTBOUND INTERFACE

Former Member
0 Kudos

WHAT ARE DIFERENT METHODS OF SENDING DATA STORED IN INTERNAL TABLE FROM SAP SYSTEM TO ANY OTHER LEGACY SYSTEM.

=====================================================

1)CAN I SEND DATA THROUGH <b>FTP</b> ALSO TO OTHER LEGACY SYSTEM FROM SAP.

2)DO I NEED TO PUT THE DATA IN SOME FILE THEN FTP IT OR I CAN FTP INTERNAL TABLE STRAIGHTWAY

1 ACCEPTED SOLUTION

former_member588853
Active Contributor
0 Kudos

HI,

You can use Open DATASET to send to Application server.

<b>*Open the archive directory

OPEN DATASET fp_v_arcpath

FOR

OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc = 0.

*Put the file in the archive directory

LOOP AT fp_it_data INTO wa_data.

TRANSFER wa_data TO fp_v_arcpath.

ENDLOOP.

CLOSE DATASET fp_v_arcpath.

*Delete the file in the current location

DELETE DATASET fp_v_filepath.

ENDIF.</b>

fp_it_data is an internal tablee with data..

You can straight wway send data to FTP folde by above syntax.

you need to have access to read write the folder in FTP.

Basis people/you functional people provides you the access to FTP folders..

rewards if useful

regards,

nazeer

Message was edited by:

nazeer shaik

2 REPLIES 2

former_member588853
Active Contributor
0 Kudos

HI,

You can use Open DATASET to send to Application server.

<b>*Open the archive directory

OPEN DATASET fp_v_arcpath

FOR

OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc = 0.

*Put the file in the archive directory

LOOP AT fp_it_data INTO wa_data.

TRANSFER wa_data TO fp_v_arcpath.

ENDLOOP.

CLOSE DATASET fp_v_arcpath.

*Delete the file in the current location

DELETE DATASET fp_v_filepath.

ENDIF.</b>

fp_it_data is an internal tablee with data..

You can straight wway send data to FTP folde by above syntax.

you need to have access to read write the folder in FTP.

Basis people/you functional people provides you the access to FTP folders..

rewards if useful

regards,

nazeer

Message was edited by:

nazeer shaik

Former Member
0 Kudos

Hi,

Better way is to send it to application server using opendatase and close data set.

normally FTP is used to get data from naother system where the data is stored in a particular folder in the system(lets say on the desktop).

Reward if useful.

Regards,

Sasi