cancel
Showing results for 
Search instead for 
Did you mean: 

Sub-report positioning

0 Kudos

I am developing a report that has two sub-reports. One is positioned at the top of the page and the second is positioned half way down the page. The two sub-reports show the same information. When the report loads the first page is rendered correctly. First sub-report at the top of the page and the second sub-report at the middle of the page. All pages after that, the second sub-report is over top of the first report at the top of the page.

I have the two sub-reports in the same detail pane. When I add a second detail pane, I get just one sub-report per page.

jerryjanda
Community Manager
Community Manager
0 Kudos

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit (although once someone answers your question, you'll lose the ability to edit the question -- but if that happens, you can leave more details in a comment).

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Kind regards,

--Jerry

Accepted Solutions (0)

Answers (1)

Answers (1)

DellSC
Active Contributor
0 Kudos

They have to be in separate sections in order to appear one over the other - it doesn't work if they're in the same section. You need to make sure that they're formatted to take up less than half of the page, bearing in mind that the page margins take up some of the page as well. I would look at the following changes that might help:

1. Unless they're required, suppress all other sections in the main document - especially page header and page footer sections. If they can't be suppressed, make sure that they have the smallest height possible.

2. Suppress any sections of the subreports that are not required.

3. Right-click on each of the subreport objects, go to "Format Subreport" and turn off "Can Grow".

4. Set the subreport size in the main report to be exactly the size you need it to be.

5. Right-click on each of the subreport objects and select "Size and Position". Make sure that the "Y" value is set to 0 so that it is at the very top of the section.

6. Pull the bottom of the section up to the bottom of the subreport so that there is no space at the bottom of the section.

-Dell