Set the Web dynpro component view to other web dynpro component

I have created two web dynpro components DC1 and DC2
i have imported the usage of DC2 in DC1
i am able to create the instance of DC2 in DC1 also
but the problem is i have a view V1 in the DC1, i want to embed the V1 of DC1 into one of the DC2 views Programmatically how can i do this ?

Hi,
You can include the InterfaceView of DC1 at designTime  in DC2.
But you can specify the lifeTime property to "Manual" in DC2 so that you can create the ComponentInterface of DC1 at runtime using ".createComponent()" method.
So when you run the application DC1 View will not displayed by default.
Regards, Anilkumar

Similar Messages

  • How-to set the title of  a View

    Hi,
    I'm a very newbie of Obj-C and InterfaceBuilder.
    From three days I'm fighting with my iPhone app to set the title of a view.
    I've the MainWindow.xib with a UITabBarController; each tabbar's viewcontroller is on a separate xib (i.e.: the GUI of every button of the tabbar is on a different xib file).
    In IB I set up the top bar property to Translucente etc... In Xcode, in the viewDidLoad I set the self.title to something... but the top bar is never shown!!
    I also tried to set self.navigationItem.title... but nothing...
    To see the top bar do I have to use a NavigationController inside every "button" of the tab bar?? Or is the top bar property of IB not working??
    Thanks to all...

    Wenwen,
    View Function dropdown "standard view" is just making the ALV to display the ALV standard configuration (so it will display the ALV the way is designed).
    now if you want to change that to your OWN VIEW you just need to click in the SETTINGS (ALV TOOLBAR at the right end) and then configure your ALV the way you want to be display. After that click SAVE AS and you can name the VIEW to your own and also you can click INITIAL VIEW checkbox in order to display always that for youl.
    Please note that this is a user base personification so this will be only available for you.
    if you want to have your own view for every user then you need to enhanced the ALV in a POST-EXIT method and do not allowed user personification.
    you can disable user personification at the application level in the parameters tab.
    hope this help!
    Jason PV

  • How to set the First Line of Table UI in Web Dynpro ABAP

    Hi Team,
    I have a scenario where I'm displaying two Table controls one below the other. When a line is selected in the first(Top) table, I have a supply function(Event) and I fill the second(bottom) table. Everything works fine till here.
    The problem starts when I scroll the bottom table. Lets assume that I'm at line 20 of the second table and I press the lead selection to select another line on the first table. Here the second table is filled with new data but it is automatically scrolled to line 20. My questions:
    1) Do I have to set some specific property of the second table? If yes, which one and where should I set it (In the supply function? I already have the "visibleRowCount" set to "10")
    2) How do I dynamically get access to the Table Control properties?
    Thanks for your time

    Thank you Maksim,
    I did set the "selectionMode" to "Auto". I don't understand where In supply function I have to set lead selection of nested node to first element. Please elaborate on this. Are you talking about the context attribute bound to the second table? OR do I have to change the Importing parameters "Node" and "Parent_Element" of my supply function?
    Thanks for your time.

  • How to set the servlet context path manually in Tomcat web server.

    I tested some servlets by putting them in the folder , which the tomcats examples application uses (ie Tomcat 4.1\webapps\examples\WEB-INF\classes\) and it appeared to be working fine.
    I was calling the servlet like this : http://localhost:2006/examples/servlet/TestServlet
    But when I installed my own WAR file in the server , the servlet is not working now. now the new location of my servlets is : Tomcat 4.1\webapps\MyApp\WEB-INF\classes\
    and I'm trying to call the servlet like this : http://localhost:2006/MyApp/servlet/TestServlet
    The error , what i'm getting is :
    description :The requested resource (/MyApp/servlet/TestServlet) is not available.
    Some body please tell where I'm making the mistake ? I believe this may have something to do with the servlet context path setting. If anybody has any idea , how to set the path..will be much appreciated.

    Thanx for your reply , at first I was not using any web.xml(since not mandatory) but even after using the web.xml file the error is coming . Please have a look into the contents of the web.xml file and let me know if you find any problem...
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>TestServlet</servlet-name>
    <servlet-class>TestServlet</servlet-class>
    </servlet>
    </web-app>
    one more thing I would like to tell you here. I was just looking into the configuration of Iplanet web server..I found that , there are options to set the servlet container path (like : - Prefix: /servlet
    Servlet Directory: /ecomm/iplanet/nes60/product/docs/container )
    so from here I came to know that "container " is the folder where we should put our servlets and it has URI as "servlet" but yet I'm not able to find any option in the Tomcat Web server to set the servlet container to any different directory.
    If you have any idea please let me know.

  • I created a News folder but cannot add The Washington Post--I can add other Web sites

    I created a "News" folder. I cannot add "The Washington Post" to the folder. I have no trouble adding other Web pages to the folder.

    This can be caused by a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    * http://kb.mozillazine.org/Bookmarks_not_saved

  • Using LabVIEW Web Server in RT for other web applicatio​ns

    I'm looking to find out whether or not I can host other web page technologies (Java Scripts for example) on web pages hosted on a LabVIEW RT target. I'd like to be able to post a configuration or status page on the web server as well as the standard VI Front panel page.
    Thanks,
    Jason

    Hello,
    LabVIEW RT Web Server is not meant to be used for other things different from LabVIEW VIs. This feature is not supported.
    Ricardo S.
    National Instruments.

  • How to set the font for table view contol

    Dear All,
    My requirement is to set Font type = Arial and size=1 for
    Table View control. The same font should be for  header, Rows and footer.
    One way we are achieving it through the Renderer class. Where in we are we are supplying data, colums with html font tags.
    Is there any simple way to fix font fot the entire TableView.
    Thanks
    Markandeya

    An approach I've used is to override the CSS styles by adding code like the following to the top of the JSP page.  It's a bit of a hack, but it did the job.  You will need to find ALL the styles used in a table view, and override the font size.
    <%-- OVERRIDE SOME CSS STYLES SO WE HAVE THE DESIRED TABLE CELL PADDING --%>
    <style>
    <!--
    .sapTbvCellStd {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    .sapTbvCellAlt {
         PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px
    //-->
    </style>

  • Web Dynpro List Viewer for JAVA ?

    Is the Web Dynpro List Viewer available for Web Dynpro for JAVA?
    The Release Notes of SAP NetWeaver 2004s about this topic are not totally clear for me.
    It is always talked about Web Dynpro List Viewer for Web Dynpro in general. For more information there is only a link to the topic ALV Integration into the Web Dynpro ABAP.
    I suppose, it is only available for ABAP. Am I right?

    Hi Gayathri,
    I just have that scenario in my mind, and certainly it's the purpose that i need to implement. However i'm tried to use only standard applications, but maybe this case  it's a exceptional case
    Best Regards,
    Luís Bento
    PS: I give you some points for your answer

  • How can I set the field ICt in component table of the Tasklist as "Input" ?

    Hi experts,
    How can I set the field ICt (BOM's Item Category (POSTP)) in component table of the Tasklist as "Input" Status (The system is in gray now).
    I can define the different Category value by IB01 or IB02,then I can select them at the Tasklist's component table.But sometimes I need batch input such as LSMW,so pls kindly tell me how to setup it,thanks!
    Yinjun

    Hi,
    BOM is created with some component and item category.
    In task list when you go to component, in normal case one selects and copies BOM over there by clicking component selection button.
    Once BOM is copied over there the BOM item category will get copied. As it is BOM item category in Task list it is greyed and it will get copied automatically from BOM.
    You specify item category required by you in IB01 or IB02 and then use that BOM in task list. Go to componenet tab and click component selection button. Once BOM is copied over there the BOM item category will get copied

  • Dynamically set the size of the VIEW

    Hello,
    I am looking to set the size of my VIEW which is called in following way:
    IF iv_show_in_pop_up EQ abap_true.
        wd_this->raise_simulation_pop_up( ).
    I want to set of the size of the VIEW if it a pop-up.
    ENDIF.
    How can i get access to the view and set the size. Please Help.
    Regards,
    Piyush

    Hi Piyush,
    Check what Anzy has to say in [here|https://forums.sdn.sap.com/click.jspa?searchID=18635339&messageID=3289078]:
    "You have to go to specific view , which will be embedded in the pop up window.In the view go to ROOTUIELEMENTCONTAINER and set the width and height.This way you can restrict the size of the pop up window."
    This is [another approach|https://forums.sdn.sap.com/click.jspa?searchID=18635339&messageID=5836334] suggested by Abhimanyu Lagishetty for dynamically setting the size of your window:
    "Pass the URL like this to the create_external_window
    javascript:window.moveTo(0,0);window.resizeTo(screen.width,screen.height);window.location.href="http://google.co.in";
    Instead of http://google.co.in write your URL it will maximize the window"
    Regards,
    Uday

  • Set the UI for just one component?

    I have a JTextArea in my application and I would like to specify explicitly which UI class to use for just this one instance only. I've tried subclassing JTextArea and both calling setUI(new MyIntendedTextUI()); in the constructor and overriding getUI, but neither approaches seem to have any effect. I don't know if this matters or not, but I'm already using a custom look and feel (via Substance). Any advice would be greatly appreciated.

    I canot reproduce your problem. Could you provide an SSCCE ?
    Here is a working example, trying to mimic your design. The text area's background color actually changes to green, as expected.
    import com.sun.java.swing.plaf.motif.MotifTextAreaUI;
    import java.awt.Color;
    import javax.swing.JComponent;
    import javax.swing.JOptionPane;
    import javax.swing.JTextArea;
    //import org.junit.Test;
    public class TestChangeJTextAreaUI {
        public TestChangeJTextAreaUI() {
        public static void main(String[] args) {
            new TestChangeJTextAreaUI().testChangeJTextAreaUI();
        private static class CustomJTextArea extends JTextArea {
            public CustomJTextArea(String text) {
                super(text);
                setUI(new MotifTextAreaUI() {
                    @Override
                    public void installUI(JComponent c) {
                        super.installUI(c);
                        c.setBackground(Color.GREEN);
        //@Test
        public void testChangeJTextAreaUI() {
            JTextArea jta = new CustomJTextArea("initial text");
            JOptionPane.showMessageDialog(null, jta);
    }Note that I followed your design but I suspect that changing the UI from the constructor may be fragile.
    Have you made sure that the custom JTextArea is instantiated only after you have set the look and feel?

  • How do I set the screen zoom, so that it doesnt change each time I open Firefox. Because I see the webpages in smaller print, and I want them larger , without having to re zoom each time I open Firefox.

    I need to know how to set the zoom option under "View" Tab, shere I dont have to re zoom each time I open Firefox. I have a wide screen monitor and generally, when viewing webpages, the web content on any page is confined to center of the page, and I was wondering if there was anyway to permanently set the zoom preferences without having to change them each time i open a webpage.
    IE 8 and 9 has a feature to set the magnification and i set mine to 150% which works perfectly for me. I wonder if Firefox has a similar feature.

    TonyE
    Thanks a lot. I downloaded the Default FullZoom Level add-on. My problem is now a history. thanks a million

  • Not able to set the value in marketing context node for BP_HEAD

    Hi,
    I am trying to set the value in marketing node of BP_HEAD from bp_addr component. i am calling the set_property method but it is not changing the value, when i debugg the code, it actually changing the value in bol structure but it is not calling the get/set method of bp head.
    i am working on BP corporate person  creation i.e. in bp_head component and account details view. I added the marketing attributes in UI configuration and also the address attributes.
    this is what i coded in get method of country in standardaddress context node of BP_ADDR
    lv_entity ?= current.
        IF lv_entity IS BOUND.
          lv_parent = lv_entity->get_parent( ).
          IF lv_parent IS BOUND.
            lv_entity_mkt = lv_parent->get_related_entity( iv_relation_name = 'BuilMarketingRel' ).
            IF lv_entity_mkt IS BOUND.
              CALL METHOD lv_entity_mkt->set_property
                EXPORTING
                  iv_attr_name = 'ATTRIBUTE'
                  iv_value     = attribute1.
    Can anyone please guide me on how to set the value cross component and can we call the get/set method of that attribute which is not in same component?
    Regards,
    Kamesh Bathla

    Sorry, what I said was rubbish, because the LSMW and the session run in different external sessions.
    I have searched forum for these terms: "company BUK parameter BDC background"
    These threads Is it possible to set default company code in SM35? and Release BDC in SM35 in background, How to set defaul company code? seem promising, but I'm not sure they really solve.
    In case these threads don't help you, I think you can create your own Z transaction which sets the BUK parameter id and then does a LEAVE TO TRANSACTION 'ABAON'. Then create again the recording on the Z transaction.
    If you are using ECC6, then you may also enhance the standard to reset BUK parameter id at the very beginning of ABAON, in case it's run in batch input (sy-binpt = 'X'). Be careful as sometimes SAP does batch input on some transactions, so that could make the standard fail.
    Last thing, you can contact SAP support, though it might probably be considered as consulting.

  • Acrobat X, where can we set the defualt for Open, Link?

    Step 4, Open File, New Window or Within....  We would like to set NEW WINDOW as default.  (Please see screen shot also)
    Create a link using the Link tool
    Choose Tools > Content > Link. The pointer becomes a cross hair, and any existing links in the document, including invisible links, are temporarily visible.
    Drag a rectangle where you want to create a link. This is the area in which the link is active.
    In the Create Link dialog box, choose the options you want for the link appearance.
    Select one of the following link actions: 
    Go To A Page View
    Click Next to set the page number and view magnification you want in the current document or in another document (such as a file attachment), and then click Set Link.
    Open A File
    Select the destination file and click Select. If the file is a PDF, specify how the document should open (for example in a NEW WINDOW or within an existing window), and then click OK. 
    Note: If the filename is too long to fit in the text box, the middle of the name is truncated.
    Open A Web Page
    Provide the URL of the destination web page.
    Custom Link
    Click Next to open the Link Properties dialog box. In this dialog box, you can set any action, such as reading an article, or executing a menu command, to be associated with the link.
    Screen shots.......

    Thanks for your reply.  We are using Acrobat Pro 10.1.3 on Windows 7 64 bit workstation. 
    We see this when adding a link in a PDF.
    Go to Tools, Content, Link.  Highlight something, Creat Link, click Next.  Pick somthing to Link too.  Like another PDF and the Window in the first screen shot comes up.
    I ran a Regshot and here are the results.  Looks like all user keys which would be normal but there must be a way to set the default in the Preferences?  This does not seem to be a setting that stays if you will so there must be something over-riding it.

  • Setting the validity of a user password

    Hi,
    I want to set the validity for a user with my web dynpro application, not the account.
    With the IUserAccount Object I cannot see which method should be the working one.
    best regards
    Mathias

    Hi Mathias:
         You have the following options with IUserAccount interface:
             setValidToDate(Date date)
             or setLocked(boolean lock, int reason) - if you want to the lock the user.
         Did you checked these methods? Hope these will solve ur issue.
    Tnx,
    MS

Maybe you are looking for

  • When opening a file in Photoshop CC I get 'Could not complete your request because of a program error.'

    I can see this is a generic error message('Could not complete your request because of a program error.') and I have done my best to read through many of the responses. It occurs on the second, third, or sometimes fourth file that I try to 'Open', how

  • Console mp3 player, single process, thunar custom command... [SOLVED]

    Couldn't come up with a better topic title. Sorry. Anyways, I'm having a bit of a problem with console mp3 players. I want to use Thunar (I use XFCE4) to start mp3 files just by clicking on them. That's simple to fix. What I'm having a problem with t

  • HT201401 Power button stuck

    I can't turn my iphone 4s off.  The power button got stuck and no matter how hard i press it, the phone won't turn on nor off.  Can anyone help me please?

  • Relocate Aperture

    I currently have 125 gigs in Aperture and need to free up hard disk space. I've created a vault on a remote hard drive and when I point Aperture to the vault there's nothing in the vault. What shows is the original location on the MacBook Pro which I

  • E52 Auto Switch Off

    Dear All, I bought a New E52 Mobile, till last week it was working fine. But then my mobile started to switch off often. Can anyone help me on this. Regards, Shagul