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

ABAP General

Former Member
0 Likes
848

Function Module required to convert a decimal (e.g. some kind of amount 17.35) into a character type .

Regards,

Rakesh

Function Module required to convert a decimal (e.g. some kind of amount 17.35) into a character type .

Regards,

Rakesh

7 REPLIES 7
Read only

Former Member
0 Likes
823

Hi Rakesh,

There is no need of FM , u can directly assign

data : v_char(10).

v_char = '17.35'.

" use quotes

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

0 Likes
823

u mean to say that just make it type C.

I tried that but i dont think thats working in my situation.

please help

regards

rakesh

Read only

suresh_datti
Active Contributor
0 Likes
823

use MOVE.

~Suresh

Read only

Former Member
0 Likes
823

v1 = 17.35

data: v2(8) type c.

move V1 to V2.

So, the value becomes a char value which u can use it.

Read only

Former Member
0 Likes
823

i think declare another variable of type c and move into that field is enough

but still you want to know the function modules

check the data elements of that fields there you will find the conversion click on that you will get the function module conversion for that particular field

Regards,

Phani

Read only

Former Member
0 Likes
823

Found a solution no need of function module

Read only

Former Member
0 Likes
823

u might have found solution from the replies...Without awardng points u have closed the thread...People are busy with work and still giving answers by taking time out...