Skip to Content
0
Apr 25, 2011 at 02:26 PM

Dynamic ALV - Format field value

484 Views

Hi.

I'd like to know how to format fields of a dynamic ALV grid.

Today, in this column is coming values like:

599998900.00-

1000.00-

2000.00-

I'd like to format it like (Brazil's region number format):

599.998.900,00-

1.000,00-

2.000,00-

In fieldcat logic I'm using ls_fieldcat-datatype = 'CURR'.

I tryied to use these fields in fieldcat, but as this ALV is dynamic, I haven't any table to put as reference:

  • lt_fieldcat-fieldname = 'WAERS'.

  • lt_fieldcat-ref_tabname = 'BKPF'.

thanks.

Glauco

Edited by: Glauco Kubrusly on Apr 25, 2011 11:28 AM