Reg: Refresh in a TabStrip

Hi All,
         We are using a TabStrip with 5tabs, each tab contains Forms. when we enter data in tab1, click on 2tab and come back to 1tab data entered remains same.
It's not refreshing the data. I tried view.viewreset in ModigyView, but does not make any difference. Please help me to refresh the data.
Thanks
Nagaraju

Hi,
Are you using ViewContainer UI?
Try to invalidate the node mapped to your UI elements.
wdContext.node<NAME>.invalidate();
thanks & regards,
Manoj

Similar Messages

  • Reg: Refresh the view

    How to refresh the webdynpro view dynamically.
    For eg: In some action i need to refresh the whole view and it shoud get initialised on refreshing dynamically.

    Hi,
    onAction() invalidate the node.
    Refresh View?
    Re: How to refresh a View?
    Regards,
    ramesh
    Edited by: Ramesh Babu V on Oct 22, 2008 6:40 PM
    Edited by: Ramesh Babu V on Oct 22, 2008 6:42 PM

  • Reg:Refreshing the Screen

    Hi Friends,
    In my Application i have five Screens.
    Each screen has different functionality.
    My requirement is such that after i Execute the function module my Screen should be refreshed with the updated values.
    Is this possible in Web-Dynpro(Java) Scenario?
    I am using SAP as my  R/3 .
    For Clarity let me give an example:
    I have two Tables.
    My functionality is to Copy one row selected in a Table to the Other Table.
    I am able to fulfill the functionality,now when i go back to the previous screen and come back to this screen the Table is getting Updated.
    My requirement is such that after completing the task itself it should show me the Updated one.
    Please help me out.
    Thanks and regards,
    Chandrashekar.

    Hi Chandrashekhar,
    You can use view.refresh();
    But this can be used only in wdDoModifyView method, where the current View is passed as a parameter.
    Do not directly use it in the method, as it is called for each user interaction. Using appropriate combination of conditions in modifyView you can do so.
    Regards,
    Alka.

  • Reg: Refresh of Objects

    Hai,
    I setup the product successfully. But now my requirment comes in diffrent way. i.e I want to refresh the objects present in the cache for the particular interval of time.
    Once it reaches the specfied time, the values need to be refreshed from database. can anyone throws the light on this problem?
    thanks in advance.
    bye
    cg

    Hi Chidam,
    I just moved this thread here from the Test Forum.
    The most elegant approach is for you to implement a MapListener to hook into the expiry events (with cache items set to expire after a specified time period), at which point you can force a reload of the expired item.
    If you look at com.tangosol.net.cache.CacheEvent, there is a method called isSynthetic() which returns true for synthetic (internal) events such as eviction. An eviction will appear as a synthetic delete event.
    Jon Purdy
    Tangosol, Inc.

  • Reg: Refreshing the Values saved in the View

    Hi,
    I'm having a popup window, it is getting opened when i click on link. in the popup view i'm entering some values and saving it and closing the popup.
    the problem is when click the link and open the popup again, i'm having the saved values there, but i need a refreshed page.
    How to do this, Help me out with detailed procedure
    Thanks & Regards,
    Suresh

    You would be saving the values in some context...
    why dont you invalidate the context node every time you open the view wdDoInit() method...
    In the pop window's wdDoInit() method....write following:
    wdContext.nodeXYZ().invalidate().
    where XYZ is the node with attribs containing the data.
    Regards
    Deepak

  • Reg: Onclick events in tabstrip

    Hi experts,
    I have created an application with a view whcih has tabstrip. This holds the other views embedded in it for each tab.
    Inside the each views, there are buttons to allow naviagiton for before the current tab and as well as to the next tab.
    On click of this button, how should the code be incorporated as we cannto use inbound / outbound plugs for this case.
    Please help on this.
    Thanks.

    Hi,
    I think, you have other views embedbed in other TABS.CReate a attribute for TAB selection and bind it to the SELECTEDTAB
    When you are in first TAB, upon those buttons handler,
    You can set the attribute to 2nd TAB.
    As I have achieved the same.
    Hope this is clear. Then you dont require any plugs right.
    ***Set the selected tab value
      CALL METHOD WD_CONTEXT->SET_ATTRIBUTE
        EXPORTING
          VALUE = lv_select_tab
          NAME  = 'SELECT_TAB'.  "Set the selected tab Id
    Im able to switch bewteen tabs of a tabstrip.
    Regards,
    Lekha.
    Edited by: Lekha on Oct 16, 2009 3:11 PM

  • Reg: Adding BUTTON to tabstrip

    Hi ,
    Iam unable to add BUTTON to tapstrip , "Add Elements to Tab" is disabled.
    (My tab strip contains 2 tabs , i want to add it to first tab).
    please help.
    Regards
    Sriinivas
    Edited by: cnu_2010 on Jun 29, 2011 9:18 AM

    Basically you can add buttons to UWL. The problem will arise when you want the button to do something sensible. I don't think that there is some standard Export to Excel action available. Of course you could do some custom development.
    Regards,
    Karri

  • How to add contents to Tab in TabStrip

    Hi All,
    My requirement is to display a screen/view as a content to a TAB when user selects any tab in the Tab Strip. I have developed screens for each tab seperately.
    Can any one tell me how to achieve this in web dynpro.
    Many Thanks.
    Regs/Venkat

    hi
    >First insert tabstrip ui
    >Right click tab strip ui and select insert Tab
    >Expand the Tab and select the Tabs_content and right click the tab content and select insert child and select the ViewContainerUIElement
    >In the Web dynpro Explorer View,expand the Project structure and select the Windows in the components.In the windows select ur window and expand it.
    where u can see the view container you have inserted in the tab
    >select the view containeruielement and right click it and select the Embed view and select the view which you want to embed
    hope this helps,
    Regards,
    Arun

  • Request status in infocube is always in yellow status..

    Hi Friends,
    We are loading the data from 3 ODS to one infocube but all the requests from ODS to infocube is always haivng yellow status ( even though load is completed without any errors). We are manually changing the status to Green.
    Any suggestions regarding this problem...
    Thanks in advance

    Symptom
    All requests in InfoCubes have the QM status 'yellow traffic light'.
    Solution
    In the InfoCube administration in the menu
    'Environment -> Request handling...'
    activate the flag 'Set quality automatically' on the popup 'Maintenance of the automatisms'.
    This flag was of no importance before BW Release 2.0.
    This flag is interpreted actively as of BW Release 2.0. For InfoCubes where this flag is deactivated, every request must be set manually to green (available for reporting) or red (incorrect) by a QM action.
    As a result, the individual request can have a different status independent from its monitor load status in different InfoCubes.
    After upgrading from BW1.2B to BW2.0, the flag is interpreted, but is not set for any of the old InfoCubes.
    Therefore data, including old data, is not automatically visible in reporting, if it is not rolled up or compressed.
    In order to accomplish this, you can either activate the flag 'Set quality automatically' or set every request manually to green (administering the InfoCube on the 'Requests' tab in column 'QM status of the request after update').
    This is a button column that only affects the status of this request in this InfoCube!
    By setting the QM status in the monitor for the load log of this request you can set all QM statuses of this request in all updated InfoCubes simultaneously.
    If you change this flag, you choose button 'Refresh' in the tabstrip 'Requests' so that the flag will interpreted and the requests are set to 'Green' in the InfoCube and thus displayed in Reporting.

  • Any suggestions to avoid refreshing of TabPanel content of TabStrip control?

    Hello,
    I am using sap.ui.commons.TabStrip to toggle different views. The content displayed in TabPanel is included into iframe to avoid naming collision might happened in distributed environment. Due to the internal mechanism of TabStrip control, if the content of iframe is not saved and user toggle to another view, when he comes back, the iframe will be refreshed and unsaved content will be lost.
    Take the example below, iframe has been used in Tab1 to avoid naming collision, once user switch to Tab2, the TabStrip control will move content "<iframe src='test.html'></iframe>" in DIV of Tab1 into the hidden div with ID "sap-ui-preserve" and remove the DIV of Tab1. Once user switches back to Tab1, the DIV of Tab1 is reconstructed with content in div "sap-ui-preserve", refreshing occurs and filled content by user disappears. To avoid this, we have to use DIV to replace iframe, which means SPA, but there might be naming collision when there are 5-6 tabs and the tab content are developed by different developers.
    I checked other Tab controls, the Div of tab1 will be simply hidden with CSS, refreshing would not occur. Any other reasons to reconstruct the content of invisible Tabs? Or any suggestions if we continue to use UI5 control "TabStrip"?
    var oTabStrip = new sap.ui.commons.TabStrip({width:"500px",height:"380px"});
    var oTab1 = new sap.ui.commons.Tab();
    oTab1.setTitle(new sap.ui.core.Title({ text: "iframeTab" }));
    var oHtml = new sap.ui.core.HTML({ content: "<iframe src='test.html'></iframe>" });
    oTab1.addContent(oHtml);
    oTabStrip.addTab(oTab1);
    var oTab2 = new sap.ui.commons.Tab();
    oTab2.setTitle(new sap.ui.core.Title({ text: "inputTab" }));
    oHtml = new sap.ui.core.HTML({ content: "<input type='text'></input>" });
    oTab2.addContent(oHtml);
    oTabStrip.addTab(oTab2);
    oTabStrip.placeAt("content");
    Thanks a lot for any suggestions or comments!
    Patrick

    Hello Sakthivel,
    Thanks for the reply! The background is we are using UI5 to implement one SRM application, and which is developed by 20 developers. For individual page, one part is developed by application developers and shell by framework developers, application UI is embedded in the shell.there is requirement to access the control and set the attributes in different js files.
    For the shell, it's developed with declarative view, there isn't way to choose the control without ID. For application UI, without ID, variable of control have to be global variable to allow others' code to access.
    Regards,
    Patrick

  • Reg:package code to refresh materialized views

    i am new to pl/sql packages and procedures.i want it to execute for running mappings in informatica which takes 0 and gives 1 when executed successfully
    create or replace PACKAGE BODY pkg_refresh_mv as
    procedure prc_mv (p_mv_name varchar2) is
    begin
    dbms_mview.refresh (p_mv_name);
    end prc_mv;
    procedure refresh_all_mv (proc_response IN OUT number) is
    begin
    dbms_mview.refresh('materialized view','C');
    dbms_mview.refresh('materialized view','C');
    proc_response := 1;
    exception
    when others then
    proc_response := 0;
    end refresh_all_mv ;
    end pkg_refresh_mv;
    when i execute this code i get the following errors
    PLS-00201: identifier 'PKG_REFRESH_MV' must be declared
    PLS-00304: cannot compile body of 'PKG_REFRESH_MV' without its specification
    what needs to be changed
    thanks

    try this one :
    CREATE OR REPLACE PACKAGE pkg_refresh_mv
    AS
       PROCEDURE prc_mv (p_mv_name VARCHAR2);  
       PROCEDURE refresh_all_mv (proc_response IN OUT NUMBER);
    END pkg_refresh_mv;
    CREATE OR REPLACE PACKAGE BODY pkg_refresh_mv
    AS
       PROCEDURE prc_mv (p_mv_name VARCHAR2)
       IS
       BEGIN
          dbms_mview.refresh (p_mv_name);
       END prc_mv;
       PROCEDURE refresh_all_mv (proc_response IN OUT NUMBER)
       IS
       BEGIN
          dbms_mview.refresh ('materialized view', 'C');
          dbms_mview.refresh ('materialized view', 'C');
          proc_response := 1;
       EXCEPTION
          WHEN OTHERS
          THEN
             proc_response := 0;
       END refresh_all_mv;
    END pkg_refresh_mv;
    /

  • Reg: Error while refreshing the WebI Report

    Hi all,
    I created WebI report based on universe that is connected to Excel data. Through DSN I m accesing Excel Data . I created same DSN in server also. If I refresh the webI Report in BO server it tells the following error.
    A database error occured. The database error text is: [Microsoft][ODBC Excel Driver] System resource exceeded.. (WIS 10901)
    Before that its working fine. what may be the problem?
    Regards,
    Hemalatha J

    This seems to be a data source not a BO problem. Take a look here:
    http://social.msdn.microsoft.com/Forums/en-US/sqldataaccess/thread/05aaccd6-2a38-4784-b310-99e34b8d1a35
    Regards,
    STratos

  • Reg : ALV Grid Refresh - Output not appearing

    Hi All ,
    Am calling a screen 100 at 3 different places.
    Though i use refresh_table_display , The value in the output table, say i_final changes, but while displaying the output , the whole screen is blank , even the container is not appearing in the output .
    Can you please help me with your inputs .
    Regards,
    Chitra

    yes it is good ...see the example...for your requirement..
    REPORT yztest .
    TYPE-POOLS: slis.
    Tables
    TABLES: mara.
    TYPES: BEGIN OF ty_name,
           name  TYPE char10,
           age   TYPE i,
           END OF ty_name.
    TYPES: BEGIN OF ty_marks,
           sub1   TYPE i,
           sub2   TYPE i,
           total  TYPE  i,
           END OF ty_marks.
    TYPES: BEGIN OF ty_phone,
           phnum TYPE char10,
           END  OF ty_phone.
    TYPES: BEGIN OF ty_addr,
           address TYPE char20,
           END  OF ty_addr .
    Output internal table
    DATA: itab TYPE TABLE OF ty_name,
          wa   TYPE ty_name,
          itab1 TYPE TABLE OF ty_marks,
          wa1  TYPE ty_marks,
          itab2 TYPE TABLE OF ty_phone,
          wa2  TYPE ty_phone,
          itab3 TYPE TABLE OF ty_addr,
          wa3  TYPE ty_addr.
    ALV Grid
    DATA: r_grid  TYPE REF TO cl_gui_alv_grid,
          r_grid1 TYPE REF TO cl_gui_alv_grid,
          r_grid2  TYPE REF TO cl_gui_alv_grid,
          r_grid3  TYPE REF TO cl_gui_alv_grid,
          g_dock TYPE REF TO cl_gui_docking_container,
          g_dock1 TYPE REF TO cl_gui_docking_container,
          g_dock2 TYPE REF TO cl_gui_docking_container,
          g_dock3 TYPE REF TO cl_gui_docking_container,
          g_dock4 TYPE REF TO cl_gui_docking_container,
          it_fieldcat  TYPE lvc_t_fcat,
          it_fieldcat1 TYPE lvc_t_fcat,
          it_fieldcat2 TYPE lvc_t_fcat,
          it_fieldcat3 TYPE lvc_t_fcat,
          wa_fieldcat TYPE lvc_s_fcat.
    DATA picture TYPE REF TO cl_gui_picture.
    DATA url(255).
    CLEAR url.
    DATA  init.
    START-OF-SELECTION.
      wa-name = 'test01'.
      wa-age = '1'.
      APPEND wa TO itab.
      wa-name = 'test02'.
      wa-age = '2'.
      APPEND wa TO itab.
      wa-name = 'test03'.
      wa-age = '3'.
      APPEND wa TO itab.
      wa1-sub1 = '11'.
      wa1-sub2 = '22'.
      wa1-total = wa1-sub1 + wa1-sub2.
      APPEND wa1 TO itab1.
      wa1-sub1 = '22'.
      wa1-sub2 = '33'.
      wa1-total = wa1-sub1 + wa1-sub2.
      APPEND wa1 TO itab1.
      wa2-phnum = '99999999999'.
      APPEND wa2 TO itab2.
      wa2-phnum = '888888888888'.
      APPEND wa2 TO itab2.
      wa2-phnum = '777777777777'.
      APPEND wa2 TO itab2.
      wa3-address = 'HItech City'.
      APPEND wa3 TO itab3.
      wa3-address = 'Secunderabad'.
      APPEND wa3 TO itab3.
      wa3-address = 'Hyderabad'.
      APPEND wa3 TO itab3.
      PERFORM display_image.
      CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'LISTOUT1'.
      SET TITLEBAR 'LIST1'.
      wa_fieldcat-fieldname = 'NAME'.
      wa_fieldcat-seltext   = 'NAME OF THE STUDENT'.
      wa_fieldcat-coltext =   'NAME OF THE STUDENT'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'AGE'.
      wa_fieldcat-seltext   = 'AGE OF THE STUDENT'.
      wa_fieldcat-coltext =    'AGE OF THE STUDENT'.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'SUB1'.
      wa_fieldcat-seltext   = 'SUBJECT1'.
      wa_fieldcat-coltext =    'SUBJECT1'.
      APPEND wa_fieldcat TO it_fieldcat1.
      wa_fieldcat-fieldname = 'SUB2'.
      wa_fieldcat-seltext   = 'SUBJECT2'.
      wa_fieldcat-coltext =    'SUBJECT2'.
      APPEND wa_fieldcat TO it_fieldcat1.
      wa_fieldcat-fieldname = 'TOTAL'.
      wa_fieldcat-seltext   = 'TOTAL'.
      wa_fieldcat-coltext =    'TOTAL'.
      APPEND wa_fieldcat TO it_fieldcat1.
      wa_fieldcat-fieldname = 'PHNUM'.
      wa_fieldcat-seltext   = 'PHONE NO'.
      wa_fieldcat-coltext =    'PHONE NO'.
      APPEND wa_fieldcat TO it_fieldcat2.
      wa_fieldcat-fieldname = 'ADDRESS'.
      wa_fieldcat-seltext   = 'ADDRESS'.
      wa_fieldcat-coltext =    'ADDRESS'.
      APPEND wa_fieldcat TO it_fieldcat3.
      IF g_dock IS INITIAL.
        CREATE OBJECT g_dock
                      EXPORTING
                      repid     = sy-repid
                      dynnr     = sy-dynnr
                      side      = g_dock->dock_at_left
                      extension = 300.
        CREATE OBJECT r_grid
                  EXPORTING
                  i_parent = g_dock.
      ENDIF.
      IF g_dock1 IS INITIAL.
        CREATE OBJECT g_dock1
                      EXPORTING
                      repid     = sy-repid
                      dynnr     = sy-dynnr
                      side      = g_dock1->dock_at_right
                      extension = 300.
        CREATE OBJECT r_grid1
                  EXPORTING
                  i_parent = g_dock1.
      ENDIF.
      IF g_dock2 IS INITIAL.
        CREATE OBJECT g_dock2
                      EXPORTING
                      repid     = sy-repid
                      dynnr     = sy-dynnr
                      side      = g_dock2->dock_at_top
                      extension = 100.
        CREATE OBJECT r_grid2
                  EXPORTING
                  i_parent = g_dock2.
        IF g_dock3 IS INITIAL.
          CREATE OBJECT g_dock3
                        EXPORTING
                        repid     = sy-repid
                        dynnr     = sy-dynnr
                        side      = g_dock3->dock_at_top
                        extension = 100.
          CREATE OBJECT r_grid3
                    EXPORTING
                    i_parent = g_dock3.
        ENDIF.
        IF NOT itab[] IS INITIAL.
          CALL METHOD r_grid->set_table_for_first_display
            CHANGING
              it_outtab       = itab
              it_fieldcatalog = it_fieldcat.
        ENDIF.
        IF NOT itab1[] IS INITIAL.
          CALL METHOD r_grid1->set_table_for_first_display
            CHANGING
              it_outtab       = itab1
              it_fieldcatalog = it_fieldcat1.
        ENDIF.
        IF NOT itab2[] IS INITIAL.
          CALL METHOD r_grid2->set_table_for_first_display
            CHANGING
              it_outtab       = itab2
              it_fieldcatalog = it_fieldcat2.
        ENDIF.
        IF NOT itab3[] IS INITIAL.
          CALL METHOD r_grid3->set_table_for_first_display
            CHANGING
              it_outtab       = itab3
              it_fieldcatalog = it_fieldcat3.
        ENDIF.
    if   g_dock4 is initial.
        CREATE OBJECT g_dock4
                      EXPORTING
                      repid     = sy-repid
                      dynnr     = sy-dynnr
                      side      = g_dock4->dock_at_bottom
                      extension = 100.
        CREATE OBJECT picture
                          EXPORTING parent = g_dock4.
        CALL METHOD picture->load_picture_from_url
          EXPORTING
            url = url.
        init = 'X'.
    endif.
      ENDIF.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *&      Form  display_image
    FORM display_image .
      DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
      DATA html_table LIKE w3html OCCURS 1.
      DATA return_code LIKE  w3param-ret_code.
      DATA content_type LIKE  w3param-cont_type.
      DATA content_length LIKE  w3param-cont_len.
      DATA pic_data LIKE w3mime OCCURS 0.
      DATA pic_size TYPE i.
      REFRESH query_table.
      query_table-name = '_OBJECT_ID'.
      query_table-value = 'ENJOYSAP_LOGO'.
      APPEND query_table.
      CALL FUNCTION 'WWW_GET_MIME_OBJECT'
        TABLES
          query_string        = query_table
          html                = html_table
          mime                = pic_data
        CHANGING
          return_code         = return_code
          content_type        = content_type
          content_length      = content_length
        EXCEPTIONS
          object_not_found    = 1
          parameter_not_found = 2
          OTHERS              = 3.
      IF sy-subrc = 0.
        pic_size = content_length.
      ENDIF.
      CALL FUNCTION 'DP_CREATE_URL'
        EXPORTING
          type     = 'image'
          subtype  = cndp_sap_tab_unknown
          size     = pic_size
          lifetime = cndp_lifetime_transaction
        TABLES
          data     = pic_data
        CHANGING
          url      = url
        EXCEPTIONS
          OTHERS   = 1.
    ENDFORM.                    " display_image
    *&      Module  EXIT  INPUT
          text
    MODULE exit INPUT.
      CALL METHOD g_dock->free.
      CALL METHOD g_dock1->free.
      CALL METHOD g_dock2->free.
      CALL METHOD g_dock3->free.
    ENDMODULE.                 " EXIT  INPUT

  • Reg  ora-12034 materialized view log on younger than last refresh

    Hi,
    when i update my base table materialized view log shows the updated rows
    but when i refresh materialized view it wont show updated rows in materialized view and also there is no rows in materialzed log
    it shows error ora-12034: materialized view log on younger than last refresh
    cheers,

    FIX
    A complete refresh is required before the next fast refresh.
    Please run the process "Refresh Materialized Views"

  • Reg:informatica materialized view refresh

    hi all,
    how can i refresh materialized views in informatica?is there a way to refresh all at once?
    thanks

    When you create a materialized view you should be able to set the refresh interval. Using that, you can refresh the M view based on your needs. Below example has the sytanx:
    CREATE MATERIALIZED VIEW mv_emp_pk
    REFRESH FAST START WITH SYSDATE
    NEXT SYSDATE + 1/48
    WITH PRIMARY KEY
    AS SELECT * FROM emp@remote_db;

Maybe you are looking for

  • Web Design to display on Safari, IE, Firefox

    I don't know where's the best place to post this, so I'm starting here and I'm open to suggestions. My web design company, which happens to be PC based, is giving me mixed messages about designing a website so that the layout display is consistent ac

  • How to read the color of pixels on the desktop?

    Hi All! how is it possible to read the color of certain pixels on the screen? This is not withing any GUI or graphical java application. That is, the java program is supposed to be invisible to the user, run in the background and have access to the c

  • BO XI 3.1 Post Installation

    Hi, Is there any Post installation steps apart from making sure all the services are running like CMC, Servers in CMS, Infoview etc.. I have installed XI 3.1 on Windows 2008. CMS on SQL DB on a different host.. I am wondering if there is any JVM Para

  • SAP LSO - PLATO Learning Integration

    I am looking for some information on SAP LSO and PLATO Learning integration. I would appreciate if some one could thro light on how to integrate SAP LSO with PLATO and what is the possibility of tracking the courses in LSO that are taken through PLAT

  • Regarding configuration of 3rd party JMS queues

    Can any one please help me in configuration of 3rd party JMS queues. Thanks, Bharath