How to Pass data to the Range table in an SAP BAPI call.

Hi Members, 

I am using the SAPINVOKE function to call a BAPI.  For one of its import parameters, the BAPI accepts input in the form of a Range Table.  I am not sure how to pass Table type input in the import parameter.  I am getting the below error.  

"Details from external system: com.sap.conn.jco.ConversionException: (122) JCO_ERROR_CONVERSION: Cannot convert field of type TABLE to type com.sap.conn.jco.JCoStructure"

Any help is greatly appreciated.

Thanks,

Abhishek

  Discussion posts and replies are publicly visible