04-22-2008 6:02 AM
i am using a fmodule called md_convert_unit but it is giving me a dump error saying
The call to the function module "MD_CONVERT_MATERIAL_UNIT" is incorrect:
The function module interface allows you to specify only fields
of a particular type under "I_MATNR". The field "GT_TRANS-PRODUCTID" specified
here
has a different field type.
wat can be the reason
04-22-2008 6:04 AM
Hi
In the FM call the passing parameters should have the same data types as specified in the FM.
Otherwise such Errors occurs.
Change the datatype of the parameter u getting in the Error to same as the FM .
Hope it helps.
Praveen
04-22-2008 6:08 AM
Helllo Jamnum-
The field type should be same I tested this FM in my sandbox its working fine you need to pass all the parametrs this means all are mandatory with same field type.
Cheers,
~Srini....
04-22-2008 6:14 AM
Haiiii,,
VALUE(I_MATNR) LIKE MARA-MATNR
VALUE(I_IN_ME) LIKE MARA-MEINS
VALUE(I_OUT_ME) LIKE MARA-MEINS
VALUE(I_MENGE) LIKE EKPO-MENGE
VALUE(E_MENGE) LIKE EKPO-MENGE
this should be the data types os ur passing varriable.
also pass all the parameters.
it will work fine.
Regards
Sarath
04-22-2008 6:19 AM
Hi
The function module u have mentioned MD_CONVERT_MATERIAL_UNIT have four parameters :
VALUE(I_MATNR) LIKE MARA-MATNR
*" VALUE(I_IN_ME) LIKE MARA-MEINS
*" VALUE(I_OUT_ME) LIKE MARA-MEINS
*" VALUE(I_MENGE) LIKE EKPO-MENGE
These four parameters are mandatory that is these four parameters are need to be given value. The value that is passed through this parameter should exactly match the date type which is mentioned in the function module. If the data type does nt matches it raises such exceptions else it works fine in its functionality..
Hope it helps you
Bhuvaneswari