Reciever IView not listening?

Hi,
I'm trying to learn EPCM eventing. I went through the
howto guide of client side eveting. However, I could not
have the example mentioned in the guide working. Then, I
tried to simplify the example to have one IView as a
sender and a reciever. Following is the BW template code
(which is then embedded in a BW IView):
<html>
<!-- BW data source object tags -->
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_PROPERTIES"/>
         <param name="TEMPLATE_ID" value="Y_SENDER"/>
         TEMPLATE PROPERTIES
</object>
<head />
<body>
<script language=javascript>
  <!--
  function eventRecieved( eventObj ) {
    document.getElementById("Reciever").innerHTML =
        "<b>" + eventObj.dataObject + "<b>";
  function raiseEvent(value) {
    EPCMPROXY.raiseEvent("urn:com.sap:BWEvents",
       "ChangeSpanText", value, null);
    document.getElementById("Comment").innerHTML=
             "<b>value=" + value + "</b> ";
  -->
</script>
<form name="myform">
  <select class="SAPBexDdl" name="myselect" size="1"
  onchange=
"raiseEvent(this.options[this.selectedIndex].value);">
    <option value="9COM" >Send 9COM</option>
    <option value="9CAT" >Send 9CAT</option>
  </select><br>
  <input type="button" value="Fire a test event"
   onclick="raiseEvent('Testing raiseEvent');" />
</form>
<br>
<span id="Comment">Comment</span><br>
<span id="Reciever">Reciever</span>
<script language=javascript>
  <!--
  EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents", 
      "ChangeSpanText", window, "eventRecieved");
  -->
</script>
</body>
</html>
The event is raised correctly, however, the
eventRecieved
method is never executed. Any idea on how to work around
this problem please?
Thanks.

Detlev, thanks for your reply. However, the problem is
not solved yet.
As you suggested, I removed the 4th parameter, then
the "EPCMPROXY undefined" error appeared. So, I
included the source file which defines the EPCMPROXY
object. However, I got back to the beginning, where
the receiver method never gets executed. Here is my
modified code:
<html>
<!-- BW data source object tags -->
<object>
         <param name="OWNER" value="SAP_BW"/>
         <param name="CMD" value="SET_PROPERTIES"/>
         <param name="TEMPLATE_ID" value="Y_SENDER"/>
         TEMPLATE PROPERTIES
</object>
<head>
<script type="text/javascript"
src="/sap/bw/Mime/BEx/JavaScript/epcfproxy.js"></script>
</head>
<body>
<script language="JavaScript">
  function eventRecieved( eventObj ) {
    document.getElementById("Reciever").innerHTML =
       "<b>" + eventObj.dataObject + "<b>";
    alert('I am the reciever');
  function raiseEvent(value) {
    EPCMPROXY.raiseEvent("urn:com.sap:BWEvents",
      "ChangeSpanText", value, null);
    document.getElementById("Comment").innerHTML=
      "<b>value=" + value + "</b> ";
  EPCMPROXY.subscribeEvent('urn:com.sap:BWEvents', 
       'ChangeSpanText', eventRecieved);
</script>
<form name="myform">
  <select class="SAPBexDdl" name="myselect" size="1"
  onchange=
   "raiseEvent(this.options[this.selectedIndex].value);">
    <option value="9COM" >Send 9COM</option>
    <option value="9CAT" >Send 9CAT</option>
  </select><br>
  <input type="button" value="Fire a test event"
     onclick="raiseEvent('Testing raiseEvent');" >
</form>
<br>
<span id="Comment">Comment</span><br>
<span id="Reciever">Reciever</span>
</body>
</html>
Again, the event is raised correctly, however, the
eventRecieved method is never executed. Will be
Waiting for another help.
Thanks.

Similar Messages

  • I have an Ipod 5 and you can not listen to music unless you have headphone plugged in

    I have an Ipod 5 and you can not listen to music unless you have headphones plugged in

    - Try cleaning out/blowing out the headphone jack. Try inserting/removing the plug a dozen times or so. There is a little switch in the headphone jack that disconnects the speaker when the headphone jack is inserted.
    Try the following to rule out a software problem
    - Reset the iPod. Nothing will be lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iPod.
    - Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
    Apple Retail Store - Genius Bar

  • Portal Runtime Error - iView not found

    Hi friends,
    I am working in SAP Enterprise Portal (EP6 SP9).
    I have made a URL iView pointing to an HTML file (residing on Portal server).I have attached this iView in the "Related Links" section of a page.
    Problem:
    When I access this iView by clicking it, it opens perfectly well.But if i keep the same page untouched for about 15-20 min, and then try to access the same iView, it shows me the following error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: pcd:portal_content/com.freescale.SUPO_Roles/com.freescale.sup_rol_epp/com.freescale.sup_wks_0007/com.freescale.sup_pge_0012/"relatedItems/RelatedLinks/com.freescale.url_ivu_0004".
    Exception id: 09:45_15/09/05_0012_7337651
    See the details for the exception ID in the log file
    Does anybody have a possible solution to this problem?
    By any chance does this problem has anything to do with the iView being in the "Related Links" section of the page?
    Thanks and Regards,
    Jitendra Chaudhari
    India

    Hi
    I have the same problem. do you have a solution for this?
    Regards,
    Miri

  • Moved: Creation of new iViews not possible because templates missing

    Hello,
    sorry I moved this issue to "Portal Content Development"
    Creation of new iViews not possible because templates missing
    Regards
    Alex
    Message was edited by:
            Alexander Lepka

    Alex,
    I'd be curious to know what SAP says.  We have the same problem.  Not sure how/if we broke it, but we can no longer create iviews using the wizard.  I opened an OSS msg a while ago, but did not get much assistance. 
    We have recently upgraded to 2004s and it did not resolve the issue as I hoped it would. 
    If SAP provides a solution for you, please post it. 
    Thanks,
    Shelly

  • ITunes stops updating podcasts / iTunes has stopped updating this podcast because you have not listened to any episodes recently. Would you like to resume updating this podcast?

    Hi,
    My iTunes is set to automatically update podcasts and keep the last five episodes of each podcast.
    However, iTunes appears to stop updating podcasts after several (five?) unwatched episodes and gives me an exclamation mark in the podcast overview. Clicking on that, I get the message: "iTunes has stopped updating this podcast because you have not listened to any episodes recently. Would you like to resume updating this podcast?"
    This is not what I intend... and not  what I  told iTunes to do... (at least this my reading of the below settings)
    This stopping is rather less then ideal: (1) if I am going away for two weeks, which I often do, I would still like to have the last five days of news, not the last five days of news back from the date I left, (2) I need to click update for approx. 20 podcast on regular basis, (3) my iPhone is synced to iTunes as soon as I come home, if iTunes does not have the podcasts downloaded, they are not copied over to the iPhone, and the iPhone will attempt to download the episodes via 3G next time I play the podcast on the go, (4) I am mainly using iTunes functions, such as smart playlists and podcasts, through another app (Plex, a fullscreen media player) and it is a pain to have to go to iTunes to manually do things. That is why this bothering me...
    How can I get iTunes to behave as intended? (From reading through old posts I know that there is a Doug script adressing this problem, which I have just set up, but I would prefer to use internal settings if possible... maybe I am just missing a setting)
    Thank you for your ideas!

    Thank you for the response, Roger!
    OK, that's how it is then.
    The iTunes podcasts settings should be reworded in that case because it suggest something different from what it does. And, of course, it would be ideal for Apple to make this more flexible and allow users to set up their podcast downloads in their way and not be so motherly (c'mon, Apple, your users are not as dumb as you think, and they have uncapped Internet connections these days anyway)...
    Btw., for anyone interested, this is external script I am using now:
    http://dougscripts.com/itunes/scripts/ss.php?sp=updateexpiredpodcasts
    Including the "cron job" setup here:
    http://dougscripts.com/itunes/2011/12/updated-update-expired-podcasts-v2-2-and-l aunchd-project/
    Cannot tell how well it works because I have just set it up, other members of the forum say it works for them...
    If anyone knows of in-app solutions, please share...

  • GWIA not listening on HTTP port

    I recently upgraded our GW8 to new hardware and eventually to 2012 sp1, now I'm seeing the following error in the GWIA log and the GWIA is not listening on its http port.
    There is nothing listening on 9850 (default http port for gwia).
    ****** 04-10-13 10:03:39 ******
    10:03:39 F476 ****************** Agent Restarted ******************
    10:03:39 F476 MTP: Message Transfer Protocol initialization...
    10:03:39 F476 MTP: Queue initialization...
    10:03:39 F476 MTP: Queue initialization...
    10:03:39 F476 Startup: No frgnames.cfg file found.
    10:03:39 F3C7 Starting GWHTTP-Listener
    10:03:39 F476 HTTP server running
    10:03:40 F476 Error Listen Port is already in use. [856A]
    10:03:41 F476 Shutdown of Threads
    10:03:42 F476 Shutdown of Threads
    After disabling GWIA POP / IMAP / LDAP (setting them to port 0) I'm getting the following(and still no http):
    10:08:12 F476 ****************** Agent Restarted ******************
    10:08:12 F476 MTP: Message Transfer Protocol initialization...
    10:08:12 F476 MTP: Queue initialization...
    10:08:12 F476 MTP: Queue initialization...
    10:08:12 F476 Startup: No frgnames.cfg file found.
    10:08:12 F3E7 Starting GWHTTP-Listener
    10:08:12 F476 HTTP server running
    10:08:13 F476 Error, Internal Udp Port is unusable. [8911]
    10:08:14 F476 Shutdown of Threads
    10:08:15 F476 Shutdown of Threads
    GWIA is listening on the following ports, 1.2.3.4 being the server ip and I removed the POA connections.
    # netstat -pan | grep -i gwia
    tcp 0 0 1.2.3.4:7060 0.0.0.0:* LISTEN 12253/gwia
    tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 12253/gwia
    udp 0 0 0.0.0.0:41547 0.0.0.0:* 12253/gwia
    Any ideas ?
    Besides this GW is running just fine.

    Originally Posted by laurabuckley
    Oh ok.
    Check to see if the firewall is disabled on the server.
    Also, set an HTTP username and password in ConsoleOne then do a full stop and start of GWIA.
    Please post back your results.
    Cheers,
    Hi Laura,
    The firewall is disabled (double checked), there is a http username and password (re-set it) set in C1, a full stop and start did not make a difference.
    Originally Posted by laurabuckley
    One more thing.... if your POA is running on the same box try disabling POP and IMAP on the POA - restart the POA and GWIA.
    Cheers,
    We're actively using the POA IMAP so that's not something I can disable.
    Thanks,
    Arjan

  • 10.1.2.0.2 OID not listening after database patch 10.0.5

    Hi
    I've installed database patch 10.0.5 to an Oracle Infrastructure 10.1.2.0.2. The software and scripts installed with no problems. I started the OID server using:
    opmnctl start process-type=OID
    Which always worked before and it returns with no errors. But OID is not listening on port 389. dcmctl start will throw an error trying to connect to OID.
    Any ideas?

    The readme for the patch has very detailed instructions !
    OID needs to be up as you say plus the other components. But there is a good prereq checker before you run it.
    If worried do a backup of $OH , the inventory and the IASDB then give it a try, if it fails just restore.

  • Child DC cannot Replicate to Parent DC, because of connection errors. MS PortQryUI shows that ports 3268 and 3269 are not listening,

    I started a support case with Microsoft to help me with raising the our domain Forest level because i received a message stating that there were Windows 2000 PDC still listed in the database. These PDCs were removed years ago. The tech saw all of the problems
    i was having with domain replication so that is where he started. running the MS PortQryUI shows that ports 3268 and 3269 are not listening, (TCP port 3268 (unknown service): NOT LISTENING) when run FROM a Child domain controller against the Parent
    Domain controller. Between the 2 Child domain controllers these ports are listening.
    The Windows firewall is not running on any of the controllers, i removed a virus protect client from all of the servers, although i didn't enable the firewall there either, but these ports are still not listening on the Parent DC.
    I need help debugging this. I am not very familiar with network sniffers so if i need to run one i'll need some guidance. This DC only has one NIC, all IP addresses are static, all servers are setup like this. All servers are in the same subnet, on the same
    lan, on the same cisco switch, there shouldn't be anything blocking this port from starting.
    I looked over other post that show this same problem, but they don't give a solution. If i am not using the Windows firewall why wouldn't these ports be open?
    Any ideas? web searches are all over the map on trying to find the reason for this.
    Bobby

    Try running the below command on the DCs that you think have the ports blocked or all the DCs.
    netdiag /test:ipsec /debug > c:\dcname-ipseclog.log
    Open that from the C drive and see if there is anything saying block or filters. 
    Also, just for kicks have you disabled the firewall service on the DCs? 
    And just for kicks have you tried enabling firewalls ports on all the DCs?  The KB is below
    http://support.microsoft.com/kb/555381/en-us
    Step 1 - netdiag results
    Step 2 - disable the firewall service on all DCs if step 1 was negative
    Step 3 - enable the firewalls on all DCs per KB 555381 if step 2 doesn't work
    Let us know how it goes!
    If it answered your question, remember to “Mark as Answer”.
    If you found this post helpful, please “Vote as Helpful”.
    Postings are provided “AS IS” with no warranties, and confers no rights.
    Active Directory: Ultimate Reading Collection

  • WebDynPro ABAP iViews not picking the portal look and feel

    Hi,
    In our case , WebDynPro ABAP iViews not picking the portal look and feel.
    Is there any way to provide the custom developed portal theme link or css file to the WebDynPro application.
    Can it be done programmatically in the WD ABAP application.
    Best Regards
    Sid

    Look at the below link, it will answer your question:
    Re: EP 7 Portal stylesheet with WD ABAP
    Raja T

  • TS1630 My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    My Iphone 4s reciever is not working properly, when i call someone from my iphone 4s.  can any one help me how to solve this problem?

    You might like to define "not working properly".

  • I can not listen to podcasts on my ipod 4

    I can not listen to podcasts from itunes on my ipod 4.  Is there anything I can do to get it to work?

    If you have iOS 4.2.1 or later on the iPod and there was version compatible with that version, then you should be able to get a compatible version by:
    App Store: Downloading Older Versions of Apps on iOS - Apple Club
    App Store: Install the latest compatible version of an app
    You first have to download the non-compatible version on your computer. Then when you try to purchase the version on your iPod you will be offered a compatible version if one exists.

  • IViews not loading correctly - BI Admin Cockpit

    Hi All,
    I recently installed the BI Admin cockpit on the portal and having some problem with the iViews. When I access the cockpit from the BI Administration link, the reports don't seem to load but instead just the empty standard web template is displayed in place of all reports.
    1. I checked the iViews preview and they are working fine. No problems with any of the queries/web templates. They are all working correctly.
    2. When I select option to Open report in new window, it still loads a empty web template. BUT, when I refresh that link in Internet explorer the report loads correctly!   (refresh option from the frame menu did not help)
    I didn't understand this behavior and looking for some help/guidance. Any inputs are appreciated.
    Thanks & Regards,
    Sree

    Hi.
    The solution for your issue according to BI Admin Cockpit page refresh and Iview not displayed in web Portal is SAP note 972514.
    Best regards,
    Aliaksandr

  • Port 88 is not listening

    I have seen in few servers and client machines , they are not listening on port 88.But I am able to login in that machine using my domain credential.
    If it is not listening then how authentication will work?
    Thanks 
    Ragavan

    I have seen in few servers and client machines , they are not listening on port 88.But I am able to login in that machine using my domain credential.
    If it is not listening then how authentication will work?
    Thanks 
    Ragavan
    I presume below two links will be helpful for you.
    http://technet.microsoft.com/en-us/video/kerberos-authentication-how-it-works.aspx
    http://technet.microsoft.com/en-us/library/cc772815%28v=ws.10%29.aspx
    Awinish Vishwakarma - MVP
    My Blog: awinish.wordpress.com
    Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • ITunes has stopped updating this podcast because you have not listened . .

    I found an archived article from two years ago: http://discussions.apple.com/message.jspa?messageID=8453115 and have found subsequent articles talking about outboard solutions that I have tried and do not work. The problem continues to this day. Why doesn't Apple just fix this themselves?
    Exact text of the message, as if it is a mystery: iTunes has stopped updating this podcast because you have not listened to any episodes recently. Would you like to resume updating this podcast?
    Yes. Yes. Permanently, yes. Stop asking the question.

    creativestuff wrote:
    Exact text of the message, as if it is a mystery: iTunes has stopped updating this podcast because you have not listened to any episodes recently. Would you like to resume updating this podcast?
    Yes. Yes. Permanently, yes. Stop asking the question.
    Although you may not like the way it's set up, Apple appears to have done this deliberately and therefore does not consider it broken. I suspect that they do it that way to conserve bandwidth.
    Submit your feedback to Apple requesting something different here:
    http://www.apple.com/feedback
    Best of luck.

  • Listener not listening instance

    hi,
    I am strange why listener is not listening instance
    listener and instance are up
    anyone could help me??
    I can give you more details as you need
    [oracle@fsze88linux ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 19-DEC-2009 18:03:35
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                19-DEC-2009 17:52:08
    Uptime                    0 days 0 hr. 11 min. 27 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/fsze88linux/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "test123" has 1 instance(s).
      Instance "test123", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@fsze88linux ~]$
    [oracle@fsze88linux ~]$ export ORACLE_SID=test123
    [oracle@fsze88linux ~]$ sqlplus / as sysdba
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Dec 19 18:06:42 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> select instance_name, version, host_name, status
    , database_status, to_char(startup_time,'DD-MON-YYYY HH:MI:SS') strtd
    from v$instance;  2    3 
    INSTANCE VERSION    HOSTNAME         STATUS      DATABASE_STATUS   STARTED
    test123  11.1.0.6.0 fsze88linux.wor OPEN      ACTIVE         19-12?-2009 06:09:47
                  kgroup

    Paul M. ,
    I feel this question is still not solved.
    content of listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = test123)
          (ORACLE_HOME = /u01/app/oracle/product/11.1.0/db_1)
          (SID_NAME = test123)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
      )tnsnames.ora
    TEST123 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = SHARED)
          (SERVICE_NAME = test123)
      )yes, I can login that database test123. But lsnrctl status is UNKOWN.
    [oracle@fsze88linux ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 19-DEC-2009 23:14:15
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                19-DEC-2009 23:11:54
    Uptime                    0 days 0 hr. 2 min. 21 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/diag/tnslsnr/fsze88linux/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "test123" has 1 instance(s).
      Instance "test123", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyis that cause of static pointing to that instance test123?
    But why dynamic pointing is not work....
    I feel very confused....
    help help....

Maybe you are looking for

  • Oracle 9i DBA

    For an Oracle 9i database: FOLLOWING ARE THE INITIALIZATION PARAMETERS SET AND THEIR VALUES: JAVA_POOL_SIZE=0 SGA_MAX_SIZE=54M db_block_size = 2048 DB_CACHE_SIZE=12M shared_pool_size = 16M log_buffer = 8192 When the following query is run SQL> SELECT

  • Im going in europe , can i use my canadian ipad with an adaptor for the 220

    i'm going to Spain tonight i bought an adaptor to the 220 can i use my ipad on it my ipad is on 110 volts

  • How to add PCD iview in web page composer.

    I have created an KM navigation iview for user messages.I want to add this iview in web page composer.i tried creating entry point but not able to see any changes in web page composer designer. Regards, Atul Dumbre

  • Printer Characters on Top Left

    Hi, When I print any oracle apps, report using USLWPORTRAIT style on my dot matrix printer, the printer initilialization characters like '0o0P8D2SU2A' etc., are always printed on top left of my report.( on the first page) Pls let me know how to avoid

  • How to make exception rules for Stylish rules which change fonts?

    How to make exception rules for Stylish rules which change fonts? I use [https://addons.mozilla.org/en-US/firefox/addon/stylish/ Stylish add-on] to change specific fonts to other fonts of my choice, but I have a problem. I want to change the font Ari