Skip to Content

Decimal Issue ALV in SAP ABAP

Hi experts,

I need one help here, one standard report where using REUSE ALV GRID DISPLAY Fm

In internal table of std table i have one custom field P_AMT here its passing value- Example: 984.00/ 984.12 (decimal value) but in ALV its coming as 984,00/ 984,12 (comma value), i want same as decimal value.

I have checked data type as well its correct in table.

Kindly help me how to solve this issue. Its a Standard Report and in Reuse ALV FM field catalog is commented they are passing table Structure

call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = g_repid
i_callback_pf_status_set = gc_status_set_s
i_callback_user_command = gc_user_command_s
i_structure_name = 'IBROSTMS'
is_layout = gs_layout
i_grid_title = g_title
* it_fieldcat = gt_fieldcat_s " field catalog commented in std report
it_sort = gt_sort_s
i_save = 'A'
is_variant = vari
tables
t_outtab = gt_ibrostms
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.

endif.

Thanks and Regards.

Niraj Sinha

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 23, 2017 at 10:01 AM

    Check with SE11 in your append structure of IBROSTMS for your field definition, P_AMT looks like an amount field name, its data type must be CURR in fields tab and you must have provided a reference to a currency field (IBROSTMS-WAERS) in currency/quantity tab. (Look in online help for ALV value display currency)

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 23, 2017 at 09:51 AM

    What is the data type of P_AMT?

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 24, 2017 at 07:35 AM

    Is your question about comma versus dot representation of the decimal point? It's defined in the user profile (transaction SU3 or SU01).

    Add comment
    10|10000 characters needed characters exceeded