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

Simple Transformation / point comma

Former Member
0 Likes
580

Hello,

i am new at Simple Transformations. I have a given xml in wich decimal seperator is the comma.

During the transformation I need to replace it with a point.

XML: <turnover>658,23</turnover>

ST: <tt:value ref="$wa.tover" />

ABAP: wa-tover = '658.23'

Does anybody have a hint for me?

thanks

Werner

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
504

use command

REPLACE ',' with '.' into Variable....

Hello,

i am new at Simple Transformations. I have a given xml in wich decimal seperator is the comma.

During the transformation I need to replace it with a point.

XML: <turnover>658,23</turnover>

ST: <tt:value ref="$wa.tover" />

ABAP: wa-tover = '658.23'

Does anybody have a hint for me?

thanks

Werner

2 REPLIES 2
Read only

Former Member
0 Likes
504

Hello,

better to use offset concept here.....Replace....

Thank u,

santhosh

Read only

Former Member
0 Likes
505

use command

REPLACE ',' with '.' into Variable....