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 conversion.

Former Member
0 Likes
1,003

Hi,

Iam downloading some data from sap to excel.

In that one field length is char18 .it saves in excel like 6.36081E+11(original value is 636080900257).

now i want to upload same excel into sap.

iam getting same filedvalue in internal table is 6.36081E+11. how can i get the original value (636080900257).

Regards,

Suresh.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
968

while downloading check if your excel Cells format is FRACTION . if not change it to FRACTION ..

7 REPLIES 7
Read only

Former Member
0 Likes
969

while downloading check if your excel Cells format is FRACTION . if not change it to FRACTION ..

Read only

Former Member
0 Likes
968

That's is a functionality of excel nothing can be done , if you want to have the original value download the file in CSV format and use the same for further processing.

Format setting in excel will not help in getting your original values it will add zeros as per E ^ power

Read only

Former Member
0 Likes
968

try to assign this number into packed decimal

Regards

sasi

Read only

0 Likes
968

or try with FM MURC_ROUND_FLOAT_TO_PACKED

Regards

Sasi

Read only

Former Member
0 Likes
968

before displaying you can change the number to type p (packed), declare a packed variable and assign it to the same.

With luck,

Pritam.

Read only

Former Member
0 Likes
968

Declare one variable with type packed. Pass those converted values to this packed variable.

Regards,

Joan

Read only

abdulgaffarmohd
Participant
0 Likes
968

Hi suresh ,

you can do one thing in XL ,

just right click on this column and select formatcells and select number.

and double click on that column the XL-column will be converted into number .

Regards,

Mohameed.