EPCM is undefined

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
Philipp

Hi 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

Similar Messages

  • Error:EPCM is Undefined

    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,
    Vinoth

    Hi,
    Pls see this
    "'EPCM' is undefined"  error while logging onto EP
    aneez

  • Citrix & EPCM is undefined

    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 Tirumala

    Hi Ranganath
    Did you ever find a solution??
    Many thanks
    Jane

  • 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...

  • EPCM is Undefined-- Issue

    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 advance

    Hi 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

  • EPCM Undefined

    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,
    kevin

    Hi 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,
    Sandeep

    Hi 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,
    Eric

    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
    Detlev

  • Link in KM Document Iview

    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 saraf

    Hi 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

  • Problem EP7 with Win 2000

    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 me

    Hi 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 AM

    Rb,
    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
    Kaushik

    Hi 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

  • Epcm permission denied

    Hello, i search in the forums, but i don't find an answer!
    We have the following problems:
    We use the epcm-object to fire events! To get the instance we use the following coding in the site:
    <script language="javascript">
    function myPortalEPCM() {
      try{
         var ldFrame = window;
         while ( typeof(ldFrame.EPCM)=="undefined" && ldFrame != top)
            ldFrame = ldFrame.parent;
         return ldFrame.EPCM;
      }catch(ex){ }
    </script>
    It works in the SAP HR BSP-Applikations and in the last months also in the Business Warehouse (BW) BSP-Applikations, but now we installed some supportpackages and now it doesn't work in BW!?
    He find the EPCM and he will return, but then he go into the catch-part und this is the reason that the calling code doesn't get the instance of EPCM!?
    What can i do!?
    I debugged it with the mozilla firefox javascript debugger, but i can't explain it!?
    The browser said, permission denied, but why!?
    Is it possible to get the epcm with other way!
    Thanks
    Lars

    Hi Lars,
    > sorry, but it doesn't help.
    > Now i have no javascript errors,
    So - it helps!!! That is the first step into the right direction, as so far you have tried cross-site scripting, which doesn't work, now it works!
    > but the eventing doesn't work!
    > Have you any others ideas!?
    That's a bit to small information. Also this normally is only really debugable on client site, live. Anyhow, I expect you have used the EPCMPROXY object with the extra window parameter, to subscribe?!
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • EPCMPROXY undefined.

    Hello all,
    We are working on integrating the BW templates from Web Application Designer and the Visual Composer. We are following the step by step solution as given by SAP in their doc to get ahead with this integration. The resolution for the above error is supposed to be some changes that are to be done in the hosts file of the client system. I am unable to understand what exactly are the changes to be made. Can any one throw some light on what exactly are the steps to be followed so that this error can be avoided. Also is there anything we need to do from the eventing options available under the SYSTEM CONFIGURATION->SUPPORT option in portal for this scenario to work?
    Arun E V

    Hi Prakash,
    Sorry for the late reply. I used a trial version of the HTTP Watcher available. I dont observe the javascript loading. But if the Javascript isnt loaded then how can the page pop up the error EPCMPROXY undefined?
    the java script code
    <script language=javascript>
    function raiseEvents(value) {
    extvalue = "<Params version='2' ><Row F0CALWEEK='" +
    value + "' /></Params>";
    EPCMPROXY.raiseEvent( "urn:com.sap.vc:epcm", "Filter1",
    extvalue, null );
    </script>
    The BW object that raised the event tothsi javascript
    <FORM name="Week" action="" method=post>
    <b>Select Week</b>
    <select name="Select_Week" onchange="raiseEvents(document.Week.Select_Week.options[document.Week.Select_Week.selectedIndex].value);"
    >
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_3"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="WIDTH" value="250"/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             <param name="CLOSED" value="X"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="IOBJNM" value="0CALWEEK"/>
             <param name="BOOKED_VALUES" value="Q"/>
             <param name="SHOW_LABEL" value=""/>
             <param name="ONLY_VALUES" value="X"/>
             ITEM:            DROPDOWNBOX_3
    </object>
    </select>
    </FORM>
    In VC i have a Signal IN that lsitens to this event.
    this is the BW WAD 3.X version on BW 7.0
    Arun E V

  • Error while deploying a composite  (Message part "body" is undefined)

    Hi All,
    I am trying to deploy a composite but i am getting the following error.
    Buildfile: C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite "C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml"
    [scac] /C:/JDeveloper/mywork/Sample/SampleDequeueBPEL/Outputftp.wsdl: error: Message part "body" is undefined [element = EmpCollection
         [scac] Setting BPELC option 'classpath' to C:\Oracle\MiddlewareJdev\jdeveloper\jdev\extensions\oracle.sca.modeler.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.fabric_11.1.1\fabric-runtime.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.fabriccommon_11.1.1\fabric-common.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.bpel_11.1.1\orabpel.jar;C:\Oracle\MiddlewareJdev\jdeveloper\soa\modules\oracle.soa.mediator_11.1.1\mediator_client.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\commonj.sdo_2.1.0.jar;C:\Oracle\MiddlewareJdev\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar;C:\Oracle\MiddlewareJdev\oracle_common\modules\oracle.web-common_11.1.1.jar;;C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes
    [scac] C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\composite.xml:21: error: SCAC-50012
    BUILD FAILED
    C:\Oracle\MiddlewareJdev\jdeveloper\bin\ant-sca-compile.xml:272: Java returned: 1 Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errors
    Total time: 4 seconds
    This is an integration from Dequeue to FTP . Dequeue have a payload of message type which is transformed to Ftp message type. Below is the wsdl file where i am getting error
    <wsdl:definitions
         name="Outputftp"
         targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
         xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
        >
      <plt:partnerLinkType name="Put_plt" >
        <plt:role name="Put_role" >
          <plt:portType name="tns:Put_ptt" />
        </plt:role>
      </plt:partnerLinkType>
        <wsdl:types>
          <schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/Sample/SampleDequeueBPEL/Outputftp"
                  xmlns="http://www.w3.org/2001/XMLSchema" >
            <include schemaLocation="xsd/FileFTP.xsd" />
          </schema>
        </wsdl:types>
        <wsdl:message name="Put_msg">
            <wsdl:part name="body" element="EmpCollection"/>
        </wsdl:message>
        <wsdl:portType name="Put_ptt">
            <wsdl:operation name="Put">
                <wsdl:input message="tns:Put_msg"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>XSD of FTP:
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="EmpCollection">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="Emp" maxOccurs="unbounded" minOccurs="0">
                        <xs:complexType>
                            <xs:sequence>
                                <xs:element type="xs:string" name="name"/>
                                <xs:element type="xs:byte" name="id"/>
                                <xs:element type="xs:byte" name="dept"/>
                                <xs:element type="xs:string" name="address"/>
                            </xs:sequence>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>Could someone help me on this. Thanks in advance.
    Thanks
    Gnanaprakasam R

    Gnanaprakasam ,
    Check log file : C:\JDeveloper\mywork\Sample\SampleDequeueBPEL\SCA-INF\classes\scac.log for errorsDid you managed to look into logs.
    Try to reconfigured the ftp adapter from scratch.
    I had ran into same error as yours what i did was, restarted the Jdeveloper and was able to compile !!
    Regards,
    Abhinav Gupta

Maybe you are looking for

  • Size of combobox in JTable with custom cell editor

    Hi All - I have a JTable that displays a combobox in certain cells. I have a custom table model, renderer, and editor. All of that works fine. I render the combobox with the renderer, and then return the combobox as an editor in the editor so that it

  • Schema Validation using Adapter Engine : Error

    Hello Guys, For SOAP message coming into PI, I am doing schema validation by adapter engine but getting below error message com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.Messag

  • A BUG in the Genres and Rankings for Auto Playlists

    I recently spent too much time ranking each of my many songs on my iTunes hoping to set up auto-playlists that will contain my favorite songs among various genres. However, when i went to create an auto playlist with more than one genre at a ranking,

  • My server time is 1/2 hr slow

    Dear All,      I have r/3 ent server on hp-ux (oracle), my server time is 1/2 hr slow. How to rectify this problem, how change any note on this. Regards, satish -k

  • Refresh the PanelGrid in  page not the whole page ...

    Hi friends, I have two frames in one page. Those are Left.faces and Right.faces. In the left.faces i have pangelGrid and stackbarGroup under stackbar. In the Right.faces i am having only dropDownList and command button. Here my problem is , First i a