SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the page break in batchjob output of ALV

Former Member
0 Kudos

Please find the steps to reproduce the issue.

step1. Log-on to DR1

step2. Enter tcode se38 and enter the program name : Z_LIST_DISPLAY and execute

step3. You will get the selection screen. Click on the program Menu and click " execute in background"

step4."Background print parameters" - pop up will be displayed.

step5. Enter Output device as " LOCL", Enter Report 60000 rows X 255 columns

step6: Enter format Z_60000_255

step7. Click on Continue button.

step8. " Start Time" screen will appear. Click on Immediate button.

step9. Click on Save button at the bottom.

step10. A successful message will appear at the bottom "Background job was scheduled for program Z_LIST_DISPLAY".

step11. Goto sm37 and click on execute. you should be getting the job in finished status.

step12. Click on the job and click on the spool button at the top.

step13.You will get output controller: list of spool requests.

step14.Under the type column heading, there will be an icon and click it.

step15. You will get an output which will give you the list. The list will have heading after every 60th record. But we want to get the complete list with only one heading which should be displayed just list the foreground output.

How to remove the headings which will appear every 60 lines.

1 ACCEPTED SOLUTION

former_member182609
Active Contributor
0 Kudos

Refer this link it will give some help.

http://scn.sap.com/thread/1892731

View solution in original post

9 REPLIES 9

former_member182609
Active Contributor
0 Kudos

Refer this link it will give some help.

http://scn.sap.com/thread/1892731

0 Kudos

REPORT z_list_display NO STANDARD PAGE HEADING

                 LINE-SIZE 255

                 LINE-COUNT 65536.

So line count is not a problem

CALL METHOD ref_grid_list->set_table_for_first_display

I am using this ALV method.

I hope, the problem is with some printer settings. Can some basis guy, look into the issue?

0 Kudos

HI,

If you download to excel and sort in ascending order, you would be able to get a listing with 1 header line after removal of excess header line.

This would solve your problem.

if not, you would probably have to set a flag at the TOP-OF-PAGE to bypass the header printing.

0 Kudos

I don't have TOP-OF-PAGE event

0 Kudos

Hi,

It's in the source coding for ALV.

Prehap somehting of TOP...

You need to enhance the coding in the report.

0 Kudos

Hi Ramesh,

First of all confirm that the format contains 60000 rows and 255 columns.Then check the format is assigned to the default printer.

Regards,

Vignesh

0 Kudos

Yes, That format was created by me only. I assigned to the printer LOCL. But LOCL means local printer which we are using to take print here(It will take the output of windows). So I need to assign to some imaginary printer which will accept this format. Is there any such setting in SAP? Can I create a dummy printer and assign this format to that?

0 Kudos

HI Ramesh,

check in Tx spad->output devices and check which is the default printer.assign the format to that printer and then execute the report and check the spool request.

Regards,

Vignesh

0 Kudos

SAP gave me the solution for this. We need to correct a standard program.

correction instruction is given in the correction instruction 1424646 or we have to download the support package upto Support Packages:SAP_BASIS

Release 731

Package Name SAPKB73103