Refresh in a WDA grid

Hello I develop a WDA, it's a simple exctractor, it return some fields about Cproject application.
this is my problem:
when I run the application at the first time it's all ok, but when I change the fields value in Cproject (and save), my WDA exctractor doesn't work, it return the old fields value, to have the correct values I must close my custom application and re-execute the extration, why??? I think there's a buffer problem...how to solve it ?
to extract the fields I use some standard BAPI.
Thank's!

Hi,
You have to check them in debugging which standard compoenent is being called internally.
The MAIN cpro has internally many component usages. check them out.
Check out classes CL_DPR*
Regards,
Lekha.

Similar Messages

  • Refreshing contents of ALV grid

    I am displaying 2 ALV grids in a splitter container on screen 100. There is an option for refresh on this screen to refresh the entries in both the grids (if any change). This refresh works fine using method REFRESH_TABLE_DISPLAY for both top and bottom grid contents.
    After processing the contents in screen 100, the user can navigate to screen 200 to view results of the current run. This screen also holds an ALV grid display of results on a custom container. When returning to screen 100 from 200, the results in top grid of screen 100 are fixed. The refresh option now only works with the grid on bottom container and not the top. I have tried using both REFRESH_TABLE_DISPLAY and SET_TABLE_FOR_FIRST_DISPLAY options and neither worked.
    How do I refresh the ALV to use the contents from the new dataset?
    Regards,
    Suri.

    Are you used refresh in PBO of 100 ?
    Like
        call method g_grid->refresh_table_display.   " Top grid
        call method g_grid1->refresh_table_display. " bottom grid

  • REFRESH FUNCTIONALITy in ALV GRID

    Hi Experts,
    I have added two custom buttons (CO40 and REFRESH) in ALV GRID .
    WHEN CO40 button is clicked it will go the CO40 transaction.
    here the problem is when clicking the REFRESH , the REFRESH fuctionality is not working.
    (here i went to CO40 transaction by clicking CO40 button and deleted one planned order and come back and clicked REFRESH button but the planned order still showing in the output but the planned oreder is deleted in the table ) please help me rgarding this
    pls see my code and pls send me the code with modifications
    Thanks
    Nagendra
    REPORT  zpp_plannedorder_conv LINE-SIZE 200.
    TYPE-POOLS: slis.
    TABLES: plaf, vbak.
    PLANNED ORDER TABLE
    CONSTANTS: c_e TYPE c LENGTH 01 VALUE 'E'.
    TYPES: BEGIN OF ty_plaf,
           kdauf     TYPE kdauf,
           kdpos     TYPE kdpos,
           plnum TYPE plnum,     
           dispo TYPE dispo,
           matnr     TYPE matnr,
           maktx     TYPE maktx,
           pwwrk     TYPE pwwrk,
           paart     TYPE paart,
           beskz     TYPE beskz,
           gsmng     TYPE gsmng,
           END OF ty_plaf.
    SALES FIELDS
    TYPES: BEGIN OF ty_vbak,
           vbeln TYPE vbeln,
           posnr TYPE posnr,
           kunnr     TYPE kunnr,
           grkor     TYPE grkor,
           autlf     TYPE autlf,
           mvgr2     TYPE mvgr2,
           fixmg     TYPE  fixmg,
           bstdk     TYPE bstdk,
           edatu     TYPE edatu,
           posex  TYPE posex,
           END OF ty_vbak.
    output table.
    TYPES: BEGIN OF ty_out,
           plnum TYPE plnum,     
           dispo TYPE dispo,
           matnr     TYPE matnr,
           maktx     TYPE maktx,
           pwwrk     TYPE pwwrk,
           paart     TYPE paart,
           beskz     TYPE beskz,
           gsmng     TYPE gsmng,
           kdauf     TYPE kdauf,
           kdpos     TYPE kdpos,
           kunnr     TYPE kunnr,
           grkor     TYPE grkor,
           autlf     TYPE autlf,
           mvgr2     TYPE mvgr2,
           fixmg     TYPE  fixmg,
           bstdk     TYPE bstdk,
           edatu     TYPE edatu,
           posex  TYPE posex,
           END OF ty_out.
    DATA: tb_plaf TYPE STANDARD TABLE OF ty_plaf,
          tb_vbak TYPE STANDARD TABLE OF ty_vbak,
          tb_out  TYPE STANDARD TABLE OF ty_out.
    DATA: lv_plaf TYPE ty_plaf,
          lv_vbak TYPE ty_vbak,
          lv_out  TYPE ty_out.
    TYPES: BEGIN OF ty_vbep,
        vbeln TYPE vbeln,
        posnr TYPE posnr,
        etenr TYPE etenr,
        edatu TYPE edatu,
       END OF ty_vbep.
    DATA: tb_vbep TYPE STANDARD TABLE OF ty_vbep.
    DATA: lv_flag(1) TYPE c.
    **Start changes RFS: SANN - 0856
    DATA:  w_repid            TYPE sy-repid.
    DATA:  it_fieldcat        TYPE slis_t_fieldcat_alv, "field catalog table
           gs_layout          TYPE slis_layout_alv, "struct data type
           it_sort            TYPE slis_t_sortinfo_alv,
           it_events          TYPE slis_t_event,
           gt_event_exit          TYPE slis_t_event_exit.
    **End changes RFS: SANN - 0856
    SELECT OPTIONS.
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-t01.
    SELECT-OPTIONS: sel_pln FOR plaf-plnum,
                    sel_pww FOR plaf-pwwrk OBLIGATORY,
                    sel_dis FOR plaf-dispo,
                    sel_kun FOR vbak-kunnr,
                    sel_paa FOR plaf-paart,
                    sel_kda FOR plaf-kdauf.
    SELECTION-SCREEN END OF BLOCK a1.
    START-OF-SELECTION.
      REFRESH: tb_plaf ,tb_vbak.
      SELECT pkdauf pkdpos pplnum pdispo pmatnr mmaktx
              ppwwrk ppaart pbeskz pgsmng INTO TABLE tb_plaf
              FROM plaf AS p JOIN makt AS m
                ON pmatnr EQ mmatnr
                WHERE p~plnum IN sel_pln
                  AND p~pwwrk IN sel_pww
                  AND p~dispo IN sel_dis
                  AND p~paart IN sel_paa
                  AND p~kdauf IN sel_kda
                  AND m~spras EQ c_e.
      IF NOT  tb_plaf[] IS INITIAL.
        SORT tb_plaf BY kdauf DESCENDING.
        SELECT  kvbeln pposnr kkunnr pgrkor kautlf pmvgr2 p~fixmg     
                kbstdk vedatu p~posex INTO TABLE tb_vbak
                 FROM vbak AS k JOIN vbap AS p
                   ON kvbeln EQ pvbeln
                      INNER JOIN vbep AS v
                         ON pvbeln EQ vvbeln
                        AND pposnr EQ vposnr
        FOR ALL ENTRIES IN tb_plaf
            WHERE k~vbeln EQ tb_plaf-kdauf
              AND p~posnr EQ tb_plaf-kdpos
              AND k~kunnr IN sel_kun
              AND v~etenr EQ '0001'.
        IF NOT  tb_vbak[] IS INITIAL.
          LOOP AT tb_plaf INTO lv_plaf.
            CLEAR lv_out.
            MOVE-CORRESPONDING lv_plaf TO lv_out.
            IF NOT lv_plaf-kdauf IS INITIAL.
              READ TABLE tb_vbak INTO lv_vbak WITH KEY vbeln = lv_plaf-kdauf
                                                       posnr = lv_plaf-kdpos.
              MOVE-CORRESPONDING lv_vbak TO lv_out.
            ENDIF.
            APPEND lv_out TO tb_out.
          ENDLOOP.
        ENDIF.
      ENDIF.
    END-OF-SELECTION.
      PERFORM f_build_fcat.
      PERFORM f_get_display.
    *&      Form  F_BUILD_FCAT
    FORM f_build_fcat .
      CLEAR: w_repid.
      PERFORM fill_fieldcat " TABLES it_fieldcat
            USING:
                   text-f01 'TB_OUT'  text-k01  text-k01 '10' ,
                   text-f02 'TB_OUT'  text-k02  text-k02 '10' ,
                   text-f03 'TB_OUT'  text-k03  text-k03 '06' ,
                   text-f04 'TB_OUT'  text-k04  text-k04 '18' ,
                   text-f05 'TB_OUT'  text-k05  text-k05 '06' ,
                   text-f06 'TB_OUT'  text-k06  text-k06 '08' ,
                   text-f07 'TB_OUT'  text-k07  text-k07 '05' ,
                   text-f08 'TB_OUT'  text-k08  text-k08 '05' ,
                   text-f09 'TB_OUT'  text-k09  text-k09 '15' ,
                   text-f10 'TB_OUT'  text-k10  text-k10 '05' ,
                   text-f11 'TB_OUT'  text-k11  text-k11 '05' ,
                   text-f12 'TB_OUT'  text-k12  text-k12 '10' ,
                   text-f13 'TB_OUT'  text-k13  text-k13 '10' ,
                   text-f14 'TB_OUT'  text-k14  text-k14 '10' ,
                   text-f15 'TB_OUT'  text-t15  text-k15 '10' ,
                   text-f16 'TB_OUT'  text-k16  text-k16 '10' ,
                   text-f17 'TB_OUT'  text-k17  text-k17 '10' .
    ENDFORM.                    " F_BUILD_FCAT
    *&      Form  fill_fieldcat
    FORM  fill_fieldcat  " TABLES  l_catalog TYPE slis_t_fieldcat_alv       "#EC *
                       USING    p_field                         "#EC *
                                p_table                         "#EC *
                                p_desc                          "#EC *
                                p_desc_l                        "#EC *
                                p_len.                          "#EC *
      DATA: ls_fieldcat   TYPE slis_fieldcat_alv.
      ls_fieldcat-fieldname       = p_field.
      ls_fieldcat-tabname         = p_table.
      ls_fieldcat-seltext_l       = p_desc_l.
      ls_fieldcat-reptext_ddic    = p_desc.
      ls_fieldcat-outputlen       = p_len.
      APPEND ls_fieldcat TO it_fieldcat.
      CLEAR ls_fieldcat.
    ENDFORM.                    " fill_fieldcat
    *&     FORM F_GET_DISPLAY
          text
    FORM f_get_display .
      CLEAR w_repid.
      MOVE sy-repid TO w_repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = w_repid
          i_callback_pf_status_set = 'PF_STATUS'
          i_callback_user_command  = 'USER_COMMAND'
          is_layout                = gs_layout
          it_fieldcat              = it_fieldcat
          it_sort                  = it_sort
          i_save                   = 'X'
        TABLES
          t_outtab                 = tb_out
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc EQ 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " F_GET_DISPLAY
    *&      Form  PF_STATUS
          text
    FORM pf_status USING rt_extab TYPE slis_t_extab.
      DATA: wa_extab LIKE LINE OF rt_extab.
      REFRESH: rt_extab.
      wa_extab-fcode = '&REFRESH'.
      APPEND wa_extab TO rt_extab.
      SET PF-STATUS '0001' EXCLUDING rt_extab.
    ENDFORM.                    "PF_STATUS
         -->COMMAND    text
         -->SELFIELD   text
    FORM user_command USING command LIKE sy-ucomm selfield TYPE slis_selfield."#EC CALLED
      CLEAR : lv_out-plnum,lv_out-kdauf,lv_out-paart,lv_out-kdauf.
      CASE command.
        WHEN '&IC1'.                       "doubleclick
          CASE selfield-fieldname.
            WHEN 'PLNUM'.
              READ TABLE tb_out INTO lv_out INDEX selfield-tabindex.
              IF sy-subrc EQ 0.
                SET PARAMETER ID 'PAF'  FIELD lv_out-plnum.
                CALL TRANSACTION 'MD12' AND SKIP FIRST SCREEN.
              ENDIF.
            WHEN 'KDAUF'.
              READ TABLE tb_out INTO lv_out INDEX selfield-tabindex.
              IF sy-subrc EQ 0.
                SET PARAMETER ID 'AUN'  FIELD lv_out-kdauf.
                CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
        WHEN 'CO40'.
          READ TABLE tb_out INTO lv_out INDEX selfield-tabindex.
          IF sy-subrc EQ 0.
            SET PARAMETER ID 'PAF'  FIELD lv_out-plnum.
            CALL TRANSACTION 'CO40' AND SKIP FIRST SCREEN.
          ENDIF.
        WHEN 'REFRESH'.
          PERFORM select_data.
      ENDCASE.
    ENDFORM.                    "user_command
    *End changes RFS: SANN - 0856
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
      commit work and wait.
      REFRESH:tb_plaf[],tb_vbak[],tb_out[].
      SELECT pkdauf pkdpos pplnum pdispo pmatnr mmaktx
              ppwwrk ppaart pbeskz pgsmng INTO TABLE tb_plaf
              FROM plaf AS p JOIN makt AS m
                ON pmatnr EQ mmatnr
                WHERE p~plnum IN sel_pln
                  AND p~pwwrk IN sel_pww
                  AND p~dispo IN sel_dis
                  AND p~paart IN sel_paa
                  AND p~kdauf IN sel_kda
                  AND m~spras EQ c_e.
      IF NOT  tb_plaf[] IS INITIAL.
        SORT tb_plaf BY kdauf DESCENDING.
        SELECT  kvbeln pposnr kkunnr pgrkor kautlf pmvgr2 p~fixmg     
                kbstdk vedatu p~posex INTO TABLE tb_vbak
                 FROM vbak AS k JOIN vbap AS p
                   ON kvbeln EQ pvbeln
                      INNER JOIN vbep AS v
                         ON pvbeln EQ vvbeln
                        AND pposnr EQ vposnr
        FOR ALL ENTRIES IN tb_plaf
            WHERE k~vbeln EQ tb_plaf-kdauf
              AND p~posnr EQ tb_plaf-kdpos
              AND k~kunnr IN sel_kun
              AND v~etenr EQ '0001'.
        IF NOT  tb_vbak[] IS INITIAL.
          LOOP AT tb_plaf INTO lv_plaf.
            CLEAR lv_out.
            MOVE-CORRESPONDING lv_plaf TO lv_out.
            IF NOT lv_plaf-kdauf IS INITIAL.
              READ TABLE tb_vbak INTO lv_vbak WITH KEY vbeln = lv_plaf-kdauf
                                                       posnr = lv_plaf-kdpos.
              MOVE-CORRESPONDING lv_vbak TO lv_out.
            ENDIF.
            APPEND lv_out TO tb_out.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " SELECT_DATA

    Hi,
    Gothrough the following link,
    Handle Refresh button on ALV
    Regards,
    Harish

  • How to use the standrad Refresh button in ooalv Grid?

    Hai Experts ,
                              i write editable oo alv program its works fine.  when change the data
    then click save button its saved correctly, but the problem is totals of row  & column not refresh when i am click the
    Refresh button . Please Help how to handle the standard Refresh button in ooalv .
    Thanks
    Adv....

    thank q u for ur reply,
                                            when i edit the data in grid and save the data its saved  successful,
    but the problem is manually i calculating the totals at the end of the Row as well as at end of the columns,
    when i edit the data in Grid that totals are not effected for that im using the Standard Refresh button ,
    Plz help me.

  • REFRESH BUTTON OF ALV GRID

    Hi Experts,
          In ALV report i have to apply custom functionality when user clicks on 'REFRESH' button.Please suggest me how to catch
    this event.I have used the event 'AFTER_REFRESH' OF CLASS CL_GUI_ALV_GRID.But it is not the right event.Please sugget me.
    regards,
    pavan t.

    hi,
    I'm currently not able to test, but have you tried teh events user_command and after_usercommand?
    regards,
    Hans Hohenfeld

  • Problem refreshing fieldcatalog in ALV grid classic

    Hi gurus,
    I´m really having problems with the column titles that are display in my ALV report and I cannot figure out why. I want to be able to print the text either in Spanish or in English, depending on the company code in the selection criteria screen. I refresh and populate the fieldcatalog with EN texts and I can see that changes are taken and pass to FM REUSE_ALV_GRID_DISPLAY but when I execute it they still show the Spanish text.
    Please help me with things. Points will be rewarded.
    I show here part of the code.
    FORM make_field_catalog.
      DATA: l_repid LIKE sy-repid.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      DATA: pos         TYPE i VALUE 1.
      l_repid   = sy-repid.
      CLEAR ls_fieldcat.
      REFRESH i_fieldcat.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
          i_program_name     = l_repid
          i_internal_tabname = 'GT_OUTPUT'
          i_inclname         = l_repid
          i_bypassing_buffer = 'X'
       CHANGING
          ct_fieldcat        = i_fieldcat.
    Fields to output in the ALV.
    Show different languages, depending on the company code.
      IF is_es EQ 'X'.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'CUSTOMER'.
        ls_fieldcat-seltext_l      =  text-002.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        ls_fieldcat-key            =  'X'.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'DOC_NO'.
        ls_fieldcat-seltext_l      =  text-003.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'DOC_DATE'.
        ls_fieldcat-seltext_l      =  text-004.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'NET_AMOUNT'.
        ls_fieldcat-seltext_l      =  text-005.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   15.
        ls_fieldcat-do_sum         =  'X'.
        ls_fieldcat-datatype       =  'QUAN'.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
      ELSE.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'CUSTOMER'.
        ls_fieldcat-seltext_l      =  text-012.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        ls_fieldcat-key            =  ' '.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'DOC_NO'.
        ls_fieldcat-seltext_l      =  text-013.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'DOC_DATE'.
        ls_fieldcat-seltext_l      =  text-014.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   10.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
        ls_fieldcat-col_pos        =   pos.
        ls_fieldcat-fieldname      =  'NET_AMOUNT'.
        ls_fieldcat-seltext_l      =  text-015.
        ls_fieldcat-ddictxt        =  'L'.
        ls_fieldcat-outputlen      =   15.
        ls_fieldcat-do_sum         =  'X'.
        ls_fieldcat-datatype       =  'QUAN'.
        APPEND ls_fieldcat TO i_fieldcat.
        CLEAR ls_fieldcat.
        pos = pos + 1.
      ENDIF.
    ENDFORM.
    And later i make the call like follows:
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_buffer_active       = g_alv_buffer
                i_callback_program    = l_repid
               i_callback_top_of_page = 'TOP_OF_PAGE'
               i_callback_html_top_of_page = 'TOP_OF_PAGE'
                is_layout             = g_layout
                it_fieldcat           = i_fieldcat
                it_special_groups     = g_fieldgroups_tab[]
                it_sort               = g_sortfields_tab[]
                i_default             = c_n
                i_save                = c_a
                is_variant            = g_variant
                it_events             = g_events_tab[]
                it_event_exit         = g_event_exit_tab[]
                is_print              = g_print
                i_screen_start_column = g_screen_start_column
                i_screen_start_line   = g_screen_start_line
                i_screen_end_column   = g_screen_end_column
                i_screen_end_line     = g_screen_end_line
           TABLES
                t_outtab              = gt_output
           EXCEPTIONS
                program_error         = 1
                OTHERS                = 2.
    Does anybody knows what am I missing?
    Thanks! Elena

    hi ..
    Ensure Field catalog is Refreshed every time before it is buid.
    Code:
    <b>REFRESH i_fieldcat.</b>
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = l_repid
    i_internal_tabname = 'GT_OUTPUT'
    i_inclname = l_repid
    i_bypassing_buffer = 'X'
    CHANGING
    ct_fieldcat = i_fieldcat.
    <b>Reward if Helpful.</b>

  • What is the recommended way to refresh a grid in a WPF app during time intervals

    Hi all,
    I am new to WPF development, and just came across the task of refreshing a third party grid control (DevExpress)
    every 10 minutes. Can someone share a snippet of code on how to do this? I am taking a look at the Dispatch within a separate thread but I would like to find out from the community if thereis something out there that I can use.
    Thanks!
    CHS

    Hello,
    Additionally, if this was not in the WPF forum, it should have been asked in the
    Windows Presentation Foundation (WPF) forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Grid POV disappears during essbase refresh

    Hi all,
    The grid pov that we created for our reports disppears when user tries to open the report during Essbase cube refresh.
    when try to open FR report during cube refresh (outline build), the grid pov members are set to the parent instead of the members that have been originally selected.
    whn we open the same report after essbase cube refresh, Grid pov still shows the parent..so we had to go to report studio and reset the Grid pov.
    Is there any way we can handle this.
    all reports work fine when run after essbase cube refresh.
    thanks in advance

    I am just curious if there is a need to run the report during the refresh. Can't the users wait till the refresh is over? I don't think you need to change the POV member in FR Studio. As far as I know, when I user selects a POV member on Workspace and then logs out, the next time he/she logs in, Workspace remembers the latest selection.
    I am not sure if Workspace automatically changes the POV members to their default value (dimension itself) after an Essbase refresh. If it is the case, I know it is annoying but, user might need to select the POV members again. I always try to limit the dimension on POV. I don't the exact term, but I like locking the members down on POV, so the users only have to select limited number of dimension members.
    Hope this helps.
    A

  • Refresh grid  title

    Hello Everybody,
            I have done my program in ALV Grid. I have a title in my layout and I have displayed sy-dbcnt in the title. The problem is I have a Refresh button on my grid and when I press the Refresh button the result will gets changed. Now  I also need to get my grid title refreshed.
    for example: initially I get 58 readings in the output the title shows me <b>'Records Found : 58'</b>.
    later when I refresh the grid with refresh button my readings gets changed (like get reduced to 56). now my grid title is not getting refreshed so that I should get it as <b>'Records Found: 56'</b>.
    can any body help me out in this case?
    any doubts please ping me up....
    Thanx in advance,
    Abhi...!

    Set Table for first display
      WRITE sy-datum TO lv_date DD/MM/YYYY.
      WRITE sy-uzeit TO lv_time USING EDIT MASK '__:__:__'.
      CONCATENATE 'Report' 'Date' lv_date text-005 'Time' INTO lv_text RESPECTING BLANKS.
    <b>  gs_layo-grid_title = lv_text.
      gs_layo-smalltitle = gc_flag .</b>
      CALL METHOD go_grid->set_table_for_first_display
        EXPORTING
          is_variant      = gs_variant
          i_save          = gc_save
          i_default       = abap_true
          is_layout       = gs_layo
        CHANGING
          it_outtab       = gt_final[]
          it_fieldcatalog = gt_fcat.
    this way we can place grid title
    To refresh it you need to call this again
    Rewards if useful..............
    Minal

  • Not able to refresh data in Xcelsius from BPC

    Hi,
    I have created a simple xcelsius dashboard with refresh button and data grid.
    When I click reload in the preview mode am getting the log on screen where I am trying to connect to the address  http://servername in the EPM connection.
    But I am not able to log on with BPC user id and password.
    am using BPC MS 7.5
    please give me your expert advice.
    thanks,
    Bala
    Edited by: Bala on Jun 15, 2011 3:08 PM

    Hi Bala,
    Please review the How To Guide for this topic (note that this is for BPC 7.5 NetWeaver):
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/8034121d-8419-2e10-229a-99ec678b64c5
    Regards,
    Zane

  • ALV GRID  and Integrated ITS 7 (SAP GUI for HTML) - dissapears on reload

    Hi All,
    We have a custom report that uses an ALV grid to display information to the user. Within this grid, there are fields that are display only and fields that are editable. Also, the grid is wider than the screen's width. It works fine in ECC. It also worked fine when we were using ITS 6.4.
    We have recently upgraded to ITS 7. Now when we run the report using a Transaction iView (in EP 7) or the Webgui service (SAP GUI for HTML), if a field that is editable has focus when an event is triggered that reloads the grid, the screen becomes blank. So, you can click the Save button and the screen goes blank, also, there are date fields in the grid and if you choose a new date, the grid reloads and the screen becomes blank.
    We have found that when the screen is blank, you can use the "Page Up" button on your keyboard and the last few columns of the grid will appear. As if the entire grid has moved off-screen to the left.
    If you click onto a non-editable field and refresh or save, the grid returns to its normal state.
    We are on Basis Patch level 15.
    Does anyone have any ideas on how to fix this?
    Also, does anyone know of a standard SAP transaction we can call from the Webgui that would have a similar setup...with an ALV grid containing editable and non-editable fields? We would like to rule out any errors in the report itself. Since it worked before we upgraded and it works fine in ECC. This would be a really big help too.
    Thank you so much!
    -Kevin

    Hi,
    Thanks Raymond, I have seen Note 314568. I could not get the second link to work but I have looked at just about every Note in reference to Integrated ITS 7 and Tables or ALV Grids and there are very many, so it would appear that SAP has had a hard time with implementing this control, but I have not seen any instance that matches the problem we are having.
    Unfortunately, SAP will not investigate this unless we can provide a standard Transaction that exhibits the same behavior.
    If anyone knows of a standard SAP Transaction that displays an ALV Grid that is wider than the screen (requiring a horizontal scroll bar) and with editable and non-editable fields, that would be fantastic. If we can test against that, then we would know for sure if this is a problem with ITS / SAP GUI for HTML, or if there is an issue with this specific report.
    Thanks!
    -Kevin

  • ALV Grid in Edit mode

    Dear all,
    I would like to do a refresh of the ALV GRID table display in event "handle_data_changed_finished".
    "refresh_table_display" is NOT working.
    I obviously need to go through PAI & PBO to refresh the table display.
    Is there something to syncronize the data?
    There must be an easy solution...
    bye
    Niko
    Niko Prindesis
    Itelligence AG

    Dear Andreas,
    thank you!
    If I call "SAPGUI_SET_FUNCTIONCODE" in "handle_data_changed_finished", I can trigger the PAI/PBO.
    So this solves my problem!
    But ...
    ... isn't there a solution without going through PAI/PBO???
    I want to stay in the ALVGrid control!
    bye
    Niko

  • Metalink Refresh Job Error

    Hi
    Im trying to run the refresh metalink job in Grid Control and keep getting the error of about downtime for My ORacle Support which was last weekend and from when classic metalink was retired. I have cleared out the cookies etc but the still the same as I'm trying to get todays latest cpu patch. Anyone to help?
    Thanks

    I too had the same issue and getting the error message that "My Oracle Support will be offline for maintenance on Friday, April 9th for approximately 4 hours....."
    The issue was resolved after restarting the opmn processes.
    $opmnctl stopall
    $opmnctl startall

  • ALV OOPs: Refresh Issue

    Hi,
    Scenario:
    I have implemented the ALV display using the methods of class CL_SALV_TABLE. I have a layout parameter and depending on the layout selected the result is displayed. Also there is a Refresh button on the grid for displaying the new data set.
    For this I have used the refresh method of the CL_SALV_TABLE class.
      gr_grid->refresh(  ).
    Issue:
    When the data is displayed for the first time, it is as per the Layout selected. When I press the refresh button, the ordering of the rows is lost. I tried to debug but I am not able to figure out where the problem lies.
    Kindly suggest.
    Please do let me know in case the problem is not clear.
    Regards
    s@k

    Dear Rich,
    Adding to the question, I have 3 ALVs which I am displaying on the same screen(by splitting the container ). I have provided Refresh button on each of the screen and for handling the events I have created a class.
    CLASS cl_handle_events DEFINITION.
      PUBLIC SECTION.
        METHODS:
          on_user_command FOR EVENT added_function OF cl_salv_events
            IMPORTING e_salv_function sender.
    ENDCLASS.                    "cl_handle_events DEFINITION
    The ALVs are created by calling
      TRY.
          cl_salv_table=>factory(
            EXPORTING
              r_container    = gr_container1
            IMPORTING
              r_salv_table   = gr_grid_1
            CHANGING
              t_table        = gt_table1
        CATCH cx_salv_msg INTO gr_error1.
      ENDTRY.
    In the same fashion i instantiate the other 2 ALVs.
    The requirement is that If the user presses the Refresh button on the First screen(split container), the other two ALVs should also be refreshed. So, on pressing the 'Refresh' button on the first screen, I do some modification to the three tables and then call the refresh() method for each instance.
      gr_grid_1->refresh(  ).
      gr_grid_2->refresh(  ).
      gr_grid_3->refresh(  ).
    Kindly suggest..
    Please let me know if I am anyway unclear about the question...:)
    Regards
    s@k

  • Hyper Smartview - invalid free form grid

    Hi,
    Currently in the process of upgrading laptops and will be using 64bit but recieveing this error when hitting the refresh - invalid free form grid followed by all cells with #NAME?
    These work sheets work perfect fine on the 32bit machines we already have but we can't push out the new 64bit ones until we fix this hyperion issue, any ideas?

    Some things to look at:
    What is the exact formula in the cell? Does it happen to start with C:\Oracle\SmartView...?
    Does it work if you go to Smart View > Sheet Info > Delete > Delete Worksheet Metadata, then refresh?
    Does it work if you go to Smart View > Functions > Fix Links, then refresh?
    What happens when you open a new/blank workbook and create an HsGetValue formula?
    Does it work if you build the formula using the Function Builder?
    I think there are separate Smart View .exe install files for 64bit vs 32bit. Did you use the latest (.301 I think) 64bit file?
    Did the add-in fully install? Is there a COM and EXE component enabled? Was it installed by and admin on the pc? Did the dll register?
    The formulas aren't working, but what about an ad-hoc grid? Can you start with a new/blank workbook, connect, and do ad-hoc analysis? If not, what is the error?
    Good luck!

Maybe you are looking for

  • Help With GPS options

    I am using my phone and do not want any "data" transfer so the carrier doesn't pick my phone up as a smart phone.  The phone is a 700.  Note that I do have Mobile Data turned off and Allow Mobile Data Usage set to in home network only.  Having the Da

  • How to create a ApplicationModule in runtime??

    Hi!!! I tried to create an ApplicationModule with variable id and definition like that: <%@page import="package.User" %> <% User u= (User) session.getApplication("user"); %> <jbo:ApplicationModule id="<%=u.getAppModId()%>" definition="<%=u.getAppModD

  • Opinions on G3 450mHz B&W as home server or network backup system

    Hi all, I just got a G3 450mHz Blue and White Server and am using it as a jukebox right now but was thinking of also using it as a backup machine for my other macs. So my question is am I better just getting an ethernet switch and using file sharing

  • Is it possible to activate CS (original)?

    I can install using the original discs and serial number however, there is no way to activate the product (online and phone number don't work anymore). Is it possible to activate the CS, the original?

  • Doubt With Services in The portal for other modules of SAP

    Dear Experts. I don't know if this doubt I should post in the forum   ERP Employee Self-Service . In The portal SAP have service for E-Recruiting(E-RC), Employee Self-Service(ESS), Manager Self-Service(MSS), Learning Solution(LSO), that are services