cancel
Showing results for 
Search instead for 
Did you mean: 

API for component info

Former Member
0 Kudos

Hi,

we're looking for a way to get the version string or the service pack level of the NetWeaver and/or the enterprise portal.

There is this "component info web page" when you retrieve http://<nw-host>/sap/monitoring/ComponentInfo.

We're searching for a Java API to this kind of information.

Btw, what we do know is that one can get a "version string" through http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContext.html#getServerInfo(), but we want to get detailed and drilled down information like in the component info page.

Cheers,

Oliver

Accepted Solutions (0)

Answers (2)

Answers (2)

Frank_Buchholz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Oliver,

http://<host>:<port>/monitoring/ComponentInfoServlet

or

http://<host>:<port>/sap/monitoring/ComponentInfoServlet

retrieves the component info in XLM format. (I do not know as of which release you can use this servlet.)

Kind regards

Frank

Former Member
0 Kudos

Hi Oliver,

for Web Dynpro try com.sap.tc.webdynpro.services.sal.admin.api.WDProductInfo.getBuildID()

for Portal maybe com.sapportals.portal.prt.runtime.PortalRuntime.getVersion(), I am not sure.

Regards,

Arinze