Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

DECIMALFORMAT

Former Member
0 Kudos
151

HI FOLKS

This is regarding decimal format notation

1)Format 1,234,567.89 ...for this if we execute the report..we are getting the right values in the output.

2) However, if we change the format to 1.234.567,89 for this if we execute the report is being generated and format is ok but we are not getting the same values in the output.

kindly respond to this prob

regards

satya

7 REPLIES 7

Former Member
0 Kudos
133

If you are talking about Decimal and thousand separator this is in the username settings!

But could you post your code ?

0 Kudos
133

hi

i AM CALULATING THE VALUE THRU A PERFORM AND DISPLAYING IT THRU WRITE STATEMENT

the code is as follows

PERFORM COLUMN_WRITE USING I_FINALTAB-PAYROLL.

WRITE ''.

FORM COLUMN_WRITE USING L_COLNAME.P = 38.

LOOP AT I_FINALTAB.

WRITE: AT P L_COLNAME .

P = P + C_INCREMENT.ENDLOOP . ENDFORM. " COLUMN_WRITEULINE.

regards

satya

0 Kudos
133

Hi satya

pass the internal table in the perform

PERFORM COLUMN_WRITE tables i_finaltab.

FORM COLUMN_WRITE tables i_finaltab.

P = 38.

LOOP AT I_FINALTAB.

WRITE: AT P <b>i_finaltab-payroll.</b>

P = P + C_INCREMENT.ENDLOOP . ENDFORM. " COLUMN_WRITEULINE.

regards

kishore

Message was edited by: Harikishore Sreenivasulu

0 Kudos
133

What is the content of I_FINALTAB?

WRITE: AT P L_COLNAME .

-- You are writing the same value (L_COLNAME) each time?

Former Member
0 Kudos
133

HI satya

The problem may be while converting the format.

debug you program check the values while converting the format.

regards

kishore

santosh_patil6
Explorer
0 Kudos
133

ps:be more clear.

Former Member
0 Kudos
133

hi Satya,

pass your internal table to form and write .

loop at i_finaltab.

write : i_finaltab-payroll.

endloop.

regards

satesh