For the JCo Repository, you need the following classes:
JCO.Repository: Contains the runtime metadata of the RFMs.
IFunctionTemplate: Contains the metadata for an RFM.
JCO.Function: Represents an RFM with all its corresponding parameters.
JCO.ParameterList: Contains the import, export, or table parameters for a JCo function.
JCO.Structure: Contains a structure
JCO.Table: Contains a table.
The constructor for the JCO Repository is called up with two parameters. The first parameter is a name of your choice, the second is either a connection pool name or a JCO.Client object. This means that both connection pools and
direct connections are supported.
Make sure that the user ID for the Repository has all the required authorizations for accessing the metadata of the SAP servers.
Classes
JCO.Repository IFunctionTemplate JCO.Function JCO.ParameterList JCO.Structure JCO.Table |
Creating a JCo Repository
JCO.Repository mRepository; mRepository = new JCO.Repository ("SAPJCorep", mConnection); |