Even after passing the value of ITEM_COUNT of function module CSAP_MAT_BOM_MAINTAIN as 00000000 (which is its default value), the SAP is getting the value as 00000 00 and then throws an exception for data-type.
Exception detail:
java.sql.SQLException: Exception while executing the remote function Unable to interpret 00000 00 as a number.
{Value passed by me here is 00000000}