|
Difference Between At New and On Change of |
|
|
|
|
Written by P. Renjith Kumar
|
|
Wednesday, 30 May 2007 |
|
When we use At new for a field, it will trigger whenever there is any change in al lthe fields from the left to that of the particular field. But when we use On change of it triggers only when there is any change in the particular field.
At new can only be used inside loop. On change of can used outside the loop. No logical Expressions can be added with at new. Logical expressions like AND OR can be used with on change of. When AT NEW occurs, the alpha-numeric fields have * in their value,where as in case of On Change, the alphanumeric fields have their Corresponding value, of that particular record, where the Event gets fired. On Change of executes for the first value of field too, this is not the case with At New.
On change of cannot be used in ABAP objects At new can be used in this. |
|
Last Updated ( Wednesday, 30 May 2007 )
|