Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 351

Re: How to convert a character to number

$
0
0

I think you didn't required any FM to do it.

Just assign c type variable to variable type P. It will work fine.

Like:

 

DATA : lv_ch(4) type c,

lv_num type p length 4.

 

lv_num = lv_ch.

write:/ lv_num.

 

It's just simply work in case of your problem.


Viewing all articles
Browse latest Browse all 351

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>