Skip to Content
Former Member
Jun 18, 2014 at 05:03 AM

Populate Function Module Parameter Depending on a condition.


Hi Guys,

I need to call function module WS_DELIVERY_UPDATE_2 with some export parameters and tables. (This is done in a loop. Program reads data from a file in the server and loop them). If the data set has a value for serial number field (sernr) (there are several fields) I need to populate the exporting parameter IT_SERNR_UPDATE with relevant data. If no value in the file for sernr then this parameter should not be populated. Can I do this without calling the function module twice.

Thanks and Regards,