How do I get  a list of the all systems?

Hi experts,
I need to represent in my view a list of the all systems from System Administration->System Configuration->System Landscape->Portal Content.  How can I make that?
Thank you.
Raissa

Hi,
  You can use ILandscapeService for the same.
  Here's a sample code...
ILandscapeService  landscapeService =(ILandscapeService) ipcRequest.getService(ILandscapeService.KEY);
Hashtable hashSystem = landscapeService.getAllEPSystems();
Enumeration allSapSystems = hashSystem.keys();     
int noOfSystems = hashSystem.size();
int i = 0;
int noOfColSystems =0;
     while (allSapSystems.hasMoreElements())
          String elemName = null;
          try{
           elemName =  (String) allSapSystems.nextElement().toString();
          }catch(Exception ex)
             try{
          IEPSystem iepSystem =
               landscapeService.getEPSystem(elemName);
     String systemAlias = iepSystem.getAttribute("SystemAlias");
        String systemType = iepSystem.getAttribute("SystemType");
     String systemCreatedBy = iepSystem.getAttribute("com.sap.portal.pcd.gl.CreatedBy");
     Sting personResponible =
               iepSystem.getAttribute("com.sap.portal.pcd.gl.Responsible");
        String systemTitle = iepSystem.getTitle(locale);
         String systemName=iepSystem.getSystemName();
                catch(Exception e)

Similar Messages

  • How do I get a list of the iPhone apps I have purchased from the App Store?

    How do I get a list of apps I have purchased from the app store?

    Sorry, but this doesn't work.  I tried it myself before I asked, and then again  in response to this suggestion.  It says" You do not have any purchased apps available to download."
    Any other suggestions?

  • How do I get a list of the most recent upgraded packages?

    Hi there,
    I want to get a list of the last upgrades using pacman.
    I´ve been looking for a way to do it in the man page, but either I´m blind or there is not such an option.
    I know that I can just do:
    ls --sort time /var/cache/pacman/pkg/|head
    But what if I clean the cache regularly?
    Does the pacman database store the upgrade or installation date for each package? If so, how can I access this data?
    Cheers,
    Edit: I know that "pacman -Qi" gives me the date of installation of individual packages, but what I want is to be able to sort the list of all installed packages by date.
    Last edited by samhain (2008-04-30 11:41:19)

    dolby wrote:/var/log/pacman is the file you want
    Thanks.
    cat /var/log/pacman.log | grep "] upgraded" | tail
    Gives me what I need
    I would prefer if pacman had some option for sorting the queries, but for now, this will do fine.

  • HT1420 how can I get a list of the computers authorized for iTunes?

    I am trying to associate a new MacBook to my iTunes account.  I am told that I have 5 computers already associated to the account.  The option I am presented is to deauthorize all 5, then start over.  Short of this, no other options are available.  Is there a way to get a list of the 5 computers, so I know which ones I need to address, if I still have access to them?

    No, there isn't.
    (95787)

  • HT1420 how can I get a list of the computers that are currently authorized?

    I need to authorize my home computer after switching from PC to Mac. How can I get a list of which devices are currently authorized?

    There is no list.

  • How do I get a list of the reports that a user has access to?

    <p>I need to be able to determine which reports a specified user has access to.  This is for an application where users will be able to search and view reports that have been archived through a separate process.  </p><p>I&#39;ve searched through the developer library, but I can&#39;t find this specific information.  Can I use the ObjectPrinicpals class to get this info?</p><p>Thanks!</p><p>-Dell<br /></p>

    Hi Robert!
    Yes, the presentation went well. It was a lot of fun to do and I had a great time at the conference.
    Your suggestion works great if I'm walking down through the reports looking to see who has access to them.Â
    However, I need to do this starting from the User object. When I use the ObjectPrincipals of the User, I get a list of the users who have the rights to modify the user. I did a lot of work on this last week and it boils down to I'm going to have to actually log in as the user (I can use trusted authentication to do this without having the user's password) and then run a query to select all of the reports in the system - this should give me just the reports that the user has access to. Not the most efficient way to get the data from my perspective, but it should work.
    This would be a great feature to have added to future versions of the SDK. I need it for a couple of purposes:
    1. To gather information to set up the security in my archive viewer application.
    2. For auditing purposes - we currently have only Professional licenses so I don't have access to the internal auditing functionality. Plus, I'm not sure that that includes the kind of info I'm looking for so I'm building an app that extracts information to XML which is then used by a couple of reports so that I can provide the audit info as needed.
    -Dell
    Â - A computer only does what you told it to, not what you thought you told it to!</p>

  • HT4559 How do I get a list of the 200 new features for iOS 5

    How do I get lists of the apparent 200 new features of iOS 5 for some reason I cannot find any in support on this website or anywhere!
    Also I want a description of what each feature does. Mainly in safari but I'm getting a bit suspicious if any of the features exist. We pay our money there needs to be a list of what we get.

    You mean for iOS 6 that was recently announced and won't be released until this fall?
    If so, iOS updates are free - you won't be paying anything for it, and the same for iOS 5.
    Apple has provided some of the new features included with iOS 6, but not list of all since iOS 6 has not been released yet. Some of the features included with the current iOS 6 BETA version may be removed or changed.

  • How can I get a list of the names of the failed steps ?

    Hi,
       I wanted to have a string which can describe all the failed steps. For example, if I had the steps below :
    Step 1
    Step 2
    Step 3, etc
    and Step 1 and Step 3 failed, how can I get a string " Step1, Step2" ?
    Can I somehow add a variable in each step which records the step result and then use all the variables at the end to creat a Result string ?
    Please help.
    ~Sam~

    Sam,
    you have at least two possibilities for your question:
    a) use the "SequencePostResultListEntry"-callback. You can check the "Step.Result.Status". If it is failed, you can copy the stepname into a string-variable which builds your "string"
    b) In the end of your MainSequence, just browse your ResultList for every step which has Result.Status as failed. Copy all stepnames into your string.
    Both methods require your station to record results, but since this is defaultsetting, there shouldn't be a problem.
    hope this helps,
    Norbert B.
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How do I get a list of the missing files?

    I recently filled up my hard drive so I moved my iTunes library to another drive. All went fine but some files were supposedly missing. No problem there I just used the locate feature to find them in there new location.
    My problem is that on locating the last file that was marked with the "!" iTunes told me there is still 106 files missing yet there are no more files marked with the "!"
    Is there anyway I can get iTunes to give me a list of these supposed missing files?
    Thanks

    Macpass,
    I just went through this last weekend.
    I was told iTunes won't produce a list or show you "just" the missing file names.
    The good news is I found a-work-around. Here what I found that worked for me.
    Go to the m"Music" view. Then pick to view "Songs".
    At this point you should see your files ( all types = music, podcasts, movies, etc.) one per line. In the left most column you will see it has no header name.  In that left column you will see the "!" you are looking for. It might not be on the first screen, so page down. I have over 28,000 files.... so it took several page down.. But it went fast and I found them all.
    Hope this works for you!
    Good luck
    Steve

  • How can I get a list of the computer I've authorised?

    Or, can I deauthorize all of them and reauthorize only the ones I'm using...

    1. There is no list available from your end.
    2. If possible, use the Deauthorize All command documented in this article.
    (87957)

  • How can i get a list of the user created on a database?

    dear all
    i need to issue a query that return a list for all users that are created on the database
    please help

    You can have more refine search ,
    sql > select username from dba_users ;
    hare krishna
    Alok

  • How do I get a list of the websites with their passwords that Firefox fills in

    There used to be a list of websites with their passwords listed. I can't find it now. I need the information because I have forgotten some of the pass words that are filled in

    hello cellardweller221, you can access that list when you go to ''firefox > options > security > saved passwords''.

  • HT1420 How can I get a list of authorized computers

    How do I get a list of the computers authorized to play iTunes music?

    There is no list available from your end.
    (77968)

  • How do i get a list of all the apps i have purchased this year

    how do i get a list of all the apps  have purchased this year and how much each app was

    Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History).  This gives you a comprehensive list of apps you've purchased.
     Cheers, Tom

  • TS1717 I just downloaded a song and it only plays the first 50 seconds and then moves to the next song in the list. How can I get it to play the rest of the song?

    I just downloaded a song and it only plays the first 50 seconds and then moves to the next song in the list. How can I get it to play the rest of the song?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

Maybe you are looking for