Application Development 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: 

Conversion of MENGE and DMBTR fields

Former Member
0 Kudos

Hi Guru's,

Here I'm facing some problem with the conversion

I have to convert price field(EKBE-DMBTR) from 123.45 of data type CURR to 12345 of data type CHAR, and

also quantity field(EKBE-MENGE) from 123.456 of data type QUAN to 123456 of data type Numeric which are in EKBE table.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Use WRITE statement to convert the currency value to a character value.

WRITE <curr field> TO <char field> CURRENCY <currency>.

or

Try out this FM.

TRS_CONVERT_AMOUNT_TO_TEXT

For qty also you can use write.

<b>Reward if helpful.</b>

Former Member
0 Kudos

Thank you for all the contributers.