cancel
Showing results for 
Search instead for 
Did you mean: 

How to read business systems from SLD with Java client

Former Member
0 Kudos

Hey guys,

we are trying to implement a Java client which provides access to business system information through a SLD following this thread and we ended up using the following code:

import com.sap.security.api.UMFactory;

import com.sap.security.api.umap.system.ISystemLandscape;

ISystemLandscape landscape = UMFactory.getSystemLandscapeFactory().getLandscape(ISystemLandscape.TYPE_DESTINATION_SERVICE);

Enumeration<String> aliases = landscape.getAllAliases();

while (aliases.hasMoreElements()) {

    // real handling of values ommited for readability reasons

    aliases.nextElement();

}

Unfortunately it seems that those aren't the systems we were looking for. We also tried all available system landscapes types when accessing the landscape through SystemLandcapeFactory.

Can anybody give us a hint on how to do this?

We also found this blog but it seems like it didn't make the transitions to the new SDN 😕

All the best,

T

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey guys,

in the meantime we were directed towards this guide which seems to be exactely what we need: http://scn.sap.com/docs/DOC-15604/ (see page 78).

Unfortunately we're unable to provide the lcrclient.jar library. Can anybody tell us how to import the library in an EJB Module DC (NetWeaver 7.30 SPS05)? What dependency do we have to provide?

Cheers,

T