on 07-29-2008 9:12 AM
Hi,
can somebody tell me how to programmatically generate a JCO (version 3!) repository? I'm fine doing this in JCO version 2, however for version 3 the whole API seems to have changed and there's not much documentation besides the Java doc.
I think for scalar parameters it should work as follows:
JCoListMetaData imports = JCo.createListMetaData("IMPORTING_PARAMETERS");
imports.add("ID",JCoMetaData.TYPE_INT,4,4,JCoListMetaData.IMPORT_PARAMETER);
However how is this done for structures and tables that look e.g. like as follows:
type PERSON
ID TYPE I
NAME(255) TYPE C
FIRSTNAME(255) TYPE C
Any help would be greatly appreciated!
Sebastian
Hi
Have a look at this doc - http://mycomputerfiles.com/JAVA_JAVASCRIPT/Repositories%20in%20the%20SAP%20Java%20Connector%20JCo.pd...
Regards,
Sen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The simplest way to achieve custom repository is use JCo class static methods:
JCo.createCustomRepository();
JCo.createRecordMetaData();
JCo.createListMetaData();
etc.
regards
servee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.