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

conversion type p into string

rainer_hbenthal
Active Contributor
0 Likes
1,278

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
Read only

Former Member
0 Likes
787

Hi

Try with this CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL'

Regards

Pavan

Read only

Former Member
0 Likes
787

Hi Rainer,

Use Conversion Routine function module CONVERSION_EXIT_* for that field.

<b>Reward for helpful answers</b>

Satish