Skip to Content
Apr 25, 2014 at 11:07 AM

Function Module Input Change



I am presently working on a function module where the input of the existing function module was only one material number, but the current requirement is to create a new function module which would replicate the features of the existing FM and at the same time, should take more than one ( say maximum100 values ) value as input.

One option would be to collect the user's input in the form of a table i.e T_MATNR instead of I_MATNR which used to take only 1 value as input. To support this, all the functions, read statements, move statements would have to be looped where every value of T_MATNR is fetched into the existing I_MATNR field. This reduces the code change which is generally required, but I was wondering what would be the performance impact of implementing something like this?

Is there any other way to implement this requirement without actually using loops?

Any pointers on this would be appreciated.

Thanks & Regards,

Alice D' Souza.