Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to use Prequery Variable

Hi ,

I have to calculate based on the result of ConsUnit /TaxProvison for each Consunit:

Ex: Cons Unit / Tax Provison

2000 $1,151.60

4000 $46,648,458.24

4036 0

4113 0

5000 $77.15

5002 0


Result $46,649,686.99

I should calculate a column like this $46,649,686.99 /$1,151.60

$46,649,686.99 / $46,648,458.24




I tried using a prequery and got the results of Consunit by Account number . I mean totals like $46,649,686.99 in a prequery in a column. Now I don't understand how I can use this in my existing query to calculate the column like this $46,649,686.99 /$1,151.60

$46,649,686.99 / $46,648,458.24



I created a replacement path type variable on Account Number that has the results of the prequery.

Can anyone help me with a solution please?



Not what you were looking for? View more on this topic or Ask a question