Problem in calling standard view in nested view container

Hi Experts,
We have a standard SAP component in which there is view containing a TABStrip. In one of the tabs there is a View container. This view container calls another view containing a view container, which in turn calls another standard view of standard component SALV_WD_TABLE. The whole structure is as below:
MAIN(View)->VC_container1(view container)->View1(called view)->VC_Container2(View container in called view)->Table(standard view of SALV_WD_TABLE).
Now we are trying to add one more tab in the same tabstrip and trying to call the the same TABLE view of component SALV_WD_TABLE in the same manner described above. It is allowing us to add the view but when we are activating the enhancement the standard view TABLE of component SALV_WD_TABLE gets disappeared. Can anybody suggest what to do.
Thanks and Regards,
Vaibhav Tiwari.

Hi Vaibhav,
My Ques is that are your using the same component usage of salv_wd_table for the Second tab you have added.
Because you are using the component usage of salv_wd_table already in the first tab. So when you are goinig to use the same component usage for the second tab then this problem might will happn i.e. the table is disappeared in the second tab.
Regards
Manoj Kumar

Similar Messages

  • Problem with call to BAPI when the data contains spaces

    Hi everyone,
    I've a table in R3 that has 2 fields which is consulted via BAPI from XI. The Bapi call run correctly while the data don't contain spaces preffixed but when for example the data is ' A31' the BAPI call doesn't return nothing.
    The table structure is:
    CODE             DESCRIPTION
    values:
    ' A31'               'Desc A'
    'A30'                'Desc B'
    When I call the bapi with A30 value the Bapi return me Desc B, but when I try it with the value ' A31' the Bapi doesn't return any value.
    Could anyone help me?
    Thanks in advance

    >>The problem isn't the trim, because the bapi call must contain the spaces.
    Are you able to get expected results while testing the BAPI with data containing spaces?
    I have seen some cases where you get correct results when you test the RFC in SE 37, but the same data when passed from XI does not get the desired results. It was coz. when testing the RFC in R/3 some user exits are called and the data fets populated in the correct way. Check this.
    Regards,
    Jaishankar

  • View in View container

    HI,
    I am creating employee form where there are two views created.
    1) First View is showing an employee ID label and input field, with two buttons ADD AND DISPLAY.
    2) After entering the emp ID and clicking on Display >>>will open the second view.
    But I want even the first view should remain active while second view (with all details of First name,last name and rest) is being displayed.
    So i added the view container and embeded the second view in the view container. In other words, the first view with emp ID shows and after click on display below the first view... another view shows with all  First name,last name etc details but the first view remains active as well.
    How should I call the view container. Does this needs to be done in wdmodifyview, or via plugs to be created.
    Regards
    SP
    Edited by: Shakti Parwanda on Aug 24, 2009 7:24 PM
    Edited by: Shakti Parwanda on Aug 24, 2009 7:26 PM

    Hi SP,
    I think in this scenario there is no need of creating two views.In a single view alone on clicking the 'Display' button you set a flag
    and in WDDOMODIFYVIEW method you can make the UI element where you are displaying the other details 'visible' by using the
    syntax below:
    lv_trp->set_visible( CL_WD_TRANSPARENT_CONTAINER=>E_VISIBLE-VISIBLE ).
    Note:Initially the 'visible' property of the UI element should be set to none.
    Regards
    Martina

  • Problem with "Call Transaction" which calls a view cluster

    Hi Colleagues ,
    I have a rare issue with the call transaction , here is the use case for it :
    1> I call a transaction(calls a screen X) in a report ,
    2> I have a button in the screen , which calls another transaction(calls a screen X2) .
    3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
    problem :
    i'm not able to see the navigation pane in the view cluster on the left. its missing .
    but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
    My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
    please answer the thread , i have to fix this ASAP.
    regards,
    Dilip

    problem solved.

  • HT5429 Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Map Problem: I can't see the roads in Standard view. Is there any way to improve this serious problem?

    Hi Ben,
    both BSIS selects would become faster if you can add Company Code BUKRS as 1st field of WHERE clause, because it's the 1st field of primary key and HKONT is the 2nd field of primary key.
    If you have no table index with HKONT as 1st field it's a full database access.
    If possible, try to add BUKRS as 1st field of WHERE clause, otherwise ask for an additional BSIS index at your basis team.
    Regards,
    Klaus

  • Problem with embeding the same view in dynamically created view container

    Hello Experts,
                  I am getiing a dump when i try to embed the same view inside the dynamically created view container of
    dynamically created tabs of a tabstrip
    The requirement go like this, i have 2 views in which i have have to embed the 2nd view to view1 where i have an empty
    tabstrip without tabs. During runtime i create tabs as well as view containers accordingly and then try to embed view2 in tabs.
    I have put the below mentioned code in HANDLEIN,
      DATA: lref_vcntlr  TYPE REF TO if_wd_view_controller,
            lref_comp    TYPE REF TO if_wd_component_usage,
            lv_embed_pos TYPE string.
      lref_vcntlr = wd_this->wd_get_api( ).
      lv_embed_pos = 'FILE_PERS_EDIT/VC_GENERAL'.
      TRY.
          CALL METHOD lref_vcntlr->do_dynamic_navigation
            EXPORTING
              source_window_name        = 'FILE_PERSISTENCE_WND'          " Window
              source_vusage_name        = 'FILE_PERS_EDIT_USAGE_1'       " Source View usage
              source_plug_name          = 'TO_EDIT_LAYOUT'                       " Outbound plug
              target_view_name          = 'PERS_EDIT_LAYOUT'                  " Second view to be embedded
              target_plug_name          = 'IN'                                                  " Second view inboun plug
              target_embedding_position = lv_embed_pos
            RECEIVING
              component_usage           = lref_comp.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_edit_layout_plg( ).
    This works fine for the first time.
    However onaction tab select i change the embeding position( 'FILE_PERS_EDIT/view container name of different tab') of the view2 an try to embed view2 in a different tab.
    At this point i get a dump stating View2 already present in the window 'FILE_PERSISTENCE_WND' of component.
    I think, the view2 embediing has to be removed before i add the view2 in a different tab
    Kindly let me know how to remove view2 embedding from tab1 before i add a view2 to a different tab or is there any other
    means to handle this problem?
    Thanks & Best Regards,
    Srini.

    Hello Srini,
    I found a solution to your problem, because I had a similar task.
    In WDDOINIT I changed the method do_dynamic_navigation to if_wd_navigation_services_new~prepare_dynamic_navigation:
    DATA:
        l_view_controller_api TYPE REF TO if_wd_view_controller.
      l_view_controller_api = wd_this->wd_get_api( ).
      TRY.
          CALL METHOD l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation
            EXPORTING
              source_window_name        = 'WDW_MAIN'
              source_vusage_name        = 'VW_SUB_USAGE_1'
              source_plug_name          = 'TO_VW_CONTENT'
              target_component_name     = 'ZTEST_DYNAMIC'
              target_view_name          = 'VW_CONTENT'
              target_plug_name          = 'DEFAULT'
              target_embedding_position = 'VW_MAIN/VC_TAB.VW_SUB/TAB1_VC'
            RECEIVING
              repository_handle         = wd_this->g_rep_handle.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = 'TAB1' ).
    In the action I first deleted the navigation targets, then navigated to the empty-view and last I called my target view:
      DATA:
        lv_position           TYPE string,
        l_view_controller_api TYPE REF TO if_wd_view_controller,
        lr_view_usage         TYPE REF TO if_wd_rr_view_usage,
        lr_view_***_t         TYPE wdrr_vca_objects,
        lr_view_***           LIKE LINE OF lr_view_***_t.
      l_view_controller_api = wd_this->wd_get_api( ).
      lr_view_usage = wd_this->g_view->get_view_usage( ).
      lr_view_usage->delete_all_navigation_targets( plug_name = 'TO_VW_CONTENT' ).
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' old_tab '_VC' INTO lv_position.
      TRY.
          l_view_controller_api->if_wd_navigation_services_new~do_dynamic_navigation(
          source_window_name = 'WDW_MAIN'
          source_vusage_name = 'VW_SUB_USAGE_1'
          source_plug_name   = 'TO_EMPTYVIEW'
          target_component_name = 'ZTEST_DYNAMIC'
          target_view_name   = 'EMPTYVIEW'
          target_plug_name   = 'DEFAULT'
          target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' tab '_VC' INTO lv_position.
      TRY.
          wd_this->g_rep_handle = l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation(
            source_window_name = 'WDW_MAIN'
            source_vusage_name = 'VW_SUB_USAGE_1'
            source_plug_name   = 'TO_VW_CONTENT'
            target_component_name = 'ZTEST_DYNAMIC'
            target_view_name   = 'VW_CONTENT'
            target_plug_name   = 'DEFAULT'
            target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = tab ).
    Ann.: I my example, I had 3 views: VW_MAIN which embedds VW_SUB. VW_SUB has the tabs in it and VW_SUB embedds VW_CONTENT.
    BR,
    Roland

  • How to call a view from another

    Hello Experts,
            I have embedded a view (let us call this view 'A') in standard homepage. This works fine. Now on click of a button on this embedded view I want to launch another view that is also created by me, in the same component in which I had created view A. But I do not know how to launch this second view
         Could you please tell me how to call/launch a view from another on click of a button?
    Regards,
    Prafful

    Hello Prafful,
    I guess by launching you mean substituting one view by another. It can be achieved by declaring a navigational link in the runtime repository from one view to another. You have to create an event handler on the button and outbound plug in your view using the wizard. Then, on the event handler you call an outbound plug where you trigger a navigation using this navigational link and the view A will be replaced by view B.
    A code which needs to be done in outbound plug:
    me->view_manager->navigate(
    source_rep_view = me->rep_view
    outbound_plug   = 'NAVLINKNAME'
    data_collection = iv_data_collection ).
    Best Regards,
    Yevgen

  • How to use data from standard view in Web dynpro for ABAP

    Hello:
    I have to create an Abap Web Dynpro, and I must use data from a standard view in the new one. Does anybody know what do I have to do?
    Thank you and have a happy new year.

    Hi Rodrigo,
    Firstly, list the Standard component under Component Usage of the Component which you are creating in your View.
    Second, In the Custom Component, view, goto context, and try to add the node from the Standard component in to your view.
    NOTE: The second step requires a Node in component controller of the Standard Component.
    Finally, Now in your view, get the data from that and map the data.
    NOTE: To do this, I think you need to call your Standard WDA first and then only your node contains data and it will be passed.
    I hope it is helpful.
    Regards,
    Shashikanth. D

  • Calling a view in a separate window to print it

    Hello
    BSP with MVC:
    In my main view there is a print button, which should call another view, which I want to print with standard
    print functionality.
    How is the syntax to call a view which is part of the same BSP-Application in a Separate window?
    Thanks and Kind regards.
    Carola

    Hi Carola,
    you can do it in various ways, here is one of them:
    Place this code before the button element:
    <script type="text/javascript">
    function PrintWindowOpen() {
      window_parameters = 'hotkeys=no,location=no,menubar=yes,toolbar=no,status=yes,resizable=yes,top=0,left=0,'
                        + 'width=' + screen.availWidth + ',height=' + screen.availHeight;
      window_location = 'print.do';
      myPrintWindow = window.open(window_location,'myPrintWindow',window_parameters);
      myPrintWindow.focus();
    </script>
    And do this for the button element you want to use for opening the print window:
    <htmlb:button ...
      onClientClick = "PrintWindowOpen();"
      ... />
    The javascript variable <b>window_parameters</b> is a string containing parameter to control the window that will get opened, for a full listing of what you can use see this page:
    <a href="http://www.w3schools.com/htmldom/dom_obj_window.asp">HTML DOM Window Object on www.w3schools.com</a>
    Cheers,
    Max
    Message was edited by: Brian McKellar
    Fixed the code
    From: onClientClick = "javascript:PrintWindowOpen();"
    To:   onClientClick = "PrintWindowOpen();"
    It is not required, nor good, to set the JavaScript: protocol, as this is implicitly done already in browser. Otherwise, perfect example!

  • Modify "standard view" settings for an ALV in a WD4A view

    Hi fellow developers
    I have placed an ALV on  WD4A view.
    In the WDMODIFYVIEW I try to manipulate the ALV settings but somehow the settings of the "standard view" overrule my commands.
    The settings of the "standard view" are not modifiable from within the function.
    Is there a possbility to change the settings of this "standard view" that is being used for this ALV?
    Kind regards
    Wouter Heuvelmans
    Pyramid Applied Solution

    Execute your application in administration mode, afterwards you can change the settings using settings link of the ALV and save the same as part of "Standard View". If you want settings only for a user then ask user create a view of there own and set the same as default view.
    Even if you maniuplate ALV Layout settings ( other then Initial settings set during ALV call ) the same will be overruled by the default view set in the ALV i.e. Initial settings. 
    Regards
    Rohit Chowdhary

  • Problem with Local DCs View in NWDS 7.0

    Hi!
    I' ve got a problem with Local DCs view in NWDS: None of the standard-DCs (BI_MMR, BI_UDI, CAF a.s.o.) can be expanded and show their content. I already reinstalled IDE, but without success.
    Has anybody got an idea?
    Thanks a lot in advance!
    Regards,
    Thomas

    Hi,
    This is due to some files missed in Local development.
    Let me know Are you able to see <b>.confdef, .syncdb</b> and <b>buildvariant.config </b> files under Local Developement.
    If you are not able to see, UnInstall your NWDS, Remove Local developement under .dtc folder, then Re-Install NWDS.
    Hope this will help you.
    Thanks & Regards
    Vasundhara

  • Problem with Local DCs View in NWDS

    Hi!
    I' ve got a problem with Local DCs view in NWDS: None of the standard-DCs (BI_MMR, BI_UDI, CAF a.s.o.) can be expanded and show their content. I already reinstalled IDE, but without success.
    Has anybody got an idea?
    Thanks a lot in advance!
    Regards,
    Thomas

    Your setup might be incomplete: The SAR file extraction creates very long paths on your filesystem. If you do not extract to the rootfolder of disk, chances are the paths become too long and the installation exits, without any warning.
    If this is not the cause of your problem, check if the .dcdef files for the local DCs (plugin com.sap.tc.ap if I'm correct) were copied during installation.

  • Gmail Options button not working in standard view for Firefox 4

    Since upgrading to Firefox 4 gmail does not work correctly in standard view. I can't select my username or options at the top right or select emails to delete or perform any actions on. I use IE and everything works fine. I tried restarting in safe mode and still same problem. I also cleared all recent history.

    A little bit more detail... I am also having this issue, but I think it's more widespread than just google. My desktop is experiencing this issue (Vista x64) but my laptop isn't (Win 7 x64). Both are running Firefox 4.
    Anyway: the problem seems to be with dynamic webpage content, javascript, html5, or something like that.
    As amc-1 mentioned, the two buttons at the top right of google pages aren't doing anything in firefox 4.
    In addition to the settings thing on google pages, in Facebook, if I type in a name into the search bar, suggestions pop up, but if I click on them, nothing happens.
    In google maps, I can get it to open the directions section, but when I click "get directions," nothing happens there either.
    I've tried starting in safe mode. Not working there either.
    '''Edit''': I can confirm that this is fixed by creating a new profile. However, I would like to avoid this if at all possible.
    Possibly relevant info from Troubleshooting Information in help menu: http://pastebin.com/uNUxsp2d

  • After upgrading to firefox 7, gmail will only load in basic not standard view, how do I fix this?

    gmail will only load in basic. after I installed firefox 7. I dont have problems with my yahoo account, but gmail says my browser is too slow. I have enabled the gmail cookies, but can only get standard view if I use google chrome as my browser. This means I can copy and paste articles that I need. How do I fix this - it has been going on for weeks and gmail don't answer

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Replace standard view with alternative view

    Hi Gurus,
    In CRM 5.0 we were able to replace a view with a different view (whether it was SAP standard or bespoke) by adding the appropriate substition controller details in the Runtime Framework Profile.
    We are now trying to do the same in CRM 2007 but we have not been successful.  I have gone into the SPRO entry "Maintain Runtime Framework Profile" and created "Z_RUNTIME" which is called in the Business Role.  It is set up with the following Work Area Definition:
    Application: BSPWD_BASICS
    View Set Name: WorkAreaHostViewSet
    View Area Name: WorkAreaView
    I have tried to replace the following controller as a test to change the standard view:
    BSP Application: ICCMP_BT_TIMERC
    Controller To Be Replaced: SrvTTimeRep
    BSP Application: IC_KNOWS_SEARCH
    Replacement Controller: MainWindow
    This hasnt worked, the view SrvTTimeRep still showed. 
    Just to reiterate, I'm not trying to enhance a view, I am trying to replace it with a totally different one.
    Any help offered is greatly appreciated, and will be reqarded with points!  Thanks in advance!
    Andrew G.

    Andrew,
    The difference is in CRM 2007 is that you don't modify the runtime framework profile globally.  Instead each application has concept of a component repository.xml that needs to be adjusted.  You actually need to enhance each component where you want to include the view into the viewset.  This will then create a Z-component repository of enhancements for the application, including a copy of the respository.xml file.  You then adjust the repository.xml using the tools provided to replace adjust the viewset defintion.  Now if your view lives in another component you will also have to define the proper component usages to use the view.
    I would recommend downloading or getting access to the CRM 2007 OKP materials or taking the CRM UI class which has an example of this method in further detail.
    Take care,
    Stephen

Maybe you are looking for