Web Dynpro iView  fail to execute on portal side

Hi Gurus
I have Created Web Dynpro Application in Backend ( ECC ).
If i tested them from SICF transaction or SE80 transaction they are working fine.
Now on Portal side, I hav created Web Dynpro iView for Those ICF Services (Web Dynpro Apllications).
But most of time they Fails to execute from Portal side.
Symptoms :
On Browser Status Bar It keep on refreshing that iView address.
and Nothing comes on O/P side.
What culde be the Problem ?
How To resolve !!
Thanks & Regards
PK

This regularly happens to us with new WDA applications - seems to be a "bug".
Deactivate the service in SICF and reactivate it, then try your iView again.
If that doesn't work, deactivate the whole WebDynpro node in SICF and reactivate it (including all relevant sub nodes & services).
Pretty sure that will fix it.

Similar Messages

  • Portal theme not picked for SAP Web Dynpro Iview

    Hi,
    We have used light framework page for our portal and all the iviews display the content within the iviews in the same set of colors (blue for buttons). However, for a WD java content, I have created an SAP Web Dynpro iView and the contents displayed here appear in the SAP colors without picking those set for the portal.
    The same application parameters display the portal colors when we use the Web Dynpro Proxy iview.
    Any idea how I can make the SAP Web Dynpro iView appear like the other portal iviews?
    Note: The stylesheet property for the iview is already entered (ur), and I have also set the 'Supply Portal stylesheet' property to 'Yes'.
    Please provide your inputs.
    Thanks,
    Vinay

    Hi ,
    In ABAP Webdynpro for similar problem we used WDFORCEEXTERNAL Sheet property of WDA.
    The Web Dynpro framework automatically compares the versions of the portal and Web Dynpro
    for ABAP style sheets. If the Web Dynpro for ABAP has a newer version, the WDA style sheet is used. This avoids unattractive rendering and JavaScript errors.You can deactivate this behavior again using the WDFORCEEXTERNALSTYLESHEET application parameter of WDA.See also SAP Notes 1033496 .
    If you use the stylesheet of the portal to display the application, the rendering may not appear correctly and Javascript errors can occur(If portal style sheet is lower than WD).
    Though Iam not familiar with WD java , the property force portal style sheet in WD java application should be enough to make WD accept portal theme.
    Regards
    Karthiheyan M

  • Steps to Create Web Dynpro iview

    Hi,
    i created web dynpro application using Netweaver Developer Studio.
    Now i want to show that on portal.
    so please let me know the steps to create web dynpro iview.
    regards
    mmukesh

    Hi,
    Logon to portal with administrator uid/pwd. Content Administration->Portal Content. Right Click on the folder 'Portal Content' and select 'iView'->'New'. In the Template Selection, select 'SAP Web Dynpro iView' and click 'Next'. In the 2nd step, provide iView Name and iView ID and a prefix.
    Salect 'Java' in the 3rd step. n the 4th step, select the System (WAS System), give the project name of your webdynpro, like, local/ABC_Project in the WebDynproNameSpace and the Application Name. An iView will be available now.
    After creating an iView, you should create a page and add the iView to it. Then create a role and add your page to it. Then assign this role to your user. Set the role property 'Entry Point' to true.
    Then when you log into the portal you'll see your role in the top level navigation, click on it to see your iView.
    Regards
    Srinivasan T

  • Can't navigate Web Dynpro iViews in SAP Portal Environment

    We are facing a strange problem. When we try to Navigate other Tabs after refreshing Web Dynpro iView in Sap Portal Enviroment from Tray or Mouse right click or by external Popu window we are getting "can't execute code from a freed script" Error. Currently we have EP6 SP16.
    Any help ?
    Thanks
    Satyam
    Message was edited by: Satyanarayana Mandapati

    Hi Sathya,
    We have a similar Javascript error 'can't execute code from a freed script'.
    How did you solved this problem.
    Regards,
    Sekar

  • Portal 7.3 & Web Dynpro iView, both accessed from Internet via Web Dispatch

    Hi guru,
    I'd like to know the best (or the correct) way to configure the FQDN and required DNS setting to allow user access ABAP Web Dynpro iview from internet.
    My setup here is very typical:
    One EP 7.3 in intranet, having "ep.internal.mycomp.com" as FQDN (given during installation)
    One SAP ECC in intranet, having "erp.internal.mycomp.com" as SAPLOCALHOSTFULL parameter
    One Web Dispatcher in DMZ, having "service.mycomp.com", and listen to 80 port (later added 8000 port for AS ABAP).
       User access my portal by using http://service.mycomp.com/irj, no problem.
    But problem raised during access WD4A iview, here are my problem and questions:
    [Problem]
    At the beginning, we found that the WD4A iView can only be accessed in intranet, not from internet. Eventhough we register "service.mycomp.com" in public DNS. After some http level analysis, I was shock that the WD4A iview is provided directly by AS ABAP which running this WD4A, EP does not play a "relay" role. (Don't believe the URL bar in your IE, use Tamper Data or HTTP live to check the HTTP requests, you will get it). Since we DO NOT have "erp.internal.mycomp.com" in public DNS, so the iview cannot be displayed. But I DON'T want direct access to my ERP box.
    I don't know a way to get rid of the "erp.mycomp.com" request generated by EP. So I tried to overcome the problem by leveraging the same Web Dispatcher used by EP. And I did make the WDisp -> ERP WD4A work using WDisp's FQDN (ie. service.mycomp.com:8000, also keep original service.mycomp.com:80 to EP), but the iview in EP does not use this FQDN. It use the SAPLOCALHOSTFULL parameter configured in backend ERP.  WDisp does not do any URL replacement for me.
    [Question 1]
    Is there any way to hide WD4A iview in EP (server to server communication only)?
    [Question 2]
    If I can only have "service.mycomp.com" entry in my public DNS, should I change the SAPLOCALHOSTFULL in ERP to "service.mycomp.com"?  I doubt  that it may cause a "loop" situation between WDisp and ERP ?
    [Question 3]
    Is it possible to access WD4A on ERP by two different FQDNs (one for public via WDisp, the other for internal access w/o WDisp) ? I know there is only one SAPLOCALHOSTFULL configuration.
    Anyone have done such integration ? please share your configuraiton. Thanks

    Hay Wei-Shang Ku,
    Many thanks to your prompt reply of this very old post I tried to ask!
    for the /sap/* redirect, think it required to use icm/HTTP/redirect_<xx> parametet in WDISP profile. And i did applied below too to make default WDISP URL go to /irj  (Portal login page).
    icm/HTTP/redirect_0 = PREFIX=/,TO=/irj
    so for "all request to /sap/* will go to ERP":
    icm/HTTP/redirect_0 = PREFIX=/sap/*,TO=/???  (how do you set the TO value here?)
    May i have your WDISP profile setting for reference? Did you make use of parameter wdisp/system_0?
    And here is my overall setting:
    we only have "service.mycomp.com" entry in public DNS.
    1. "service.mycomp.com" is WDISP URL mapped to 1 public IP (we used default http 80 port)
    2. we want user can access JPortal & also backend ERP via WebDynpro iView in JPortal via
       service.mycomp.com  (only port only)
    3. ERP system profile:
        SAPLOCALHOSTFULL = <ERPHOSTNAME>.mycomp.com (not in public DNS)
        icm/server_port_0 = PROT=HTTP,PORT=80$$,TIMEOUT=3600,PROCTIMEOUT=3600
    4. Portal:
        ABAP WebDynpro iView setting -
       System  = XXX (where XXX is alias of system iView)
      System iView setting -
        Logical System Name = ERPCLNTXXX
        ITS host = <ERPHOSTNAME>.mycomp.com:8000
    Thanks again your information, have headache of this issue for long times....
    Gary

  • How to get the portal user id into the web dynpro iview at runtime?

    Hi,
    Can any one let me know, How to display portal id and as well as backend SAP user id into Web Dynpro iview at runtime. I am using Adaptive RFC model in my web dynpro application.
    Raj.

    Raj:  check this thread. I think that will help you.
    Can i get Portal User's details in webdynpro??
    I had the same requirement and its works whit this solution.
    regards.

  • Web dynpro iviews

    Hi all,
    I have couple of questions on web dynpro iviews.
    Is it necessary to have sld configured for executing a web dynpro application as an iview in the portal.
    My other question is how do you set the Jco connections for a web dynpro application. Please advice
    thanks for your help in advance.
    regards
    Henry Ragl

    Hi Henry,
    Yes,If you are developing Web Dynpro applications that connect to a back end with a static user, the use of an SLD means that you can, for example, avoid using passwords as part of the Web Dynpro application code, since the SLD utilizes a secure storage for the password.
    You configure an SLD for a Web Dynpro application using the Visual Administrator.
    Your Second Question Jco Connection Please click the link below.
    To Create Jco Connection you have to go to your J2EE Engine.
    http://localhost:50000/ and click the Web Dypro. And again click the Content Administrator remaining details are in the link below
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/3a/3b1b40fcdd8f5ce10000000a155106/content.htm">Jco Connection</a>
    PS: Give the points if it helps you

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • Javascript error in web Dynpro iViews

    Hello,
    I've developed a web Dynpro page which accesses the default database ( maxdb). This page is working fine when tested by calling the application from the browser.
    Now I've created an web dynpro iview in portal ( EP-6 SP15- Sneak preview). I get java script errors - <i>SSR undefined</i> and none of the drop down boxes are populated.
    Can anyone help me out in this?
    Thanks,
    Sudhakar

    Probably the stylesheets of your Portal are not compatible to the used Web Dynpro version.
    Armin

  • Can anyone expalin to me the following properties in the Web Dynpro Iview P

    Hi all,
    Can anyone expalin to me the following properties in the Web Dynpro Iview Properties Editor--
    Authentication Scheme
    Can be Merged
    Default Entry for Folder
    Entry Point
    Show Debug Screen
    Tray Type
    Points assured for help

    Hi shobhendra srivastava,
    1) An authentication scheme is a definition of what is required for an authentication process. In the iView you can set what authentication process (UserName/Password, X.509 certificate, etc.) the iView requires. Find more information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/90/52c43dac1bcf51e10000000a114084/frameset.htm">here</a>.
    2) The attribute "Can be Merged" allows you to merge certain objects (worksets, pages, iviews) under the same point in the portal navigation structure. All objects with the same value for attribute "Merge ID" are merged together. The object with the highest value for attribute "Merge Priority" provides the name displayed in the navigation elements (tabs in TLN and links in Detailed Navigation)
    3) Find a good explanation of the attribute Entry Point <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/3e703e632c7937e10000000a114084/frameset.htm">here</a>.
    4) If this parameter is "true" a debugging screen is displayed before starting the WebDynpro application. Make sure that the parameter DebugMode in the service configuration (=>Applications=>com.sap.portal.appintegrator => Service => Common_Configuration) is not 'false' if you want to use this feature.
    5) The attribute Tray Type defines the design of the iView's frame. The attribute can take the following values:
    fill: The content area appears with a background color
    plain: The content area appears with a white background and a frame
    transparent: The background is transparent and the content area appears without a frame
    Hope I could help!
    Best regards,
    Martin

  • Using Java Web Dynpro iViews to integrate with SAP MDM

    Hi,
    I have already SAP MDM 5.5 supplied iViews with Enterprise Portal.
    These include itemDetail iView, ResultSet iView, PicklistSearch, Hiearchy Search.
    Now, I am integrating Java Web Dynpro iViews with SAP MDM.
    When adding the fields using object of ResultSetDefinition Class, should we use MDM Table Name or MDM Table Name Code/MDM Field Name or MDM Field Code?
    I think we should use the CODE as the name as it does not contains any space while working with Java API.
    Regards
    Kaushik Banerjee

    Hi Kaushik ,
    Yes you should use the Field and Table CODE when integrating MDM with any other system using API either Java, Abap or Com api.
    Actually this is one of the main use of the code in MDM .In API.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Web Dynpro iView - how to pass URL parameters?

    I have a Web Dynpro application that is housed in the Enterprise Portal.  We have a requirement where we need to provide an external link to the iView/Web Dynpro component - for the sake of this discussion, assume it's email.  As part of this URL link, we need to pass a parameter that will cause the Web Dynpro app to fetch some data. 
    The Web Dynpro has a startup plug parameter - call it 'id'.
    I can invoke the Web Dynpro application directly, and pass the id paramter on the URL - the application can see the parameter just fine.  However, when I try and do the same via a Roles-based URL, the parameter does not survive.  I've tried two different methods:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&id=1234
    and
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview!26id=1234
    neither of which work.
    is there a way to do what I'm trying to do?  Note that the 'id' paramter is dynamic - I can't code it in the Web Dynpro iView configuration.

    Hi,
    please try the following:
    http://host:port/irj/portal?NavigationTarget=ROLES://path/to/iview&DynamicParameter=<encode(id=1234)>
    The value of the DynamicParameter value must bei encoded.
    For details please have a lool to
    <a href="http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1078">this</a>
    This book will be also available in English soon.
    Best regards
    Jochen

  • Eventing between Web Dynpro iView and regular DynPage iView

    I have seen, done eventing between two dynpage iviews and two webdynpro iviewsHowever, and gone through "How to Use the Portal Eventing for Web Dynpro iViews". However, I have been trying to have a webdynpro iview talk to a dynpage iview but they just won't communicate. Is this even possible?
    Ok basically I have a portal page in a popup window with no masthead and top level navigation. The page has two iviews -  the top one being an iView that points to a webdynpro application on Server A, and the bottom one being a dynpage iview on the Portal Server B.
    In the webdynpro iview, the code for when a button is clicked is
    public onSomeAction(Event event) {
        WDPortalEventing.fire("urn:myUrn","eventName","value");
    In the dynpage iview, the code i have for it is
    myServ = (IEpcfToolbox) PortalRuntime.getRuntimeResources().getService(IEpcfToolbox.KEY);
    myReceiver = myServ.getClientEventReceiver(request, "urn:myUrn", "eventName");
    form.addRawText(myReceiver.getWrappedScript());
    try {
        if (!myReceiver.isReceived()) {
            form.addComponent(createMainScreen());
        } else {
         form.addComponent(new TextView("event received!"));
    } catch (Exception e) {       
        form.addComponent(createErrorScreen());
    I tried all the things I could think of but the receiving iView just won't get the event fired.
    Can someone confirm that this should work? and correct me where I've done wrong.
    Please help. this is very urgent. your help will be greatly appreciated. thanks in advance
    PS. My environments are EP 6.0 SP2 and WAS 6.40 SP14

    > hi,
    >
    > portal eventing  works properly if all participants
    > are in the same domain. Otherwise portal eventing
    > g does not work. If the SAP J2EE
    > Engine on which the Web Dynpro application is
    > deployed is in another domain, you have to  map the
    > IP address of the SAP J2EE Engine to the domain name
    > of the
    > SAP J2EE Engine on which the SAP Enterprise Portal is
    > running, by editing the configuration file hosts.
    >
    > regards,
    >
    > Ganesh.N
    I am no direct access to the boxes so I can't try your suggestion. It really makes sense that eventing won't work if the iViews are on different domains. I know they are in the same domain but different subdomains.
    Anyway, good news I got eventing to work with the mentioned set. I found that that the SAP Java EPCFToolbox API had a bug that kept throwing javascript errors when I tried to have the web dynpro iview fire an event and the SAP one subcribed to it.
    I got around it but using the EPCF Javascript API instead.
    Code:
    response.write("<script>");
    response.write("EPCM.subscribeEvent('urn:dla.telework', 'createPdf', doSomething);");
    response.write("function doSomething() {");
    response.write("window.location = self.location + '&eventReceived=true';");
    response.write("}");
    response.write("</script>");
    So basically just output raw text through the response object and it just works.
    On a similar topic, since eventing can only pass string parameters back and forth, I'm still looking for a way to pass other more complex Java objects between web dynpro and sap iviews. From what I haven't they don't share the same session object (which I thought they did). So basically I can't just stick stuff in the session and pull it down on the other end. I'm clueless right now. If anybody has some tips, plesae share. Thanks

  • SAP Web Dynpro iView not working!

    We are trying to run BI reports based on Web Dynpro ABAP in portal.  I created a SAP Web Dynpro iView with following parameters
    System : SAP_LocalSystem
    Namespace : sap
    Applicatioin Name : ZXXXXX_RRE  (This is the template name)
    When I try to preview the report I get portal runtime error with following error dump in log file
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template
    &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;/sap/bc/webdynpro/&lt;WebDynproNamespace&gt;/&lt;WebDynproApplication&gt;/;sap-ext-sid=&lt;ESID[url_ENCODE]&gt;?sap-ep-iviewhandle=007&lt;ESID[HASH]&gt;&amp;sap-wd-configId=&lt;WebDynproConfiguration&gt;&amp;sap-ep-iviewid=&lt;IView.ShortID&gt;&amp;sap-ep-pcdunit=&lt;IView.PCDUnit.ShortID&gt;&amp;sap-client=&lt;System.client&gt;&amp;sap-language=&lt;Request.Language&gt;&amp;sap-accessibility=&lt;User.Accessibility[SAP_BOOL]&gt;&amp;sap-rtl=&lt;LAF.RightToLeft[SAP_BOOL]&gt;&amp;sap-ep-version=&lt;Portal.Version[url_ENCODE]&gt;&amp;sap-wd-tstamp=&lt;$TimeStamp&gt;&amp;&lt;ProducerInfo&gt;&amp;sap-explanation=&lt;User.Explanation[SAP_BOOL]&gt;&amp;&lt;StylesheetIntegration[IF_true PROCESS_RECURSIVE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;DynamicParameter[PARAMETER_MAPPING PROCESS_RECURSIVE]&gt;&amp;&lt;ForwardParameters[QUERYSTRING]&gt;&amp;&lt;ApplicationParameter[PROCESS_RECURSIVE]&gt;&#39;; the problem occured at position 310. Cannot process expression &lt;System.client&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;client&amp;#39;.
    I have checked SAP_BW system object and tested the connections all connection test for SAP_BW is successful.  BI Portal system is set up with SAP web dispatcher, ITS and WEB host names in system object are configured something like xxxx.hostname.com:443 since it's SSL.
    Am I missing anything here?
    Thanks
    Praveen

    Hello Pravin,
    Currently i am also facing the same error. I am having set of Webdynpro-ABAP applications, and accessing from Portal.
    I tested respective applications from SE80, all are working fine.But while accessing from Portal its giving Portal runtime error-Unable to parse etc....
    I checked my system object.. both WAS and ITS connections are successful.but i mentioned its related to ITS, where can i test my ITS further level..
    Though these are WDA applications , how these related to ITS..
    I am also getting same error message.. Please suggest how can i go head
    Thanks in Advance
    Ganesh

  • Error in SAP Web Dynpro Iview

    Hi,
    We are facing problem with iviews, created using SAP Web Dynpro iView Template. Whenever user clicks on any of SAP Web Dynpro iView , portal main page is opened instead of Web Dynpro application. Same problem is encounted on preview of the iView. Everything was working fine till yesterday and suddenly we are facing this problem.
    Also, iview created using Web Dynpro Java Application option are working fine.
    What can be the reason behind the problem?
    Need your help.
    Thanks in Advance,
    Apurva

    Hi,
    Some times we get the home page instaed of the application.
    This may be due to the application is not active.
    Test from se80.
    If it is working fine create the iview again i think there are changes made to the application.
    Thanks,
    gopal

Maybe you are looking for