cancel
Showing results for 
Search instead for 
Did you mean: 

How to refresh main page when I move back to Initial page

RatneshSisodiy1
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

RatneshSisodiy1
Active Participant
0 Kudos

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

Answers (0)