Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Use a table as input param in JCA

Hi all,

I'm using the JCA adapter to call some function modules from SAP.

No problem there for simple input parameters with:

RecordFactory recordFactory = connectionfactory.getRecordFactory();

MappedRecord input = recordFactory.createMappedRecord(rfcName);

input.put("NAME", "myName");

Also no problem for reading the output in a table structure with:

ResultSet result = (ResultSet) rfcOutput.get("PROFILE");

while (result.next()) {

response = new ProfilesResponse();

response.setId(result.getInt("ID"));

response.setProfileName(result.getString("PROFILENAME"));

searchList.add(response);

}

Now I want to set some table as input within a function module.

I've searched on SDN and only found something usefull regarding JCO > something like JCO.table.

Can someone please provide me with some sample coding how to do this?

Thnx in advance!

Former Member
Not what you were looking for? View more on this topic or Ask a question