on 01-21-2008 11:39 AM
Hi Experts,
Is there any standard java API that provides any methods to retrieve information about the system mentioned in business landscapes. e.g.(name of a system )
In my Web DynPro Application I need to provide a drop down UI that contains names of the Business Systems defined in SLD
Hi
I found a method in package com.sap.security.api.umap in interface ISystemLandscapeWrapper.
getSystemByUniqueKey(String key).
You'll have to iterate through the keys you get from getAllUniqueKeys().
This is not a standard java API however.
Good luck, Roelof
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try
ISystemLandscapeObject system;
try
{
List wrappers = UMFactory.getSystemLandscapeWrappers();
for (int i = 0;i < wrappers.size(); i++)
{
ISystemLandscapeWrapper e = (ISystemLandscapeWrapper) wrappers.get(i);
system = e.getSystemByUniqueKey("CN");
if(system == null)
system = e.getSystemByAlias("CN");
else
break;
}
}catch(Exception e)
{
// handle the exception
}
Regards
Ayyapparaj
Hi,
Your solution provides access to SLD, But requirment is how to access Bussiness system maintained by WAS to comunicate other XI server.
I tried the following. But dont know exact methods or Attributes which will provide me the information that i required
SAP_BusinessSystemAccessor businessaccessor = new SAP_BusinessSystemAccessor(cimClient);
//List of Systems
SAP_BusinessSystem[] businessaccessorBusinessnames
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.