EPCM proxy undefine
Hello ,
I am getting this error while excuting the iview in RS_TEMPLATE_Maintian program.
I have seen the library where it says epcfproxy.js need to be included in the portal..
Can any one help me where this statement need to be included in the java script.
I tried includeing in the header part but still i ma getting the error. We have epcfproxy.js file in the Javasciprt Mime file
Thanks
>
Kapsek27 wrote:
> Hello ,
>
> I am getting this error while excuting the iview in RS_TEMPLATE_Maintian program.
>
> I have seen the library where it says epcfproxy.js need to be included in the portal..
>
> Can any one help me where this statement need to be included in the java script.
>
> I tried includeing in the header part but still i ma getting the error. We have epcfproxy.js file in the Javasciprt Mime file
>
>
> Thanks
Seems like that the EPCF level is set to 0 in your iview (that means that actually no EPCM and also no EPCMPROXY object will be available). Maybe you can change it in the properties of your iview by setting the property "EPCFLevel" to 1.
But this is just an assumption...
Another question: Is you IView URL isolated or Embedded? When the iview is embedded you don't have to use the EPCMPROXY object but the normal EPCM object...
Similar Messages
-
Hi All,
While logging to portal we are getting an error in logon page named "EPCM is Undefined".
Can any one suggest a solution for this..??
Regards,
VinothHi,
Pls see this
"'EPCM' is undefined" error while logging onto EP
aneez -
Hello,
after Login to the SAP Netweaver Portal I receive at the following page the script-error "EPCM is undefined". I don't get the full navigation because of this script-error.
This problem is only at one PC, at all other it works fine. All settings are same to other PCs.
Please help me.
Regards
PhilippHi Philipp
Did you find a solution? I have a similar problem - the portal (EP7 SP13) works fine for most users, but one user gets javascript errors (EPCM is undefined, object required) and cannot display most of the portal screen. He has the same IE version (IE6 SP2) and settings (default "Low" in security zones) as other users. I have added *.js to NeverCompress and restarted, but still it does not work for him.
Any ideas?
Many thanks & regards
Jane -
We are currently upgrading our EP6 portal to NW04s SPS7.
About 30% of our users access the portal via citrix metaframe.
When a user access the portal normally via LAN, the portal works fine. But when we access the portal from citrix the portal does not load properly and we get a javascript error 'EPCM is undefined'
I greatly appreciate any help in resolving this problem.
Regards,
Ranganath TirumalaHi Ranganath
Did you ever find a solution??
Many thanks
Jane -
Hello ,
I am getting this error while excuting the iview in RS_TEMPLATE_Maintian program.
I have seen the library where it says epcfproxy.js need to be included in the portal..
Can any one help me where this statement need to be included in the java script.
I tried includeing in the header part but still i ma getting the error. We have epcfproxy.js file in the Javasciprt Mime file
Thankssorry wrong posting . Same i have posted in EP
-
Dear All,
I deployed com.sap.portal.epcf.loader.par file into the portal through nwds , after that when I logged into the portal nothing is getting displayed inthe content area. Only header is getting displayed . And in content area no iviews or worksets or navigation is getting displayed..plz help it became a serious problem
Thanks in advanceHi Jitan,
Please check that if you missed any jar files while deploying into portal.
Extract the original par file using an unzip program -> navigate to the folder PORTAL-INF -> lib
if there are any files then copy the files and paste into the lib folder of your NWDS project -> refresh and rebuild -> export
Ram -
I have user using IE 5.5 and trying to access EP 7.0. The login is successful but the navigation never shows up. It gives a Javascript error of "EPCM is Undefined". However, I can access it fine as well as 200 users. I am using IE 6.0, not sure if that matters or not.
Thanks,
kevinHi Kevin
The issue arises due to the difference in terms of javascripts between EP on J2EE Engine 6.40 and EP on J2EE Engine 7.0 (NW-04s). In 6.40 the .js file is present in NeverCompressed property of http service by default, while in 7.0 it was removed.
I have also written a WiKi FAQ on this. Kindly follow the URL :
https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=31097&version=2
Kindly follow these steps:
1. Enter the J2EE Config tool.
2. drill down: Global Server Configuration->services->http
3. on the right hand side, click on NeverCompressed
4. on the bottom, add at the end: ,*.js
5. Apply the changes
6. restart the J2EE.
After this clear the browser cache and then log onto the portal and check if the issue gets resolved.
Regards,
Nitin Mehra -
Error "EPCF Undefined" in URL Iview after upgrading portal from 7.0 to 7.3
Hi All,
We have upgraded our portal from 7.0 to 7.3 recently. After upgrade when we are trying to open URL iviews(which will open a page in a sesparate window) it is giving some error in left bottom corner of browser. The error is as follows
Message: 'EPCM' is undefined
Line: 463
Char: 1
Code: 0
URI: http://<host>:50100/irj/portal?NavigationTarget=navurl://25fd58cd6bc575491c6b9c692e5debd6&InitialNodeFirstLevel=true&windowId=WID1318828789495
Please let me know the solution to solve this issue.
Thanks & regards,
SandeepHi sandeep ,
Hence the problem was not there with previous versions where the .js files were simply not compressed by default.
Solution :
I believe switching off javascript compression is a suitable option in this case as the script files are usually cached by the browser as well and will not be transmitted every time.
Kindly follow these steps:
1. Enter the J2EE Config tool.
2. drill down: Global Server Configuration->services->http
3. on the right hand side, click on NeverCompressed
4. on the bottom, add at the end: ,*.js
5. Apply the changes
6. restart the J2EE.
After this clear the browser cache and then log onto the portal and check if the issue gets resolve
I hope it will useful to you.
Thanks@ Re grads
G.srinu -
Client side event between Java iView and BSP application
Hi,
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 { "urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "objectChanged", concatenatedKey);
My BSP is subscribing to the event and perform the myreceiveEvent function.
EPCM.subscribeEvent
( "urn:com.sap.pct.hcm.orgmanagement:CurrentObject", "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?
Thanks,
EricHi 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
Detlev -
Hi,
I have created KM Document iview.In that Document i have given a link,but that link is displaying in new window.I want that link to be displayed in same area instead of seperate window,replacing the original document iview.Plz help to sort out this problem.
Thanking you
santosh sarafHi Detlev / All,
I am trying to do something similar: I have a Document iView that points to a HTML file. In this HTML, i need to provide a link that will trigger a navigation event. So i did as usual: created the html and put the code:
<a href="#" onClick="return EPCM.doNavigate('NavTarget'); void(0);">Link</a>
However, when i run the iview it gives me a JavaScript Error, saying EPCM is undefined. Why can't I call EPCM from the KM Document iView?
I have tried to put it directly on the HREF portion of the link, like this:
<a href="<my URL>/irj/portal/index.htm?NavigationTarget=NavTarget">Link</a>
And it works, except for one detail: if i point the link to _blank, it opens a new window. If i point to _self or nothing, it opens a new portal inside the iView. But i need another behaviour: I need to swap the source page with the target page and adjust the TLN, just as doNavigate() does. Is there any "easy" way of doing it?
Thanks in Advance!
Thiago -
Hi Portal Knowledgeable ones,
I can not get a hyperlink on a HTML page to position the user on a different portal iView. The custom HTML page exists on another web server (not the portal itself). The custom HTML page displays in the portal using a "URL iView". The link I am using works fine when I enter it alone in a web browser. What am I doing wrong?
Here is the link that I am using:
<A HREF="Link to Other Role" onclick="return EPCM.doNavigate('https://myserver.company.com/irj/portal?navigationtarget=roles://portal_content/com.company.ROOT/com.company.Common/com.company.common.Roles/com.company.common.roles.ProfileManagement/com.company.common.iviews.ChangePassword')">
Thanks,
KevinHi Kevin,
your URL iView is URL isolated, this means is rendered within an iFrame. So you cannot call EPCM directly, only via EPCMProxy; but also this must be loaded from the integrated HTML page, and - ! - the URL from where the pages gets loaded must be "relaxable" (if your portal is your.portal.server, the integrated site may be someother.portal.server).
See http://help.sap.com/saphelp_nw04/helpdata/de/27/41b84033a8b533e10000000a155106/frameset.htm for EPCM proxy, see http://help.sap.com/saphelp_nw04/helpdata/de/b3/7b8163404448e7aad7899c0b30313e/frameset.htm and http://help.sap.com/saphelp_nw04/helpdata/de/2d/91e33edd37de63e10000000a11405a/frameset.htm for direct nav URLs and http://help.sap.com/saphelp_nw04/helpdata/de/43/0029d0e7371aa2e10000000a422035/frameset.htm for programmatically creating nav targets.
Hope it helps
Detlev -
Linksys 4200 and ddclient in ubuntu server 10.04
I am trying to host my domain on my linuxserver at home. I am using ddclient for dynamic ip through zoneedit. I would use dyndns but it not free for dynamic ip.. if it is please tell me how. anyway this is the ddclient.conf
daemon=300
pid=var/run/ddclient.pid
protocol=zoneedit1
#use=web, web=http//legacy.zoneedit.com/checkip.html
use=web, if=eth0, web='http://dynamic.zoneedit.com/checkip.html',web-skip='IP Address'
server=dynamic.zoneedit.com
login=myusername
password=^%$&#^#&*
domain.info
the responce I get in the /var/log/daemon.log is
May 13 22:47:49 morganland avahi-daemon[1048]: Received response from host 192.168.1.1 with invalid source port 32768 on interface 'eth0.0'
I have done several searches and found that many people with e4200's have this problem of not being able to get out of the network. I have DDNS set to disable. Im not a networking guy so I need a little help. and please forgive if this has alread been solved. I like this router but Im not appoase to getting something else if I cant host my own domain name.
any help?so here at the top is says that the login is invalid. think thats it?
ron@morganland:~$ sudo ddclient -daemon=0 -debug -verbose -noquiet
WARNING: skipping host: morganland.info: 'login=' is an invalid login.
WARNING: skipping host: morganland.info: 'login=' is an invalid login.
=== opt ====
opt{cache} : <undefined>
opt{cmd} : <undefined>
opt{cmd-skip} : <undefined>
opt{daemon} : 0
opt{debug} : 1
opt{exec} : <undefined>
opt{facility} : <undefined>
opt{file} : <undefined>
opt{force} : <undefined>
opt{fw} : <undefined>
opt{fw-login} : <undefined>
opt{fw-password} : <undefined>
opt{fw-skip} : <undefined>
opt{geturl} : <undefined>
opt{help} : <undefined>
opt{host} : <undefined>
opt{if} : <undefined>
opt{if-skip} : <undefined>
opt{ip} : <undefined>
opt{login} : <undefined>
opt{mail} : <undefined>
opt{mail-failure} : <undefined>
opt{max-interval} : 2592000
opt{min-error-interval} : 300
opt{min-interval} : 30
opt{options} : <undefined>
opt{password} : <undefined>
opt{pid} : <undefined>
opt{postscript} : <undefined>
opt{priority} : <undefined>
opt{protocol} : <undefined>
opt{proxy} : <undefined>
opt{query} : <undefined>
opt{quiet} : 0
opt{retry} : <undefined>
opt{server} : <undefined>
opt{ssl} : <undefined>
opt{syslog} : <undefined>
opt{test} : <undefined>
opt{timeout} : <undefined>
opt{use} : <undefined>
opt{verbose} : 1
opt{web} : <undefined>
opt{web-skip} : <undefined>
=== globals ====
globals{daemon} : 60
globals{debug} : 1
globals{quiet} : 0
globals{verbose} : 1
=== config ====
=== cache ==== -
Hi experts,
Almost end users portal have OS win 2000 and IE 6. When those users are logged in into ep7, the system shows the following error EPCM is undefined. That only happened with users in win2000 because in winXP all works fine.
Please help meHi Nelson,
I had same problem like "EPCM is undefined". I applied the solution given in the link above but it did not work then i found another solution for that problem.Just download the registry file in below and run it then restart your pc and try run portal again on the computers which have problem .
<a href="http://www.fiddlertool.com/dl/IE6SP2.reg">Download</a>
Regards, -
Problemes with the theme of the portal
Hi,
we have the problem that just the portal header load with the logo, the rest of the portal is white.
The 1st and 2sd doensn't load, also the content doens't load.
When we delete the temporary files it workes for an few hours, then the same probleme came back.
We use EP7 with SPS 14 and the probleme is only with IE 6.0.2800.1106 and with IE 7.0.5730.
With Firefox3 we have no problems.
Edit:
We have solved our Problem,the Problem was the EPCM was undefined
Cheers
Simon
Edited by: eBizStudent on Jul 18, 2008 10:01 AMRb,
follow the first method and check the code which you placed has all the functions of tool area. i did the same in our portal by merging tool area and masthhead area. follow these two links to solve this
[How to Add a New Link in the Masthead that Will Open an iView|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d07bf112-1705-2a10-1a9f-d0a705e550fa?QuickLink=index&overridelayout=true]
[How to Merge the Masthead and the Tool Area|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f058ef9c-b211-2a10-4fad-8b88d5a1fe74?QuickLink=index&overridelayout=true]
Regards
mahesh -
EPCM.getSAPTop().LSAPI is undefined
Hi
I was trying to customize AFP following SAP documents. But after changing the framework page when I logon to portal always I am getting a javascript error.
EPCM.getSAPTop().LSAPI is undefined.
I checked both in IE6 and Mozila and my portal version is EP7.3 SP4.
I have followed all the steps mentioned in the links below.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70bfe58d-1ed9-2d10-42b6-821d62777d6f
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6032df6e-7625-2e10-418a-ba5c4cb7ead5
Could anyone tell me how to get rid of this js error.
Kind Regards
KaushikHi Kaushik,
Are you using the AFPisLoaded event ? You need to subscribe to this event and put your scripts inside. this event will fire after all AFP have been loaded and are now ready for use.
example:
EPCM.subscribeEventReliable('urn:com.sapportals:navigation', 'AFPisLoaded', function _afpLoaded() { //write your script here });
Best Regards,
Saar
Maybe you are looking for
-
I deleted random bands and certain songs that I no longer wish to have on my iTunes or my iPod. So, they're all off of my iTunes, but still on my iPod. How do I delete only the items on my iPod that are no longer on my iTunes? Is there a way to sync
-
Exception occurs!! when button click
Hi., I am using jdev 11.1.5 I had created a jspx page in the master from and table detail I had draaged a af:button and named it as post In the action listner i had wrote the code as public void cb5_actionListener(ActionEvent actionEvent) {
-
Datasync and domain Wide administration port problem
Hi, After enabling domain wide administration port in WLP 8.1, wee start to see following exception on our managed servers log file. This happes in every mananaged server. Datasync.war is deployed only in adminserver as the manual says. We see this e
-
Offending Operator 'k' when opening .ai file in cs3
Hello, I was working on a vector illustration yesterday, sadly i spent nearly 7 hours on this one piece and to my surprise I was unable to open it the next morning. Once I open the file in Illustrator I receive the following error: Offending Operator
-
When i running the self test of the board in MAX i got error -223044, anyone that has some ideas?? STALT