Skip to Content
0
Former Member
Nov 30, 2006 at 05:17 AM

count lines in download files

152 Views

Hi,

I am using a prog to download a file of header and item lines.here i want to count the total no of lines download and the count value should display in the first line of download filewhich is in the header line.but i can get the total no lines counted only after i send all to the download file.so how to insert the count into the download file.because each line i convert using CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT' into i_download. and i declare

data: begin of i_download occurs 0,

line(4500) type c,

end of i_download.

now i want to pass the counted value to i_download line.but the i_download is already ',' seperated and my place of inesrtion the count some where in the middle of the line.

Pls help me to solve the issue.

Thanks,

Rajendra.