‎2008 Apr 04 9:02 AM
Hi friends,
I am working on abap.
now i want compare one field to another field.
1st field is 18 character &
2nd field is 50 character of anather table.
I want compare 18 charater field to 50 char field .
how to use funtion of " CONVERSION_EXIT_ALFAN_INPUT ".
please give me a replay with example.
‎2008 Apr 04 9:07 AM
Hi
Hope it will help you.
Reward if help.
N = '000088888'.
SHIFT N LEFT DELETING LEADING ZEROS.
or FM is CONVERSION_EXIT_ALFAN_INPUT
OR
X = '777770000000'.
SHIFT X RIGHT DELETING TRAILING ZEROS.
CONVERSION_EXIT_ALFAN_OUTPUT
‎2008 Apr 04 9:20 AM
hi
conversion_exit_alpha_input is used to delete preceding zeroes from a value
and output it used to put zeroes.
Now ell me what u want?
Please reward points
‎2008 Apr 04 9:34 AM
data: var1 type char50.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = field1(18 char field)
IMPORTING
output = var1.
now compare var1(19 char field which got converted to 50 char.) with the 50 character field.
please reward points if you find this useful