cancel
Showing results for 
Search instead for 
Did you mean: 

How to Refresh the input fields ???

Former Member
0 Kudos

We have used BAPI to display output depending upon the input given in the Input fields.

If the BAPI Output does not contain any valid entries (that is when the user gives some invalid input) we are popping up a Dialog Window sayin "No valid entries found!".

The Problem is after clicking 'OK' of the Dialog Window,the entries in the input fileds are not getting Erased i.e. the input fields are NOT getting REFRESHED.

Plz Help...

Thanks in Advance!!!

Regards,

Harshada

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In the action "OK" make it empty that input field.

you can write the code like this in OK action

wdContext.current<Z_RFC_input_Element>().set<yourinputField(" ");

This might helps other wise post your issues.

Thanks

Lohi.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

On action of your OK button,call wdInit()metod of the view controller and write the code what Lolitha has given you.

Regards

Nidhideep

roberto_tagliento
Active Contributor
0 Kudos

Must work with this:

wdContext.nodeYOUR_NODE().invalidate()