Skip to Content
Author's profile photo Former Member

Brodcast messages to logged on users in Portal(Part2)

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

Assigned Tags

      49 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Blog 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.
      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      I have sent you an email.
      Thanks for your help.

      Vivek

      Author's profile photo Former Member
      Former Member
      Hi can You mail me the par file as iam workingon the same task and facing loads of problem.

      My email Id is radhikakuthiala@gmail.com
      Regards
      Radhika

      Author's profile photo Former Member
      Former Member
      Hi,

      Could you please send me the PAR file to yasin@entelyst.com?

      Thanks,

      Yasin

      Author's profile photo Former Member
      Former Member
      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
      Author's profile photo Former Member
      Former Member
      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.

      Author's profile photo Former Member
      Former Member
      Blog 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
      Author's profile photo stuart jameson
      stuart jameson
      Prakash,

      Like it a lot.  Any chance you couuld send me your par file?  stuart_jameson@hotmail.com

      Many THanks

      J

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Stuart,
         Thanks for the great feedback. I have sent you the par.
      Prakash Singh
      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Blog Post Author
      Hi Kurt,
         I could send you my par with source code in it. email me at psingh@ust.net.

      Prakash Singh

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Blog 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
      Author's profile photo Former Member
      Former Member
      Could you please send me the PAR file, cos its throwing a error when i tried it.
      My email: audacious1@gmail.com
      Thanks,
      SG
      Author's profile photo Former Member
      Former Member
      Blog Post Author
      thanks for your feedback. I have sent you the par file. Prakash
      Author's profile photo Former Member
      Former Member
      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...
      Author's profile photo Former Member
      Former Member
      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
      Author's profile photo Former Member
      Former Member
      Blog 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

      Author's profile photo Jochen Spieth
      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

      Author's profile photo Former Member
      Former Member
      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 
      Author's profile photo Former Member
      Former Member
      Prakash,
      very good tool,
      it should be added to the portal framework ..
      Can you send me your par file ? pjpmr@mail.pt

      Thanks,
      Paulo

      Author's profile photo Former Member
      Former Member
      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,

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      Can you also send me your .par file to newoutlaw@yahoo.com thanks

      Marshall

      Author's profile photo Former Member
      Former Member
      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.

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      can you send me your .par file too?

      My Email: tloo@techem.de

      Thanks and best regards
      Oliver

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      After your Sitemap this tool. Great.

      can you send me your .par file?

      My Email: luis_query@yahoo.es

      Thanks and best regards

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      please,can you send me the .par file too?

      Send it to alberto.pla@siconet.es

      Thanks for all
      Alberto

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      Can you send me the par file too please. Is this the only component I need for the messaging?

      Regards Dries
      dries.yssel@bcx.co.za

      Author's profile photo Former Member
      Former Member
      Hi can You mail me the par file as iam workingon the task, Brodcast messages to logged on users in portal, and facing loads of problem.

      My email Id is ashok.vardan@gmail.com

      Regards

      Ashok Vardan

      Author's profile photo Former Member
      Former Member
      Prakash,

      Sorry I forgot to include my email ..
      its raj_joshi93@yahoo.com.

      Could you please send me the .par file.
      we would like to use on our server for pop up message.

      Thanks,
      Raj

      Author's profile photo Former Member
      Former Member
      Hi can someone please send me the Par file as I want to try this out on our Portal NW04s Sp11
      masskhan@gmail.com
      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      Hi prakash
      Its a Excellent work ,
      Can u pls send me this .par file
      my mail id is :sriep2@gmail.com
      from
      sriram.a
      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      please, can you send me the .par file too?

      Send it to aliedo@hotmail.it

      Thanks for all

      Eddie

      Author's profile photo Former Member
      Former Member
      Hi Prakash,

      I have implemented this ,but when i started executing in portal .I dont get any broadcaster message.

      Please send .par to swathirao.padma@gmail.com

      Swathi

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo Former Member
      Former Member
      hi prakash
      if possible pls send me the par file of how to broadcaste message to logged user in portal

      my mail-id :kevot_10@yahoo.com

      Author's profile photo Former Member
      Former Member
      Hi,

      Please send me the PAR file to 030470@gmail.com

      Thanks,

      Konstantin

      Author's profile photo Former Member
      Former Member
      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

      Author's profile photo pradeep bondla
      pradeep bondla
      Can someone please share par file with bondla.usa@gmail.com.

      Thanks,
      Pradeep

      Author's profile photo Deb Nugent
      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

      Author's profile photo Deb Nugent
      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.

      Author's profile photo Former Member
      Former Member

      can you please send me the par file

      mohamed373@gmail.com

      Regards,

      Author's profile photo Former Member
      Former Member

      Hi Parakash,

      can you send me your par file at fahadajaib@gmail.com. I tried your code but its not working, may be I am missing something.

      Thanks and best regards.

      Fahad