Add Embed Interface View of a Componenet instance

In a WebDynpro project (not DC), we create two webDynpro components WA, WB.
WB is is declared as Used Web Dynpro Components in WA. When we want to embed the interface view, in the pop-out window, we can see the Component Instances node with a "+" , but we can not open the node to select. This case can be reproduced on some machine, but in another machine it works properly.
We use NW 2004 with SP11, any one know how to solve the problem?

Hi Robert,
Check out the following:
In the Wiki they have added a feature about inputfields/dropdownboxes.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/dynamicuseof+Dictionary&
you can also check the weblogs by Thomas:
/people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
/people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
/people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
You could use MultiPane or RowRepeater. WDR_TEST_EVENTS contains an example for both.
Hope this will help you.
Cheers,
Darshna.

Similar Messages

  • Dynamically embed interface view in window

    Hi,
    I am reusing the same WD ALV component in different tabs on the same view
    of my application. The WD framework does not allow to embed the same interface view of the same component usage more than once on the same view -> error message '... is already embedded in your view...'
    So as I don't want to slow down the application and create 5 component usages of the ALV reuse component because of this, I would like to dynamically assign the same
    instance interface view to the currently viewed tab. In each tab, there would be a view
    container to embed the interface view. I tried calling the method below in both wdDoInit and on the plug handler of the default inbound plug, but no success so far
    I implemented the method as far as I understood the saphelp correctly:
    http://aiokeh.wdf.sap.corp:1080/SAPIKS2/contentShow.sap?_CLASS=IWB_EXTHLP&TMP_IWB_TASK=DISPLAY&_LOIO=4C60154219FCE12CE10000000A1550B0&_SLOIO=7C3545415EA6F523E10000000A155106&RELEASE=700&LANGUAGE=EN&_SEQNUM=71&_SCLASS=IWB_STRUCT
    method EMBED_ALV_VIEW .
      data: L_VIEW_CONTROLLER_API type ref to IF_WD_VIEW_CONTROLLER,
      L_VIEW_CONTROLLER_API = WD_THIS->WD_GET_API( ).
    L_VIEW_CONTROLLER_API->PREPARE_DYNAMIC_NAVIGATION(
                  source_window_name          = 'RPM_DASHBOARD_WINDOW'  "embedding app window
                  source_vusage_name          = 'RPM_DASHBOARD_VIEW_USAGE_1' "own local view containing all those tabs
                  source_plug_name            = 'DEFAULT'  " inbound plug for the window above
                  target_component_name       = 'SALV_WD_TABLE' "alv reuse component
                  target_component_usage      = 'SALV_WD_TABLE' "usage name of this component
                  target_view_name            = 'TABLE'  "interface view name of embedded component
                  target_plug_name            = 'DEFAULT' "startup plug for this interface view
                  target_embedding_position   = 'CNT1' ). "own view container on view.
    Thank you for your help!
    CHeers, Robert

    Hi Robert,
    Check out the following:
    In the Wiki they have added a feature about inputfields/dropdownboxes.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdabap/dynamicuseof+Dictionary&
    you can also check the weblogs by Thomas:
    /people/thomas.szcs/blog/2005/12/28/dynamic-programming-in-web-dynpro-abap--introduction-and-part-i-understanding-ui-elements
    /people/thomas.szcs/blog/2006/01/03/dynamic-programming-in-web-dynpro-abap--part-ii-handling-viewelements
    /people/thomas.szcs/blog/2006/02/22/dynamic-programming-in-web-dynpro-abap--part-iii-aggregations-and-ddic-binding-of-viewelements
    You could use MultiPane or RowRepeater. WDR_TEST_EVENTS contains an example for both.
    Hope this will help you.
    Cheers,
    Darshna.

  • Fire outbound plug of interface view controller?

    Hello Experts-
        In my WD project I have two apps A and B.
        I need to navigate from app A to app B.
        In the interface view controller of app A, I have created an outbound plug called GotoB.
        I determine the URL of app B using the WDURLGenerator and store that value in a string.
        In a view of the app A I have the code:
    <code>
    wdThis.wdGetAInterfaceViewController().wdFirePlugGoToB("URLtoB");
    </code>
        For some reason nothing seems to be happening when the event triggers in the view of app A that runs the above code. The view of app A just seems to refresh. The one thing that does happen is that on the refreshed view of app A if I click on the button to trigger this event again I get an 'app A has expired' WAS error.
        What am I missing here? How can I make the navigation from app A to app B work?
    Thank you,
    - Vik.

    Hi,
    well step by step:
    1) Create component Component1 (package="com.sap.sdn", window name = "Component1CW", View name="Conponent1CV")
    2) Create component Component2 (package="com.sap.sdn", window name = "Component2CW", View name="Conponent2CV")
    3) Create application "App1" (package="com.sap.sdn", Web Dynpro component="Component2", the rest - by default)
    4) In Component1CWInterfaceView create outbound plug "GoToComp2"
    5) In Conponent1CV add Component1CWInterfaceView as required controller
    6) In Conponent1CV add button and in action handler put following:
      public void onActionGoToComp2(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionGoToComp2(ServerEvent)
        wdThis.wdGetConponent1CWInterfaceViewController().wdFirePlugGoToComp2();
        //@@end
    7) In component Component2 add Component1 as Used Web Dynpto Component (name="Component1CU")
    8) In Component2CW embed view (Component1CWInterfaceView) as Embed Interface View of a Component Interface, and set this view as default.
    9) In Component2CV add inbound plug "FromComponent1"
    10) In Component2CW link embedded View Component1CU.Conponent1CWInterfaceView.GoToComp2 with Component2CV.FromComponent1
    11) Build-deploy-run. Click on button. It should work.
    Regards, Maxim R.

  • Implementing interface views

    I have to add a main view to the portfolio items and integrate  the view WI_DMS of the web dynpro component DMS_DPR to the same. When I try to do it, it says  'WI_DMS does not implement a valid interface". Is there any way to implement the valid interface dynamically? PLease help.

    >i have been using ( implementing ) interfaces in the components, for example i used iwd_value_help. however i still have no clarity how WD framework is able to communicate with the component implementing interface iwd_value_help.
    Web Dynpro can create a component usage based upon the interface type alone.  This is very similar to normal ABAP OO when you create/get an instance of a class but only know the interface.  Basically this is polymorphism at the component level.
    >the basic question here is, what is wd framework, is it class implementing interfaces generated when we create views and other stuff. and this class( WD fw ) is going to call these implemented methods of the interface??
    Simple answer: yes, exactly as you describe.  Everything relates back to generated and local classes.  The framework can interact with them becuase all the generated classes implement SAP provide framework interfaces.

  • Interface View Enhancements

    Hello,
    I want to add inbound plug to one standard WebDynpro component.
    I've tried to enhance a Window with one inbound plug, but this plug does not appears in interface view inbound plug list.
    How to add inbound plugs to interface of standard components? Is it possible?
    Edited by: Andrey Bytchkov on Oct 31, 2010 3:25 PM

    Hi,
    I can't add neither outbount nor inbount plugs to standard component FITV_FPM_START.
    I've double clicked in interface view APPLICATION_WINDOW, but I can't click to enhance button, because it is disabled.
    Is it possible to enhance standard webdynpro component interface views plugs?
    Edited by: Andrey Bytchkov on Oct 31, 2010 9:21 PM

  • Change Button for Interface View is Inactive

    Hi,
    I have created a Web Dynpro ABAP component & application.
    Now I want to add URL parameters to it.
    I went  to interface view, I can see "change" button in menu but its not clickable.
    Any idea why this is happening?
    Thanks and regards,
    Amey

    Hi Amey,
    IF you dont have any interface attributes or methods, there is nothing you can change in Interface View.
    For Adding Parameters, goto your Application to add application parameters in Parameters tab.
    You can chooose from existing set of parameters or Create a new parameter such as TEST1 & any default value like 1 or A etc .
    Now goto your Window method HANDLEDEFAULT & frmo here you can access what value you are getting from the URL Parameter TEST1 by using below code...
    data lv_configid type string.
    lv_configid = wdr_task=>client_window->get_parameter( TEST1' ).
    now IF for your application say zph_test02, if you are running URL as  http://xxxxxx.xx/sap/bc/webdynpro/sap/zph_test02?sap-language=EN&TEST1=2  
    The value lv_configid will have value 2 now when application is launched with that url & parameter  TEST1=2.
    Thanks,
    Phani Mullapudi

  • Regarding navigation from Interface View

    Hi All,
    i am trying to pass data from one component to other component via exposing the interface view controller of second component to 1st component via Used Webdynpro Component concept.
    I am able to navigate from one component view to 2nd component view with the action of fireplug from 1st to 2nd. but i am not able to do
    vise versa.
    What i got, after embedding the 2nd view in the 1st component window, inbound plug is created automatically. If in the same view(embedded interface view) i try to place out bound plug i m not able to do. how to get this navigation from 2nd view to 1st view.
    Please help me out.
    Regards,
    Deepak

    Hi deepak,
    I didnt work on it but giving just an idea....
    till now you did....
    i am trying to pass data from one component to other component via exposing the interface view controller of second component to 1st component via Used Webdynpro Component concept.
    I am able to navigate from one component view to 2nd component view with the action of fireplug from 1st to 2nd. but i am not able to do
    vise versa.
    What i got, after embedding the 2nd view in the 1st component window, inbound plug is created automatically. If in the same view(embedded interface view) i try to place out bound plug i m not able to do. how to get this navigation from 2nd view to 1st view.
    now to do vis versa you have to do all this things for other component. I mean expose 2nd component via Used WD component concept. now embed 1st view in 2nd component window. just reverse of what you did till now.
    and take a view set where in first view area show the first navigation, and in the second view area of view set show the second navigation.
    Am I clear?
    PraDeep

  • Firing the Suspend Plug of Interface View Controller of1 DC from another DC

    Hi Experts,
    Can you please let me know if it is possible to fire a suspend plug from a Component Controller?
    I've been tried it before from View controller on some event and was able to fire the plug successfully but when I am trying to fire the same from the init method of the Component Controller or init method of the view controller, it gives me the below error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of interface view controller XXXXCompInterfaceView does not exist.
    I believe that it is not possible to fire the suspend plug from the Init method  of either Component Controller or View Controller.
    So, is it possible to fire the suspend plug in one custom method of a component controller if the custom method is called from some another component?
    Please let me know.
    Thanks & Regards,
    Anurag

    Hi Prashant,
    When I am trying to fire the Suspend plug from my view on click of a button, I am getting the following error:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot suspend embedded component via outbound plug <Plug Name> of view <Interface View Name>
        at com.sap.tc.webdynpro.progmodel.view.ViewManager.fireSuspendPlug(ViewManager.java:209)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:533)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462) 
    Earlier, when I used to fire the plug from my DC; it used to work fine but now my DC is being used as a used DC in another component and since then I am facing this issue.
    Currently, my DC is being used as used DC. I am not sure if I use any used DC, it would work or not.
    Please respond if anybody has any suggestions.
    Regards,
    Anurag

  • How to call a view from Interface view

    Folks,
    How to call a view from interface view (onPlugDefault method) . I was trying to set context of controller but it is not working . What is the work around.
    Manish

    Hi Manish,
    An interface view is created for each window that you have, which in-turn has views embedded, one of which is default. If you want to pass data which you have in your interface view, do the following
    - Add your component controller in your interface view properties
    - In the onPlugDefault method(I assume this is where you have the data available through URL parameters),set the component controller context variables like
    wdThis.wdGetComContr.wdGetContext().currentContextElement().setName("John");
    -Access these context variables in your view as well by adding the component controller as the required controller
    Your default view will appear automatically when you call the application.
    Regards,
    LM

  • Fire outbound plug from view in a DC to the interface view.

    I have a DC1 which has a view.From this View I fire a outbound plug with a string parameter to an interface View's inboundplug with the string parameter.This view is in another DC2 and used DC in DC1.
    Now when I try to Build the DC1,I get build error with the error log saying that the plug parameters arent compatible.But both the parameters are of same type.

    Hallo Kent,
    as long as your Comp A component keeps alive it also keeps it state when leaving it via navigation. By setting its lifecycle property as "manual" you can manage the lifecycly of Comp A on your own. This means the Web Dynpro Java Runtime will not destroy this component instance when leaving it via navigation.
    To navigate back you can apply the cross-component navigation technique I described within my tutorial on https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component [original link is broken] [original link is broken].
    Regards, Bertram

  • Opening Parent DC's View in embeded child DC's  interface view.

    Hi, I have a requirement to open a view/window of a parent webdynpro application from an embeded child DC's interface view.
    Currently i'm doing it by creating a context element for ComponentAPI in interface controller and passing the parents ComponentAPI reference to embeded dc through interface controller context.
    How should I do it without pasing the reference? Is there any way to get parent Applications ComponentAPI in a child DC?

    Hi,
    If I want to add a reference of parent in child DC then the child DC should aware of the parents that are going to use it. Then there is no use of using DC.
    The child dc can be used by any number/type of webdynpro applications and my requiremnt is to get the parent's window at the runtime, not at the desing time.
    Anbu.

  • When will the SAP Mobile BI Android SDK to embed analytic views (Web Intelligence reports and Dashboards) in custom mobile Android App be supported/

    hi all,
       SAP Mobile BI IOS SDK provides such SDK to embed analytic views (Web Intelligence reports and Dashboards) supported by the SAP BI application inside your own custom mobile applications, while Android SDK does not provide such sdk. I would like to know if there is any plan or roadmap to support this interface in Android SDK?

    Thank you Vishwanath for your reply. We already developed an Android App, and just want to embed and open SAP BO report directly inside our own App, instead of launching SAP Mobile BI App.

  • Has anyone enhanced view CorpAccountSalesAreasOV in componenet BP_sales?

    I'm trying to enhance view CorpAccountSalesAreasOV in componenet BP_sales.
    I will extend this view two new attributes ; SALES_GROUP and SALES_OFFICE.
    I can see in the BOL_structure that these attributes is in the dependent object BuilResponsibleOrganisation.
    I made a new context node including these attributes, but they where not available when i should configure the view.
    Can anyone help with this issue?
    Reward points....

    Hello Statoil,
    You have the following BOL structure:
    BUILHEADER -> via BuilSalesArrangementRel Child ->
    BuilSalesArrangement -> via BuilResponsibleOrgRel -> BuilResponsibleOrganisation
    You have BUILHEADER context node in the view. So you can retrieve the current builheader BOL object and do get_related_entities( )  till you get to BuilResponsibleOrganisation.
    Then once you get this BOL object, you have to put it into a context node which you can create via wizard. Then, you have to change the configuration of the view and add the fields from BuilResponsibleOrganisation to the layout.
    If you do all this, it should work.
    Best Regards,
    Yevgen
    Edited by: Yevgen Trukhin on Jun 23, 2008 12:56 PM

  • How to add a specific view to a folder in Finder?

    Hello Everyone,
    I was wondering if there is a possibillity to add a specific view to a specific folder in Finder.
    I know this sounds abstract, let me explain:
    In OS 10.5 there are now 4 views for the Finder:
    - Icons
    - List
    - Columns
    - Cover Flow
    Usually I prefer icons, but for my movies and pictures folders I prefer Cover Flow.
    It would be handy to preset Cover Flow as view for the movies and pictures folders while other folders remain unaffected and still view as icons, instead of constantly having to change the view.
    Is there any way to accomplish what I am trying to do?
    Thanks Beforehands

    Lawrence,
    What you want to do is possible.
    Open your folder (the one you want to "customize"), then choose View>Show View Options. At the top, you will see a check-box labeled "Always open in xxx view," "xxx' being whatever view is currently set for the open window. Change the view on the window, using the icon in the Toolbar, to set your desired view, then enable the checkbox in the View Options. Close the View Options, then close the window.
    Initially, changing the view on this one window will change your view globally. Not a problem; just change the global setting back to your desired view when you open the next Finder window.
    Scott

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

Maybe you are looking for

  • Album artwork not showing up on apple TV but does in iTunes

    I have had some syncing issues with ATV but seem to have gotten things to sync (occasionally) but even when I am syncd only about 10 out of a few hundred albums display the artwork on ATV? Is this a syncing problem still or should I not expect the ar

  • The screen displays hard disc not exist

    The screen displays hard disc not exist i tried everything in the support section but ended up with this.

  • I know how to copy a page

    i can not put it here

  • PSE8 raw editor

    I have just loaded pse8 ( legitimate) on a new 10 inch screen laptop. When I open a photo to editor from organizer, it skips the raw interface altogether and opens directly in the editor screen. Is this to do with screen size? I have pse8 on my 17 in

  • Indexing BLOBs on Oracle 8i (NT)

    I am trying to index a blob field that contains many different MIME types. I've tried following the examples posted here but I always get 0 rows returned. I have a feeling it is something to do with my setup. In the NT setup there is no ctx\bin, is t