Skip to Content
0
Former Member
Jul 19, 2007 at 02:09 PM

Need help with a transfer file

55 Views

Hi all.,

I am trying to transfer data from my internal table to application server in .txt (file), and after the process show a log with the numbers of successful data send to the server, also describe the errors that occur when i am trying to send to the server.

DATA: lwa_datacts like line of gtd_datacts.

OPEN DATASET pi_infile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

IF sy-subrc EQ 0.

LOOP AT gtd_datacts INTO lwa_datacts.

TRANSFER lwa_datacts TO pi_infile.

ENDLOOP.

ELSE.

exit

ENDIF.

CLOSE DATASET pi_ruta.

regards

Guillermo