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

data type conversion

Former Member
0 Likes
561

Hai every one ! I am trying to assign the value of field (currency type) to field (character type). Its not working .Is there any FM for this ? Pl. give me a solution.

TQ Regards

3 REPLIES 3
Read only

Former Member
0 Likes
529

Hi,

You just convert the currency field to char using WRITE TO statement. Try with this.

Cheers,

Bujji

Read only

asik_shameem
Active Contributor
0 Likes
529

Hi,

use FM, <b>CEVA_CONVERT_FLOAT_TO_CHAR</b> as follows.

CALL FUNCTION 'CEVA_CONVERT_FLOAT_TO_CHAR'

EXPORTING

FLOAT_IMP = V_FLOAT

FORMAT_IMP = P

ROUND_IMP = ' '

IMPORTING

CHAR_EXP = V_CHAR.

Read only

Former Member
0 Likes
529

Hi please try with the below conversion exits:

CHAR_FLTP_CONVERSION

FLTP_CHAR_CONVERSION

Reward if helpful.