Viewing images with htmlnode

To view an image in SAP with htmlnode, please do the following.
  1. Select an image to display. The supported file types are JPGs and GIFs.
  2. Go to the Easy Access screen in SAP.
  3. Open the 'SAPLSMTR_NAVIGATION.E0100.sjs' script file, and enter the following code. Create the file if it does not already exist.
    htmlnode(200, [5,70], [10,90], "<image src='./demo_img/branding-image.gif' width='301' height='245'>");

    In this example, we will display our image in a window beginning on Row 5, Column 70 and ending on Row 10, Column 90. The image area will be 301 pixels wide and 245 pixels high.

  4. Save the changes and refresh the SAP screen. The relevant image will now display on the screen