Skip to Content
Author's profile photo Former Member

Setting downtime for scrolling tickers/announcement on SAP Portal

Hi ,

I had a small requirement in my project to set a downtime for marquee announcements on portal. My client was bored of informing the admin always to remove the announcement 😉 😀

This thread helped me doing it Need Scrolling message in portal

Additionally I followed the below steps:

1. Create a HTML page with following code(copy paste) 😉



<script type=”text/javascript”>

  var dispLimit = [];

  dispLimit[1] = “2014 Jul 11”;  //this is for disp1;

  dispLimit[2] = “2014 Jul 10”;  //etc;

  dispLimit[3] = “2014 Jul 09”;

  dispLimit[4] = “2014 Jul 08”;

  var GMToffset = -5;  // this is your CURRENT GMT offset, whether Standard or Daylight

  var refDate = new Date();



  function init(){

  for (i=1; i<dispLimit.length; i++)


  if (new Date(dispLimit[i]) – refDate <= 0)


  document.getElementById(‘disp’+i).style.display = ‘none’;








    <div id=’disp1′><marquee direction=”left” scrollamount=”2″>

<font color=”blue” size=2><i>I wont be visible after 11th July</i></font></div>




2. Upload the HTML page in KM contents

3. Create an iview and give the path of HTML page(KM folder path) to that iview

4. Create WD page and embed iview into it

5. Display this page on portal login page.

Hope this will help few 🙂

Best Wishes,


Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Rohit Gera
      Rohit Gera

      Good Doc Supriya