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 from Char to Packed field ?

Former Member
0 Kudos

Hello All,

I've a Quantity field menge in char format initially.

Now I want this char value to the actual menge field which is a Packed decimal.

Can anyone tell me how to do this conversion from Char to Packed decimal ?

Regards,

Deepu.K

.

2 REPLIES 2

Former Member
0 Kudos

Hi deepu,

do like this

data: var1(5) type c value '1123',
     var2(8) type p decimals 2.

var2 = var1.

write var2.

<b>Reward points for helpful answers</b>

Satish

Former Member
0 Kudos

Hi I think some function module is there.It will convert the reqd format.