cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Display comma in a amount value.

Former Member
0 Kudos

Hi experts,

My requirement is i want to to display the comma in amount fields in script.

i was declared one internal table with 5 fields , in that 3 fields are amount fields , these 3 fields also i was declared as type char, because i have to do some calculations and add some text after the amount.

Here my problem is i want to display the amount value with commas and with out decimal places (12,34,500) like this.

i was removed the decimal places using 'MOVE_CHAR_TO_NUM' functin module , but i am not able to add the commas for the amount field , can any body let me know how to do this.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

go to system own data in that Decimal Notation change here you can change accordingly

Former Member
0 Kudos

Hi..

You can give these amount fields type as some standard amount fields instead of char.

For Example. for netprice you can give..

data: begin of it_itab,

netpr type ekpo-netpr,

end of it/-itab.

Regards,

Vishwa.

Answers (0)