Skip to Content
0
Former Member
Jun 05, 2009 at 08:21 PM

Creating Repository for JCO Server

49 Views

Hi all,

I have seen examples that we have to build the repository manually in the jco server codes .

e.g.

MetaData fmeta = new JCO.MetaData("STFC_CONNECTION");
        fmeta.addInfo("REQUTEXT", JCO.TYPE_CHAR, 255, 0, 0, JCO.IMPORT_PARAMETER, null);
        fmeta.addInfo("ECHOTEXT", JCO.TYPE_CHAR, 255, 0, 0, JCO.EXPORT_PARAMETER, null);
        fmeta.addInfo("RESPTEXT", JCO.TYPE_CHAR, 255, 0, 0, JCO.EXPORT_PARAMETER, null);
        repository.addFunctionInterfaceToCache(fmeta);

I would like to know is there anyway to access the structures of from SAP to build the repository in my jco server ? Such that i do not need to define this manually.

Deeply appreciate any help.

Thank you.