Skip to Content
author's profile photo Former Member
Former Member

Client side event between Java iView and BSP application


I am developing a BSP iView which listen to event raised by standard SAP HR TeamViewer iView. The TeamViewer iView raise a event when user click on the employee list.

EPCM.raiseEvent { "", "objectChanged", concatenatedKey);

My BSP is subscribing to the event and perform the myreceiveEvent function.


( "", "objectChanged", myreceiveEvent );

However, my BSP returns an error message saying that EPCM is undefined. I know that I have to included the java script file. I checked with my basis team guy and they said there is not any js file in ICF. Can someone let me know which file I need to include in my BSP code and where is the file locate?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 16, 2005 at 09:35 PM

    Hi Eric,

    you will need http://YOURSERVER:YOURHOST/irj/portalapps/ if you are on EP6 SP2, if not, just search for epcfproxy*

    For the proxy concept, see

    Next, be aware of domain relaxing problem area, see as well as the code given in the first link.

    Hope it helps


    PS: Please consider rewarding points if the answer is helpful. Thanks in advance!

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Eric,

      > the ICF where the BSP is stored

      > is in the Oracle database

      Eric... the place where the JS fragment - within the BSP - appears, is retrieved by some http request. The script=epcfproxy.js forces the browser to send a http request just to the same relative location the original page came from. Doesn't matter if something is within a database...

      > Do you know how to locate the

      > epcfproxy.js file in the WAS?

      I think:

      > and the epcfproxy.js file is in the zip file

      > that you suggested

      you have found it?! Put it to any place on the BSP server you can access, if you can't set it with relative url, use "/some/.../dir/epcfproxy.js" as location.

      > If I am only EPCM but not EPCMPROXY,

      > do I need to include the epcfproxy.js in my code?

      Have a look at epcfproxy.js. It's no magic at all, you have to call top or parent (just look) and do some minor things. For sure, you can live without the proxy file, you have just to put the neede scripts explicitely on your page, that's not that fine, but it works.

      Hope it helps


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.