09-12-2008 6:16 AM
Hi folks,
I want to convert AUFNR and remove its preeceding zeros is this the function module for that or its something else.
thanks in advance.
09-12-2008 6:18 AM
Hi,
Use the following function module:
CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
Hope this helps.
Regards,
Sipra
09-12-2008 6:18 AM
Hi,
Use the following function module:
CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer
Example:
input = 00000000000123
output = 123
Hope this helps.
Regards,
Sipra
09-12-2008 6:22 AM
Hi,
plz check below function module : your function module is working corect or else try ' CONVERSION_EXIT_ALPHA_OUTPUT'
data: aufnr type mara-matnr value '000000000000000068',
lv_aufnr type afko-aufnr.
call function 'CONVERSION_EXIT_AUFNR_OUTPUT'
exporting
input = aufnr
importing
output = lv_aufnr
.
write: lv_aufnr.
thanx.
Edited by: Dhanashri Pawar on Sep 12, 2008 7:24 AM