Skip to Content
avatar image
Former Member

Dashboard with SVG graphic

Dear,

I'm having trouble generating a dashboard that uses the SVG graphic

I put the following code in html page referring to the graphic of SVG

<APPLET NAME="Untitled" CODEBASE="/XMII/Classes" CODE="AnimatedObject" ARCHIVE="illum8.zip" WIDTH="170" HEIGHT="170 " MAYSCRIPT>

<PARAM NAME="QueryTemplate" VALUE="ENDEAVOUR_DEV_TECH/Dashboards/Sinter/Queries/QUERY_SinterChemicalAnalysis">

<PARAM NAME="DisplayTemplate" VALUE="ENDEAVOUR_DEV_TECH/Dashboards/Sinter/Visual_Components/SVG_PercentGauge">

</APPLET>

But the graphic is not showing in Internet Explorer.

I get the following error:

load: class AnimatedObject not found.

java.lang.ClassNotFoundException: AnimatedObject

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException: open HTTP connection failed.

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

Can you help me?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 05, 2010 at 01:50 PM

    Hi Sergio,

    1- Create a transaction that generates image form animation renderer and image saver action.

    2- Schedule transaction

    Periodically running transaction saves image with same name but different measure (For example: web:
    WEB\SpeedoMeter.gif)

    3- Create irpt file and use javascript to refresh image

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I just tested the code and it works fine.

      Are you getting any errors?

      Just make sure you have given proper image path in BLS and also in irpt page.

  • Aug 05, 2010 at 12:15 PM

    I assume you hand typed this, because the code="AnimatedObject" is invalid. You're confusing the java applets with SVG images. The rendering for SVG images is done inside the Workbench in a transaction and showing the eventual picture on a web page is normally done with a standard html img tag referencing the image file.

    http://help.sap.com/saphelp_xmii120/helpdata/en/44/7a871adb0b6573e10000000a11466f/frameset.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 05, 2010 at 12:25 PM

    may be [this post |http://searchsap.techtarget.com/tip/Getting-started-with-Dynamic-Graphics-in-xMII-115] (though its for 11.5) will help you understanding svg graphics and there use in MII.

    Best Regrads,

    Musarrat

    Add comment
    10|10000 characters needed characters exceeded