11-09-2017 11:24 AM
Hello all,
i have designed a Z screen to update values in Vendor master like below,
my question is the values of fields GST number and PAN No are entered by pressing backspace,
the problem here is (the values entered by selecting backspace) are not caught i.e the values are not appearing the corresponding fields,
the field values lfa1-stcd3 and j_1imovend-J_1IPANNO are empty, the values are not appearing here..
if i select ENTER button then only the values are appearing ,
how do i catch these values even when no ENTER button is selected..
thanks in advance...
11-09-2017 12:00 PM
There aren't any differences between filling with a backspace or entering your fields. If filled with a backspace and then no action is taken then the screen may not know the fields have been filled. But it no action was taken then you wouldn't be getting into your code. A action must be taken to see the fields - there are some exceptions that you can do in your screen. I'm not sure what you are trying to do.
Please take a look at your screen definition. Do you have a chain / endchain around the validate_view_class module? If you do are the fields within the the chain. By the way if the fields didn't change, the module would not be called.
For example:
chain.
field lfa1-stcd3.
module validate_view_class_module.
endchain.
11-09-2017 12:00 PM
There aren't any differences between filling with a backspace or entering your fields. If filled with a backspace and then no action is taken then the screen may not know the fields have been filled. But it no action was taken then you wouldn't be getting into your code. A action must be taken to see the fields - there are some exceptions that you can do in your screen. I'm not sure what you are trying to do.
Please take a look at your screen definition. Do you have a chain / endchain around the validate_view_class module? If you do are the fields within the the chain. By the way if the fields didn't change, the module would not be called.
For example:
chain.
field lfa1-stcd3.
module validate_view_class_module.
endchain.
11-09-2017 1:46 PM