‎2008 Jul 18 10:27 AM
Hi Gurus,
How to move C data type into NUMC data type in SAP.
I have used move command and = as well, but not able to assign C data type value into NUMC .
Please reply with Solution ASAP.
Regards,
Rahul
‎2008 Jul 18 10:30 AM
Hi Rahul Sinha,
Use this FM: CONVERT_FROM_CHAR_SORT_RFW.
It will convert char to any data type,,,,,
Hope it is helps.
Regards,
T.Durai murugan.
‎2008 Jul 18 10:31 AM
HI
DATA :
w_c(10) TYPE c VALUE 'abcb232',
w_n(10) TYPE n .
w_n = w_c.
WRITE :
w_n.
Regards
Pavan
‎2008 Jul 18 10:32 AM
Hi ,
check below code
= is working for me.
DATA:
ch(5) TYPE c,
nm(5) TYPE n.
ch = '10'.
nm = ch.
WRITE : ch.Best regards,
Brijesh