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.
CLOSE DATASET pi_ruta.