replace charachters
I have abcc345. i need to replace all the charachters by spaces.
incase i have asdfghj00001 again all charachters by spaces.
but number remains the same.
in all cases i just need to replace the charachters numbere remaining the same
Tags:
Sunil Kumar Mutyala replied
HI,
See if one variable has value like abc456.
simply declare one variable with type N.
example ..
data: w_var1(20) type c value 'ABC1101', w_var2(20) type N. w_var2 = w_var1. write : / w_var2. Then simply it writes .... 1101.
hope u got it..
this is the concept of type conversion...................
Regards
Sunil Kumar Mutyala.