Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Report Output is truncated

Hello All,

I have a requirement wherein I am downloading the contents of an internal table from a report program to the application server (AL11) as a file.

I have written the code as below:

LOOP AT gt_file INTO gs_file.

TRANSFER gs_file-content TO lv_filename.

ENDLOOP.

where,

the declaration is as follows:

TYPES: BEGIN OF ty_file ,

content TYPE string ,

END OF ty_file .

DATA: gt_file TYPE STANDARD TABLE OF ty_file,

gs_file TYPE ty_file.

DATA:lv_filename TYPE string .

The problem is that in the downloaded file, for each record only 512 characters are displayed. The remaining record is truncated.

Please help.

I also tried declaring as:

TYPES: BEGIN OF ty_file ,

content(5000) TYPE c ,

END OF ty_file .

But in vain.

Thanks,

Dawood.

Edited by: Dawood.S.Ghasletwala on Sep 10, 2008 6:47 PM

Tags:
Not what you were looking for? View more on this topic or Ask a question