How to use an existing WD view in an External Window

Hello !!!
Is there a solution to the below problem.
Say "view1", "view2" are embeded in "window1". Now create a new window "window2" and embed the existing view "view1" into "window2". Now show the "window2" as a popup when a button in "view2" is pressed. I am using the following code
IWDWindowManager winMgr=wdComponentAPI.getWindowManager();
IWDWindowInfo Win2Inffo=wdComponentAPI.getComponentInfo().findInWindows("window2");
IWDWindow Win2=winMgr.createWindow(Win2Inffo,true);
Win2.open();
but than I get the following error
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Duplicate instance exception: There is already an instance of view view1 in component NotificationAdminComp.
     at com.sap.tc.webdynpro.progmodel.controller.Component.addViewController(Component.java:129)
Any help will be appreciated/rewarded a lot.
Thanks

Hello jasu,
For confirmation purposes you can use standart method from dynpro
createConfirmationWindow
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/javadocs/nw04/sp12/web dynpro runtime environment/com/sap/tc/webdynpro/services/session/api/iwdwindowmanager.html
Best regards, Maksim Rashchynski.

Similar Messages

  • [HTML DB] How to use the existing database table?

    [HTML DB] How to use the existing database table?
    I installed Oracle 10g database in Computer A(Windows 2000), and I already create all the tables with data and the data size is about 300MB.
    In Computer B(Windows 2000), I installed HTML DB 1.6.
    How can I use /get the existing database table (in computer A) for HTML DB?
    Could anyone help me on this? I am newbie and I need some detail instructions. or Where can I find the examples.....
    Thanks

    Well I guess if you wish to retain that architecture, i.e. HTMLDB on one machine and your data on another, you will have to establish database links to access the data. Oracle documentation will describe how to achieve that.

  • How to use a fixed port for remote assistance in windows 8.1 behind a nat router freebox?

    Hello,
    Before to use remote assistance in windows 8.1, i need to configure my nat router freebox.
    But remote assistance ( msra.exe ) use a dynamique port and never the same.
    How to use a fixed port for remote assistance ini windows 8.1 ?
    And why i can't use easy connect ?
    i read that the router must implement the PNRP protocol. I think it's a propriatary microsoft's protocol unknow on my router.
    Thanks

    Hello,
    Very good. It's a big range ( 255 mini from 49152 )  for a single port but if it's the only one possibility...
    You are very helpfull ( i don't know if it's a good english but you make me very happy )
    Merci beaucoup

  • How to use split screen on a mac like on windows 7

    how to use split screen on a mac like on windows 7

    It does not function the same as windows, in that it does not have an automatic snap function.  You can put multiple apps up side by side though.  You might want to consider using Spaces instead.

  • How to use an existing data model using Business Components in OEPE

    I am a beginner in ADF. I am working on a project with an existing data model that uses Business Components (EO, VO and AM). I know that OEPE does not handle the creation of BC, so if I want to modify them, I will have to do that in JDev. That's fine.
    OEPE can create pages with drag and drop like in JDev. In my eclipse ADF projects, I would like to use the existing BC, to be able to use the bindings with ADF Faces. So far I have nothing in the Data Controls tab.
    How to import the BC into the Data Controls tab?
    JDev 11.1.1.6
    WLS 10.3.6
    Eclipse Kepler

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • How to use an existing remote database instance?

    Hi,
    is it possible to use an existing remote database instance for installation of Solution Manager?
    Our dba has setup an empty database instance on a hpux oracle cluster for me and I don´t know how to tell the SAPinst during the installation of the distributed system that it should use this existing database.
    Or is it mandatory to run the installation on the host where the database should resides and then create a new instance?
    Thanks in advance for any hints!
    Christian

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • IaaS SQL/VM - how to use an existing SQL VM

    Hello
    I have a Cloud Service with a Window Web VM and SQL VM. They both are on the same Vnet. Now I want to add a DB using the existing SQL VM. But this VM does not show up of the Server drop down menu in "Specify Database setting"
    wizard. What am I missing here?
    If I let the DB Wizard add a new server (leveraging PaaS offer for SQL DB), how can I make sure that this new server shows up on my Vnet (the same one where I have Web VM on)? I assume that these VMs needs to be on the same Vnet to be able to communicate
    with each other. 
    Thanks in advance for your help

    Hello,
    It seems that you had mix up Windows Azure SQL database with SQL Server on Azure VM. When you create a SQL Server virtual machine in Azure, it similar to on-premises SQL Server installed on VM. You can create and manage databases with SSMS.
    If you create a SQL database on Management Portal, the SQL database server host a VM of the datacenter, you cannot using the existing SQL Server VM which your created yourself.
    When connect to the SQL database from your azure VM which hosted on Cloud Service, there is no need to create a virtual network, just configure the firewall rule of the SQL database server to allow connection from Windows
    Azure Serivces.
    Reference: How to: Configure the Server-Level Firewall Settings (Azure SQL Database)
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to use layout of one view(some part) in another view

    Hi All,
                 I need how to use a layout of one view(some part) in another view.if anybody knows, help me.
    Ex : I took two views.but some part of layout in first view is also needed in second view.Is it possible.
    Thank You,
    Anupama.

    Hi,
    Whichever common ui elements you want to put in both views. Keep them in one view.
    Now create two views which You want to display.( i.e you have to create three views in that two only will be used for display purpose ) In that both views add viewcontainer ui element and embedd that view which has common UIs. And Then add rest uncommon UIs in both views.
    I hope it helps.
    Regards,
    Rohit

  • How to use Parameter in inline view

    I want to deploye following sql in discoveror. Problem is that how to use the P_TO_DATE in disco.
    select papf.employee_number, papf.effective_start_date, papf.effective_end_date, paaf.effective_start_date, paaf.effective_end_date,
    (select peev.screen_entry_value
    from pay_element_types_f pet,
    pay_element_classifications pec,
    pay_input_values_f piv,
    pay_element_entries_f pee,
    pay_element_entry_values_f peev
    where pet.classification_id = pec.classification_id
    and pet.processing_type = 'R'
    and pec.classification_name = 'Earnings'
    and piv.name in ('Monthly Amount')
    and pet.ELEMENT_TYPE_ID = piv.ELEMENT_TYPE_ID
    and pet.element_type_id = pee.element_type_id
    and piv.INPUT_VALUE_ID = peev.INPUT_VALUE_ID
    and pet.ELEMENT_NAME = 'Basic Salary'
    and pee.ELEMENT_ENTRY_ID = peev.ELEMENT_ENTRY_ID
    and pee.assignment_id = paaf.assignment_id
    and pee.effective_start_date <= :P_TO_DATE and pee.effective_end_date >= :P_TO_DATE
    and peev.effective_start_date <= :P_TO_DATE and peev.effective_end_date >= :P_TO_DATE ) Basic_Salary
    from per_assignments_f paaf, per_people_f papf
    where papf.person_id = paaf.person_id
    and papf.employee_number = '101111'

    Hi,
    What you can do is to change the query so that the parameters will be in the where clause and then you can define the condition with the parameter in the dicoverer worksheet.
    Use the following code instead of your own:
    select papf.employee_number,
    papf.effective_start_date,
    papf.effective_end_date,
    paaf.effective_start_date,
    paaf.effective_end_date,
    Basic_Salary.p_start_date1, ---> create the conditions on those fields
    Basic_Salary.p_start_date2,
    Basic_Salary.p_end_date1,
    Basic_Salary.p_end_date2
    from per_assignments_f paaf,
    per_people_f papf,
    (select peev.screen_entry_value,
    pee.assignment_id,
    pee.effective_start_date p_start_date1, --parameter
    pee.effective_end_date p_end_date1, --parameter
    peev.effective_start_date p_start_date2,--parameter
    peev.effective_end_date p_end_date2
    from pay_element_types_f pet,
    pay_element_classifications pec,
    pay_input_values_f piv,
    pay_element_entries_f pee,
    pay_element_entry_values_f peev
    where pet.classification_id = pec.classification_id
    and pet.processing_type = 'R'
    and pec.classification_name = 'Earnings'
    and piv.name in ('Monthly Amount')
    and pet.ELEMENT_TYPE_ID = piv.ELEMENT_TYPE_ID
    and pet.element_type_id = pee.element_type_id
    and piv.INPUT_VALUE_ID = peev.INPUT_VALUE_ID
    and pet.ELEMENT_NAME = 'Basic Salary'
    and pee.ELEMENT_ENTRY_ID = peev.ELEMENT_ENTRY_ID
    ) Basic_Salary
    where papf.person_id = paaf.person_id
    and Basic_Salary.assignment_id = paaf.assignment_id
    --and Basic_Salary.p_start_date1 <= :P_TO_DATE
    --and Basic_Salary.p_start_date2 <= :P_TO_DATE
    --and Basic_Salary.p_end_date1 >= :P_TO_DATE
    --and Basic_Salary.p_end_date2 >= :P_TO_DATE
    --and papf.employee_number = '101111'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to group more than one view in a single window?

    Hi,
    I want to group three or more views in a single window.
    I need a element, which is similar to VIEW SET in webdynpro for JAVA.
    how to do it?

    Hi,
    In wd-abap the concept of viewset is not used instead the viewContainerUIelement is used to achieve the same.
    create a main view say v_main in that add ui control viewContainerUiElement
    create a another view say v1.
    go the the window .. embed this view v_main to the window , u can see then below the view the control viewContainerUielement , in that u can add the view v1 inside this container .  so if u create more containers inside the v_main ,then  u can display more view inside this and the plugs can be created and fired as same as in java.
    Hope this will help u .
    Regards
    Yashpal

  • How to open a 2nd WD View in a new window?

    Hi,
    my WD Component has a button which opens a new view. I would like to open this view in a new window.
    I tried to link two views of two windows with plugs, but it seems like I'm only able to navigate between views of the same window....
    Up to now my solution was to open the view in a pop up window. Now its neccessary to open the view in a new browser window.
    For the background; with click on the button a pdf is generated (Interactive Forms). It is ok to display the generated pdf in adobe acrobat reader directly as well.
    Any suggestions how to handle this?
    Thanks in advance,
    Tan

    >
    Tan Yildiz wrote:
    > Hi,
    >
    > my WD Component has a button which opens a new view. I would like to open this view in a new window.
    > I tried to link two views of two windows with plugs, but it seems like I'm only able to navigate between views of the same window....
    >
    > Up to now my solution was to open the view in a pop up window. Now its neccessary to open the view in a new browser window.
    >
    > For the background; with click on the button a pdf is generated (Interactive Forms). It is ok to display the generated pdf in adobe acrobat reader directly as well.
    >
    > Any suggestions how to handle this?
    >
    > Thanks in advance,
    > Tan
    if your purpose is to display a interactive form as external window then you have to understand that number of button clicks would result into number of external windows and number of sessions to backend as well. You can't see which external window is related to which data in your application, you cannot close it from your parent window. User has to do that explicitly.
    I would consider the following.
    Embed the display view into a separate window.
    use create_window method to show the window .

  • How do I move existing Logic projects to an external hard drive?

    My internal hdd is getting close to capacity on my iMac so i've purchased an external 500GB USB hdd.
    I have about 10 existing projects that i'd like to move to my new drive.
    These projects consist of WAV files imported from a portable digital recorder, fresh recorded tracks using my audio interface, and midi tracks. Most of my tracks are at the 'final mix' stage and are sounding pretty sweet
    Would it benefit me to move my Logic projects to my external drive, or should I scrap the idea and move my huge itunes library instead? If it is worth moving my Logic projects - what is the best way to do it? I really don't want to have to remix, re-record anything. I also don't want to get lost in Finder.
    I'm quite new to Logic but I intend to 'use best practice' if possible. I get the impression that using an external hard drive with Logic may offer performance gains. My audio interface is firewire (M-Audio FW 410). The USB external hdd was brought to avoid firewire conflicts.
    Any tips would be most welcome.
    Thanks in advance. Rich

    In theory, you should be able to copy all of your projects to the external and open and use them exactly as before with no problems and no need to re-mix anything...
    BUT, and its a big BUT...
    Are you sure all of your projects were started AS projects with all the audio files, instrument samples etc. stored in the relevant folders in the project's folder?
    Before doing anything, go through all of your "projects", make sure they ARE projects (there should be a project folder, the song file stored in the project folder, with audio, undo etc. folders within the main project folder for each one) - if they are not, do a "save as project" - it should give you a number of options to copy any external audio files etc. to the project folder. If for any reason it doesn't I would then choose "project - consolidate" from the main file menu, which will give you the same options. Even if you are SURE that all your projects ARE projects, I would choose "consolidate project" just to be sure...
    You should then be able to proceed... but don't delete the originals until you are sure everything is working fine. I would even suggest backing up the originals in another location (it could even be a back-up folder on the same external), so you can just move them straight back to the original location if there are any problems.
    When I first started using Logic many years ago there was no option to save projects, and I learnt the hard way to create the folder structure that logic now does for you. But even so, unless you started out knowing how to use this function, its possible some of your audio files are still stored in the wrong location. "Consolidate project" should solve this.
    As for the USB HD - I would avoid using a USB drive for audio. It is said that USB 2 is faster than firewire 400, but I don't know any musician or film maker that would use one.
    You can daisy chain firewire devices with no problems in my experience. If you do experience problems I might suggest you search up on any posts to do with M-Audio interfaces and Macs...
    Good Luck!

  • How to use one DC's view/component/appln in another DC

    Hi All,
      I am new to DC concept. I am trying to use one DC's component in another DC. I have done following steps.
    a)Created two DCs A and B
    b) DC A's 'New Public Part-->Entity Type(Web Dynnpro Component) I selected component
    c) Add Used DC in B, I added A's component
    <b> From this point onwards I am not getting any clues</b>. How do I call A's component in DC B. <i>Please guide. Any examples will be great.</i>
    Thanks and Regards,
    Ganga.

    Hi Gangadharaya,
    Just tell me do u want to display a view, use some context or use some methods defined in other controller.
    So that i can help you in the same direction.
    <b>Component Usage</b>
    Suppose you have following scenario:
    1) DC2 has component Comp2. In this dc you read the context a value and stores it in context named "Ctx_value".
    2) DC1 has component Comp1. Here you want to read the Ctx_value from comp2.
    In Comp2 create a method getValue()
      public java.lang.String getProcessId( )
          return wdContext.getCurrentElement().getAttributeValue("Ctx_value");
    In the interface controller of Comp2 click on properties tab and add reference to the cont2 controller. Now create a method here in interface controller to get the value of Ctx_value
      public java.lang.String getValue( )
        return wdThis.wdGetComp2Controller().getValue();
    Expose the Comp2 as public part now.
    In DC1 add DC1 as used DC.
    Build both dc's
    In Comp1 create Component usage by name Comp2Usage to Comp2.
    Now you can access the method getValue() from interface controller of Comp2.
    wdThis.wdGetComp2UsageInterface().getValue();
    This is how you can access a value of Context. Same can be done by direct binding.
    <b>View Access</b>
    If you want to access a view v2 in comp2 then goto windows in comp1 and embedd an existing view and in that select the interface view of comp2. The default view in comp2 can now be displayed in comp1.
    Regards,
    Murtuza
    Message was edited by:
            Murtuza Kharodawala

  • How to use a existing Business Service in IDoc-File Scenario

    Hi Experts,
    I am new to XI.
    I am working on a IDoc to File scenario where in i am importing the CREMAS.CREMAS03 IDoc from the R/3 System.
    When i try to create a Business Service in Configuration Scenario Object in Integartion Directory, i get a message saying "SAP system ID ER1 and client 800 already exist in service | CLNT800ER1".
    Can i reuse this Business Servie in my Configuration Object?
    If yes, can you please guide me How to go about it?
    Thanks for the effort.
    Cheers
    Gaurav Raghav

    U may directly use it.
    Just select the business service wherever required. It is not necessary that the Business Service is present in ur configuration scenario. But if u still want it, u may add it using "Add to Scenario" option from other configuration scenario or from Objects tab
    Regards,
    Prateek

  • How to use Device Profiles and Viewing Conditions Profile in Photoshop Elements 11?

    In trying to get to grips with the Colour management aspects of PSE11, I have encountered the following problems:
    Having selected "Display" a sequence of clicks (Change display settings -> Advanced settings -> Colour Management -> Colour Management tab -> Colour Management)
    gives a screen which includes the headings:
    Device Profile  and Viewing Conditions Profile.
    1. Device Profile. Besides sRGB and ARGB, the profile list includes the profiles for all of the Epson papers. (I have an Epson Stylus Photo PX810FW).
    I changed the Profile to an Epson Grayscale, this was accepted within the menu, but there are no changes from normal when I viewed the image on the Windows screen or within
    PSE11. ("normal" is sRGB or ARGB).
    I thought it worth a try to test that, if I wanted the display image to closely represent what I would get on a particular Epson paper, this may be a way to do it.(I suspected this approach because I have never
    seen it in the literature!).
    So what is the purpose of all of the paper Profiles appearing in the Display listing?
    2. The Viewing Conditions Profile has also several options. I have tried to find the criteria for choosing one rather than the other, but failed to find any information. Can anyone help? I seek general guidance
    rather than the details of the Profiles.
    As a seperate question:
    Selecting Image on the PSE11 menu across the top of the displayed image, and then Convert Colour Profile, I tried this process on an image, converting tiff to sRGB. When saved there was an extra asterisk in the saved title but in this case,
    the file was still labelled tiff and there was no change in the number of Mbs. If a conversion has taken place, how is one to know?  Does saving a tiff file as jpeg change its colour profile? When is it useful to use this feature?
    Many thanks to all responders! 

    Addressing your second question, you are confusing two different things.
    tiff is an image file format, as is jpeg, as is psd, as is png, as are dozens (if not hundreds, http://en.wikipedia.org/wiki/Image_file_formats) of other formats.
    A colour profile represents the colour characteristics of devices so that, for example, displays know how to display the colours, printers know how to print them.
    Image files MAY, but do not have to, contain colour profiles.
    For details:
    http://help.adobe.com/en_US/creativesuite/cs/using/WS52323996-D045-437d-BD45-04955E987DFB. html
    http://en.wikipedia.org/wiki/Color_management#Color_profiles
    http://en.wikipedia.org/wiki/ICC_profile
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

Maybe you are looking for

  • Bridge, Lightroom, InDesign workflow question

    Hey everyone, I've been using Adobe InDesign CS5 and Apple's Aperture software together (on a Mac) to do design projects over the past year and a half or so. I'd never been that interested in Adobe's other applications until recently, when I got a Cr

  • How can I use if with a check box to perform a formula?

    I would like to have a column with a cheek box which, if ticked, performs a formula in the next column. Would anyone know how to do this?

  • Receiver Mail adatper Issue

    Hi Exports, PI7.0 My scinario is File to Mail. This is simple one pick the .txt format file and send with attachement by mail. We do not have any design objects by using Integration Repository. We confirgured with Integration directory direclty.  In

  • Vendor/Price check in SC

    Hello Experts, We are having SRM 4.0, Classic scenario. We want to achieve below while creating SC, 1. Based on Purchase Grp and company code, have check on price (Total value can not be greater than XX) 2. Based on purchase  Grp (and may be company

  • Issue connecting SPA3102 FXO port to paging interface

    Hello, I was referred to this community after a call to small business support, we were unable to come to a solution. SPA3102 v5.2.13 FW Viking Electronics PI-1 Paging Interface We were told from Viking that the interface only supports an FXO port, a