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 exits

Former Member
0 Likes
835

what r conversion exits?

6 REPLIES 6
Read only

Former Member
0 Likes
805

Hi,

Conversion exits are used for displaying or storing the values in internal representation..

The conversion exit will be set at the DOMAIN..

Take for example PARVW..AG is for sold to party which is the internal representation..

Check this link for more details..

http://help.sap.com/saphelp_40b/helpdata/en/cf/21ee19446011d189700000e8322d00/content.htm

Thanks,

Naren

Read only

Former Member
0 Likes
805

hi,

Refer to these related threads

Message was edited by:

Santosh Kumar Patha

Read only

Former Member
0 Likes
805

to get leading zero's or remove leading zero's

see the FM

conversion_exit_alpha_input

conversion_exit_alpha_output

Read only

santhosh_patil
Contributor
0 Likes
805

Hi,

check this

<b>Conversion routine</b>

Conversion takes place when converting the contents of a screen field

from display format to SAP-internal format and vice versa and when

outputting with the ABAP statement WRITE, depending on the data type of

the field.

If standard conversion is not suitable, it can be overridden by

specifying a conversion routine in the underlying domain.

A conversion routine is identified by its five-place name and is stored

as a group of two function modules. The function modules have a fixed

naming convention. The following function modules are assigned to

conversion routine xxxxx:

<b> o CONVERSION_EXIT_xxxxx_INPUT

o CONVERSION_EXIT_xxxxx_OUTPUT</b>

The INPUT module performs the conversion from display format to internal

format. The OUTPUT module performs the conversion from internal format

to display format.

If a screen field refers to a domain with a conversion routine, this

conversion routine is executed automatically each time an entry is made

in this screen field or when values are displayed with this screen

field.

---Patil

Read only

Former Member
0 Likes
805

Conversion-exit : to overcome the format of a particular value these r used

Eg : if a value of length 10 is stored as 12345 in database , and if we give the same in seletion screen sometimes it may not accept , we have to give the leading zeroes also i.e 0000012345 , to overcome that we use conversion exits for that field , there are some Function modules also for this , check in SE37 CONVERSION_EXIT* , u can find some of them

reward points if it is usefull ...

Girish

Read only

Former Member
0 Likes
805

Conversion-exit : to overcome the format of a particular value these r used

Eg : if a value of length 10 is stored as 12345 in database , and if we give the same in seletion screen sometimes it may not accept , we have to give the leading zeroes also i.e 0000012345 , to overcome that we use conversion exits for that field , there are some Function modules also for this , check in SE37 CONVERSION_EXIT* , u can find some of them

reward points if it is usefull ...

Girish