Skip to Content

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

Create title for a custom grouping

Hi All,

I want to add a Group Header that says like "Acc 1" and list all 1, then another title but when it starts printing Accounts 2, for example:

Account 1

111111

111121

111112

                              subtotal:

Account 2

222222

22222

2222

                              subtotal

At the moment, I'm able to see the accounts and subtotals, but I want to add title on top of each accounts once they appear.

NOTE: I already have a group that sorts me the account by number, what I need to add is a title on top of each number change.

Thanks!

Former Member
replied

Here are the steps again:

1) Modify the @Nombre formula to:

local stringvar acc := Totext({Bce_consolidado.Account})[1];

if acc = '1' then "Activo" else

if acc = '2' then "Pasivo" else

if acc = '3' then "Patrimonio" else

if acc = '4' then "Gastos" else

if acc = '5' then "Ganancias"

2) Drag and drop this formula on the Group Header

3) Delete the 'Group #1 Name' field from the Group Header

4) Move 'Account Name', 'Saldo MN' and 'Saldo ME" fields to the details section

5) Add the 'Account ID' field to the Details section

5) Unsuppress the Details section

-Abhilash

0 View this answer in context

Helpful Answer

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