2008 Feb 04 8:13 PM
Hi Experts,
I`ve a requirement as to find which field on the screen has been changed and based on that I`ll have to clear off two fields on the screen.
Is there any way/command to make out as to which field on the screen has been changed..
Regards,
Farhana.
Edited by: Farhana Sheriff on Feb 4, 2008 9:39 PM
2008 Feb 05 7:38 AM
Hi,
use FIELD...MODULE...ON REQUEST statement.Module will triger for single field.
CHAIN
FIELD...MODULE...ON CHAIN REQUEST
ENDCHAIN
Module will triger for more than one fields value changes.
Another way is keep values into workarea(Backup) in PBO.
compare workarea valus and screen field values in PAI.
L.Velu
Hi Experts,
I`ve a requirement as to find which field on the screen has been changed and based on that I`ll have to clear off two fields on the screen.
Is there any way/command to make out as to which field on the screen has been changed..
Regards,
Farhana.
Edited by: Farhana Sheriff on Feb 4, 2008 9:39 PM
2008 Feb 05 5:25 AM
Hi Farhana,
If you are working with a custom screen, i.e. developed by you, then you can do the following.
The following command:
FIELD <screen_field> MODULE <md_module> ON REQUEST. will trigger whenever the value is changed in screen field <screen_field>.
Put the above code in your PAI section of flow logic.
Say you need to clear fields <field1> and <field2> when value in <screen_field> changes, then after having put the above block of code in your flow logic PAI section code the module as so:
MODULE <md_module> ON INPUT.
CLEAR : <field1> , <field2>.
ENDMODULE.
Cheers,
Aditya
2008 Feb 05 7:38 AM
Hi,
use FIELD...MODULE...ON REQUEST statement.Module will triger for single field.
CHAIN
FIELD...MODULE...ON CHAIN REQUEST
ENDCHAIN
Module will triger for more than one fields value changes.
Another way is keep values into workarea(Backup) in PBO.
compare workarea valus and screen field values in PAI.
L.Velu
2008 Feb 05 8:12 PM
Hi,
Thanks for your responses.
Regards,
Farhana
Edited by: Farhana Sheriff on Feb 5, 2008 9:12 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |