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

report

Former Member
0 Likes
667

hi guys,

need ur help.

i have a field with time interval in view viqmel. but the format is in exponential form. Can any one suggest me how to convert this exponential form to the normal time format.

Please reply urgently.

points will be awarded generously.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
644

Hi

Check with the following info...

FMs -KKEK_CONVERT_FLOAT_TO_CURR &

CHAR_FLTP_CONVERSION

or

you can just move field with type F to type P.

DATA: NUM1 TYPE F VALUE '1E+02',

NUM2 TYPE P DECIMALS 2.

NUM2 = NUM1.

WRITE: / NUM2.

Hope this solves ur problem....

<b>do reward if useful....</b>

regards

dinesh

4 REPLIES 4
Read only

Former Member
0 Likes
644

Chk this:

FLTP_CHAR_CONVERSION

CHAR_FLTP_CONVERSION

Read only

Former Member
0 Likes
644

declare a type p var in your report and take the float value in this.

data : vdata type p decimals 2.

vdata = <your float value>.

write : / vdata.

regards

shiba dutta

null

Read only

Former Member
0 Likes
645

Hi

Check with the following info...

FMs -KKEK_CONVERT_FLOAT_TO_CURR &

CHAR_FLTP_CONVERSION

or

you can just move field with type F to type P.

DATA: NUM1 TYPE F VALUE '1E+02',

NUM2 TYPE P DECIMALS 2.

NUM2 = NUM1.

WRITE: / NUM2.

Hope this solves ur problem....

<b>do reward if useful....</b>

regards

dinesh

Read only

Former Member
0 Likes
644

hi,

check this flow it may help.

data: a type string value '10E+02'.

data: b type f.

data: c type p.

b = a.

c = b.

write:/ b, c.

Don't forget to reward if useful