2013 May 28 2:08 PM
Hi everyone,
I would like to download a spool request into a txt file. I'm using the RSPO_RETURN_ABAP_SPOOLJOB function module to get the spool job, and the GUI_DOWNLOAD to save it to a text file. But after the coonversion (GUI_DOWNLOAD) the Page breaks are missing from the txt file.
Maybe I could use the CL_ABAP_CHAR_UTILITIES to place the page breaks manually, but how should I know where to place it? There isn't any sign in the internal table, which shows the end of a page.
My question is: How can I convert the spool job into a text file without loosing the page breaks?
I searched this forum, and also googled the topic, but I can't find the answer.
Please help.
Nandor
2013 Jun 17 9:59 AM
The page break is missing from the spool anyway. You have to put it into the text file manually:
ls_text = CL_ABAP_CHAR_UTILITIES=>FORM_FEED .
2013 Jun 17 9:59 AM
The page break is missing from the spool anyway. You have to put it into the text file manually:
ls_text = CL_ABAP_CHAR_UTILITIES=>FORM_FEED .