cancel
Showing results for 
Search instead for 
Did you mean: 

Offline BOR ?

Former Member
0 Kudos

Hi everybody,

I know how I can get the XML-metadata of a BAPI with JCO - like this:


JCO.Client connection = JCO.createClient(properties);
JCO.Repository myRep = new JCO.Repository("myRep", connection);
connection.connect();

IFunctionTemplate ft = myRep.getFunctionTemplate(bapiName.toUpperCase());
JCO.Function function = ft.getFunction();

function.getImportParameterList().toXML()
function.getExportParameterList().toXML()
function.getTableParameterList().toXML()

But this only gets me the Metadata of <b>ONE</b> BAPI - not all of them.

I would like to create some sort of offline BAPI Repository, where one can select a BAPI via its name, press a button and then receive all the parameters (import, export, table) as XML.

SAP's .NET Connector has a nice feature in the Server Explorer, where all existing BAPIs of a SAP system are shown.

Is there any possibility to receive such a BAPI list via JCo? I don't need the whole metadata in the first step, just the list of BAPI names.

Regards,

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Andreas,

Have you managed to solve this problem?

I'm looking for suck implementation and was wandering if you succeeded.

In addition, I'm trying to operate the "RPY_BOR_TREE_EXPAND" function with no success - is there a chance you give me a hand in this?

Thanks in advance...

Guy