Accessing Web Dynpro application outside portal

Hello alles,
Our customer wants to display a Web Dynpro application result on a regular hmtl intranet page, i.e. without showing the portal.
We have tried with html frames, but end up with a flickering or empty screen. The problem occurs both with a quick link to the application within the portal, an SSO link, a link to the iView, a webdynpro/dispatcher address ...
It seems as if the problem occurs with all WD iViews, but not with e.g. a regular News iView.
Do you have any suggestion on how we could solve this? Reasons?
Thank you in advance!
Brgds,
Caroline
Message was edited by:
        Caroline Janzon

hi
good
go through this link,hope this ll help you to solve your problem
http://www.sap-press.de/download/dateien/1103/sappress_maximizing_web_dynpro_for_java.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20ejbs%20in%20web%20dynpro%20applications.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62
thanks
mrutyun^

Similar Messages

  • Not able to run web dynpro application from portal.

    Hi portal experts,
    I want to run my web dynpro application from portal.
    So created a seperate iview  and a role  for the purpose.
    Assigned the iview to the role and also mapped a abap user id to the new role created.
    But when I click on 'preview'  the iview , getting the following dump.
    Error when processing your request
    What has happened?
    The URL http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ was not called due to an error.
    Note
    The following error text was processed in the system HRM : Die URL enthält keine vollständige Domainangabe (mnghcmsap statt mnghcmsap.<domain>.<ext>).
    The error occurred on the application server mnghcmsap_HRM_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===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
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HRM in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server mnghcmsap_HRM_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server mnghcmsap_HRM_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 200 -u: INF51515 -l: E -s: HRM -i: mnghcmsap_HRM_00 -w: 0 -d: 20110209 -t: 121224 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please let me know if I am doing the process correctly and also let me know if I am missing somthing.
    Thanks,
    Aditya.

    Are you able to run teh web dynpro application independtly i.e. without creatin an iview.
    http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ by using this link.
    or there also you are getting the error.
    i guess there also you should be gettign the error.
    this is some problem with the FQDN settings in the abap system.
    in the host name of the web dynpro applciation server one .(dot) is must.
    so you might have to change the host name to some thing like mnghcmsap. from mnghcmsap
    thanks
    sarbjeet singh

  • DB access in Web Dynpro application in Portal

    Hi,
    I will develop a web dynpro application which will run in the EP and use an DB. How are the best practices in this scenario ? Should I use a Web Dynpro Model (EJB or WebService) for the persistence operations or should I use Portal Services ?
    Regards
    Flo

    Hi Florian,
    go trrough these docs:
    EJBs in Web Dynpro Application Using Wrapper Class
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
    Accessing database table using EJB and web dynpro
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
    Oracle Connectivity with EJB using WebDynpro Application
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/oracle%2bconnectivity%2bwith%2bejb%2busing%2bwebdynpro%2bapplication]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b657b7e-0c01-0010-74a4-b71518871800]
    hpe it hlps u...
    Regards
    Khushboo

  • Passing a parameter while calling a web dynpro application on portal

    hi
    I am having a web dynpro application which retrieves data from R/3 system via RFC using Jco destinations define in the Portal.
    Now we have different kinds of portals running on the same WAS, now I want the application to run which access data from different R/3 systems thru different JCo destinations.
    I need to create a logic such that mu application runs fine on any portal with any Jco destination.
    Is there any provision to achieve this.
    kindly let me know about this.
    Thanks and regards
    kris

    Gopi,
    there's an parameter called "sap-wd-arfc-useSys" you can pass to the application, to change the used JCo-Connection (read more at http://help.sap.com/saphelp_erp2005/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm)
    so, if you're running the WD-aaplication on <b>one</b> WAS and call it from different portals, you have to create three (or six with the META-connections) JCo-Connection on your WD-WAS.
    In a WD-application you can access URL-Parameters with:
    WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your URL Parameter-Name>");
    kr, achim

  • Access Web Dynpro application on different WAS ??????????

    Hi All,
    Current Scenario -
    We have deployed ESS & MSS Business package on one WAS and the iviews are present on another WAS.We have created a Dedicated R/3 system which is pointing to the WAS where these packages are deployed.
    All these things are working fine i.e. once the user maps the id pswd it directly runs the Web Dynpro applications in the iviews.
    That means, even if application is running on one WAS, and the user personalises data on another WAS, it still retrieves the credentials and shows the appropriate results for ESS MSS Packages.
    Query-
    Now i need to implement the same scenario in my Web Dynpro application
    Steps
    1) I have the WD application running on one WAS and portal on another
    2) In portal there is a R/3 system created
    3) The Web Dynpro application needs to know if the user has personalised mapping against that system created on portal(other WAS)
    4) If yes show him the home page else take him to the login page.
    Just as it is implemented for ESS MSS Packages.
    How can i pass the mapped data to the Web Dynpro iview ?
    Thanks and Regards,
    Samta Nichani

    Amol,
    as this questions existed twice, I've deleted one.
    As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
    Regards,
    Benny

  • Storing user defaults of Web Dynpro application on portal

    Hi folks,
    I am trying to develop Web Dynpro application that runs in an iView on a portal. I would like to remember certain user defaults for this application (e.g., user default plant). User also has control over this value, so whenever they change it, the value should be update on a backend as well.
    My first thought was to use PCD, but I am not sure how to do that - all the code examples for I found for PCD looked like they were created for portal application, not Web Dynpro ones.
    Anybody here actually done anything similar?
    Edited by: Alexei Isaev on Jan 29, 2008 8:20 PM

    Hi Alexei,
    If you need to store default values for a portal application, you may consider your development in Web Dynpro for ABAP.  I have not come across application level personalisation yet in Web Dynpro for Java, unless someone else can throw some light here.
    Regards,
    Subramanian V.

  • Authentication Screen when accessing Web Dynpro Application

    Hi,
    We are encountering a situation wherein when we call the Web dynpro application, it asks for Authentication. The way we do is a bit tricky. We have the following set up;
    1. We access the CRM_IC ( Web Gui) in CRM and from where we try to create orders  in the backend system i.e., ECC6.0 (IS_Utilities).
    2. For creating orders we launch the FOP ( in our case it is DYNPRO) from CRM. So ECC screen is opened through ITS using SSO.
    3. In addition to this we built a web dynpro application to be called from the DYNPRO (step 2).
    4. When the Web dynpro application is accessed it asks for Login details though it has already logged into ECC using SSO.
    PROBLEM: CRM -- using ITS / SSO --> ECC --> Web dynpro ?? Authentication screen.
    Design:
    We are using WDY_EXECUTE_IN_PLACE to open the Web dynpro in SAPGUI. It is working fine when we run the Web dynpro application from SAPGUI, only the problem is when we do the above steps 1 - 4.
    Tried using the following logic as well but the same result.
    CREATE OBJECT viewer EXPORTING parent = empty_container.
    CALL METHOD viewer->enable_sapsso
    CALL METHOD viewer->DETACH_URL_IN_BROWSER
    EXPORTING url = urlc.
    cl_gui_cfw=>flush( ).
    So is it possible to over come the problem. Basically, we don't want the Authentication screen it should use SSO.
    SSO is already set up in the system.
    Any inputs will be highly appreciated.
    Thanks,
    Roopesh

    resolved!!!!
    CRM had wrong url to connect to web dynpro aplication
    Edited by: Aditya Deshpande on Mar 3, 2010 9:59 AM

  • Calling a web dynpro application via portal using SSO

    Hello Expert,
    i have a requirement where i need to call a web dnpro application via portal.
    But it is asking for user name and password.
    i want to call using single sign on.
    Can u please suggest a way.
    i did the coding like this:-
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = l_c_appl_name
    IMPORTING
    out_absolute_url = l_v_gv_url_string.
    l_v_icf_url = l_c_icf_url_val.                      "#EC SYNTCHAR
    CALL METHOD cl_icf_tree=>if_icf_tree~service_from_url
    EXPORTING
    url             = l_v_icf_url
    hostnumber      = l_c_0
    authority_check = space
    IMPORTING
    icfactive       = l_v_m_sso_active.
    IF l_v_m_sso_active = l_c_x .
    CREATE OBJECT o_viewer
    EXPORTING
    parent = o_empty_co.
    CALL METHOD o_viewer->enable_sapsso
    EXPORTING
    enabled = l_c_x
    EXCEPTIONS
    OTHERS  = 0.
    l_v_gv_url_c = l_v_gv_url_string .
    CONCATENATE l_v_gv_url_c l_c_url_string p0022-pernr INTO l_v_gv_url_c.
    CALL METHOD o_viewer->detach_url_in_browser
    EXPORTING
    url        = l_v_gv_url_c
    EXCEPTIONS
    cntl_error = 1
    OTHERS     = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
    RAISING error_occured.
    ENDIF.
    cl_gui_cfw=>flush( ).
    ENDIF.
    but it is not working
    thanks
    Mahesh

    Hi Mahesh,
    You need to setup a Single Sign On between SAP Portal and ECC system where yoy are doing the development.
    Ask basis team to setup the single sign on and usually this is the job done by Basis teams. Refer the below link to get some idea on SSO setup:
    http://scn.sap.com/community/enterprise-portal/blog/2013/12/15/sso-configuration-between-sap-portal-73-and-ecc-60-ehp-6
    Thanks
    Krishna

  • When to use WEb Dynpro application and Portal application in NW dev studio

    I would like to know what is the difference between
    webdynpro application  and EP Application using PDK.
    Are they comaparable  ...Which one has an edge over the other specific to any applications.
    I want develop an application related to e-commerce using the SAP R3 as backend for an industiry(where in a registered user can place an order and query on the staus of order. All the data will be stored in R3 ).
    I am planning to dev this using NW dev studio , but have an appehension about which application is useful for this kind of application either webdynpro or EP application .
    can anybody explain which one has edge over the other ( Webdynpro or EP applcations in context with NW Dev studio) and why.
    thanks
    PK

    Hi,
    <b>Webdynpro</b> is used when requirements ask for a prototype using minimal time n effort.
    Highly skilled programmers are not necessary to write a webdynpro application
    It uses dynamic controls without reloading the page.
    <b>Portal components</b> esp Abstract portal component provides a lean method to write HTML command to web client
    Large interactive components requires more programming.
    <b>WebDynpro</b> is a highly declarative, tool-based programming model. It minimizes platform-dependent "plumbing" code for building UIs and maximizes declarative metadata describing huge portions of a typical application in a platform-independent way.
    Web Dynpro follows a "top-down" approach in order to consistently support multiple runtime platforms.
    In Web Dynpro you just have to drag & drop the UI components.
    <b>Portal components</b> has followed a "bottom-up", programming-driven approach to Web development.
    Regards,
    Pooja.

  • Deploying web dynpro application into portal

    hi
    I have created a simple example in webdynpro in Netweaver developer studio, and I have deployed it into the portal whose version is EP6 SP9.
    where can I see that deployed webdynpro application(in my case it is WebDynpro_Basics.ear) in the portal.
    Can any one tell me the navigation part in the portal.
    thanks
    krish

    Hi Krish,
    You will find the deployed webdynpro application in webdynpro content administrator. You have to access it using portal administrator user-ID. the url is:
    http://<hostname>:<J2EE engine port>/webdynpro/welcome
    If you want to display the webdynpro application as an iView in the portal have a look at the following link.
    http://help.sap.com/saphelp_nw04/helpdata/en/d8/6ee03fc2269615e10000000a155106/frameset.htm
    Regards,
    Aniket

  • Web Dynpro application Session time expired in Portal

    Hi All ,
       I am runnnig my web dynpro application in portal. When i log in for first time its working fine. But if if lof off and try to log in again in portal in same browser and try to access that web dynpro application then i am gettting error as follows in the browser. And even if i click on link the application could not be refreshed/opened.
    500   Internal Server Error
    The Web Dynpro Application 'WhowhoAppl' has expired. Restart the application using the Refresh button or via the following link WhowhoAppl.
      Details:   No details available
    I am also sending detail log trace below. Reply how to send this issue.
    #1.#001083FEF475004D00000024000003E00004458D7D628B13#1202373905933#com.sap.tc.we
    bdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.webdynpro.sessionmana
    gement.ExceptionHandler.handleExpiration#J2EE_GUEST#0####fb017f90d55811dc93ff001
    083fef475#SAPEngine_Application_Thread[impl:3]_31##0#0#Warning#1#/System/UserInt
    erface#Java###Session unknown: Request with URI= was sent to unknown session.
    Either request with wrong session parameters was sent, or session has expired b
    efore . Current request parameters=. Is termination request=. Request w
    as sent from host with IP=/name=. Hint: see SAP note 842635 for more detai
    ls on session expiration. RID=
    [EXCEPTION]
    #8#/webdynpro/dispatcher/asianpaints.com/Whoswho/WhowhoAppl#Thu Feb 07 07:44
    :39 IST 2008#{}#false#172.18.40.57#172.18.40.57#faf5bfc0d55811dccc92001083fef475
    #com.sap.tc.webdynpro.clientserver.session.SessionExpiredLongJumpException: Sess
    ion has expired due to a concurrent invalidation or logoff request. Hint: This m
    ight occur if multiple logoff requests are sent to Web Dynpro by the portal as i
    t is the case when a logoff is executed and the portal has active embedded and i
    solated Web Dynpro applications. Only the first logoff request is processed, all
    following logoff requests will lead to this message but but can be ignored. Ple
    ase restart the application.
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doSessionMana
    gementPostProcessing(ClientSession.java:868)
            at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(
    ClientSession.java:302)
            at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing
    (RequestManager.java:149)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doConte
    nt(DispatcherServlet.java:62)
            at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(D
    ispatcherServlet.java:46)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServle
    t(HttpHandlerImpl.java:401)
            at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleReq
    uest(HttpHandlerImpl.java:266)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:387)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.startServle
    t(RequestAnalizer.java:365)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebCo
    ntainer(RequestAnalizer.java:944)
            at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(Requ
    estAnalizer.java:266)
            at com.sap.engine.services.httpserver.server.Client.handle(Client.java:9
    5)
            at com.sap.engine.services.httpserver.server.Processor.request(Processor
    .java:175)
            at com.sap.engine.core.service630.context.cluster.session.ApplicationSes
    sionMessageListener.process(ApplicationSessionMessageListener.java:33)
            at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRu
    nner.java:41)
            at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:3
    7)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.ja
    va:100)
            at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:1
    70)
    Edited by: kavita chavan on Feb 8, 2008 12:04 PM

    Default expiry time of a webdypro is 3600 sec.Try to increase it in the visual j2ee admin tool.

  • Prob. exec. print job from RFC which im calling Web Dynpro java in Portal

    Hi,
    Ive got a problem executing a print job from an RFC which im calling in Java web Dynpro Application in Portal. Im using an Acess Method G: for Front End Printing but Order gets stuck with the Status "Waiting" "Front end unavailable".
    Any help would be greatly appreciated.
    Thanks in advance!!!

    HI,
    I dont think you would be able to do this. Instead, you need to get the content from RFC into WD java and print from the browser.
    Regards
    Srini
    Edited by: Sinivasan Rajamani on Jun 14, 2010 4:25 AM

  • Need info on Accessing portal services within a Web Dynpro application

    Hi,
    I need information on Accessing portal services within a Web Dynpro application.I want to explore this topic.Can anyone give useful links?
    Thanks in advance.
    Rajani N

    Hi
    how to reference  a portal service with web dyn pro ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/how%20to/how%20to%20access%20a%20portal%20service%20within%20a%20web%20dynpro%20java%20application.pdf
    http://help.sap.com/javadocs/NW04S/current/wd/com/sap/tc/webdynpro/clientserver/portal/WDPortalUtils.html
    Best Regards
    Jakub Krecicki

  • Access web dynpro abap application from external portal.

    Hi
    How can a application made in ABAP be accessed from SAP External Portal.
    Like a java web dynpro application could be easily accessed by making a webDynpro Java ivew in portal.
    Is their any method to access a ABAP application similarly.
    Thanks.

    Thomas
    Here is our scenario
    We want to expose an ABAP webdynpro application using ABAP Webdynpro iView in portal to the internet. Does this scenario use the ITS http server / port like URL iview behind the scenes.
    Can you please share more info on the above scenario.
    Thanks in advance
    Lakshmi

  • Access users in a Web Dynpro application on different WAS ??????

    Hi,
    Scenario - I have a local WAS on which i have deployed a Web Dynpro Based application.
    There is another WAS on which I have portal installed. I need to access the roles assigned to a particular user in my Web Dynpro application.
    Query -
    I need to know can i access the roles assigned to a user on a different WAS in a Web Dynpro based application running on a different WAS.
    Thanks and Regards,
    Amol Ghodekar.

    Amol,
    as this questions existed twice, I've deleted one.
    As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
    Regards,
    Benny

Maybe you are looking for

  • Dial pad isn't working, can only call people in my contacts

    I have a blackberry style, 9670 and i can't dial using numbers the only number that works is 0.  when i want to make an outgoing call i can only call people that are in my contacts. So in order for me to call someone who isn't in my contacts i need t

  • How to charge my iPod?

    I use my iPod with my Mac. However when I travel I travel with a Windows laptop. I don't have any music on my laptop. My question is that I want to keep my iPod charged. Can I charge it only with my laptop? Or is there another way to charge it?

  • Impdp taking long time for only few MBs data...

    Hi All, I have one query related to impdp. I have one expdp file and size is 47M. When I restore this dmp using impdp it will take more time. Also initially table_data loaded finsih very fast but then later on alter function/procedure/view taking a l

  • JDBC2HTTP

    Hi All: I am doing JDBC to HTTP scenario and I succeeded in that. But I dont have any HTTP service to which I can send the data. For testing the Interface I just give dummy parameters to HTTP receiver adapter, But for End to End testing I want to cre

  • Empty cells will be filled when you press ENTER

    Hello Experts, how can you do the following I type in a particular cell any number (3 or 4 or 8 etc.) and all the empty cells in the ALV should be filled witt the enterd number when I press ENTER Is somewhere a tutorial or an example ? Regards Sas