Navigation between Web Dynpro Windows

Hi experts
My requirement is to create two windows in the same Web DynPro component, then call up one of the Windows in an external page, so that the users can see both at the same time. I have looked at LinkToURL, but it does not appear to support this.
Any help would be greatly appreciated!
Regards
Johan Kriek

Hi Johan,
use this code in action of any event, a button or link to action....
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component  TYPE REF TO if_wd_component.
DATA lo_window         TYPE REF TO if_wd_window.
lo_api_component  = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
                   URL =
'http://<server_name>/sap/bc/webdynpro/sap/ztesttab'
*                  title                  =
*                  close_in_any_case      = abap_true
lo_window->open( ).
you have to create an application and in that you have tyo give interface view as name of your view in popup window and give any plug even default will work...
regards
Pranav
Edited by: Pranav Nagpal on Jan 19, 2009 11:31 AM

Similar Messages

  • 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

  • How can I set the data binding between Web Dynpro & Database table

    Dear friend,
    I am a beginner of Web Dynpro. I want to develop my simple project like these:
    1. Create my own database table via Dictionary Project such as TAB_USER and have 3 fields: USER_ID, USER_NAME, USER_POSITION and I have already deployed & archived it.
    2. Create my own Web Dynpro Project, and create the input fields as User ID, User name, User position and icon 'Save' on the selection screen and I have deployed it already.
    For the process, I want to input data at the screen and save the data in the table, please give me the guide line like these:
    1. How can I set the data binding between Web Dynpro and Database table ?
    2.  Are there any nescessary steps that I will concern for this case?
    Sorry if my question is simple, I had try  to find solution myself, but it not found
    Thanks in advances,
    SeMs

    Hi,
    You can write your own connection class for establishing the connection with DB.
    Ex:
    public class  ConnectionClass {
    static Connection con = null;
    public static Connection getConnection() {
    try{
    Context ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/TSPAGE");
    con = ds.getConnection();
    return con;
    }catch(Exception e){
    return null;
    You can place the above class file in src folder and you can use this class in webdynpro.
    You can have another UserInfo class for reading and writing the data into the DB .
    Regards, Anilkumar
    PS : Refer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf
    Message was edited by: Anilkumar Vippagunta

  • Difference between web dynpro java and web dynpro abap

    Hi this is watson maureen,
                 I wnat to know what is  the difference between web dynpro java and web dynpro abap?
    thank
    maureen

    Hi watson,
    Go through these links, you will get the difference between web dynpro java and web dynpro abap
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e
    Web Dynpro: ABAP or Java?
    Regards
    Sreedhar.

  • Difference between Web Dynpro Abap and Web Dynpro Java

    Hi,
    What is the difference between Web Dynpro Abap and Web Dynpro Java.
    Thanks,
    Suresh

    hi suresh......
          from the end point of view, the customer wont know whether the application is done by java or abap. only the programming language differs and nothing much more.
    ---regards,
       alex b justin

  • Window Navigation In Web Dynpro ABAP

    In one of our requirements we would have to make use of the suspend plug in Web Dynpro Abap. Would anyone happen to have any other information on this topic. Is there a sample program available which demonstrates the same?
    The requirement is that, I have to call an external window (output screen) from my present screen (input screen). While this external window is active, the calling window (input screen) should be disabled. When the external window (output screen) is closed the input screen should be enabled again. I have read that suspend/resume plugs can be used for this. However, I have not been able to figure out how to use them.
    As a starting point, it would help if I can find out how navigation between two windows (not views) can be achieved.

    You can enable and disable a view at least programmatically by binding the enabled property of all elements to one context variable and setting this to false when you navigate and back to true when you come back.
    With these special plugs I haven't worked at time.
    Frank

  • Portal integration: Navigation from Web Dynpro to other iviews

    Hello,
    I am trying to implement a navigation from my web dynpro application (which is embedded in our corporate Netweaver portal) to another portal iview.
    Therefor I use the "absolute navigation" functionality:
    CALL METHOD lo_portal_manager->navigate_absolute
      EXPORTING
        navigation_target  = 'pcd:portal_content/BOSCH_CONTENT/INTERNAL/CONTENT/MY_WORK/MANAGEMENT_SUPPORT/ORDERINGS/PAGES/rb.inside.page.EWORKS_PROCUREMENT'
    By hitting a button in the web dynpro this functionality is executed but nothing happens.
    The iview defined as target is not called.
    The SAP documentation (http://help.sap.com/saphelp_nw70/helpdata/de/18/f96f4132f15c58e10000000a1550b0/frameset.htm) says, the "Absolute address, path for page or iView in the portal content directory. " should be defined as target.
    Address, for example ROLES://portal_content/...
    I also copied the address from the portal content directory, but it always starts with "pcd:portal_content" and not with "ROLES://portal_content/".
    Is this an issue of the portal or of the method call?
    Thank you a lot in advance...
    Regards
    Stefan Löhlein

    Hi,
    1.first check if popup blokcer is is disabled for the portal url you are testing with.(This is asuming you are navigating to the iview as an external window).
    2.Make sure you are testing this in the context of portal .ie you are runnning the web dynpro within portal and not outside portal as an application.
    3.The iview that you would be prefixing with ROLES:// should have the permissions set for the user you are testing with.
    Regards,
    Ashok

  • How to Pass Java Objects between Web Dynpro and Java SAP iViews

    Basically I have an SAP web dynpro iView that I do stuff with and I want to pass an object to another iView which is just a regular Java iView. From what I've read and tried, I can't just stick something in the session object and hope that the Java iView can pull it down the other end. I had a dream that it was possible (seriously).
    Anyway, are there any possible solutions around? Please advice and share you throughts. I will try to dream about it again tonight and see if its really gonna work this time.
    thanks for your help in advance

    There is no easy way you can pass objects other than those supported by express such as String, map, list etc.
    Though not advised, you can create a class with static variables to handle the storage of such java objects during transition between form and workflow. You will need to somehow identify the objects uniquely .

  • ABAP Web Dynpro Window Inactive After Closing Popup Window

    Hello ABAP'ers
    I have a custom ABAP Web dynpro applications that uses multiple tiers of popup windows.  This application was functioning properly in our ECC6.0, Basis release 7.00 Service level 15 environment.  However, we are currently installing EHP4 and moving or basis release to 7.01 service level 5. In this new environment, when multiple popup window tiers are closed simultaneously, the underlining window is not re-activated.
    Here's a more specific description:
    The application starts with a control panel window presenting a series of buttons.  Selecting one of these buttons activates a modal (I know... all web dynpro popups are modal) popup window for the purpose of maintaining some object.  If the user attempts to exit this window without saving the changes, another popup window appears asking if they want to save their changes.  If they say no, both the popup window asking the question and the popup maintenance window are closed, thus returning the user to the switchboard.
    The problem is that none of the functionality on the switchboard is active. the user must manually refresh the URL to "reactivate" the switchboard. 
    When only a single popup window is closed, the underlying window is properly reactivated.  The problem only occurs when multiple popups are closed together.
    Has anybody else seen this occur? Any ideas / notes around to correct it?
    Any info is greatly appreciated.
    R/
    Jim M

    Hello Jim, hello everyone,
    I am encountering the same issue.
    Is a solution known already?
    Thanks
    Johannes

  • Navigation in Web Dynpro for ABAP

    Hello Experts
    I have a problem with triggering navigation to external Web Dynpro application.
    Here is the current set up. I have multiple Web Dynpro reports using custom authorizations (utilizing Z-table, checking application name and user ID). In case if authorization check fails I am triggering plug which takes user to view with u201CNo authorizationu201D sign. Works perfect. Problem is that I have to embed this u201CNo authorizationu201D view on each report.
    Now, I tried to do following but I failed. I have created Web Dynpro application only with u201CNo authorizationu201D sign (single view). On each report I was calling static method that checked authorizations and in case if it was not successful I was executing absolute navigation using method NAVIGATE_ABSOLUTE of IF_WD_PORTAL_INTEGRATION instead of firing plugs. Unfortunately no navigation has been triggered (method has been executed). Please note I am not using any portal integration. Each report is just a separate Web Dynpro application. Perhaps that is the issue.
    Is there a way to re-direct user from one Web Dynpro application to another using ABAP code?
    Kind Regards
    Michael

    > Perhaps that is the issue
    Yes that would be the problem.  You can only use the Portal Navigation APIs (IF_WD_PORTAL_INTEGRATION ) when running in the Portal or in the NetWeaver Business Client.
    > there a way to re-direct user from one Web Dynpro application to another using ABAP code?
    Yes - exit plugs would be the correct approach.

  • Error when opening files in KM Navigation Iview / Web-Dynpro

    Hello,
    i've created a navigation iview to browse through my km server, and also created a web dynpro application which allows me to do the same thing.
    I can browse through folders without any probles, but when I try to open a file,  I get a java.lang.NoClassDefFoundError (in both KM-Iview and webdynpro application), which im currently unable to figure out what can be causing it.
    Does anyone have any ideas on what can be causing such a problem?
    many thanks,
    Eli.

    Hi,
    concerning the hint to use "sapjarfinder.com" - this is really the wrong way to go. If you need the class for build-time issues, you'll need a copy of the JAR locally (through a locally deployed server or just as a copy of the JARs from some server in your company). And having these at hand, one definitely should use ClassLocator, as this directly extends the .classpath file.
    Using "sapjarfinder.com" just means you don't know way to got... A short introduction for ClassLocator can be found here: https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4051
    Hope it helps
    Detlev

  • Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

    Dear Experts,
    I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
    Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
    String param = "test";
    WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
    This the code snippet that is in the jsp page
    function notifyTest(param)
         // Code to print param value here
    EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
    Note:
    1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
    2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
    Can anyone help to solve this problem?

    hi
    Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
    function notifyTest( eventObj ) {
         eventParameter=eventObj.dataObject;
         // code to print the parameter "eventParameter"
    Thanks
    Harsimran

  • Difference between Web Dynpro 7.1 and Web Dynpro 7.0?

    Hi Buddies,
    I have developed an application for my dissertation using Web Dynpro in Version 7.1. I have encoutered major problems using literature for Version 7.0.
    Now that I am actually writing my dissertation, I need some literature pointing on the differences between the two version to have evidence for my statements.
    Is there any information pointing on this out there?
    Thanks, Johannes

    Thank you, Bud.

  • Drag and Drop between Web Dynpro Tables on Cell Basis

    Hi Experts,
    I need to develop a Drag and Drop Functionality as follows:
    I have two tables. I want to drag a row of the first table and drop it in a particular cell of the second table.
    Is it possible to implement this using the Web Dynpro Drap and Drop Functionality?
    If not, does anybody have an idea of how to implement this using other concepts (Flash Integration, Building up a Grid of Images and defining those as drop tragets, etc..)??
    Valuable Advice is highly appreciated!
    THANKS, Johannes

    Thanks for the Video.. It gives some information about Drag and Drop, but still, it does not say what I need to know.
    Again:
    I need to know if there is a way to drag particular cells in a Web Dynpro Table to other locations in that same table. Plus: I need to know if there is a way to drag and drop rows of one table into particular cell of another table.
    Similar to what we do in our Outlook Calendars: We have a week in view and we see our appointments as blocks within that week view. Now, we can drag and drop these blocks to other locations. That is what I need to implement!
    Does anybody have an idea?
    THANKS, Johannes

  • Configuration of column width in CATS Web Dynpro window

    Hi Experts.
    We are using CATS in Employee Self-Service in the SAP NetWeaver Portal (ERP 6.0, Portal 7.0).
    We have added some additional fields to the CATS ESS profile. Those fields is then visible in the Web Dynpro Time recording application. They are too wide (41ex)...
    When I CTRL + Right Click on the time sheet in the Web Dynpro time recoding application, I get access to configure all the different attributes.
    But, no matter what combination I choose, I can't get the columns to change size...
    Does anyone know which attributes I can use to change the width of the columns in the Web Dynpro Time recording application?
    Kind regards
    Morten Prom

    Thank you for your answers. I'm sure it is possible to fix this in the Java code, but unfortunately we have not installed the NWDI... Therefore we have no access to the ESS Java code...
    Any other suggestions on how this can be solved without access to the Java code?
    Kind regards
    Morten Prom

Maybe you are looking for

  • Iisforward.dll location while configuring Hyperion 9.3.1

    Hi, I have successfully deployed EAS, AAS, Planning, Shared Services on Weblogic 9.2. I am trying to configure BIPLUS(Financial Reporting, Webanalysis) using IISHTTP Server. I need to enter the location of webserver plug-in (iisforward.dll) is instal

  • EDI: Partner profile Error

    Dear All,          I was trying to load a Hierarchy from R/3 to BI 7.0 . I get an error "EDI: Partner profile not available". When I go to R/3 TC we05 I get under Inbound Docs> RSRQST > status 64 for Idocs specifying this error. I donot find RSRQT pa

  • Imac and Panasonic wireless webcam

    I have a 20" imac (1 year old) and use a Buffalo Super G Wireless Router for internet. It works fine and we can access the network seamlessly with both PC and macbook laptops. I just got a Panasonic Wireless Webcam (to go with a weatherstation alread

  • Activity failed for BPM DC

    Hi, I am using CE 7.11 and I have created a BPM DC. I do not find any problem while building are deploying. But, when i activate this DC, its not getting activated, in the build log it is showing that DC is broken. any idea where i am going wrong? Th

  • Does not open default site.Needs retry in favorites. Back and forward arrows do not work

    Facebook is the defaulkt address but, when I open Firefox thw scrren is blank (bar are present, though). This happens after last review In addition, back and forward arrows do not work (this has always happened since Firefox 4 beta)