Application Development 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: 

CONVERSION_EXIT_AUFNR_OUTPUT

Former Member
0 Kudos

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

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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