‎2007 Mar 30 1:12 PM
Good Morning,
I need to check if a Screen-Field Data as changed. Well, i can do this by storing the field data Before Output and checking if the value is the same After Input.
Is there any other way? For example... Any system variable, or screen variable which stores some flag (or similar) which is activated when the screen field data is changed?
Best Regards,
Pedro Gaspar
‎2007 Mar 30 1:14 PM
‎2007 Mar 30 1:14 PM
‎2007 Mar 30 1:28 PM
Thank you for your answers.
Ok, sy-datar gives me the info that one field screen as changed, it doesn't tell me which.
That's fine by me, since i can store the previous value, and check the next.
In order to know which field as changed this is the only way, correct?
Best Regards,
Pedro Gaspar
‎2007 Mar 30 1:33 PM
Yes thats the only way.
Ple reward and close thread if solved
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 Mar 30 1:16 PM
hi Pedro,,
use the system field <b>SY_DATAR</b>
If SY_DATAR is initial, there is no screen field change, else there is
a change done on the screen.
Hope this helps,
Sajan Joseph.
‎2007 Mar 30 1:22 PM
Hi,
Use the system field SY-DATAR, to know whether data in screen has been changed.
Regards
Bhupal Reddy