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: 

How to convert PACK Decimal value into Chracter Value

Former Member
0 Kudos
447

Hello everybody please tell me how to convert pack decimal value into Char value

ASAP

3 REPLIES 3

Former Member
0 Kudos
41

Hi,

declare another variable with char type of same length and move it.

eg :DATA : v1 TYPE p DECIMALS 2 VALUE '10.55',

v2(10) TYPE c.

v2 = v1.

WRITE : v1,

/ v2.

Hope it helps

Regards,

Pavan

Former Member
0 Kudos
41

Hi Sandeep,

try using pack and unpack.

thanks & regards

Ruchi Tiwari

Former Member
0 Kudos
41

Solved the problem