2008 Nov 27 5:29 AM
hi all,
can anyone please tell me that how to convert Charecter to Integer? i have a value in
itab-kunnr = '0000023004'. i have to remove 0 in left side and need value only '23004'.
KUNNR is a Charecter.
regards saurabh.
2008 Nov 27 5:31 AM
Hello,
Use the below statement.
shift <your varaiable> left deleting leading '0'.
Hope this helps.
Thanks,
Jayant
2008 Nov 27 5:31 AM
Hello,
Use the below statement.
shift <your varaiable> left deleting leading '0'.
Hope this helps.
Thanks,
Jayant
2008 Nov 27 5:33 AM
Hello,
You can use conversion exits
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = itab-kunnr
IMPORTING
output = itab-kunnr .
2008 Nov 27 5:33 AM
hi,
use Condense statement.
press F1 on condense to know more.
or you can use this function module.
CONVERSION_EXIT_ALPHA_OUTPUT.
2008 Nov 27 5:33 AM
2008 Nov 27 5:33 AM
Hi Buddy,
shift it_details1-hunit left DELETING LEADING '0'.
or use pack stmt
Thanks & Regards,
Krishna
2008 Nov 27 5:36 AM
hi
you can use MOVE, write or just assign it to the
required variables.
just have a look at the documentation for the MOVE
hope this helps
regards
Aakash Banga