Skip to Content
author's profile photo
Former Member

System Landscape API - another question

Hi,

Does anyone have any code samples to use the following classes, for System landscape access:

package:

com.sapportals.iviewserver.systemlandscape.service

Classes:

IAlias

IDesigntimeSystemLandscapeService

IRuntimeSystemLandscapeService

ISystemLandscapeService

ISystemObject

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Jun 22, 2004 at 11:19 AM

    hi there,

    just started dealing with the same problem. did you find any solutions/samples yet?

    and ... where can i find the client jar-file containing these classes ?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jul 13, 2004 at 06:45 PM

    Thomas,

    I have not found any code camples so far.

    Basically we need to find a replacement for the following line:

    ILandscapeService objLS = (ILandscapeService) PortalRuntime.getRuntimeResources().getService("com.sap.portal.compatibility50.systemlandscape.landscape");

    The above uses the deprecated API. ( I am assuming it is deprecated because it is listed under "5.0 compatibility" in the documentation ).

    If the value for the string in the above line for the new api is found, adapting the code to the new api should not be difficult.

    Add comment
    10|10000 characters needed characters exceeded