‎2006 Nov 19 5:24 AM
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
‎2006 Nov 19 2:48 PM
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
‎2006 Nov 19 6:04 AM
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
‎2006 Nov 19 8:50 AM
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
‎2006 Nov 19 1:23 PM
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
‎2006 Nov 19 2:48 PM
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