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 **

Former Member
0 Likes
731

hi,

plz explain what the use of CONVERSIONS, where we can find it,

how we know the FM which used for our purpose.

thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
686

Hi Sarath

Conversion extis are used to convert external data to SAP internal format and vice versa.

For example,

data : v_matnr like mara-matnr.

v_matnr = '55'.

  • To Internal Format

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

input = v_matnr "55

IMPORTING

OUTPUT = v_matnr "000000000000000055

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'

EXPORTING

input = v_matnr "000000000000000055

IMPORTING

OUTPUT = v_matnr "55

You can search them in SE37 using CONVEREXIT

for most cases you specify the field names in the search to get the specified exit for a particular data type.

Hope this is what you are expecting.

Regards

Kathirvel

4 REPLIES 4
Read only

Former Member
0 Likes
686

Hello ,

Conversion Routine are used to convert external numbers to internal numbers and vice versa.

For Eg: IF you see a material in the table you can see

MATNR : ABBC-MAT

but the system internally converts into a internal number.

You find all the conversion exits in the DOMAIN of the field.

Covers.Routine.

reward if helps.

Thanks,

Krishnakumar

Read only

Former Member
0 Likes
686

hi,

Conversions are used for converting the values to database formant .. for example in the below example we are changing the vbeln value format to the database value format

data : v_vbeln like vbrk-vbeln.

 v_vbeln = '055'.


CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      input         = v_vbeln             "055
    IMPORTING
      OUTPUT        = v_vbeln             "0000000055 
            .

Regards,

Santosh

Read only

Former Member
0 Likes
686

Hi,

conversion exit FM are used to pad leading zeroes to variable

This conversion is possible only case of variable having all numeric

for alpha numeric conversion does nt work.

Conversion are defiined at domain level in table for data element.

Regards

amole

Read only

Former Member
0 Likes
687

Hi Sarath

Conversion extis are used to convert external data to SAP internal format and vice versa.

For example,

data : v_matnr like mara-matnr.

v_matnr = '55'.

  • To Internal Format

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'

EXPORTING

input = v_matnr "55

IMPORTING

OUTPUT = v_matnr "000000000000000055

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'

EXPORTING

input = v_matnr "000000000000000055

IMPORTING

OUTPUT = v_matnr "55

You can search them in SE37 using CONVEREXIT

for most cases you specify the field names in the search to get the specified exit for a particular data type.

Hope this is what you are expecting.

Regards

Kathirvel