Skip to Content
0
Former Member
Dec 10, 2007 at 10:47 PM

how to put data into a RFC import parameter structure from portal

12 Views

Hi, All,

I have a RFC in which an import parameter is a structure (not a table). I want to put data into that structure. I know how to put data into a table or a string. I tried to use

 
IRecordSet MyTABStr = (IRecordSet)structureFactory.getStructure(function.getParameter("MYTABSTR").getStructure());
MyTABStr.setString("FIELD1", value1);
MyTABStr.setString("FIELD2", value2);
importParams.put("MYTABSTR",MyTABStr);

But it works for table not structure. Is there anybody know how to do that?

Thanks in advance!

Meiying