cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh ALV table data in webdynpro

Former Member
0 Kudos

Hi to Everyone,

                         Am new to ABAP Webynpro I had developed a report to display  the data in ALV table in the next screen using the ALV service call. Now am able to display data in ALV table. But my requirement is I need to refresh the ALV table data as well as the selection screen once if I click on back button which placed in the next screen. Can anyone help me regarding the same?


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ashok,

In your lead selection method, bind the table again with set_initial_elements  to abap_true, so that new table contents will display even in both standard and alv table.

Regards,

Venkat.

Former Member
0 Kudos

Hi ashok,

Try with above one  i think it should work.. Other wise use below method..

  DATA lo_interfacecontroller TYPE REF TO iwci_salv_wd_table .
lo_interfacecontroller =   wd_this->wd_cpifc_alv( ).

  lo_interfacecontroller->refresh(
    in =                                " if_salv_wd_table=>s_type_param_refresh_in


  ).

Regards,

Venkat.

Former Member
0 Kudos

Hi venkat,

                     In which method i should write the above code whether at end the end of the action method or in the go_back method .

Former Member
0 Kudos

Hi ashok,

In Action method..

why means...

initialy index is 1.  so with out click on next it will display first record.

when u click next then it assig index is 2 ... like that it will wotk....

Regards,

Venkat.

Former Member
0 Kudos

Hi sorry for above answer .. Please ignore it....

Former Member
0 Kudos

Method it self...

Answers (1)

Answers (1)

former_member209920
Active Participant
0 Kudos

Hi

Refresh your internal table used in ALV display and call refresh_display method for ALV

Regards

ManuB