Skip to Content
This is the continuation from the part 1 of this weblog.
Step 5

Deploy your component in the portal and create an iview to publish message. You will use this iview to publish the message.

image

Step 5

Create an iview to display message and set the following attributes as shown in the following screens to “No”.
image
image
image

Step 6(Very Important)

Edit your default framework page that you are currently using and add the above display iview to the innerpage. Make sure you move the iview to work area panel. Save it.

image
image

BAM! you got yourself a message broadcaster.

image —>
image

To report this post you need to login first.

49 Comments

You must be Logged on to comment or reply to a post.

  1. Vivek Sharma
    Hi Prakash,

    I have creted IViews dor Display and Publish. Added the display IView in the Default Framework page . Now when I user the publish Iview to broadcast the message I dont get a popup or any message in the Display iView.
    Am I missing something ?

    Thanks,
    Vivek

    (0) 
    1. Prakash Singh Post author
      Hi Vivek,
         Make sure your code is working. Publish the message and then manually run the display component. If this doesn’t work then email me at psingh@ust.net and i will email you my par.
      (0) 
    2. Radhika Kuthiala
      Hi
      I have created IViews  Display and Publish. Added the display IView in the Default Framework page . Now when I user the publish Iview to broadcast the message I dont get a popup or any message in the Display iView.
      Can anyone help me out……
      Thanks
      Radhika Kuthiala
      (0) 
  2. Raúl Martínez
    You´ve made a goog work!

    Thanks for sending me the par file. It´s installed in our Portal.

    Two suggestions: First, the message appears every time when you navigate while the duration is operative (in R/3 system only appears once) and second suggestion: is it possible to create a filter to send the message (for example to send a message to one group).

    Thanks for your collaboration.
    Raúl Martínez.

    (0) 
    1. Prakash Singh Post author
      HI Raul,
          Thank you for the feedback. I am glad it worked out for you. If you don’t want the message to popup every time then don’t add it to default framework page. Add the iview to your first page that shows up after login to the portal. It is possible to send the message to particular group of users by modifying the code. I will work on that and i will post the code in a weblog.
      Prakash
      (0) 
  3. Kurt Ranft
    Dear,

    I have a portal runtime error when i’m trying to open the publishmessage iView.

    I don’t know what i’ve done wrong, maybe you can help me.

    Thanks in advance

    Kurt

    (0) 
  4. Portal Project team Portal Project team
    This is one of the most useful weblogs.
    I have a doubt, the message is popping up only when the user performs some action(click on an tab,iview…) on the screen.

    Its not popping up dynamically.

    Thanks and Regards,
    Prasanna Krishnamurthy

    (0) 
    1. Prakash Singh Post author
      Hi Prasanna,
          thank you for the feedback. It’s not real time. I built to reflect the alert message you get when you log into SAP R/3.
      Prakash
      (0) 
      1. prabhu meenakshi sundaram
        Dear Prakash,
        Greetings. It was very helpful for us in getting popup. We need to popup only on login to the portal, not when we navigate to every page. I tried adding the iview to home page which is loading on first. But surprisingly I found the popup coming for second menu item / page also.
        Any idea?
        Thanks
        Prabhu.M…
        (0) 
  5. Hassan Mohammad
    Hi Prakash,
    Thanks for sending the par file. I have tested your application and it works fine on my sandbox. i have to invoke the display iview manually or do some click event on the portal to invoke it. Can give me an idea about how to make it dynamic.
    Regards,
    Hassan
    (0) 
    1. Prakash Singh Post author
      Hi Hassan,
          The way i have built this component, the message only shows up when there is any activity by users. The only way to make this dynamic is to add a server side timer component but that will try to refresh the whole page. By building this tool i was basically trying to replicate the message box that shows up when you logon to SAP via SAP Gui.
      Prakash

      (0) 
  6. Jochen Spieth
    Hi Prakash,

    thanks a lot for sending me your par file, I was able to locate my error this way. I works really good now.
    I think the suggestion to use it role or user group based was already made here, so no use to make it again 😉

    Best regards,

    Jochen

    (0) 
  7. Sameer Tegala
    Prakash,
            This is exactly what i was trying to do, but i assigned a role to all for users with similar message dynamically, and later unassign. This seems to be the way to use alerts, bcos of pop up. Can you please email par file to
    tegala@gmail.com
    thanks 
    (0) 
  8. Francisco Javier Rodriguez Nieto
    Hi, Prakash:

      I think this is a good idea and a really good implementation.

      I think it could be better if you use the RTMF (Real Time Messaging Framework), to allow the messages appear even if the user is doing nothing.  What do you think about this idea?

      Best regards,

    (0) 
  9. Carlos Saez Vaquero
    Hi Prakash,

    I am going to try to use your idea to send a message from a service of the portal.

    One advice, I think that is better than the name of the every class began for a capital letter.

    Can you also send me your .par file to azuk2@yahoo.es

    Thanks a Lot!
    Carlos Sáez.

    (0) 
  10. Sonal Mangla
    Hi Prakash
    That was wonderfully framed.
    But if we put the Display iView in Desktop Innerpage, everytime user clicks on amy workset the popup appears.
    If I want the popup just after login only, what should be done.

    Thanks in advance

    Regards
    Sonal Mangla

    (0) 
  11. Smitha S
    Hello Prakash,

    I was able to built this code on the Dev Studio version 7.0 SP11. Then I created the par file. After this I try to deploy this par file on EP system of version 7.0. I am not able to do it.

    I get the following error

    com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error:com.sap.engine.lib.xml.parser.ParserException: > expected(:main:, row:38, col:1)(:main:, row=38, col=1) -> com.sap.engine.lib.xml.parser.ParserException: > expected(:main:, row:38, col:1)

    Please help in resolving the same.

    Thanks and Best Regards,
    Smitha

    (0) 
  12. Smitha S
    Hello Prakash,

    I was able to built this code on the Dev Studio version 7.0 SP11. Then I created the par file. After this I try to deploy this par file on EP system of version 7.0. I am not able to do it.

    I get the following error

    com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error:com.sap.engine.lib.xml.parser.ParserException: > expected(:main:, row:38, col:1)(:main:, row=38, col=1) -> com.sap.engine.lib.xml.parser.ParserException: > expected(:main:, row:38, col:1)

    Please help in resolving the same.

    Thanks and Best Regards,
    Smitha

    (0) 
  13. Michael Gaardbo Thomsen
    Hi,

    I’m trying to use this feature in my NW04sps17, but no luck. I’ve followed the procedure as described but when I post a message I get a runtime exception in the display message iView and no popup is shown. Hope you can help?

    Regards,
    Michael

    (0) 
  14. Hasan Cakir
    Can someone please send me the source code and the .par file ?
    I want to install it on NW2004 SP20.

    After upgrade from NW2004 SP16 to SP20, the broadcasted message doesn’t popup anymore while navigating on the portal.
    The message is only displayed when I start the iView “display” or “popup” manually.

    Thanks in advance.

    Regards,
    H. Cakir
    baltaya.sap@gmail.com

    (0) 
  15. Swathi Rao Padma
    It doesnt seem to work in EP7.0.
    I have followed the same and deployed it in EP7.0.
    But i dont get the result and any popup ,neither i get any exceptions.

    I doesnt seem to respond.I just see a displayview wher i can type in..but no popup..

    So anyone please tell ,,will it work in EP7.0 ??\

    Swathi

    (0) 
  16. Tolga Tutel
    Hi Prakash

    I created the par file as you described and implemented it. I got no errors, so I think the coding is correct.
    But, in the portal, there is no popup after publishing the message.
    Do you have an idea, what needs to be changed to make it work on EP 7.0 ?

    Thanks a lot for your help and best regards
    (btw: the idea for this tool is really great. i just hope, there is a possibility to have it on EP 7.0

    best regards
    Tolga

    (0) 
  17. Deb Nugent

    Has anyone tried this using NetWeaver 7.3? I was able to follow everything and was able to get the pop-up message to appear upon logon but I cannot find a way to have it displayed to users already logged in. Very good blog, much needed functionality and thank-you to all who added comments / clarification as well.

    Thanks,

    Deb Nugent

    (0) 
    1. Deb Nugent

      An update, for those interested.

      This tool works great for a pop-up to users when they first log into the Portal. We have used it successfully in that way on a NW 7.3 EhP1 Portal. Unfortunately, I cannot share our files.

      I was also able to use note 1661598 to use the SRM system to broadcast messages from there. The note explains how to activate functionality to display messages to Portal SRM users by adding a system message on the SRM system. I modified the instructions to allow me to send the message to all users, not just SRM users. Of course, that method only works if you have an SRM system available. I was not able to find the same functionality in the ECC, BW or Solution Manager systems that we are also runnning.

      Thanks,

      Deb Nugent.

      (0) 

Leave a Reply