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

CONVERSION_EXIT_AUFNR_OUTPUT

Former Member
0 Likes
1,704

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,310

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

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.

2 REPLIES 2
Read only

Former Member
0 Likes
1,311

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

Read only

Former Member
0 Likes
1,310

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