on 09-01-2016 6:07 PM
Hi,
I am using FPM OVP to develop my custom application. I have one initial page and one main page.
My issue is, when I come back from main page to initial page and then go back to main page, previous data loaded remains on screen. Please let me know how can I clear data of whole application when I come back to initial page.
Thanks in advance.
Regards,
Ratnesh
Hi Ratnesh,
Clear CS_DATA parameter and set the EV_DATA_CHANGED = abap_true in GET_DATA method to clear the screen values. You can write below two statements under required event to clear the values.
Clear CS_DATA.
EV_DATA_CHANGED = abap_true.
Hope it will help you.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Naga. Can you please help me on one more issue.
I have same intiail screen and main screen. If I do not get records on main screen, I am displaying information message ' No records found' and when I clicked on BACK button and come to Initial screen, information message 'No records found' is still displayed on Initial screen.
I do not want the message to appear on Initial screen as it belongs to main screen. Thanks in advance.
Regards,
Ratnesh
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.