2019 Jan 08 12:20 PM
Hi,
I am using multiple text editor with custom containers in my module pool program for one of our client development. Whenever I open the screen, text gets display which should not happen.
Please check attached screen shots where how the texts are not getting cleared.
1. Below is the report... where highlighted row in which I double clicked on Plant

2. Below screen where current plant remark is = 'testing46'.

3. Now I have changed Plant Remark from 'testing46' to 'testingnew'.

4. Then I go back to main screen and selected new row as selected below.

5. When I double click on cell row in plant column, the same text 'testingnew' is showing which should not.

Please help how to clear the text editor during the initialization. I have tried CALL METHOD->FLUSH, FREE container editor, FREE text editor. But, could not resolved.
Regards
Amol Khochare
2019 Jan 08 12:57 PM
2019 Jan 09 1:56 AM
as your explaination, that remark is taken from ALV selected line so i think you may have to look at the logic get data from ALV into text editor, not about free the container.
2019 Jan 09 7:20 AM
What kind of CALL METHOD->FLUSH did you tried? cl_gui_cfw=>flush( ) ?
2019 Jan 09 8:50 AM
Hmmm....
I find that I have to re-instantiate them to clear the details unfortunately.
2021 May 19 1:26 PM
Hi Richard,
I am having the same problem. When you say "re-instantiate" do you mean free the object and re-create it (FREE and CREATE OBJECT statements)?
Thanks,
Fred