Webdynpro application history navigation

Hi people,
I have a question about webdynpro navigation. I know that der are many threads
about this topic, but I think  I don't find an answer for my question:
The scenario: I have a webdynpro application running in the enterprise portal.
The application is linked with ONE IView in the portal (and running on a different
application server). The application has about 20-30 webdynpro views, which are arranged
in different viewsets.
I need a navigation history (similar to the history in common web browsers like iexplorer)
in my application. Because of the multiplicity of navigation possibilities within the
application, it doesn't make sense to programm a static view navigation.
My question: Is there a standard way in webdynpro to realize my needs? Can I use the
PortalNavigation API, or is this API only for navigation between portal IViews? Can I
use the Breadcrumb Navigation UI Element?
I'm developing on a WAS 7.00 (Netweaver 2004s).
Thanks in advance for your effort,
regards,
Thomas

Hi,
   You can use PortalNavigation. Take a look at the <i>historyMode</i> parameter of the <i>navigateAbsolute()</i> method. Find the documentation <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/56/b4544251dcc153e10000000a1550b0/frameset.htm">here</a>.
Regards,
Satyajit.

Similar Messages

  • Navigating Between 2 views in webdynpro application

    Hi All,
    I am creating a webdynpro application with 2 views. when i click the next the first view an action would be triggering the next view. Component controller context is being used.
    Component Controller - 2 value attributes are there. These are mapped to view 1 and view2.
    view1 - has these 2 value attributes
    view 2 - has these 2 value attributes and 1 node with some attributes.
    But in view 2 , i am using only that node. When i deploy the application, when i click the button on the first view, another window popups, saying "500 internal error". But the view1 and view2, code is completely free of error. if so, why it is not displaying data of view2?
    Regards,
    Divya

    Divya,
    Go through <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d5c09c90-0201-0010-17a8-c473134632df">link</a> link. This may be very useful as it gives step by step process for navigation from one view to another on firing of an event.
    Let me know if you have any concerns.
    Regards,
    Ankit

  • Error on page when navigating with in webdynpro applications

    Hi All,
    I have developed 5 different webdynpro applications. I need to navigate between these webdynpro applications. I am handling the navigation with in the webdynpro applications.
    The problem is after some time ( after navigating to the second or third level) when I try to click on the tabs(top level navigation), the JAVA SCRIPT ERROR is coming.
    And any other tabs are not coming.
    ERROR is: 'Error on page'
    ERROR Description is:'Problems with the web page might prevent it from being displayed properly or functioned properly'
    Any suggestions are appreciated.
    Thanks & Regards,
    Seshu

    Hi !,
    Please can you tell me what to do if you DO NOT want to destroy the source application when navigating away from it?
    For example...  Webdynpro App #1 calls Webdynpro App #2,
    Webdynpro App #1 will always stay visible and available to the user in there toolbar in the portal.  However after I click "Go" to trigger the navigation to Webdynpro App #2, then the next time I hit "Go", Webdynpro Application was destroyed out of memory I believe.

  • Navigation between two webdynpro applications

    Hi Colleagues,
    Please let me know some workaround for the below requirement
    here i have two webdynpro application, where i have to call the second application from a button of first application by passing a parameter
    please let me know hoe to proceed here
    i have some information attached below....Is it the right way to do it? or am i missing somethinng here
    String deployableObjectName =  wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
      Map urlParameters = new HashMap();
      try {
          urlParameters.put("A",CVNR);
    WDDeployableObjectPart deployableObjectPart =WDDeployableObject.getDeployableObjectPart(
    "a1s~cc~checkprerequisites","Preq",WDDeployableObjectPartType.APPLICATION);
    String urlToTargetApp =WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlToTargetApp);
    window.show();
    catch (WDURLException e) {
                wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
                } catch (WDDeploymentException ex) {
                     wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(), false);
    Thanks & Regards
    Swetha

    Hi Swetha,
    Please try this code in the application which is now launched from the 1st application. You can write this code in the wdDoinit() method OR the firstTime loop of the wdDoModify function:
    String applicationParam = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("A");
    Here "A" is the name of the attribute in which you are setting the parameter value CVNR.
    You will get the URL parameter you have passed to this application from the first application. I hope this solves your problem, if yu have any issues please contact back.
    Thanks and Regards,
    Pravesh

  • Lost the webdynpro application source code

    Hi Experts,
    We have some webdynpro applications. Presently running in Portal server.  One of the application is giving the error. we need to fix that issue. Since we don't have any NWDI system, One of  the application source code got corrupted, Kindly let me know is there any we can retrieve the  source from the deployed application or .ear file from Portal.
    Regards
    Vijay

    Hi Guru,
    I think it is not possible to get the whole project structure.
    But you can get the java files of your local DC project by logging into your portal using the url http://host_name:5000/nwa.
    Navigate to Analysis ->Configuration ->J2EE Configuration Browser . Click on Local System Node ->apps->sap.com. Under sap.com(or the domain you have defined namespace) you can find a u2018src.zipu2019 file. In this u2018srcu2019 folder you can find the java files.
    If the error has occurred in your project while modifying particular webdynpro file, then you can get the previous version of the file(file before the error occurred) by navigating to C:\Documents\SAP\workspace\.metadata\.plugins\org.eclipse.core.resources\.history location in you local system. In history folder you can find all the versions of the webdynpro file which you were modifying till now.
    Thanks,
    Shilpa

  • Issues while running a WebDynpro Application through portal.

    Hi,
    I am trying to execute a webdynpro application through portal and facing some issues. I hope to get a significant help from the experts:
    > Initially, a report is called from the portal which in turns calls the WebDynpro Application.
    > After this, I am again trigerring "FIRE" event in order to go back to report.
    At this step, portal shows a message "The Page Can Not be Displayed". Browser link field contains the event name which I am passing to the Fire Event.
    Can anybody let me know the root cause for this issue? Below is the piece of code that I am using for navigating from Webdynpro to Report.
            l_sapgui_manager->fire(
              EXPORTING
                name = 'INDI'
            parameters = lt_parameters ).
    lt_parameters contains some field values which are required in the report.
    Thanks,
    Ashish

    No Solution

  • Closing a webdynpro application, should call a portal page

    Hi All,
    I have a requirement in which, after a webdynpro application is closed in portal, the portal should show the workset content from which the webdynpro application is triggered.
    For example,
    Wedynpro application Created is  ZWDA1.
    Two iviews are created in portal which refers to the webdynpro application ZWDA1, the portal Iview names are ZPORTAL_IVIEW1, ZPORTAL_IVIEW2.
    Two worksets ZWORKSET1 & ZWORKSET2 are created in portal which refers to Iview ZPORTAL_IVEW1 and ZPORTAL_IVEW2 respectively.
    Two roles ZROLE1 & ZROLES2 are created in portal which refers to workset ZWORKSET1 & ZWORKSET2 resepectively. These two roles are assigned to users ZUSER1 and ZUSER2, when these user logs into portal they will see the content of the  workset ZWORKSET1 & ZWORKSET2 respectively.
    Assuming ZUSER1 and ZUSER2 invokes the portal ivew ZPORTAL_IVEW1 & ZPORTAL_IVEW2, the underlying webdynpro application called is same. So in the webdynpro application only I need to write the code to close the application and call the workset ZWORKSET1 for ZUSER1 and workset ZWORKSET2 FOR ZUSER2. This differentiation I am not able to indentify in webdynpro application, I thought of using relative navigation.
    Any suggestion to achieve this functionality is greatly appreciatable
    Regards,
    H.K.Hayath Basha.

    Just closing the message

  • Refresh problem of Webdynpro application which is wrapped in a BSP IFrame

    I have a BSP Iframe inside which I am calling a webdynpro application ('zwdc_re_replenishment'). The requirement is that this WD application should be reloaded whenever a timeout occurs. Currently, when there is a timeout, an error is shown.
    In order to achieve this, for this WD Application , I have a SICF node to which I have attached a customized Errorpage via the option 'Redirect URL'.
    Whenever the WD application undergoes a timeout error, my custom error page is called which is named as errorpage.htm. On this page in the 'OnInitialization event', I try to call the WD application URL again (via the following code) which should reload the application. But instead I get a blank page.
    CALL METHOD cl_wd_utilities=>construct_wd_url
      EXPORTING
        application_name = 'zwdc_re_replenishment'
      IMPORTING
        out_absolute_url = lv_def_url.
    response->redirect( url         = lv_def_url
                        permanently = 1 ).
    Just as a note I have already tried out the following methods as well but nothing works
    *navigation->exit( lv_def_url ).
    *navigation->call_application( lv_def_url ).
    Is this because my WD application is inside a BSP Iframe and therefore reloading it manually does not work ?
    Please help!
    Thanks.
    Sukanya

    Hi Thomas,
    First of all, thanks a lot for replying !!
    Sorry for the confusion. Although seems like you have answered my question already.
    Actually the requirement for embedding WDA inside a BSP Iframe came up since there are some WD report applications  that are accessed by very controlled environments in which the users were not able to close the WDA session directly (without the IFrame)  and were getting some errors. Hence the WDAs had to be wrapped inside BSP IFrame which solved the above problem.
    I am working with only one BSP app which has the Iframe and one WD app which is called within the BSP app.
    Now, the other requirement that came up was that whenever the WDA session inside the BSP IFrame expires, there should be no error page and instead the WD app should be reloaded.
    So  I was trying to reload the WD App in the following way.
    1. For the SICF node of WDA, I attached an errorpage.htm for all the tabs under the tab 'Error Pages'. I have defined this errorpage.htm inside the same BSP App which has got another default.htm page. So the BSP App has 2 views : default.htm which has the IFrame and Errorpage.htm.
    2. So now when the WDA expires, the events of errorpage.htm are called like OnInitialization, In this event I was calling the methods navigation->exit( 'URL of the same WDA' ).
    I did this because I wanted to reload the WDA whenever it expires. I tried to specify the WDA Url in the SICF node of the same WDA in 'Redirect URL' under the Error Page tabs but it didnot work.
    Now I realize this is not gonna work. I didnot want to modify the WDA and so I didnot specify any exit plugs in the WDA which would have taken care of reloading the WDA. But that seems to be the only way out.
    Actually speaking there are multiple WDAs which will open inside the same BSP IFrame via their own Application URLs. I have coded the BSP IFrame to read the URL Parameters and open up the corresponding WDA.  So now I have to define an exit plug in all of these WDAs.
    Do you suggest that this will solve the problem of WDA refresh ? Just to confirm.
    Thanks again.

  • Multiple webdynpro applications for single webdynnpro component

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance .
    Rgds,
    Praveen

    Hi Saravanan,
    I need to modify it from the portal end, not at the application level.
    I need some configuration steps which specifies how to modify the Detail Navigation in PPM. Using SPRO we can do some configuration, i wanted to know whether its possible from portal end as well.
    Regards
    Shivas Bhan

  • Calling a pdk application from webdynpro application

    Hi experts,
    I have a reqiremet  in the webdynpro application by clicking some link or button it has to call pdk application in external window ,and i want to pass the value from pdk application to webdynpro application .
    thanks &regards,
    ramani.

    I tried testing it with the Webservice navigator, and getting the same error,
    XML Deserialization Error. XML is not valid. Element [http://session.services.enterprise.mclarensoftware.com] is required in  but can not be found.
    however
    request:
    POST /mclaren/services/session HTTP/1.1
    Host: localhost:50100
    Content-Type: text/xml; charset=UTF-8
    Connection: close
    Cookie: <value is hidden>
    Cookie: <value is hidden>
    Content-Length: 696
    SOAPAction: ""
    <?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><pns:createSession xmlns:pns='http://session.services.enterprise.mclarensoftware.com'><pns:strTechnologyID>filenet</pns:strTechnologyID><pns:strConnection>http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll</pns:strConnection><pns:strConnectionFriendlyName> </pns:strConnectionFriendlyName><pns:strUserName>davidp</pns:strUserName><pns:strPassword>nimbus</pns:strPassword><pns:strDomain> </pns:strDomain></pns:createSession></SOAP-ENV:Body></SOAP-ENV:Envelope>
    response:
    HTTP/1.1 200 OK
    Connection: close
    Server: SAP J2EE Engine/7.00
    Content-Type: text/xml; charset=utf-8
    Date: Thu, 29 Jun 2006 14:15:50 GMT
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><createSessionResponse xmlns="http://session.services.enterprise.mclarensoftware.com"><createSessionReturn><code>0</code><detail xsi:nil="true"/><message xsi:nil="true"/><sessionID>filenet;http://mclglaweb006:8008/ApplicationEngine/xcmisasoap.dll;davidp; </sessionID><successful>true</successful>

  • Display pdf into an abap webdynpro view: disable navigation

    Hello
    is it possible to disable the navigation panes and/or the toolbar and/or statusbar of acrobat reader inside your abap webdynpro application?
    When you specify for example #navbar=0 as parameter then you disable the navigation pane.
    Eg: https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cfb80249-0801-0010-3eaa-829afeac170f#navpanes=0 and https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/cfb80249-0801-0010-3eaa-829afeac170f
    Is it possible in an abap webdynpro with a interactive form element?
    Thanks
    Luc

    Hi Luc M,
    We can Disable the ToolBar of Interactive Form, this can be done by writing the Code in WDDOMODIFY Method of the respective View.
    Do add the Following the Lines of Code in the WDDOMODIFY Method
    DATA: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
               LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INTERACTIVE_FORM_UI_ELEMENT_NAME' ).
    LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    LR_METHOD_HANDLER->set_hide_toolbars( abap_true ).
    ***With the above code you can only disable the ToolBar.
    Regards
    Pradeep Goli
    Edited by: Pradeep Goli on Mar 17, 2009 2:45 PM

  • Webdynpro and webservice navigator security

    hi everyone,
    i dont know if this is the right forum but heres my question:
    how can i secure the webdynpro applications and the webservice navigator? by now, everyone in our lan can access the webdynpros or the webservices by using the navigator and could use the them, which is a little bit dangerous.
    so, how can i restrict the access to that gui? like portal sessions or something like that?
    regards,
    constantin wildförster
    Edited by: Constantin Wildförster on Jan 23, 2008 3:24 PM

    Hi,
    If some users have access to the web services Navigator, they comply with one of the following requirements:
    - belong to the Administrator group
    - assigned to an Administrator role
    - have the UME WSNavigator administrator action
    To prevent these users from accessing the web services Navigator, you should modify their access rights appropriately. You can check [Identity Management|http://help.sap.com/saphelp_nwce10/helpdata/en/b8/58414254259d35e10000000a1550b0/frameset.htm] for details.
    Hope this helps,
    Rossen

  • How to close current window  of webdynpro application using webdynpro java

    Hi All,
    u201CTo close the current  window  of webdynpro application"
    if i using exit plug its giving the following error in portal runtime.
    u201Ccom.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application! u201C .
    could you send me the  process how to use  portal navigation for the above scenariou2026u2026instead of exitplug.
    Thanks& Regards,
    Srinivas.

    Hi,
    Follow the steps below:
    1. Create a new Window and embed a View which needs to be opened from the main view.
    2. Create a context attribute of type IWDWindow (Java Native Type Option)
    3. Write the following code in the controller for opening the new window:
    IWDWindowInfo windowInfo = (IWDWindowInfo)  
                                                     wdComponentAPI.getComponentInfo().findInWindows("<windowname>");
    IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
    wdContext.currentContextElement().set<contextattributename>(window);
    window.show();
    4. In the new window, create a contextattribute and bind it to the attribute created in controller and on action of the close button write the following code:
    IWDWindow window = wdContext.currentContextElement().get<attributename>();
    window.destroyInstance();
    Hope this helps you.
    Regards,
    Poojith MV

  • To get login details of portal into webdynpro application

    Hi All,
             How to get the portal login details(user name) into my webdynpro application.
    Thank you,
    Harsha P.

    Hi,
    If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
    Regards,
    Karri

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

Maybe you are looking for

  • Call log tab jabber client numbers listed as other

    Question about the call log for j4w All our users have 3 numbers in their Active Directory user object work number home number mobile number when user A calls from any of these 3 numbers user B can see the users name displayed with either work, mobil

  • Need information on File Adapter

    Hi all, I am passing more than 25 lines of payload to be written in the file using File Adapter. But i see only the first line written on the file. Is there any configuration to be setup in the file adapter configuration so that all the contents are

  • Transportation Cost Calculation

    Hello folks, I have a question here with respect to calculation of shipment costs for the different deliveries from different orders into one shipment cost document. The scenario is: my client has different projects going on simultaneously from which

  • Ive accidentally closed all of my toolbars how do I get them back

    PLEASE HELP! I've closed ALL of my toolbars (by right-clicking and closing each one), now I have NO menu or toolbar and I have no way to navigate! I have right clicked in the area where a toolbar would be to try to re-open them and I don't get that o

  • BPA 11g - installation disks

    Hi, does anybody knows difference between BPA installation files on Disk 1 and Disk 2 (cat number V22121-01, from Fusion Media Pack, version 11.1.1.3)? Is the Disk 2 used as an upgrade for original ARIS software or maybe previous versions of BPA? Thx