2010 Oct 21 4:33 AM
Hello,
I am using module pool program using container to display the screen 1.
In the screen 1 only one field is editable where user inputs the value like 'A' or 'B' or 'C' it the save based on the few checks
again popup screen 2 is called with values 'A' or "B' is shown.
When User runs the first time the report using T-code and do some changes in Screen 1 like "A' those are reflecting to Screen 2 properly; when user does not got out of the loop in the list screen 1 again changed the value to 'B" those chnages are not reflected on the screen 2.
But the internal table values are modified correctly.
I used the flush and refresh_table_display also in screen 2 still its display the same value of intital changes of screen 1.
Please let me know your suggestions.
Thanks,
YERP
Hello,
I am using module pool program using container to display the screen 1.
In the screen 1 only one field is editable where user inputs the value like 'A' or 'B' or 'C' it the save based on the few checks
again popup screen 2 is called with values 'A' or "B' is shown.
When User runs the first time the report using T-code and do some changes in Screen 1 like "A' those are reflecting to Screen 2 properly; when user does not got out of the loop in the list screen 1 again changed the value to 'B" those chnages are not reflected on the screen 2.
But the internal table values are modified correctly.
I used the flush and refresh_table_display also in screen 2 still its display the same value of intital changes of screen 1.
Please let me know your suggestions.
Thanks,
YERP
2010 Oct 21 7:11 AM
I have solved myself.
eg: Container : cust_cont.
Solution: *--> Check for the existence of the grid
if cust_cont is not bound.
else.
*--->Clear the Contents of Grid and Container
CALL METHOD CL_GUI_ALV_GRID>refresh_table_display
CALL METHOD CL_GUI_ALV_GRID->free.
CALL METHOD cust_cont ->free.
CALL METHOD cl_gui_cfw=>flush.
endif.
free : CL_GUI_ALV_GRID, cust_cont .
do the normal process
create custom container
create object
build fieldcatlog
call set table for display
It wil resolve the problem
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |