cancel
Showing results for 
Search instead for 
Did you mean: 

F4 value help question

Former Member
0 Kudos

Hi,

because we don't have a submit button is there a way that after selecting a value help an event will be triggered so we can refresh the screen.

At the moment after the user had selected a value and the value is transfered to the input field he have to put the cursor into the input field und make an enter

to trigger the onEnter-event.

That's not comfortable and the user don't know that he has to do this. The screen should be refreshed automatically after selecting an value help.

Do somebody have any idea?

Thanks, Susanne

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

Although not a direct event, the WDDOMODIFYVIEW does fire when a selection is choosen from a value help. Depending upon what logic you want to fire, it might be appropriate to place it here. Just remember that WDDOMODIFYVIEW fires for any server event.

Former Member
0 Kudos

Thanks for the tips. I tried the WDDOMODIFYVIEW but cause that this method is triggered every time I got the error below when I jump from the wddomodifyview into another method were an plug is fired.

Error: Cannot Be Triggered. Component: XXXXXXX, View: W_MAIN, Window: W_MAIN

Is there any solution?

Former Member
0 Kudos

Write the code in Wddomodify but with a Condition and a counter.

Condtion : Your input field is not intial ( input field has some value ).

Counter : So that this code is fired only once and that too when ever you want.

Make an attribute Att in component controller.

Att = 'Y' by default.

For this write in WDdoinit of comp controller : wd_this->Att = 'Y'.

in Wddomodify :

If input_field is not initial and wd_comp_controller->Att = 'Y' .

<Run your code>

wd_comp_controller->Att = 'N'.

endif.

I hope this will do.

Former Member
0 Kudos

With the tipps of Thomas and Saurav we could solve the problem.

Thanks

Edited by: Susanne Steib on Dec 10, 2009 9:10 AM

Edited by: Susanne Steib on Dec 10, 2009 9:10 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If that context attirbute has DE or SH attached to it then user has to hit enter key there is no other way or

If that attribute has any OVS or FreelyProgrammed Help attached to it then we can implement some action for that.

Refer these links -