Skip to Content
avatar image
Former Member

How to Refresh the input fields ???

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 19, 2006 at 07:48 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 19, 2006 at 02:49 PM

    Must work with this:

    wdContext.nodeYOUR_NODE().invalidate()

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 20, 2006 at 05:52 AM

    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

    Add comment
    10|10000 characters needed characters exceeded