on 09-02-2008 11:27 AM
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!
Ok after a lot of more searching i've found the answer!
For anyone interrested later on:
http://help.sap.com/saphelp_nw70/helpdata/EN/13/c507420a1f5f24e10000000a1550b0/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
Arno
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.