‎2007 Jun 12 6:05 AM
‎2007 Jun 12 6:08 AM
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
‎2007 Jun 12 6:08 AM
‎2007 Jun 12 6:08 AM
to get leading zero's or remove leading zero's
see the FM
conversion_exit_alpha_input
conversion_exit_alpha_output
‎2007 Jun 12 6:09 AM
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
‎2007 Jun 12 9:15 AM
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
‎2007 Jun 12 9:16 AM
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