Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Grid: refresh in sub screens

Hello All,

I have some issues with internal table display in ALV grid.

The following is the scenario.

I am in a wizard which has 2 sub screens (SScreen 1 and sscreen 2).

1)On sscreen 1, i have a input field,where i provide a value and on clicking the next button i get a list of values which i display on sub screen 2 using ALV grid.

2)Now i go back to sscreen1 and change the value in the input field,since i use on-request module, i know the value in the field has changed and now i need to display new set of values on sscreen 2.

In this case i clear the internal table, get new values for internal table and then call set_values_for_first_display().However i still get the old values displayed on SScreen 2!!!!.

Any suggestions on what i might be doing wrong?

Cheers

Dev

replied

>Subscreen 1 in the PBO of Subscreen 2(the screen where >the ALV list is displayed).

>That is the reason why i call set_table_first_display, >whenever there are new values in the internal table and avoid >refresh_table_display.

The approach is correct. Along with internal tables are you refreshing the Control and grid object etc in that case. since you are calling/intializing each and every time in the pbo of subscreen2.

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question