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 type p into string

rainer_hbenthal
Active Contributor
0 Kudos

Hi,

i would like to convert a packed decimal variable to string. Of course i can just simple write

write pdec to str

but this will use the users settings. I would like to steer the output format

1.234,56

1,234.56

1 234.56

from "outside", so i'm beeing indepent from the users settings. Any suggestions on how to do that?

2 REPLIES 2

Former Member
0 Kudos

Hi

Try with this CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL'

Regards

Pavan

Former Member
0 Kudos

Hi Rainer,

Use Conversion Routine function module CONVERSION_EXIT_* for that field.

<b>Reward for helpful answers</b>

Satish