Error in displaying external window

hi friends,
i am developing an application for sending an email
with the guidence of saptechnical
i am creating a button TO with an action
in that button i am using the following code
data lo_componentcontroller type ref to ig_componentcontroller.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->showaddressbookpopup( ).
and in show addressbookpopup method in component controller i write the following code
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_this->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
wd_this->gr_window =
lo_window_manager->create_window(
        window_name            = 'Addressbookwindow'
       title                  = 'Model Dialoug Box'
          message_display_mode   = if_wd_window=>co_msg_display_mode_selected
          message_type           = if_wd_window=>co_msg_type_none
wd_this->gr_window->open( ).
but whene ever i click on the to button i got the error as
Addressbookwindow does not exist within component
can any on help me....!
thanks in advance,
karunakar

Hello Karunakar,
the window name has to be in uppercase... change Addressbookwindow to ADDRESSBOOKWINDOW. And also make sure you have a window by name ADDRESSBOOKWINDOW.
BR, Saravanan

Similar Messages

  • Javascript error openin an external window

    Hi.
    I'm opening an external window from my webdynpro app with the following code:
    IWDWindow help = wdThis.wdGetAPI().getComponent().getWindowManager().createExternalWindow("URL",null,false);
    help.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
    help.removeWindowFeature(WDWindowFeature.TOOL_BAR);
    help.removeWindowFeature(WDWindowFeature.MENU_BAR);
    help.open();
    And when this borwser opens the browser where the app is running(back) has a javascript error that says:
    Line: 56
    Char: 18
    Error: 'childNodes.length' is null or not an object
    Code: 0
    URL: <my app URL>
    What can i do to solve that problem?
    I hope somebody can help me.
    Thx.
    Best regards.
    Gregory.

    Gregory,
    As Armin says WD application should not produce JavaScript messages. So open CSN ticket.
    VS

  • Error: Cannot Display Page----showing error when displaying SRS window.

    Hi All,
    Iam getting error when trying to display concurrent Program result view page i.e 'FNDCPREQUESTVIEWPAGE'
    You cannot complete this task because one of the following events caused a loss of page data:
    Your login session has expired.
    A system failure has occurred.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    i wrote the code there in the link http://oracleanil.blogspot.com/2009/04/steps-for-insert-in-eo.html
    Please anybody tell me what the reason behind this error.??
    Edited by: 881533 on Nov 10, 2011 1:15 AM

    Hi,
    This page normally dont have back button ,
    if u use browser back button some times it throws error,
    Create a link on this page using personailization and call some function to navigate to the page which u want,
    u can navigate u another page using the link instaed of using broeser back buton.
    Thanks
    Raju

  • Webdynpro application can't display a URL iView in a new External window

    Fellow developer:
    In my WD4A application, I called the method 'navigate_absolute' to display a URL iView in a new External window.
    The code is as follows:
    data lo_portal_manager type ref to if_wd_portal_integration.
    call method lo_portal_manager->navigate_absolute
    exporting
      navigation_target = 'ROLES://u2026'
      navigation_mode = '1'.            ('0' - Displayed in the Same Window, " '1' - Displayed in a new External Window)
    The application can display the iView in the same Window (navigation_mode = '0'), but cannot in a new External window (navigation_mode = '1').
    In the iView properties, the following attributes are set to:
    1. Launch in New Window - Dipslay in Separate Window
    2. Open iView Links in New Window - Yes
    If you know the answer, please advise.
    Thanks
    Bac Quan

    hi,
    i have the same problem. Did you solve it?. Please let me know...
    regards,
    MC

  • Error while opening the external window

    Hi
    I am trying to open an external window on click of a button.
    This is the piece of code I have written
    url = "http://www.google.com";
    url = java.net.URLEncoder.encode( url ) ;
    String title="External Window";
    //IWDWindow win=wdComponentAPI.getWindowManager().createExternalWindow(url,title ,false);
    IWDWindow win=wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,title );
    win.show();
    //win.open();
    I have tried both show() and open() method. and also createExtrenalWindow and CreateNonModalExtrenalWidnow. But I am getting the follwing error.
    Application error occurred during request processing.
      Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'dc.gs.com/osrch' and application 'http:' are not deployed on the server. Please check the used URL for typos.
    Exception id: [0017087D8739002C0000025600001B9C00045A7873FC3E52]
    This is the URL it got in the external new window..
    http://<host>:50000/webdynpro/dispatcher/dc.gs.com/osrch/http%3A%2F%2Fwww.google.com
    I know the www.google.com is concatenating with portal URL , hence it is throwing the error.
    How to get rid of the portal path
    thanks
    PK

    hi,
    You can try the following code:
    IWDWindowInfo info = wdComponentAPI.getComponentInfo().findInWindows("PopUpWindow");
        IWDWindow window = wdComponentAPI.getWindowManager().createWindow(info , true);
        window.setWindowPosition(WDWindowPos.CENTER);
        wdContext.currentContextElement().setVa_win(window);
        window.open();
    This works fine.
    Thanx.

  • Windows 8.1 is throws error when displaying SAP Crystal Reports 10.5

    Hi there,
    On windows 8.1 – 64  bit SAP Crystal Reports fails to work (even empty report):
    “Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version 10.5.3700.0, culture=neutral, PublicKeyToken=blahblah' or one of its dependencies. The system cannot find the file specified.”
    Project that run SAP Crystal Report was compiled as 64 bit & 86 bit & ANY CPU, but all displayed the same error message. Is windows 8.1 64 bit missing any *.dlls? Or is there compatible CRRuntime engine with windows 8.1 64 bit?
    I had this problem before on windows 7 but by changing solution Platform and Target CPU – solved the problem, however windows 8.1 seems to have a bug!
    More Info about app:
    VisualStudio2010
    SAP BusinessObjects XI 4.0
    Support Pack (several been tried): crruntime_64bit_13_0_7.msi

    Post Author: JonathanP
    CA Forum: .NET
    Are you simply viewing the report, or exporting it?
    The error doesn't tell us much. A windows application should not need any special permissions. Try giving the user full rights to the temp directory, as the report engine does need to write seme files there.

  • HT201210 iTunes update 11.1.4 produces an error message R6034 "An applicaton has made an attempt to load the C runtime library incorrectly" When that error is acknowledged, a second windows error 1114 "error 7" displays "iTunes was not installed correctly

    iTunes update 11.1.4 produces an error message R6034 "An applicaton has made an attempt to load the C runtime library incorrectly" When that error is acknowledged, a second windows error 1114 "error 7" displays "iTunes was not installed correctly".  I also tried to downloadiTunes 11.1.4 at th Apple website and that did not work either-It stalled with an erro message that stated the "mobile service" would  not open HELP!

    Hi Doug! I was having the same problem but after reading a lot of answers I found the solution. First of all you need unistall ALL THE SOFTWARE OF APPLE from your computer, I mean BONJOUR, QUICKTIME, ITUNES, APPLE SOFTWARE UPDATE, APPLE MOBILE DEVICE SUPPORT and the other one that is from compatibility with apps of apple, after that you must verify if this folders are removed if they don't then remove it:
    C:\Program Files\Bonjour
    C:\Program Files\Common Files\Apple\
    C:\Program Files\iTunes\
    C:\Program Files\iPod\ 
    If you have a 64-bit version of Windows, you'll need to confirm that the following folders have been removed: 
    C:\Program Files (x86)\Bonjour
    C:\Program Files (x86)\Common Files\Apple\
    C:\Program Files (x86)\iTunes\
    C:\Program Files (x86)\iPod\
    Then if you have ccleaner you can use it to clean all registers left, then reboot and try to install iTunes 11.1.4 again as administrator... That works for me, I hope that helps you too...

  • Display a document pdf in an external window (WD ABAP)

    Hi all,
    I have an application <u><b>Web dynpro Abap</b></u> and it adds articles in a alv component that it is a purchase basket.
    This alv has a user function what opens a document pdf (interactiveForm)
    that shows the lines of the order. I would like that this pdf be displayed in an <b>external window</b>, and it was  independent of the window of alv of the purchase basket.
    This is possible. If it is possible, how can I do it?
    Regards,
    Ana

    hi
    good
    go through these links, which ll help you to give a clear idea about creating of the external window.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0f/134540631d6f13e10000000a1550b0/content.htm
    thanks
    mrutyun^

  • How to display a view on external window

    Hi folks,
    I have a scenario like to implement the function that Output views should display on external window.
    I couldn't get as per my requirement..
    Please help me on this.
    thanks i nadvance..
    Regads,
    Prashanthi

    Hi,
                U need to the following
               1.Create another window
               2.Create a view in it tat contains Interacive form element.
               3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
    The code may help:
      IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
          IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
          window.setWindowPosition(WDWindowPos.CENTER);
          window.setWindowSize(400, 250);
          window.open();
          wdContext.currentContextElement().setEmpSearchWind(window);
    Regards
    Ishita

  • How i can display default error message in alert window

    how i can display default error message in alert window
    i.e.,
    i have a text field with datatype Alpha
    if i am giving numbers.etc then it is displaying
    FRM-50001: Acceptable characters are a-z,A-z and space
    I want to display this message in alert window
    please tell how to do this

    In the on-error trigger :
    Capture error_code and error_text in a variable.
    Set the alert title to something meaningful.
    Set the alert message equal to the captured error information.
    Display the alert.
    declare
    v_alert varchar2(100) := 'ERROR' ; -- name of alert to use
    v_title varchar2(100) := 'Error !' ; -- text to display as title
    v_msg varchar2(200) := error_code || ':' || error_text; -- message to display
    v_btn number ; -- button pressed
    begin
    set_alert_property( v_alert, TITLE, v_title );
    set_alert_property( v_alert, ALERT_MESSAGE_TEXT, v_msg );
    v_btn := show_alert( v_alert );
    end;
    ----------

  • How to display interactive PDF  form in an external window?

    Hi Gurus,
    I have developped an application which involves interactive form . Now I want to display the pdf generated through the interactive form in an external window.
    Please guide me how to goahead.
    Thanks
    Nageswara.

    Hi Francois Gendebien ,
    Thanks for ur reply.
           But I have created Pdf in new window(by using window instance) but That window does not contain minimise and maximise and close button.
    Is there any suggessions to add these Options to created new window pdf form
    I am  strucking over here .
    Please help me out.
    Thanks
    Mandapati

  • Error Message Displayed while executing FNDLOAD Command in windows machine

    Hi,
    I am getting the following error message while executing the FNDLOAD Command in Windows Machine. Can any one give some clarifications to solve this issue.
    FNDLOAD Command Used:*
    +./FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD D:\oracle\oa10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PO
    Error message Displayed for above command:_
    APP-FND-01564: ORACLE error 6401 in AFPCOA
    Cause:  AFPCOA failed due to ORA-06401: NETCMN: invalid driver designator
    Let me know the solution this issue
    Regards
    Arif Mohammed

    Hi Hussein,
    Thanks for your response, Let me explain in detail that the error I am facing while running FNDLOAD Command.
    I have executed the below command in CYGWIN which results in error while calling FNDLOAD.
    *$ java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD apps -JDBC_CONNECTION 16.89.26.52:1521:OA10 -LOB_TYPE TEMPLATE -APPS_SHORT_NAME PO -LCT_FILE $XDO_TOP/patch/115/import/xdotmpl.lct -LANGUAGE en -TERRITORY US -LOG_FILE SHW.log;*
    I got the below error message while executed the above command (Highlighted in BOLD):
    $ cat SHW.log
    XDOLoader started: Tue Nov 15 20:27:18 PST 2011
    Parameters passed to XDOLoader...
    [TERRITORY] [US]
    [DB_USERNAME] [apps]
    [LCT_FILE] [C:\oracle\vis10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct]
    [DOWNLOAD] [DOWNLOAD]
    [JDBC_CONNECTION] [16.89.26.52:1521:OA10]
    [LANGUAGE] [en]
    [DB_PASSWORD] [apps]
    [LOB_TYPE] [TEMPLATE]
    [LOG_FILE] [SHW.log]
    [APPS_SHORT_NAME] [PO]
    Start downloading...
    Downloading files from XDO_LOBS: SELECT FILE_DATA, LOB_CODE, LOB_TYPE, APPLICATI
    ON_SHORT_NAME, FILE_NAME, LANGUAGE, TERRITORY, XDO_FILE_TYPE FROM XDO_LOBS WHERE
    APPLICATION_SHORT_NAME = :APPS_SHORT_NAME AND LOB_TYPE in (:TEMPLATE, :TEMPLAT
    E_SOURCE) AND LANGUAGE = :LANGUAGE AND TERRITORY = :TERRITORY
    Downloading files from XDO_LOBS: SELECT L.FILE_DATA FILE_DATA, B.TEMPLATE_CODE L
    OB_CODE, L.LOB_TYPE LOB_TYPE, L.FILE_NAME FILE_NAME, L.LANGUAGE LANGUAGE, L.TERR
    ITORY TERRITORY, L.XDO_FILE_TYPE XDO_FILE_TYPE, L.APPLICATION_SHORT_NAME APPLICA
    TION_SHORT_NAME FROM XDO_TEMPLATES_B B, XDO_LOBS L WHERE B.APPLICATION_SHORT_NAM
    E = :APPS_SHORT_NAME AND B.TEMPLATE_CODE = L.LOB_CODE
    Generating LDT file: xdotmpl.ldt
    Calling FNDLOAD: FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD C:\oracle\
    vis10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS
    APPLICATION_SHORT_NAME=PO
    APP-FND-01564: ORACLE error 6401 in AFPCOA
    Cause:  AFPCOA failed due to ORA-06401: NETCMN: invalid driver designator.
    The SQL statement being executed at the time of the error was: and was executed
    from the file .
    Generating DRVX file: xdotmpl.drvx
    XDOLoader done successfully: Tue Nov 15 20:27:30 PST 2011
    $
    So i decided to run the FNDLOAD Command alone in CYGWIN which is highlighted and still im facing the same issue but if i run the below command it works fine and getting download.
    *./FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD D:\oracle\oa10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PO*
    Hope you understand the problem which im facing. Let me know some solutions from your side to solve this issue.
    Regards,
    Arif Mohammed

  • Create new external window and displays the viewdata as pdf?

    Hi,
    I have developped an application that will display some textviews and one table that displays 5 records,
    for this I want display as new External window and dispay in PDF the data what we have in view.
    advise me how to approach for external window and diplay as PDF.
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

    Thanks for your reply,
    Here my problem is now I am getting the table values as output in the Jsp.
    In Jsp I want to create Button when I click that button I need to display an external window and display the table data what ever is available that will display new external pdf.
    I have developped the applcation by using of the three files table.java,tablebean.java,table.jsp and in portalapp.xml cretated the component.
    Now  how can I perform my action in that existed Jsp page and how to display extenal window i that how to generate the PDF.
    I am in learning stage in this.
    please elobarate with atleast some snippests.
    Thanks,
    Lohi.
    Message was edited by:
            Lohitha M

  • Error when clicking other button after displaying Popup window

    Hi,
    I'm developing a custom page which calls a popup window in r12, below is the error encountered.
    Error: Cannot Display Page
    You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    On my base page, I have other buttons like Save, Back, and the button to invoke the popup window. I can display the popup window without error, but when i clicked on the base page's other buttons after invoking the popup window, the error above is shown. I'm not clicking any browser's navigation buttons. Please let me know how to solve this error.
    Thanks!

    Hi,
    Just want to update...
    The error occurred because I have isBackNavigationFired checking, this becomes true when clicking the other buttons in the base page after displaying the popup. Is there a workaround where I can make this work without removing my back browser navigation checking?
    Thanks!

  • How to display a view which contain interactive form in an external window

    Anyone know how to display a view which contain interactive form in an external window?
    I managed to display the view in an internal window with the following code:
    IWDWindowInfo windowInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("PdfReportWin");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    For external window, I tried this method : wdComponentAPI.getWindowManager().createExternalWindow(String URL, String title, boolean modal) but there are no parameter for view name?
    Maybe this is not the correct way, really appreaciate if anyone can help.

    Hi,
                U need to the following
               1.Create another window
               2.Create a view in it tat contains Interacive form element.
               3. call this window dynamically thru the first window by creating a context element of IWDWindow  type
    The code may help:
      IWDWindowInfo windowInfo =(IWDWindowInfo) wdComponentAPI.getComponentInfo().findInWindows("SearchEmpwind");
          IWDWindow window = wdThis.wdGetAPI().getComponent().getWindowManager().createWindow(windowInfo, true);
          window.setWindowPosition(WDWindowPos.CENTER);
          window.setWindowSize(400, 250);
          window.open();
          wdContext.currentContextElement().setEmpSearchWind(window);
    Regards
    Ishita

Maybe you are looking for

  • LR 2.0 Synchronization hangs

    Is anybody else seeing this, hopefully with a solution or workaround? When I try to synchronize some folders with more than around 120 files, LR shows the progress up to 25% or so in its titlebar, and then - nothing. The percent complete vanishes fro

  • How can I make a disc cleanup on a Mac Book Pro ?

    how can I make a disc cleanup on a Mac Book Pro ?

  • IPod Touch 2nd Gen won't show up in iTunes but does appear in My Computer

    When I connect my 2nd Generation iPod touch to my laptop it will not appear in iTunes. It does, however, appear in my Computer. I have worked through all of the troubleshooting guides on the Apple Support section, and have uninstalled and reinstalled

  • Cover Flow data display.

    Hi. My question is about how COMPILATION album data is displayed when in the Cover Flow mode. Is there any way to get iTunes to show the artists name instead of showing the generic 'Various artists'? In other words, instead of ... Just One Of Those T

  • To get  the net value  by subtracting discount from total

    Hi all I have an issue in the report I am using oracle reports 6i i have a total_services field which is a summary column (CS_1) AND a discount_field which is a formula column (cf_1) the requirement is to get total_services - discount value i created