cancel
Showing results for 
Search instead for 
Did you mean: 

sap-abap

Former Member
0 Kudos

hi all

if i want to move a integer type variable in to the character type work area fiels how can i do that .

thanks

himanshu sharma.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I do it as follows:

var1 type i.

var2 type c.

write var1 to var2.

That preserves the decimals (I'm not sure if the other way does).

Regards,

Davis

Message was edited by:

Davis

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Exactly as given above.

Thanks,

Sapna

Former Member
0 Kudos

Simple you can move

data a type i.

data b(10) type c.

start-of-selection.

a = 200.

move a to b.

Thanks

Seshu