06-29-2007 12:36 PM
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
06-29-2007 1:05 PM
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
06-29-2007 1:05 PM
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
06-29-2007 1:56 PM
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