‎2008 Apr 10 3:00 PM
Hi all,
Can we call a conversion exits in a program, like calling a function using CALL FUNCTION?
If yes, how do we do that?
Thank you
Goldie.
‎2008 Apr 10 3:03 PM
Hi,
The calling of Conversion exits is similar to calling FM'S.
In deed Conversion exits are nothing but a Function Modules only.
‎2008 Apr 10 3:03 PM
Hi,
The calling of Conversion exits is similar to calling FM'S.
In deed Conversion exits are nothing but a Function Modules only.
‎2008 Apr 10 3:07 PM
In addition to Subas:
Find the conversion exit routine via the domain of the dataelement and double click on exit. This will give you the name of the function module:
General function module CONVERSION_EXIT_APLHA_INPUT / OUTPUT.
Edited by: Micky Oestreich on Apr 10, 2008 4:07 PM
‎2008 Apr 10 3:13 PM
Hi Goldie,
Check the below code .
...
DATA : l_matnr type matnr.
l_matnr = '131'.
CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
EXPORTING
input = l_matnr
IMPORTING
OUTPUT = l_matnr.
Output = 000000000000000131.
The same we can use output for avoiding the leading zeros
CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT'
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 10:38 AM
‎2008 Apr 10 3:34 PM