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: 

Write <Source> to <Destination> statement

Former Member
0 Kudos

Hi,

We are making the code unicode compatible,

we re facing a problem in the

<b>Write <Source> to <Destination> statement</b>

as shown below

WRITE SATZ-SOFE_ERSF TO SATZ-SOFE_ERSF CURRENCY P0008-WAERS

the unicode error is, the destination field must be of type Charracter.

If we use a temporary variable of type char, then we must convert this character variable back to the type P and assign it to the actual variable.

How do we achieve this.

Thanks,

Chetana

2 REPLIES 2

ibrahim_u
Active Participant
0 Kudos

if you dont want to use char type u dont need to use WRITE syntax.

you can use MOVE syntax to move data from type has any decimal to type any decimal.

WRITE is generally using when datas wanted to display formatted.

ibrahim

Former Member
0 Kudos

Hi,

We could use the move statement where the <b>Currency</b> Key word was not used, here since the currency is used, we do not know how to proceed.

Thanks,

Chetana