Show TOC

Procedure documentationCreating a Repository Locate this document in the navigation structure

Procedure

  1. 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.

  2. 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.

  3. 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);