Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Page break missing from spool dowonload

former_member186783
Participant
0 Kudos
158

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

1 ACCEPTED SOLUTION

former_member186783
Participant
0 Kudos
107

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 .

1 REPLY 1

former_member186783
Participant
0 Kudos
108

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 .