‎2008 Jul 24 4:11 PM
Hi , I have a peculiar issue.
There is a string of length 10.
it will always start with a numeric value however it can have alphanumeric charaters there after.
for example :
1
1A
2BC
23A
123B etc.....
I have to pick only the numeric values for comparison
.
like 1 ,1 , 2,23, 123 with another field that holds only numeric characters.
how can I achieve this.
THanks
‎2008 Jul 24 4:15 PM
take a NUMC variable with same length.... assign this value to this new NUMC variable....
Amitava
‎2008 Jul 24 4:15 PM
take a NUMC variable with same length.... assign this value to this new NUMC variable....
Amitava
‎2008 Jul 24 4:15 PM
‎2008 Jul 24 4:18 PM
Try this,
data: lv_char type c length 20 value '12ab34c5'.
data: lv_num type n length 10.
lv_num = lv_char.
write lv_num.
Thanks,
SKJ