Application Development and Automation 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: 
Read only

DECIMALFORMAT

Former Member
0 Likes
813

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
Read only

Former Member
0 Likes
795

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

But could you post your code ?

Read only

0 Likes
795

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

Read only

0 Likes
795

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

Read only

0 Likes
795

What is the content of I_FINALTAB?

WRITE: AT P L_COLNAME .

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

Read only

Former Member
0 Likes
795

HI satya

The problem may be while converting the format.

debug you program check the values while converting the format.

regards

kishore

Read only

santosh_patil6
Explorer
0 Likes
795

ps:be more clear.

Read only

Former Member
0 Likes
795

hi Satya,

pass your internal table to form and write .

loop at i_finaltab.

write : i_finaltab-payroll.

endloop.

regards

satesh