2006 Dec 01 3:11 PM
Hello, I have a gt_list which is displayed in the alv list. I put values in it from a structure I've created. When I display the list, the gt_list-anbtr field is shown in the following format 300.300,00 instead of 30.030.000. In my structure the anbtr field has a a reference t0001 with waers.
How could I solve the problem?
2006 Dec 01 5:05 PM
Hi,
in Fieldcatalog use this
wa_fieldcat-cfieldname = 'WAERS'.here 'WAERS is the fieldname for currency.
it will help you.
Regards
Muthappan
Hi
Not, sure but in your default parameters in SU01, "defaults" tab, you can define the number format otherwise move the field to a CHAR and format it in your ABAP.
Hope this helps,
Erwan
2006 Dec 01 3:16 PM
Hi
Not, sure but in your default parameters in SU01, "defaults" tab, you can define the number format otherwise move the field to a CHAR and format it in your ABAP.
Hope this helps,
Erwan
2006 Dec 01 3:17 PM
Hi Jacob,
try this out
in the fieldcatalog for that field , add this
wa_fieldcat-datatype = 'CURR'.
2006 Dec 01 3:22 PM
u have to define ur settings in system->userprofile->own data to this format...
or else what u can do is loop at internal table...if field-name is this replace all ',' with '.'
and use the internal table in ur alv...
2006 Dec 01 5:05 PM
Hi,
in Fieldcatalog use this
wa_fieldcat-cfieldname = 'WAERS'.here 'WAERS is the fieldname for currency.
it will help you.
Regards
Muthappan
2006 Dec 04 9:59 AM
Hi, I have checked, the datatype of wa_fcat-datatype = CURR. Have you got any other suggestion to my problem?
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |