on 07-17-2013 6:54 PM
Hi All,
I have a main report and 1 sub report.In sub report i created a dummy group and checked repeat gh on each page to show headers in every page .
But some times if the summary values came in new page the headers are not showing.(when there is no detail section values and only summary values).
How to resolve this.
Hi Divya,
The solution in this thread is the only available workaround at the moment:
http://scn.sap.com/thread/1102228
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash,
I fallowed the steps in the 2nd approach of above thread but i am not getting the result.I applied all this process to my Brand wise sub report
Please find my report and just observe in the last page.
I purposefully made my report like this(too much width between sections) to test the scenario.
hi Divya,
what is happening in the case of the last page is because of an orphaned Group Footer and Report Footer...i.e. there needs to be a Details record plus a Group Footer plus a Report Footer in order for the Group Header to show up.
please have a look at the attached report which addresses this particular case...what i've done:
1) added a new Details B section
2) Details B includes the Report Footer plus a copy of the Group Footer plus a copy of the Details A information
3) the report footer has been suppressed as it's only needed in details b
4) details A and the group footer are suppressed on the last record
5) details B shows up only on the last record
since the group footer and the report footer are combined with the final details record, this section will be kept together and also force the group header to show up.
cheers,
jamie
Hi Jamie,
Thank for your help.
Unfortunately still my issue is not resolved.
In the 14th page of the modified report that you attached still there is a problem I mean the summary values are coming without the headers.
I need to display the headers whenever the summary values coming in new page starting.
Please help.
hi Divya,
you still have to follow the advice that Abhilash gave you before. my post was specifically for the orphaned report footer as per the issue you mentioned on the last page.
for example, in your report your group header 1b has to have all of the same content as group header 1a plus the details information, and it still needs to have a suppression formula.
WhilePrintingRecords;
Onfirstrecord or {database.field} <>
Previous({database.field})
Hi Divya,
I looked at the report you attached and realized that this is not the usual orphaned Group Header issue. Moreover the solution in the URL I posted won't work this report.
Anyway, please find attached the updated report. *I'm sorry, I'm not able to attach the report for some reason; I keedp getting an error*.
Please try the following steps on the report you attached 1st:
1) Remove the conditional suppression logic for the details section. Delete Group Header 1b section
2) Created a Fake Group using the formula:
whilereadingrecords;
""
3) Move this Fake Group to the Top of the Group List and suppresse Group Footer 1
4) Copy all the objects from Group Header 2 (which was the original Group Header before the Fake Group was inserted) and paste in Group Header 1. So we now have two copies of the same header
5) Create a formula with the code below and place it on Group Header 1:
WhilePrintingRecords;
stringvar brand_name := {StretchDayTot.brand_name};
"";
5) Go to Section Expert > Select Group Header 2 > Click the formula button beside Suppress and use this code:
WhilePrintingRecords;
stringvar brand_name;
brand_name = {StretchDayTot.brand_name}
So, Group Header 1 (The Fake Group) shows up on all pages whereas Group Header 2 shows up only when a new group starts anywhere on the page after the previous group.
Hope this helps.
-Abhilash
Hi Divya,
Could you check whether you have checked Group together option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.