2007 Apr 19 8:30 AM
Hello,
I am using the Coversion Exit "CONVERSION_EXIT_ALPHA_INPUT", but it is not giving me the desired output (not converting the equipment number into an 18 char).
Please help me to resolve this, or suggest any other method.
Regards,
Pankaj Agarwal.
2007 Apr 19 8:45 AM
hi,
when u use CONVERSION_EXIT_ALPHA_INPUT FM in se37 it gives ur output with 0's precding ur equnr more than 18 char.
But when u use in ur program it wwill work fine.
Rewards point if helpful.
Regards
Santosh
Hello,
I am using the Coversion Exit "CONVERSION_EXIT_ALPHA_INPUT", but it is not giving me the desired output (not converting the equipment number into an 18 char).
Please help me to resolve this, or suggest any other method.
Regards,
Pankaj Agarwal.
2007 Apr 19 8:31 AM
Hi,
Use
CONVERSION_EXIT_ALPHA_OUTPUT
and see
reward if sueful
regards,
Anji
2007 Apr 19 8:34 AM
Hi!
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_eq_number
IMPORTING
OUTPUT = lv_eq_number
.
With this code, the output can be the following, depending on the input:
- if the input contains only numbers (123456789): the output will be 000000000123456789
- if the input contains characters also (A123456789): the ouput remains unchanged A123456789
Regards
Tamá
2007 Apr 19 8:37 AM
"if the input contains only numbers (123456789): the output will be 000000000123456789"
This is the problem that it does not convert it as you have written, but it appends so many '0' that the length exceeds 18 chars.
2007 Apr 19 8:45 AM
hi,
when u use CONVERSION_EXIT_ALPHA_INPUT FM in se37 it gives ur output with 0's precding ur equnr more than 18 char.
But when u use in ur program it wwill work fine.
Rewards point if helpful.
Regards
Santosh
2007 Apr 19 8:47 AM
Hi,
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = equip_number
IMPORTING
OUTPUT = equip_number .Regards
Sudheer