cancel
Showing results for 
Search instead for 
Did you mean: 

Refresh Fields When Close Popup

mrahhaoui
Participant
0 Kudos

Hello Community,

I created a dialog for a search.

My issue is when I close this popup and open it again the old values entered are always filled in in the fields.

I tried to clean IS_DATA in FLUSH method but it is in IMPORT so I cannot.

Should I use the POWL or do you have another solution ?

Thank you in advance.

Accepted Solutions (1)

Accepted Solutions (1)

nishantbansal91
Active Contributor
0 Kudos

Dear Rahhaoui,

Where u have called the POP up and the fields that you have defined in the node level.

So if u can directly invalidate the node fields are automatically gets refreshed.

Thanks

Nishant

mrahhaoui
Participant
0 Kudos

Dear Nishant,

Thank you for your reply,

I created a page and put the page type as dialog.

Thanks,

R.

mrahhaoui
Participant
0 Kudos

Hi Nishant,

I call my popup in the process event.

IN fact the popup is a page but in dialog.

nishantbansal91
Active Contributor
0 Kudos

Dear Rahhaouni,

Do one thing before calling the Pop-up refresh the node,

if_Wd_context_node->invalidate method for that particular node.


Thanks

Nishant

mrahhaoui
Participant
0 Kudos

In the method PROCESS NODE?

nishantbansal91
Active Contributor
0 Kudos

Dear Rahhaouni



As you mentioned earlier you have called your dialog box in Process Event method. I call my popup in the process event ??



So before calling the method, there must be one node that you defined in component controller for displaying the data on the dialog box.

So be calling the dialog box take the reference of that node using code wizard.

and call the INVALIDATE method from the if_Wd_context_node.

Thanks

Nishant


Answers (0)