cancel
Showing results for 
Search instead for 
Did you mean: 

Print-Time formulas using two groups

Former Member
0 Kudos

I need punt in a graph two differents values from 2 shared varables, this is my scenario:

I have a report with two subreports, from each one I create a shared numbervar and put this into principal reports.

This values are showing in the second group, so I need print a graph into primary group.

Example

Group Header A

Group Footer B Values from two shared numbervar

Group Footer A Graph with shared numbervar values

then restart the values and ...

Group Header A

Group Footer B Values from two shared numbervar

Group Footer A Graph with shared numbervar values

etc.

I review the Print-TimeFormulas.pdf document, but only explian how graph a shared variable but without groups.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40e7130d-aa1e-2b10-ce9f-eee2a54f...

Can you help me ???!!!

Accepted Solutions (1)

Accepted Solutions (1)

former_member260594
Active Contributor
0 Kudos

Jose,

The same logic applies from the charting on print time formulas document. The sahred variables will be overwritten by the next occurrence of the subreports.

You will just need to ensure that the subreport you are using to display the chart with is in the last group subsection so that the sahred variables have values assigned before you attempt to reference them.

Answers (1)

Answers (1)

Former Member
0 Kudos

Ok, I'll apply this.

The other problem is, the values into OnChangeOf formula are acumulative for each different group value:

Examle Hrs X Hrs Y

GroupHeaderA 1

GroupFooterB 005 3.5 192.97

GroupFooterA 005^

GroupFooterB 007 23.5 2.50

GroupFooterA 005007

GroupHeaderA 2

GroupFooterB 025 13.5 12.97

GroupFooterA 005007025^

GroupFooterB 027 23.5 2.50

GroupFooterA 005007025027

Is possible reset the OnChangeOf fomula for each different GroupA?