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

number format in Excel

Former Member
0 Likes
1,191

Hi Experts,

After downloading the Excel file, the amount field is using the General format (meaning, there is no specific format). Some amounts have 2 decimals, while others have 1 or zero decimal.

I want that column to have a standard format which is categorized as number and has a decimal of two.

Points will be rewarded.

Message was edited by:

p328202

Hi Experts,

After downloading the Excel file, the amount field is using the General format (meaning, there is no specific format). Some amounts have 2 decimals, while others have 1 or zero decimal.

I want that column to have a standard format which is categorized as number and has a decimal of two.

Points will be rewarded.

Message was edited by:

p328202

5 REPLIES 5
Read only

Former Member
0 Likes
728

ya

once u get all the values into the excell sheet select that column and go with the left alignment option and save the excell sheet....

It should work for you

~~Guduri

Read only

Former Member
0 Likes
728

ya

once u get all the values into the excell sheet select that column and go with the left alignment option and save the excell sheet....

It should work for you

~~Guduri

Read only

Former Member
0 Likes
728

Hi mariposa ,

Select the full column, click on format cells and set the category as Number with decimals 2.

This will solve your problem.

Hope this helps.

Please reward if useful.

Thanks,

Srinivasa

Read only

0 Likes
728

Hi Srinivasa,

Can I apply that using ABAP codes?

Message was edited by:

p328202

Read only

Former Member
0 Likes
728

Hi,

use the gui_download fm with WK1 type as the code page wihile downloding to the excel .

it will be downloaded same as the sap format.

Thanks,

Srinu.