2 Replies Latest reply: Feb 15, 2005 2:52 PM by Paul Williamson RSS

Moving data from IRecordSet to DefaultTableViewModel

Paul Williamson
Currently Being Moderated



I have written a simple application which calls a function model in SAP and retrieves data in a table and returns the result into a recordset.


I would like to display this data in a JSP and would like to know how to move the data from the RecordSet to the DefaultTableViewModel?


Is there a simple way to do this  (i.e.  Loop at recordset add value to DefaultTableViewModel) the only example I can find in the PDK documentation (ComplexSapConnection.java) seems very long and complicated. 


Many Thanks.