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

Former Member
0 Likes
707

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

.

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

Former Member
0 Likes
640

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

Read only

Former Member
0 Likes
640

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