Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

use function

Former Member
0 Likes
503

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.

3 REPLIES 3
Read only

Former Member
0 Likes
450

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

Read only

manubhutani
Active Contributor
0 Likes
450

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

Read only

Former Member
0 Likes
450

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