Skip to Content
avatar image
Former Member

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 ( {

response = new ProfilesResponse();





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!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 02, 2008 at 11:51 AM

    Ok after a lot of more searching i've found the answer!

    For anyone interrested later on:

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      I'm using the Connector Framework to call a BAPI and should now fill an Input Parameter that is defined as structure (IDRANGE with the 4 fields S, OP, LOW, HIGH).

      I've studied the link you provided but unfortunately I not able to fill such an Input structure.

      Can you probably provide a few lines of code that shows how that works?

      Thanks a lot!